UNPKG

typed-aws

Version:

Helps you write AWS CloudFormation in TypeScript

62 lines (61 loc) 2.41 kB
import { CfnResource, Resolvable } from '../../base'; export declare type Subnet_Type = 'AWS::EC2::Subnet'; export declare const Subnet_Type = "AWS::EC2::Subnet"; /** * Resource Type definition for AWS::EC2::Subnet {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html} */ export default function Subnet(props: Subnet_Properties): CfnResource<Subnet_Properties>; /** * Resource Type definition for AWS::EC2::Subnet {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html} */ export declare type Subnet_Properties = { /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-assignipv6addressoncreation} */ AssignIpv6AddressOnCreation?: Resolvable<boolean>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-awsec2subnet-prop-vpcid} */ VpcId: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-mappubliciponlaunch} */ MapPublicIpOnLaunch?: Resolvable<boolean>; NetworkAclAssociationId?: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-availabilityzone} */ AvailabilityZone?: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-cidrblock} */ CidrBlock: Resolvable<string>; SubnetId?: Resolvable<string>; Ipv6CidrBlocks?: Resolvable<string>[]; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv6cidrblock} */ Ipv6CidrBlock?: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-outpostarn} */ OutpostArn?: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-tags} */ Tags?: Tag[]; }; export declare type Tag = { Value: Resolvable<string>; Key: Resolvable<string>; };