mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 13:06:57 -06:00
779 lines
30 KiB
JSON
779 lines
30 KiB
JSON
{
|
|
"typeName": "JFrog::Artifactory::NewVpc::MODULE",
|
|
"description": "Schema for Module Fragment of type JFrog::Artifactory::NewVpc::MODULE",
|
|
"properties": {
|
|
"Parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"LogicalId": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Logical Id of the MODULE"
|
|
},
|
|
"EnableBastion": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "If set to true, a bastion host will be created."
|
|
},
|
|
"VpcCidr": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "CIDR block for the VPC."
|
|
},
|
|
"AvailabilityZone1": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Availability Zone 1 to use for the subnets in the VPC. Two Availability Zones are used for this deployment."
|
|
},
|
|
"AvailabilityZone2": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Availability Zone 2 to use for the subnets in the VPC. Two Availability Zones are used for this deployment."
|
|
},
|
|
"KeyPairName": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Name of an existing key pair, which allows you to connect securely to your instance after it launches. This is the key pair you created in your preferred Region."
|
|
},
|
|
"PrivateSubnet1Cidr": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "CIDR block for private subnet 1 located in Availability Zone 1."
|
|
},
|
|
"PrivateSubnet2Cidr": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "CIDR block for private subnet 2 located in Availability Zone 2."
|
|
},
|
|
"PublicSubnet1Cidr": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "CIDR block for the public (DMZ) subnet 1 located in Availability Zone 1."
|
|
},
|
|
"PublicSubnet2Cidr": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "CIDR block for the public (DMZ) subnet 2 located in Availability Zone 2."
|
|
},
|
|
"AccessCidr": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "CIDR IP range permitted to access Artifactory. It is recommended that you set this value to a trusted IP range. For example, you may want to limit software access to your corporate network."
|
|
},
|
|
"RemoteAccessCidr": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Remote CIDR range that allows you to connect to the bastion instance by using SSH. It is recommended that you set this value to a trusted IP range. For example, you may want to grant specific ranges from within your corporate network that use the SSH protocol."
|
|
},
|
|
"BastionInstanceType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Size of the bastion instances."
|
|
},
|
|
"BastionRootVolumeSize": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Size of the root volume in the bastion instances."
|
|
},
|
|
"BastionEnableTcpForwarding": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Choose whether to enable TCP forwarding via bootstrapping of the bastion instance."
|
|
},
|
|
"BastionEnableX11Forwarding": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Choose true to enable X11 via bootstrapping of the bastion host. Setting this value to true enables X Windows over SSH. X11 forwarding can be useful, but it is also a security risk, so it's recommended that you keep the default (false) setting."
|
|
},
|
|
"BastionOs": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Linux distribution for the Amazon Machine Image (AMI) to be used for the bastion instances."
|
|
},
|
|
"NumBastionHosts": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Number of bastion instances to create."
|
|
},
|
|
"VolumeSize": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Size in gigabytes of available storage (min 10GB). The Quick Start creates an Amazon Elastic Block Store (Amazon EBS) volumes of this size."
|
|
},
|
|
"InstanceType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "EC2 instance type for the Artifactory instances."
|
|
},
|
|
"NumberOfSecondary": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Number of secondary Artifactory servers to complete your HA deployment. To align with Artifactory best practices, the minimum number is two, and the maximum is seven. Do not select more instances than you have licenses for."
|
|
},
|
|
"ArtifactoryProduct": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "JFrog Artifactory product you want to install into an AMI."
|
|
},
|
|
"ArtifactoryVersion": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Version of Artifactory that you want to deploy into the Quick Start. To select the correct version, see the release notes at https://www.jfrog.com/confluence/display/RTF/Release+Notes."
|
|
},
|
|
"SmLicenseName": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Secret name created in AWS Secrets Manager, which contains the Artifactory licenses."
|
|
},
|
|
"SmCertName": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Secret name created in AWS Secrets Manager, which contains the SSL certificate and certificate key."
|
|
},
|
|
"ArtifactoryServerName": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Name of your Artifactory server. Ensure that this matches your certificate."
|
|
},
|
|
"MasterKey": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Master key for the Artifactory cluster. Generate a master key by using the command '$openssl rand -hex 16'."
|
|
},
|
|
"ExtraJavaOptions": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Set Java options to pass to the JVM for Artifactory. For more information, see the Artifactory system requirements at https://www.jfrog.com/confluence/display/RTF/System+Requirements#SystemRequirements-RecommendedHardware. Do not add Xms or Xmx settings without disabling DefaultJavaMemSettings."
|
|
},
|
|
"DefaultJavaMemSettings": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Choose false to overwrite the standard memory-calculation options to pass to the Artifactory JVM. If you plan to overwrite them, ensure they are added to the ExtraJavaOptions to prevent the stack provision from failing."
|
|
},
|
|
"DatabaseName": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Name of your database instance. The name must be unique across all instances owned by your AWS account in the current Region. The database instance identifier is case-insensitive, but it's stored in lowercase (as in \"mydbinstance\")."
|
|
},
|
|
"DatabaseEngine": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Database engine that you want to run."
|
|
},
|
|
"DatabaseUser": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Login ID for the master user of your database instance."
|
|
},
|
|
"DatabasePassword": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Password for the Artifactory database user."
|
|
},
|
|
"DatabaseInstance": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Size of the database to be deployed as part of the Quick Start."
|
|
},
|
|
"DatabaseAllocatedStorage": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Size in gigabytes of available storage for the database instance."
|
|
},
|
|
"DatabasePreferredAz": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Preferred availability zone for Amazon RDS primary instance"
|
|
},
|
|
"MultiAzDatabase": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Choose false to create an Amazon RDS instance in a single Availability Zone."
|
|
},
|
|
"QsS3BucketName": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "S3 bucket name for the Quick Start assets. This string can include numbers, lowercase letters, and hyphens (-). It cannot start or end with a hyphen (-)."
|
|
},
|
|
"QsS3KeyPrefix": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "S3 key prefix for the Quick Start assets. Quick Start key prefix can include numbers, lowercase letters, uppercase letters, hyphens (-), and forward slash (/)."
|
|
},
|
|
"QsS3BucketRegion": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "AWS Region where the Quick Start S3 bucket (QSS3BucketName) is hosted. If you use your own bucket, you must specify your own value."
|
|
},
|
|
"InstallXray": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "Choose true to install JFrog Xray instance(s)."
|
|
},
|
|
"XrayVersion": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "The version of Xray that you want to deploy into the Quick Start."
|
|
},
|
|
"XrayNumberOfInstances": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "The number of Xray instances servers to complete your HA deployment. The minimum number is one; the maximum is seven. Do not select more than instances than you have licenses for."
|
|
},
|
|
"XrayInstanceType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "The EC2 instance type for the Xray instances."
|
|
},
|
|
"XrayDatabaseUser": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "The login ID for the Xray database user."
|
|
},
|
|
"XrayDatabasePassword": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Type",
|
|
"Description"
|
|
],
|
|
"description": "The password for the Xray database user."
|
|
}
|
|
}
|
|
},
|
|
"Resources": {
|
|
"properties": {
|
|
"ArtifactoryVpcStack": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string",
|
|
"const": "JFrog::Vpc::MultiAz::MODULE"
|
|
},
|
|
"Properties": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"ArtifactoryExistingVpcStack": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Type": {
|
|
"type": "string",
|
|
"const": "JFrog::Artifactory::ExistingVpc::MODULE"
|
|
},
|
|
"Properties": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|