Skip to content
v2.278.0

CfnRequesterGatewayProps Struct ​

Properties for defining a CfnRequesterGateway.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rtbfabric as rtbfabric } from 'aws-cdk-lib';
const cfnRequesterGatewayProps: rtbfabric.CfnRequesterGatewayProps = {
  securityGroupIds: ['securityGroupIds'],
  subnetIds: ['subnetIds'],
  vpcId: 'vpcId',

  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rtbfabric as rtbfabric

cfn_requester_gateway_props = rtbfabric.CfnRequesterGatewayProps(
    security_group_ids=["securityGroupIds"],
    subnet_ids=["subnetIds"],
    vpc_id="vpcId",

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.rtbfabric.*;

CfnRequesterGatewayProps cfnRequesterGatewayProps = CfnRequesterGatewayProps.builder()
        .securityGroupIds(List.of("securityGroupIds"))
        .subnetIds(List.of("subnetIds"))
        .vpcId("vpcId")

        // the properties below are optional
        .description("description")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.RTBFabric;

var cfnRequesterGatewayProps = new CfnRequesterGatewayProps {
    SecurityGroupIds = new [] { "securityGroupIds" },
    SubnetIds = new [] { "subnetIds" },
    VpcId = "vpcId",

    // the properties below are optional
    Description = "description",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnRequesterGatewayProps := &CfnRequesterGatewayProps{
	SecurityGroupIds: []interface{}{
		jsii.String("securityGroupIds"),
	},
	SubnetIds: []interface{}{
		jsii.String("subnetIds"),
	},
	VpcId: jsii.String("vpcId"),

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
An optional description for the requester gateway.
securityGroupIdsstring | ISecurityGroupRef[]security_group_idstyping.List[typing.Union[str, ISecurityGroupRef]]securityGroupIdsList<String>SecurityGroupIdsstring[]SecurityGroupIds*[]interface{} required #
The unique identifiers of the security groups.
subnetIdsstring | ISubnetRef[]subnet_idstyping.List[typing.Union[str, ISubnetRef]]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]interface{} required #
The unique identifiers of the subnets.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
A map of the key-value pairs of the tag or tags to assign to the resource.
vpcIdstring | IVPCRefvpc_idtyping.Union[str, IVPCRef]vpcIdStringVpcIdstringVpcIdinterface{} required #
The unique identifier of the Virtual Private Cloud (VPC).