GatewayElbNetworkConfigurationProperty Struct
The network configuration for the gateway ALB.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const gatewayElbNetworkConfigurationProperty: ecs.CfnGateway.GatewayElbNetworkConfigurationProperty = {
inboundSecurityGroup: 'inboundSecurityGroup',
ipAddressType: 'ipAddressType',
subnets: ['subnets'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs
gateway_elb_network_configuration_property = ecs.CfnGateway.GatewayElbNetworkConfigurationProperty(
inbound_security_group="inboundSecurityGroup",
ip_address_type="ipAddressType",
subnets=["subnets"]
)
java
// 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.*;
GatewayElbNetworkConfigurationProperty gatewayElbNetworkConfigurationProperty = GatewayElbNetworkConfigurationProperty.builder()
.inboundSecurityGroup("inboundSecurityGroup")
.ipAddressType("ipAddressType")
.subnets(List.of("subnets"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var gatewayElbNetworkConfigurationProperty = new GatewayElbNetworkConfigurationProperty {
InboundSecurityGroup = "inboundSecurityGroup",
IpAddressType = "ipAddressType",
Subnets = new [] { "subnets" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
gatewayElbNetworkConfigurationProperty := &GatewayElbNetworkConfigurationProperty{
InboundSecurityGroup: jsii.String("inboundSecurityGroup"),
IpAddressType: jsii.String("ipAddressType"),
Subnets: []*string{
jsii.String("subnets"),
},
}
Properties
inboundSecurityGroupoptionalstringinbound_security_groupoptionalstrinboundSecurityGroupoptionalStringInboundSecurityGroupoptionalstringInboundSecurityGroupoptional*string #The inbound security group for the ALB.
ipAddressTypeoptionalstringip_address_typeoptionalstripAddressTypeoptionalStringIpAddressTypeoptionalstringIpAddressTypeoptional*string #The IP address type for the ALB.
subnetsoptionalstring[]subnetsoptionaltyping.List[str]subnetsoptionalList<String>Subnetsoptionalstring[]Subnetsoptional*[]*string #The subnets for the ALB.