public static final class FargateToSsmstringparameterProps.Builder extends Object implements software.amazon.jsii.Builder<FargateToSsmstringparameterProps>
FargateToSsmstringparameterProps| Constructor and Description |
|---|
Builder() |
public FargateToSsmstringparameterProps.Builder publicApi(Boolean publicApi)
FargateToSsmstringparameterProps.getPublicApi()publicApi - Whether the construct is deploying a private or public API. This parameter is required.
This has implications for the VPC deployed
by this construct.thispublic FargateToSsmstringparameterProps.Builder clusterProps(software.amazon.awscdk.services.ecs.ClusterProps clusterProps)
FargateToSsmstringparameterProps.getClusterProps()clusterProps - Optional properties to create a new ECS cluster.thispublic FargateToSsmstringparameterProps.Builder containerDefinitionProps(Object containerDefinitionProps)
FargateToSsmstringparameterProps.getContainerDefinitionProps()containerDefinitionProps - the value to be set.thispublic FargateToSsmstringparameterProps.Builder ecrImageVersion(String ecrImageVersion)
FargateToSsmstringparameterProps.getEcrImageVersion()ecrImageVersion - The version of the image to use from the repository.thispublic FargateToSsmstringparameterProps.Builder ecrRepositoryArn(String ecrRepositoryArn)
FargateToSsmstringparameterProps.getEcrRepositoryArn()ecrRepositoryArn - The arn of an ECR Repository containing the image to use to generate the containers.
format:
arn:aws:ecr:[region]:[account number]:repository/[Repository Name]thispublic FargateToSsmstringparameterProps.Builder existingContainerDefinitionObject(software.amazon.awscdk.services.ecs.ContainerDefinition existingContainerDefinitionObject)
FargateToSsmstringparameterProps.getExistingContainerDefinitionObject()existingContainerDefinitionObject - the value to be set.thispublic FargateToSsmstringparameterProps.Builder existingFargateServiceObject(software.amazon.awscdk.services.ecs.FargateService existingFargateServiceObject)
FargateToSsmstringparameterProps.getExistingFargateServiceObject()existingFargateServiceObject - A Fargate Service already instantiated (probably by another Solutions Construct).
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.thispublic FargateToSsmstringparameterProps.Builder existingStringParameterObj(software.amazon.awscdk.services.ssm.StringParameter existingStringParameterObj)
FargateToSsmstringparameterProps.getExistingStringParameterObj()existingStringParameterObj - Optional user provided props to override the default props for SSM String Parameter.thispublic FargateToSsmstringparameterProps.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
FargateToSsmstringparameterProps.getExistingVpc()existingVpc - An existing VPC in which to deploy the construct.
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.thispublic FargateToSsmstringparameterProps.Builder fargateServiceProps(Object fargateServiceProps)
FargateToSsmstringparameterProps.getFargateServiceProps()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.
defaults - fargate-defaults.tsthispublic FargateToSsmstringparameterProps.Builder fargateTaskDefinitionProps(Object fargateTaskDefinitionProps)
FargateToSsmstringparameterProps.getFargateTaskDefinitionProps()fargateTaskDefinitionProps - the value to be set.thispublic FargateToSsmstringparameterProps.Builder stringParameterEnvironmentVariableName(String stringParameterEnvironmentVariableName)
stringParameterEnvironmentVariableName - Optional Name for the container environment variable set to the SSM parameter name.thispublic FargateToSsmstringparameterProps.Builder stringParameterPermissions(String stringParameterPermissions)
FargateToSsmstringparameterProps.getStringParameterPermissions()stringParameterPermissions - Optional SSM String parameter permissions to grant to the Fargate service.
One of the following may be specified: "Read", "ReadWrite".thispublic FargateToSsmstringparameterProps.Builder stringParameterProps(software.amazon.awscdk.services.ssm.StringParameterProps stringParameterProps)
FargateToSsmstringparameterProps.getStringParameterProps()stringParameterProps - Optional user provided props to override the default props for SSM String Parameter.thispublic FargateToSsmstringparameterProps.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
FargateToSsmstringparameterProps.getVpcProps()vpcProps - Optional custom properties for a VPC the construct will create.
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.thispublic FargateToSsmstringparameterProps build()
build in interface software.amazon.jsii.Builder<FargateToSsmstringparameterProps>FargateToSsmstringparameterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.