@Stability(value=External) public static final class CfnNatGateway.Builder extends Object
CfnNatGateway
.Modifier and Type | Method and Description |
---|---|
CfnNatGateway.Builder |
allocationId(String allocationId)
`AWS::EC2::NatGateway.AllocationId`.
|
CfnNatGateway |
build() |
static CfnNatGateway.Builder |
create(Construct scope,
String id) |
CfnNatGateway.Builder |
subnetId(String subnetId)
`AWS::EC2::NatGateway.SubnetId`.
|
CfnNatGateway.Builder |
tags(List<CfnTag> tags)
`AWS::EC2::NatGateway.Tags`.
|
@Stability(value=External) public static CfnNatGateway.Builder create(Construct scope, String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnNatGateway.Builder
.@Stability(value=External) public CfnNatGateway.Builder allocationId(String allocationId)
allocationId
- `AWS::EC2::NatGateway.AllocationId`. This parameter is required.this
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-allocationid
@Stability(value=External) public CfnNatGateway.Builder subnetId(String subnetId)
subnetId
- `AWS::EC2::NatGateway.SubnetId`. This parameter is required.this
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-subnetid
@Stability(value=External) public CfnNatGateway.Builder tags(List<CfnTag> tags)
tags
- `AWS::EC2::NatGateway.Tags`. This parameter is required.this
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-tags
@Stability(value=External) public CfnNatGateway build()
Copyright © 2020. All rights reserved.