Interface CfnService.VpcLatticeConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.VpcLatticeConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.VpcLatticeConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The VPC Lattice configuration for your service that holds the information for the target group(s) Amazon ECS tasks will be registered to.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; VpcLatticeConfigurationProperty vpcLatticeConfigurationProperty = VpcLatticeConfigurationProperty.builder() .portName("portName") .roleArn("roleArn") .targetGroupArn("targetGroupArn") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnService.VpcLatticeConfigurationProperty
static final class
An implementation forCfnService.VpcLatticeConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the port mapping to register in the VPC Lattice target group.The ARN of the IAM role to associate with this VPC Lattice configuration.The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPortName
The name of the port mapping to register in the VPC Lattice target group.This is the name of the
portMapping
you defined in your task definition.- See Also:
-
getRoleArn
The ARN of the IAM role to associate with this VPC Lattice configuration.This is the Amazon ECS infrastructure IAM role that is used to manage your VPC Lattice infrastructure.
- See Also:
-
getTargetGroupArn
The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.- See Also:
-
builder
-