public static final class FargateToSsmstringparameter.Builder extends Object implements software.amazon.jsii.Builder<FargateToSsmstringparameter>
FargateToSsmstringparameter.| Modifier and Type | Method and Description |
|---|---|
FargateToSsmstringparameter |
build() |
FargateToSsmstringparameter.Builder |
clusterProps(software.amazon.awscdk.services.ecs.ClusterProps clusterProps)
Optional properties to create a new ECS cluster.
|
FargateToSsmstringparameter.Builder |
containerDefinitionProps(Object containerDefinitionProps) |
static FargateToSsmstringparameter.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
FargateToSsmstringparameter.Builder |
ecrImageVersion(String ecrImageVersion)
The version of the image to use from the repository.
|
FargateToSsmstringparameter.Builder |
ecrRepositoryArn(String ecrRepositoryArn)
The arn of an ECR Repository containing the image to use to generate the containers.
|
FargateToSsmstringparameter.Builder |
existingContainerDefinitionObject(software.amazon.awscdk.services.ecs.ContainerDefinition existingContainerDefinitionObject) |
FargateToSsmstringparameter.Builder |
existingFargateServiceObject(software.amazon.awscdk.services.ecs.FargateService existingFargateServiceObject)
A Fargate Service already instantiated (probably by another Solutions Construct).
|
FargateToSsmstringparameter.Builder |
existingStringParameterObj(software.amazon.awscdk.services.ssm.StringParameter existingStringParameterObj)
Optional user provided props to override the default props for SSM String Parameter.
|
FargateToSsmstringparameter.Builder |
existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
An existing VPC in which to deploy the construct.
|
FargateToSsmstringparameter.Builder |
fargateServiceProps(Object fargateServiceProps)
Optional values to override default Fargate Task definition properties (fargate-defaults.ts).
|
FargateToSsmstringparameter.Builder |
fargateTaskDefinitionProps(Object fargateTaskDefinitionProps) |
FargateToSsmstringparameter.Builder |
publicApi(Boolean publicApi)
Whether the construct is deploying a private or public API.
|
FargateToSsmstringparameter.Builder |
stringParameterEnvironmentVariableName(String stringParameterEnvironmentVariableName)
Optional Name for the container environment variable set to the SSM parameter name.
|
FargateToSsmstringparameter.Builder |
stringParameterPermissions(String stringParameterPermissions)
Optional SSM String parameter permissions to grant to the Fargate service.
|
FargateToSsmstringparameter.Builder |
stringParameterProps(software.amazon.awscdk.services.ssm.StringParameterProps stringParameterProps)
Optional user provided props to override the default props for SSM String Parameter.
|
FargateToSsmstringparameter.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Optional custom properties for a VPC the construct will create.
|
public static FargateToSsmstringparameter.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.FargateToSsmstringparameter.Builder.public FargateToSsmstringparameter.Builder publicApi(Boolean publicApi)
This has implications for the VPC deployed by this construct.
Default: - none
publicApi - Whether the construct is deploying a private or public API. This parameter is required.thispublic FargateToSsmstringparameter.Builder clusterProps(software.amazon.awscdk.services.ecs.ClusterProps clusterProps)
clusterProps - Optional properties to create a new ECS cluster. This parameter is required.thispublic FargateToSsmstringparameter.Builder containerDefinitionProps(Object containerDefinitionProps)
containerDefinitionProps - This parameter is required.thispublic FargateToSsmstringparameter.Builder ecrImageVersion(String ecrImageVersion)
Default: - 'latest'
ecrImageVersion - The version of the image to use from the repository. This parameter is required.thispublic FargateToSsmstringparameter.Builder ecrRepositoryArn(String ecrRepositoryArn)
format: arn:aws:ecr:[region]:[account number]:repository/[Repository Name]
ecrRepositoryArn - The arn of an ECR Repository containing the image to use to generate the containers. This parameter is required.thispublic FargateToSsmstringparameter.Builder existingContainerDefinitionObject(software.amazon.awscdk.services.ecs.ContainerDefinition existingContainerDefinitionObject)
existingContainerDefinitionObject - This parameter is required.thispublic FargateToSsmstringparameter.Builder existingFargateServiceObject(software.amazon.awscdk.services.ecs.FargateService existingFargateServiceObject)
If this is specified, then no props defining a new service can be provided, including: existingImageObject, ecrImageVersion, containerDefintionProps, fargateTaskDefinitionProps, ecrRepositoryArn, fargateServiceProps, clusterProps, existingClusterInterface. If this value is provided, then existingContainerDefinitionObject must be provided as well.
Default: - none
existingFargateServiceObject - A Fargate Service already instantiated (probably by another Solutions Construct). This parameter is required.thispublic FargateToSsmstringparameter.Builder existingStringParameterObj(software.amazon.awscdk.services.ssm.StringParameter existingStringParameterObj)
Default: - None
existingStringParameterObj - Optional user provided props to override the default props for SSM String Parameter. This parameter is required.thispublic FargateToSsmstringparameter.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
Providing both this and vpcProps is an error. If the client provides an existing Fargate service, this value must be the VPC where the service is running. An SSM Interface endpoint will be added to this VPC.
Default: - none
existingVpc - An existing VPC in which to deploy the construct. This parameter is required.thispublic FargateToSsmstringparameter.Builder fargateServiceProps(Object fargateServiceProps)
defaults - fargate-defaults.ts
fargateServiceProps - Optional values to override default Fargate Task definition properties (fargate-defaults.ts). The construct will default to launching the service is the most isolated subnets available (precedence: Isolated, Private and Public). Override those and other defaults here. This parameter is required.thispublic FargateToSsmstringparameter.Builder fargateTaskDefinitionProps(Object fargateTaskDefinitionProps)
fargateTaskDefinitionProps - This parameter is required.thispublic FargateToSsmstringparameter.Builder stringParameterEnvironmentVariableName(String stringParameterEnvironmentVariableName)
Default: - SSM_STRING_PARAMETER_NAME
stringParameterEnvironmentVariableName - Optional Name for the container environment variable set to the SSM parameter name. This parameter is required.thispublic FargateToSsmstringparameter.Builder stringParameterPermissions(String stringParameterPermissions)
One of the following may be specified: "Read", "ReadWrite".
Default: - 'Read'
stringParameterPermissions - Optional SSM String parameter permissions to grant to the Fargate service. This parameter is required.thispublic FargateToSsmstringparameter.Builder stringParameterProps(software.amazon.awscdk.services.ssm.StringParameterProps stringParameterProps)
Default: - Default props are used
stringParameterProps - Optional user provided props to override the default props for SSM String Parameter. This parameter is required.thispublic FargateToSsmstringparameter.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
This VPC will be used by the new Fargate service the construct creates (that's why targetGroupProps can't include a VPC). Providing both this and existingVpc is an error. An SSM Interface endpoint will be included in this VPC.
Default: - none
vpcProps - Optional custom properties for a VPC the construct will create. This parameter is required.thispublic FargateToSsmstringparameter build()
build in interface software.amazon.jsii.Builder<FargateToSsmstringparameter>Copyright © 2022. All rights reserved.