ec2

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 4 Imported by: 9

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ami

type Ami struct {
	pulumi.CustomResourceState

	// Machine architecture for created instances. Defaults to "x8664".
	Architecture pulumi.StringPtrOutput `pulumi:"architecture"`
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiEbsBlockDeviceArrayOutput `pulumi:"ebsBlockDevices"`
	// Specifies whether enhanced networking with ENA is enabled. Defaults to `false`.
	EnaSupport pulumi.BoolPtrOutput `pulumi:"enaSupport"`
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiEphemeralBlockDeviceArrayOutput `pulumi:"ephemeralBlockDevices"`
	// Path to an S3 object containing an image manifest, e.g. created
	// by the `ec2-upload-bundle` command in the EC2 command line tools.
	ImageLocation pulumi.StringOutput `pulumi:"imageLocation"`
	// The id of the kernel image (AKI) that will be used as the paravirtual
	// kernel in created instances.
	KernelId           pulumi.StringPtrOutput `pulumi:"kernelId"`
	ManageEbsSnapshots pulumi.BoolOutput      `pulumi:"manageEbsSnapshots"`
	// A region-unique name for the AMI.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of an initrd image (ARI) that will be used when booting the
	// created instances.
	RamdiskId pulumi.StringPtrOutput `pulumi:"ramdiskId"`
	// The name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
	RootDeviceName pulumi.StringPtrOutput `pulumi:"rootDeviceName"`
	// The Snapshot ID for the root volume (for EBS-backed AMIs)
	RootSnapshotId pulumi.StringOutput `pulumi:"rootSnapshotId"`
	// When set to "simple" (the default), enables enhanced networking
	// for created instances. No other value is supported at this time.
	SriovNetSupport pulumi.StringPtrOutput `pulumi:"sriovNetSupport"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Keyword to choose what virtualization mode created instances
	// will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type
	// changes the set of further arguments that are required, as described below.
	VirtualizationType pulumi.StringPtrOutput `pulumi:"virtualizationType"`
}

The AMI resource allows the creation and management of a completely-custom *Amazon Machine Image* (AMI).

If you just want to duplicate an existing AMI, possibly copying it to another region, it's better to use `ec2.AmiCopy` instead.

If you just want to share an existing AMI with another AWS account, it's better to use `ec2.AmiLaunchPermission` instead.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ami.html.markdown.

func GetAmi

func GetAmi(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AmiState, opts ...pulumi.ResourceOption) (*Ami, error)

GetAmi gets an existing Ami resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAmi

func NewAmi(ctx *pulumi.Context,
	name string, args *AmiArgs, opts ...pulumi.ResourceOption) (*Ami, error)

NewAmi registers a new resource with the given unique name, arguments, and options.

type AmiArgs

type AmiArgs struct {
	// Machine architecture for created instances. Defaults to "x8664".
	Architecture pulumi.StringPtrInput
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrInput
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiEbsBlockDeviceArrayInput
	// Specifies whether enhanced networking with ENA is enabled. Defaults to `false`.
	EnaSupport pulumi.BoolPtrInput
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiEphemeralBlockDeviceArrayInput
	// Path to an S3 object containing an image manifest, e.g. created
	// by the `ec2-upload-bundle` command in the EC2 command line tools.
	ImageLocation pulumi.StringPtrInput
	// The id of the kernel image (AKI) that will be used as the paravirtual
	// kernel in created instances.
	KernelId pulumi.StringPtrInput
	// A region-unique name for the AMI.
	Name pulumi.StringPtrInput
	// The id of an initrd image (ARI) that will be used when booting the
	// created instances.
	RamdiskId pulumi.StringPtrInput
	// The name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
	RootDeviceName pulumi.StringPtrInput
	// When set to "simple" (the default), enables enhanced networking
	// for created instances. No other value is supported at this time.
	SriovNetSupport pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// Keyword to choose what virtualization mode created instances
	// will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type
	// changes the set of further arguments that are required, as described below.
	VirtualizationType pulumi.StringPtrInput
}

The set of arguments for constructing a Ami resource.

func (AmiArgs) ElementType added in v1.19.0

func (AmiArgs) ElementType() reflect.Type

type AmiCopy

type AmiCopy struct {
	pulumi.CustomResourceState

	// Machine architecture for created instances. Defaults to "x8664".
	Architecture pulumi.StringOutput `pulumi:"architecture"`
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiCopyEbsBlockDeviceArrayOutput `pulumi:"ebsBlockDevices"`
	// Specifies whether enhanced networking with ENA is enabled. Defaults to `false`.
	EnaSupport pulumi.BoolOutput `pulumi:"enaSupport"`
	// Specifies whether the destination snapshots of the copied image should be encrypted. Defaults to `false`
	Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"`
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiCopyEphemeralBlockDeviceArrayOutput `pulumi:"ephemeralBlockDevices"`
	// Path to an S3 object containing an image manifest, e.g. created
	// by the `ec2-upload-bundle` command in the EC2 command line tools.
	ImageLocation pulumi.StringOutput `pulumi:"imageLocation"`
	// The id of the kernel image (AKI) that will be used as the paravirtual
	// kernel in created instances.
	KernelId pulumi.StringOutput `pulumi:"kernelId"`
	// The full ARN of the KMS Key to use when encrypting the snapshots of an image during a copy operation. If not specified, then the default AWS KMS Key will be used
	KmsKeyId           pulumi.StringOutput `pulumi:"kmsKeyId"`
	ManageEbsSnapshots pulumi.BoolOutput   `pulumi:"manageEbsSnapshots"`
	// A region-unique name for the AMI.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of an initrd image (ARI) that will be used when booting the
	// created instances.
	RamdiskId pulumi.StringOutput `pulumi:"ramdiskId"`
	// The name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
	RootDeviceName pulumi.StringOutput `pulumi:"rootDeviceName"`
	RootSnapshotId pulumi.StringOutput `pulumi:"rootSnapshotId"`
	// The id of the AMI to copy. This id must be valid in the region
	// given by `sourceAmiRegion`.
	SourceAmiId pulumi.StringOutput `pulumi:"sourceAmiId"`
	// The region from which the AMI will be copied. This may be the
	// same as the AWS provider region in order to create a copy within the same region.
	SourceAmiRegion pulumi.StringOutput `pulumi:"sourceAmiRegion"`
	// When set to "simple" (the default), enables enhanced networking
	// for created instances. No other value is supported at this time.
	SriovNetSupport pulumi.StringOutput `pulumi:"sriovNetSupport"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Keyword to choose what virtualization mode created instances
	// will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type
	// changes the set of further arguments that are required, as described below.
	VirtualizationType pulumi.StringOutput `pulumi:"virtualizationType"`
}

The "AMI copy" resource allows duplication of an Amazon Machine Image (AMI), including cross-region copies.

If the source AMI has associated EBS snapshots, those will also be duplicated along with the AMI.

This is useful for taking a single AMI provisioned in one region and making it available in another for a multi-region deployment.

Copying an AMI can take several minutes. The creation of this resource will block until the new AMI is available for use on new instances.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ami_copy.html.markdown.

func GetAmiCopy

func GetAmiCopy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AmiCopyState, opts ...pulumi.ResourceOption) (*AmiCopy, error)

GetAmiCopy gets an existing AmiCopy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAmiCopy

func NewAmiCopy(ctx *pulumi.Context,
	name string, args *AmiCopyArgs, opts ...pulumi.ResourceOption) (*AmiCopy, error)

NewAmiCopy registers a new resource with the given unique name, arguments, and options.

type AmiCopyArgs

type AmiCopyArgs struct {
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrInput
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiCopyEbsBlockDeviceArrayInput
	// Specifies whether the destination snapshots of the copied image should be encrypted. Defaults to `false`
	Encrypted pulumi.BoolPtrInput
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiCopyEphemeralBlockDeviceArrayInput
	// The full ARN of the KMS Key to use when encrypting the snapshots of an image during a copy operation. If not specified, then the default AWS KMS Key will be used
	KmsKeyId pulumi.StringPtrInput
	// A region-unique name for the AMI.
	Name pulumi.StringPtrInput
	// The id of the AMI to copy. This id must be valid in the region
	// given by `sourceAmiRegion`.
	SourceAmiId pulumi.StringInput
	// The region from which the AMI will be copied. This may be the
	// same as the AWS provider region in order to create a copy within the same region.
	SourceAmiRegion pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a AmiCopy resource.

func (AmiCopyArgs) ElementType added in v1.19.0

func (AmiCopyArgs) ElementType() reflect.Type

type AmiCopyEbsBlockDevice added in v1.19.0

type AmiCopyEbsBlockDevice struct {
	DeleteOnTermination *bool   `pulumi:"deleteOnTermination"`
	DeviceName          *string `pulumi:"deviceName"`
	// Specifies whether the destination snapshots of the copied image should be encrypted. Defaults to `false`
	Encrypted  *bool   `pulumi:"encrypted"`
	Iops       *int    `pulumi:"iops"`
	SnapshotId *string `pulumi:"snapshotId"`
	VolumeSize *int    `pulumi:"volumeSize"`
	VolumeType *string `pulumi:"volumeType"`
}

type AmiCopyEbsBlockDeviceArgs added in v1.19.0

type AmiCopyEbsBlockDeviceArgs struct {
	DeleteOnTermination pulumi.BoolPtrInput   `pulumi:"deleteOnTermination"`
	DeviceName          pulumi.StringPtrInput `pulumi:"deviceName"`
	// Specifies whether the destination snapshots of the copied image should be encrypted. Defaults to `false`
	Encrypted  pulumi.BoolPtrInput   `pulumi:"encrypted"`
	Iops       pulumi.IntPtrInput    `pulumi:"iops"`
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
	VolumeSize pulumi.IntPtrInput    `pulumi:"volumeSize"`
	VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (AmiCopyEbsBlockDeviceArgs) ElementType added in v1.19.0

func (AmiCopyEbsBlockDeviceArgs) ElementType() reflect.Type

func (AmiCopyEbsBlockDeviceArgs) ToAmiCopyEbsBlockDeviceOutput added in v1.19.0

func (i AmiCopyEbsBlockDeviceArgs) ToAmiCopyEbsBlockDeviceOutput() AmiCopyEbsBlockDeviceOutput

func (AmiCopyEbsBlockDeviceArgs) ToAmiCopyEbsBlockDeviceOutputWithContext added in v1.19.0

func (i AmiCopyEbsBlockDeviceArgs) ToAmiCopyEbsBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceOutput

type AmiCopyEbsBlockDeviceArray added in v1.19.0

type AmiCopyEbsBlockDeviceArray []AmiCopyEbsBlockDeviceInput

func (AmiCopyEbsBlockDeviceArray) ElementType added in v1.19.0

func (AmiCopyEbsBlockDeviceArray) ElementType() reflect.Type

func (AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutput added in v1.19.0

func (i AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutput() AmiCopyEbsBlockDeviceArrayOutput

func (AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceArrayOutput

type AmiCopyEbsBlockDeviceArrayInput added in v1.19.0

type AmiCopyEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToAmiCopyEbsBlockDeviceArrayOutput() AmiCopyEbsBlockDeviceArrayOutput
	ToAmiCopyEbsBlockDeviceArrayOutputWithContext(context.Context) AmiCopyEbsBlockDeviceArrayOutput
}

type AmiCopyEbsBlockDeviceArrayOutput added in v1.19.0

type AmiCopyEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (AmiCopyEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (AmiCopyEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutput added in v1.19.0

func (o AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutput() AmiCopyEbsBlockDeviceArrayOutput

func (AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceArrayOutput

type AmiCopyEbsBlockDeviceInput added in v1.19.0

type AmiCopyEbsBlockDeviceInput interface {
	pulumi.Input

	ToAmiCopyEbsBlockDeviceOutput() AmiCopyEbsBlockDeviceOutput
	ToAmiCopyEbsBlockDeviceOutputWithContext(context.Context) AmiCopyEbsBlockDeviceOutput
}

type AmiCopyEbsBlockDeviceOutput added in v1.19.0

type AmiCopyEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (AmiCopyEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (o AmiCopyEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput

func (AmiCopyEbsBlockDeviceOutput) DeviceName added in v1.19.0

func (AmiCopyEbsBlockDeviceOutput) ElementType added in v1.19.0

func (AmiCopyEbsBlockDeviceOutput) Encrypted added in v1.19.0

Specifies whether the destination snapshots of the copied image should be encrypted. Defaults to `false`

func (AmiCopyEbsBlockDeviceOutput) Iops added in v1.19.0

func (AmiCopyEbsBlockDeviceOutput) SnapshotId added in v1.19.0

func (AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutput added in v1.19.0

func (o AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutput() AmiCopyEbsBlockDeviceOutput

func (AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutputWithContext added in v1.19.0

func (o AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceOutput

func (AmiCopyEbsBlockDeviceOutput) VolumeSize added in v1.19.0

func (AmiCopyEbsBlockDeviceOutput) VolumeType added in v1.19.0

type AmiCopyEphemeralBlockDevice added in v1.19.0

type AmiCopyEphemeralBlockDevice struct {
	DeviceName  *string `pulumi:"deviceName"`
	VirtualName *string `pulumi:"virtualName"`
}

type AmiCopyEphemeralBlockDeviceArgs added in v1.19.0

type AmiCopyEphemeralBlockDeviceArgs struct {
	DeviceName  pulumi.StringPtrInput `pulumi:"deviceName"`
	VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}

func (AmiCopyEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutput added in v1.19.0

func (i AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutput() AmiCopyEphemeralBlockDeviceOutput

func (AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceOutput

type AmiCopyEphemeralBlockDeviceArray added in v1.19.0

type AmiCopyEphemeralBlockDeviceArray []AmiCopyEphemeralBlockDeviceInput

func (AmiCopyEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutput added in v1.19.0

func (i AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutput() AmiCopyEphemeralBlockDeviceArrayOutput

func (AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceArrayOutput

type AmiCopyEphemeralBlockDeviceArrayInput added in v1.19.0

type AmiCopyEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToAmiCopyEphemeralBlockDeviceArrayOutput() AmiCopyEphemeralBlockDeviceArrayOutput
	ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext(context.Context) AmiCopyEphemeralBlockDeviceArrayOutput
}

type AmiCopyEphemeralBlockDeviceArrayOutput added in v1.19.0

type AmiCopyEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (AmiCopyEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (AmiCopyEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutput added in v1.19.0

func (o AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutput() AmiCopyEphemeralBlockDeviceArrayOutput

func (AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceArrayOutput

type AmiCopyEphemeralBlockDeviceInput added in v1.19.0

type AmiCopyEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToAmiCopyEphemeralBlockDeviceOutput() AmiCopyEphemeralBlockDeviceOutput
	ToAmiCopyEphemeralBlockDeviceOutputWithContext(context.Context) AmiCopyEphemeralBlockDeviceOutput
}

type AmiCopyEphemeralBlockDeviceOutput added in v1.19.0

type AmiCopyEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (AmiCopyEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

func (AmiCopyEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutput added in v1.19.0

func (o AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutput() AmiCopyEphemeralBlockDeviceOutput

func (AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceOutput

func (AmiCopyEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

type AmiCopyState

type AmiCopyState struct {
	// Machine architecture for created instances. Defaults to "x8664".
	Architecture pulumi.StringPtrInput
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrInput
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiCopyEbsBlockDeviceArrayInput
	// Specifies whether enhanced networking with ENA is enabled. Defaults to `false`.
	EnaSupport pulumi.BoolPtrInput
	// Specifies whether the destination snapshots of the copied image should be encrypted. Defaults to `false`
	Encrypted pulumi.BoolPtrInput
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiCopyEphemeralBlockDeviceArrayInput
	// Path to an S3 object containing an image manifest, e.g. created
	// by the `ec2-upload-bundle` command in the EC2 command line tools.
	ImageLocation pulumi.StringPtrInput
	// The id of the kernel image (AKI) that will be used as the paravirtual
	// kernel in created instances.
	KernelId pulumi.StringPtrInput
	// The full ARN of the KMS Key to use when encrypting the snapshots of an image during a copy operation. If not specified, then the default AWS KMS Key will be used
	KmsKeyId           pulumi.StringPtrInput
	ManageEbsSnapshots pulumi.BoolPtrInput
	// A region-unique name for the AMI.
	Name pulumi.StringPtrInput
	// The id of an initrd image (ARI) that will be used when booting the
	// created instances.
	RamdiskId pulumi.StringPtrInput
	// The name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
	RootDeviceName pulumi.StringPtrInput
	RootSnapshotId pulumi.StringPtrInput
	// The id of the AMI to copy. This id must be valid in the region
	// given by `sourceAmiRegion`.
	SourceAmiId pulumi.StringPtrInput
	// The region from which the AMI will be copied. This may be the
	// same as the AWS provider region in order to create a copy within the same region.
	SourceAmiRegion pulumi.StringPtrInput
	// When set to "simple" (the default), enables enhanced networking
	// for created instances. No other value is supported at this time.
	SriovNetSupport pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// Keyword to choose what virtualization mode created instances
	// will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type
	// changes the set of further arguments that are required, as described below.
	VirtualizationType pulumi.StringPtrInput
}

func (AmiCopyState) ElementType added in v1.19.0

func (AmiCopyState) ElementType() reflect.Type

type AmiEbsBlockDevice added in v1.19.0

type AmiEbsBlockDevice struct {
	DeleteOnTermination *bool   `pulumi:"deleteOnTermination"`
	DeviceName          string  `pulumi:"deviceName"`
	Encrypted           *bool   `pulumi:"encrypted"`
	Iops                *int    `pulumi:"iops"`
	SnapshotId          *string `pulumi:"snapshotId"`
	VolumeSize          *int    `pulumi:"volumeSize"`
	VolumeType          *string `pulumi:"volumeType"`
}

type AmiEbsBlockDeviceArgs added in v1.19.0

type AmiEbsBlockDeviceArgs struct {
	DeleteOnTermination pulumi.BoolPtrInput   `pulumi:"deleteOnTermination"`
	DeviceName          pulumi.StringInput    `pulumi:"deviceName"`
	Encrypted           pulumi.BoolPtrInput   `pulumi:"encrypted"`
	Iops                pulumi.IntPtrInput    `pulumi:"iops"`
	SnapshotId          pulumi.StringPtrInput `pulumi:"snapshotId"`
	VolumeSize          pulumi.IntPtrInput    `pulumi:"volumeSize"`
	VolumeType          pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (AmiEbsBlockDeviceArgs) ElementType added in v1.19.0

func (AmiEbsBlockDeviceArgs) ElementType() reflect.Type

func (AmiEbsBlockDeviceArgs) ToAmiEbsBlockDeviceOutput added in v1.19.0

func (i AmiEbsBlockDeviceArgs) ToAmiEbsBlockDeviceOutput() AmiEbsBlockDeviceOutput

func (AmiEbsBlockDeviceArgs) ToAmiEbsBlockDeviceOutputWithContext added in v1.19.0

func (i AmiEbsBlockDeviceArgs) ToAmiEbsBlockDeviceOutputWithContext(ctx context.Context) AmiEbsBlockDeviceOutput

type AmiEbsBlockDeviceArray added in v1.19.0

type AmiEbsBlockDeviceArray []AmiEbsBlockDeviceInput

func (AmiEbsBlockDeviceArray) ElementType added in v1.19.0

func (AmiEbsBlockDeviceArray) ElementType() reflect.Type

func (AmiEbsBlockDeviceArray) ToAmiEbsBlockDeviceArrayOutput added in v1.19.0

func (i AmiEbsBlockDeviceArray) ToAmiEbsBlockDeviceArrayOutput() AmiEbsBlockDeviceArrayOutput

func (AmiEbsBlockDeviceArray) ToAmiEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i AmiEbsBlockDeviceArray) ToAmiEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEbsBlockDeviceArrayOutput

type AmiEbsBlockDeviceArrayInput added in v1.19.0

type AmiEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToAmiEbsBlockDeviceArrayOutput() AmiEbsBlockDeviceArrayOutput
	ToAmiEbsBlockDeviceArrayOutputWithContext(context.Context) AmiEbsBlockDeviceArrayOutput
}

type AmiEbsBlockDeviceArrayOutput added in v1.19.0

type AmiEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (AmiEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (AmiEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutput added in v1.19.0

func (o AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutput() AmiEbsBlockDeviceArrayOutput

func (AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEbsBlockDeviceArrayOutput

type AmiEbsBlockDeviceInput added in v1.19.0

type AmiEbsBlockDeviceInput interface {
	pulumi.Input

	ToAmiEbsBlockDeviceOutput() AmiEbsBlockDeviceOutput
	ToAmiEbsBlockDeviceOutputWithContext(context.Context) AmiEbsBlockDeviceOutput
}

type AmiEbsBlockDeviceOutput added in v1.19.0

type AmiEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (AmiEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (o AmiEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput

func (AmiEbsBlockDeviceOutput) DeviceName added in v1.19.0

func (AmiEbsBlockDeviceOutput) ElementType added in v1.19.0

func (AmiEbsBlockDeviceOutput) ElementType() reflect.Type

func (AmiEbsBlockDeviceOutput) Encrypted added in v1.19.0

func (AmiEbsBlockDeviceOutput) Iops added in v1.19.0

func (AmiEbsBlockDeviceOutput) SnapshotId added in v1.19.0

func (AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutput added in v1.19.0

func (o AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutput() AmiEbsBlockDeviceOutput

func (AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutputWithContext added in v1.19.0

func (o AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutputWithContext(ctx context.Context) AmiEbsBlockDeviceOutput

func (AmiEbsBlockDeviceOutput) VolumeSize added in v1.19.0

func (AmiEbsBlockDeviceOutput) VolumeType added in v1.19.0

type AmiEphemeralBlockDevice added in v1.19.0

type AmiEphemeralBlockDevice struct {
	DeviceName  string `pulumi:"deviceName"`
	VirtualName string `pulumi:"virtualName"`
}

type AmiEphemeralBlockDeviceArgs added in v1.19.0

type AmiEphemeralBlockDeviceArgs struct {
	DeviceName  pulumi.StringInput `pulumi:"deviceName"`
	VirtualName pulumi.StringInput `pulumi:"virtualName"`
}

func (AmiEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (AmiEphemeralBlockDeviceArgs) ToAmiEphemeralBlockDeviceOutput added in v1.19.0

func (i AmiEphemeralBlockDeviceArgs) ToAmiEphemeralBlockDeviceOutput() AmiEphemeralBlockDeviceOutput

func (AmiEphemeralBlockDeviceArgs) ToAmiEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i AmiEphemeralBlockDeviceArgs) ToAmiEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceOutput

type AmiEphemeralBlockDeviceArray added in v1.19.0

type AmiEphemeralBlockDeviceArray []AmiEphemeralBlockDeviceInput

func (AmiEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutput added in v1.19.0

func (i AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutput() AmiEphemeralBlockDeviceArrayOutput

func (AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceArrayOutput

type AmiEphemeralBlockDeviceArrayInput added in v1.19.0

type AmiEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToAmiEphemeralBlockDeviceArrayOutput() AmiEphemeralBlockDeviceArrayOutput
	ToAmiEphemeralBlockDeviceArrayOutputWithContext(context.Context) AmiEphemeralBlockDeviceArrayOutput
}

type AmiEphemeralBlockDeviceArrayOutput added in v1.19.0

type AmiEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (AmiEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (AmiEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutput added in v1.19.0

func (o AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutput() AmiEphemeralBlockDeviceArrayOutput

func (AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceArrayOutput

type AmiEphemeralBlockDeviceInput added in v1.19.0

type AmiEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToAmiEphemeralBlockDeviceOutput() AmiEphemeralBlockDeviceOutput
	ToAmiEphemeralBlockDeviceOutputWithContext(context.Context) AmiEphemeralBlockDeviceOutput
}

type AmiEphemeralBlockDeviceOutput added in v1.19.0

type AmiEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (AmiEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

func (AmiEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutput added in v1.19.0

func (o AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutput() AmiEphemeralBlockDeviceOutput

func (AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceOutput

func (AmiEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

type AmiFromInstance

type AmiFromInstance struct {
	pulumi.CustomResourceState

	// Machine architecture for created instances. Defaults to "x8664".
	Architecture pulumi.StringOutput `pulumi:"architecture"`
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiFromInstanceEbsBlockDeviceArrayOutput `pulumi:"ebsBlockDevices"`
	// Specifies whether enhanced networking with ENA is enabled. Defaults to `false`.
	EnaSupport pulumi.BoolOutput `pulumi:"enaSupport"`
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiFromInstanceEphemeralBlockDeviceArrayOutput `pulumi:"ephemeralBlockDevices"`
	// Path to an S3 object containing an image manifest, e.g. created
	// by the `ec2-upload-bundle` command in the EC2 command line tools.
	ImageLocation pulumi.StringOutput `pulumi:"imageLocation"`
	// The id of the kernel image (AKI) that will be used as the paravirtual
	// kernel in created instances.
	KernelId           pulumi.StringOutput `pulumi:"kernelId"`
	ManageEbsSnapshots pulumi.BoolOutput   `pulumi:"manageEbsSnapshots"`
	// A region-unique name for the AMI.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of an initrd image (ARI) that will be used when booting the
	// created instances.
	RamdiskId pulumi.StringOutput `pulumi:"ramdiskId"`
	// The name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
	RootDeviceName pulumi.StringOutput `pulumi:"rootDeviceName"`
	RootSnapshotId pulumi.StringOutput `pulumi:"rootSnapshotId"`
	// Boolean that overrides the behavior of stopping
	// the instance before snapshotting. This is risky since it may cause a snapshot of an
	// inconsistent filesystem state, but can be used to avoid downtime if the user otherwise
	// guarantees that no filesystem writes will be underway at the time of snapshot.
	SnapshotWithoutReboot pulumi.BoolPtrOutput `pulumi:"snapshotWithoutReboot"`
	// The id of the instance to use as the basis of the AMI.
	SourceInstanceId pulumi.StringOutput `pulumi:"sourceInstanceId"`
	// When set to "simple" (the default), enables enhanced networking
	// for created instances. No other value is supported at this time.
	SriovNetSupport pulumi.StringOutput `pulumi:"sriovNetSupport"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Keyword to choose what virtualization mode created instances
	// will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type
	// changes the set of further arguments that are required, as described below.
	VirtualizationType pulumi.StringOutput `pulumi:"virtualizationType"`
}

The "AMI from instance" resource allows the creation of an Amazon Machine Image (AMI) modelled after an existing EBS-backed EC2 instance.

The created AMI will refer to implicitly-created snapshots of the instance's EBS volumes and mimick its assigned block device configuration at the time the resource is created.

This resource is best applied to an instance that is stopped when this instance is created, so that the contents of the created image are predictable. When applied to an instance that is running, *the instance will be stopped before taking the snapshots and then started back up again*, resulting in a period of downtime.

Note that the source instance is inspected only at the initial creation of this resource. Ongoing updates to the referenced instance will not be propagated into the generated AMI. Users may taint or otherwise recreate the resource in order to produce a fresh snapshot.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ami_from_instance.html.markdown.

func GetAmiFromInstance

func GetAmiFromInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AmiFromInstanceState, opts ...pulumi.ResourceOption) (*AmiFromInstance, error)

GetAmiFromInstance gets an existing AmiFromInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAmiFromInstance

func NewAmiFromInstance(ctx *pulumi.Context,
	name string, args *AmiFromInstanceArgs, opts ...pulumi.ResourceOption) (*AmiFromInstance, error)

NewAmiFromInstance registers a new resource with the given unique name, arguments, and options.

type AmiFromInstanceArgs

type AmiFromInstanceArgs struct {
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrInput
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiFromInstanceEbsBlockDeviceArrayInput
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiFromInstanceEphemeralBlockDeviceArrayInput
	// A region-unique name for the AMI.
	Name pulumi.StringPtrInput
	// Boolean that overrides the behavior of stopping
	// the instance before snapshotting. This is risky since it may cause a snapshot of an
	// inconsistent filesystem state, but can be used to avoid downtime if the user otherwise
	// guarantees that no filesystem writes will be underway at the time of snapshot.
	SnapshotWithoutReboot pulumi.BoolPtrInput
	// The id of the instance to use as the basis of the AMI.
	SourceInstanceId pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a AmiFromInstance resource.

func (AmiFromInstanceArgs) ElementType added in v1.19.0

func (AmiFromInstanceArgs) ElementType() reflect.Type

type AmiFromInstanceEbsBlockDevice added in v1.19.0

type AmiFromInstanceEbsBlockDevice struct {
	DeleteOnTermination *bool   `pulumi:"deleteOnTermination"`
	DeviceName          *string `pulumi:"deviceName"`
	Encrypted           *bool   `pulumi:"encrypted"`
	Iops                *int    `pulumi:"iops"`
	SnapshotId          *string `pulumi:"snapshotId"`
	VolumeSize          *int    `pulumi:"volumeSize"`
	VolumeType          *string `pulumi:"volumeType"`
}

type AmiFromInstanceEbsBlockDeviceArgs added in v1.19.0

type AmiFromInstanceEbsBlockDeviceArgs struct {
	DeleteOnTermination pulumi.BoolPtrInput   `pulumi:"deleteOnTermination"`
	DeviceName          pulumi.StringPtrInput `pulumi:"deviceName"`
	Encrypted           pulumi.BoolPtrInput   `pulumi:"encrypted"`
	Iops                pulumi.IntPtrInput    `pulumi:"iops"`
	SnapshotId          pulumi.StringPtrInput `pulumi:"snapshotId"`
	VolumeSize          pulumi.IntPtrInput    `pulumi:"volumeSize"`
	VolumeType          pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (AmiFromInstanceEbsBlockDeviceArgs) ElementType added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutput added in v1.19.0

func (i AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutput() AmiFromInstanceEbsBlockDeviceOutput

func (AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutputWithContext added in v1.19.0

func (i AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceOutput

type AmiFromInstanceEbsBlockDeviceArray added in v1.19.0

type AmiFromInstanceEbsBlockDeviceArray []AmiFromInstanceEbsBlockDeviceInput

func (AmiFromInstanceEbsBlockDeviceArray) ElementType added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutput added in v1.19.0

func (i AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutput() AmiFromInstanceEbsBlockDeviceArrayOutput

func (AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceArrayOutput

type AmiFromInstanceEbsBlockDeviceArrayInput added in v1.19.0

type AmiFromInstanceEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToAmiFromInstanceEbsBlockDeviceArrayOutput() AmiFromInstanceEbsBlockDeviceArrayOutput
	ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext(context.Context) AmiFromInstanceEbsBlockDeviceArrayOutput
}

type AmiFromInstanceEbsBlockDeviceArrayOutput added in v1.19.0

type AmiFromInstanceEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (AmiFromInstanceEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutput added in v1.19.0

func (o AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutput() AmiFromInstanceEbsBlockDeviceArrayOutput

func (AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceArrayOutput

type AmiFromInstanceEbsBlockDeviceInput added in v1.19.0

type AmiFromInstanceEbsBlockDeviceInput interface {
	pulumi.Input

	ToAmiFromInstanceEbsBlockDeviceOutput() AmiFromInstanceEbsBlockDeviceOutput
	ToAmiFromInstanceEbsBlockDeviceOutputWithContext(context.Context) AmiFromInstanceEbsBlockDeviceOutput
}

type AmiFromInstanceEbsBlockDeviceOutput added in v1.19.0

type AmiFromInstanceEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (AmiFromInstanceEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceOutput) DeviceName added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceOutput) ElementType added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceOutput) Encrypted added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceOutput) Iops added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceOutput) SnapshotId added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutput added in v1.19.0

func (o AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutput() AmiFromInstanceEbsBlockDeviceOutput

func (AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutputWithContext added in v1.19.0

func (o AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceOutput

func (AmiFromInstanceEbsBlockDeviceOutput) VolumeSize added in v1.19.0

func (AmiFromInstanceEbsBlockDeviceOutput) VolumeType added in v1.19.0

type AmiFromInstanceEphemeralBlockDevice added in v1.19.0

type AmiFromInstanceEphemeralBlockDevice struct {
	DeviceName  *string `pulumi:"deviceName"`
	VirtualName *string `pulumi:"virtualName"`
}

type AmiFromInstanceEphemeralBlockDeviceArgs added in v1.19.0

type AmiFromInstanceEphemeralBlockDeviceArgs struct {
	DeviceName  pulumi.StringPtrInput `pulumi:"deviceName"`
	VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}

func (AmiFromInstanceEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutput added in v1.19.0

func (i AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutput() AmiFromInstanceEphemeralBlockDeviceOutput

func (AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceOutput

type AmiFromInstanceEphemeralBlockDeviceArray added in v1.19.0

type AmiFromInstanceEphemeralBlockDeviceArray []AmiFromInstanceEphemeralBlockDeviceInput

func (AmiFromInstanceEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

func (i AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput() AmiFromInstanceEphemeralBlockDeviceArrayOutput

func (AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceArrayOutput

type AmiFromInstanceEphemeralBlockDeviceArrayInput added in v1.19.0

type AmiFromInstanceEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToAmiFromInstanceEphemeralBlockDeviceArrayOutput() AmiFromInstanceEphemeralBlockDeviceArrayOutput
	ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext(context.Context) AmiFromInstanceEphemeralBlockDeviceArrayOutput
}

type AmiFromInstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

type AmiFromInstanceEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

func (o AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput() AmiFromInstanceEphemeralBlockDeviceArrayOutput

func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceArrayOutput

type AmiFromInstanceEphemeralBlockDeviceInput added in v1.19.0

type AmiFromInstanceEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToAmiFromInstanceEphemeralBlockDeviceOutput() AmiFromInstanceEphemeralBlockDeviceOutput
	ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext(context.Context) AmiFromInstanceEphemeralBlockDeviceOutput
}

type AmiFromInstanceEphemeralBlockDeviceOutput added in v1.19.0

type AmiFromInstanceEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (AmiFromInstanceEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

func (AmiFromInstanceEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutput added in v1.19.0

func (o AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutput() AmiFromInstanceEphemeralBlockDeviceOutput

func (AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceOutput

func (AmiFromInstanceEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

type AmiFromInstanceState

type AmiFromInstanceState struct {
	// Machine architecture for created instances. Defaults to "x8664".
	Architecture pulumi.StringPtrInput
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrInput
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiFromInstanceEbsBlockDeviceArrayInput
	// Specifies whether enhanced networking with ENA is enabled. Defaults to `false`.
	EnaSupport pulumi.BoolPtrInput
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiFromInstanceEphemeralBlockDeviceArrayInput
	// Path to an S3 object containing an image manifest, e.g. created
	// by the `ec2-upload-bundle` command in the EC2 command line tools.
	ImageLocation pulumi.StringPtrInput
	// The id of the kernel image (AKI) that will be used as the paravirtual
	// kernel in created instances.
	KernelId           pulumi.StringPtrInput
	ManageEbsSnapshots pulumi.BoolPtrInput
	// A region-unique name for the AMI.
	Name pulumi.StringPtrInput
	// The id of an initrd image (ARI) that will be used when booting the
	// created instances.
	RamdiskId pulumi.StringPtrInput
	// The name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
	RootDeviceName pulumi.StringPtrInput
	RootSnapshotId pulumi.StringPtrInput
	// Boolean that overrides the behavior of stopping
	// the instance before snapshotting. This is risky since it may cause a snapshot of an
	// inconsistent filesystem state, but can be used to avoid downtime if the user otherwise
	// guarantees that no filesystem writes will be underway at the time of snapshot.
	SnapshotWithoutReboot pulumi.BoolPtrInput
	// The id of the instance to use as the basis of the AMI.
	SourceInstanceId pulumi.StringPtrInput
	// When set to "simple" (the default), enables enhanced networking
	// for created instances. No other value is supported at this time.
	SriovNetSupport pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// Keyword to choose what virtualization mode created instances
	// will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type
	// changes the set of further arguments that are required, as described below.
	VirtualizationType pulumi.StringPtrInput
}

func (AmiFromInstanceState) ElementType added in v1.19.0

func (AmiFromInstanceState) ElementType() reflect.Type

type AmiLaunchPermission

type AmiLaunchPermission struct {
	pulumi.CustomResourceState

	// An AWS Account ID to add launch permissions.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// A region-unique name for the AMI.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
}

Adds launch permission to Amazon Machine Image (AMI) from another AWS account.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ami_launch_permission.html.markdown.

func GetAmiLaunchPermission

func GetAmiLaunchPermission(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AmiLaunchPermissionState, opts ...pulumi.ResourceOption) (*AmiLaunchPermission, error)

GetAmiLaunchPermission gets an existing AmiLaunchPermission resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAmiLaunchPermission

func NewAmiLaunchPermission(ctx *pulumi.Context,
	name string, args *AmiLaunchPermissionArgs, opts ...pulumi.ResourceOption) (*AmiLaunchPermission, error)

NewAmiLaunchPermission registers a new resource with the given unique name, arguments, and options.

type AmiLaunchPermissionArgs

type AmiLaunchPermissionArgs struct {
	// An AWS Account ID to add launch permissions.
	AccountId pulumi.StringInput
	// A region-unique name for the AMI.
	ImageId pulumi.StringInput
}

The set of arguments for constructing a AmiLaunchPermission resource.

func (AmiLaunchPermissionArgs) ElementType added in v1.19.0

func (AmiLaunchPermissionArgs) ElementType() reflect.Type

type AmiLaunchPermissionState

type AmiLaunchPermissionState struct {
	// An AWS Account ID to add launch permissions.
	AccountId pulumi.StringPtrInput
	// A region-unique name for the AMI.
	ImageId pulumi.StringPtrInput
}

func (AmiLaunchPermissionState) ElementType added in v1.19.0

func (AmiLaunchPermissionState) ElementType() reflect.Type

type AmiState

type AmiState struct {
	// Machine architecture for created instances. Defaults to "x8664".
	Architecture pulumi.StringPtrInput
	// A longer, human-readable description for the AMI.
	Description pulumi.StringPtrInput
	// Nested block describing an EBS block device that should be
	// attached to created instances. The structure of this block is described below.
	EbsBlockDevices AmiEbsBlockDeviceArrayInput
	// Specifies whether enhanced networking with ENA is enabled. Defaults to `false`.
	EnaSupport pulumi.BoolPtrInput
	// Nested block describing an ephemeral block device that
	// should be attached to created instances. The structure of this block is described below.
	EphemeralBlockDevices AmiEphemeralBlockDeviceArrayInput
	// Path to an S3 object containing an image manifest, e.g. created
	// by the `ec2-upload-bundle` command in the EC2 command line tools.
	ImageLocation pulumi.StringPtrInput
	// The id of the kernel image (AKI) that will be used as the paravirtual
	// kernel in created instances.
	KernelId           pulumi.StringPtrInput
	ManageEbsSnapshots pulumi.BoolPtrInput
	// A region-unique name for the AMI.
	Name pulumi.StringPtrInput
	// The id of an initrd image (ARI) that will be used when booting the
	// created instances.
	RamdiskId pulumi.StringPtrInput
	// The name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
	RootDeviceName pulumi.StringPtrInput
	// The Snapshot ID for the root volume (for EBS-backed AMIs)
	RootSnapshotId pulumi.StringPtrInput
	// When set to "simple" (the default), enables enhanced networking
	// for created instances. No other value is supported at this time.
	SriovNetSupport pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// Keyword to choose what virtualization mode created instances
	// will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type
	// changes the set of further arguments that are required, as described below.
	VirtualizationType pulumi.StringPtrInput
}

func (AmiState) ElementType added in v1.19.0

func (AmiState) ElementType() reflect.Type

type CapacityReservation added in v0.16.2

type CapacityReservation struct {
	pulumi.CustomResourceState

	// The Availability Zone in which to create the Capacity Reservation.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// Indicates whether the Capacity Reservation supports EBS-optimized instances.
	EbsOptimized pulumi.BoolPtrOutput `pulumi:"ebsOptimized"`
	// The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`)
	EndDate pulumi.StringPtrOutput `pulumi:"endDate"`
	// Indicates the way in which the Capacity Reservation ends. Specify either `unlimited` or `limited`.
	EndDateType pulumi.StringPtrOutput `pulumi:"endDateType"`
	// Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.
	EphemeralStorage pulumi.BoolPtrOutput `pulumi:"ephemeralStorage"`
	// The number of instances for which to reserve capacity.
	InstanceCount pulumi.IntOutput `pulumi:"instanceCount"`
	// Indicates the type of instance launches that the Capacity Reservation accepts. Specify either `open` or `targeted`.
	InstanceMatchCriteria pulumi.StringPtrOutput `pulumi:"instanceMatchCriteria"`
	// The type of operating system for which to reserve capacity. Valid options are `Linux/UNIX`, `Red Hat Enterprise Linux`, `SUSE Linux`, `Windows`, `Windows with SQL Server`, `Windows with SQL Server Enterprise`, `Windows with SQL Server Standard` or `Windows with SQL Server Web`.
	InstancePlatform pulumi.StringOutput `pulumi:"instancePlatform"`
	// The instance type for which to reserve capacity.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Indicates the tenancy of the Capacity Reservation. Specify either `default` or `dedicated`.
	Tenancy pulumi.StringPtrOutput `pulumi:"tenancy"`
}

Provides an EC2 Capacity Reservation. This allows you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any duration.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ec2_capacity_reservation.html.markdown.

func GetCapacityReservation added in v0.16.2

func GetCapacityReservation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CapacityReservationState, opts ...pulumi.ResourceOption) (*CapacityReservation, error)

GetCapacityReservation gets an existing CapacityReservation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCapacityReservation added in v0.16.2

func NewCapacityReservation(ctx *pulumi.Context,
	name string, args *CapacityReservationArgs, opts ...pulumi.ResourceOption) (*CapacityReservation, error)

NewCapacityReservation registers a new resource with the given unique name, arguments, and options.

type CapacityReservationArgs added in v0.16.2

type CapacityReservationArgs struct {
	// The Availability Zone in which to create the Capacity Reservation.
	AvailabilityZone pulumi.StringInput
	// Indicates whether the Capacity Reservation supports EBS-optimized instances.
	EbsOptimized pulumi.BoolPtrInput
	// The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`)
	EndDate pulumi.StringPtrInput
	// Indicates the way in which the Capacity Reservation ends. Specify either `unlimited` or `limited`.
	EndDateType pulumi.StringPtrInput
	// Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.
	EphemeralStorage pulumi.BoolPtrInput
	// The number of instances for which to reserve capacity.
	InstanceCount pulumi.IntInput
	// Indicates the type of instance launches that the Capacity Reservation accepts. Specify either `open` or `targeted`.
	InstanceMatchCriteria pulumi.StringPtrInput
	// The type of operating system for which to reserve capacity. Valid options are `Linux/UNIX`, `Red Hat Enterprise Linux`, `SUSE Linux`, `Windows`, `Windows with SQL Server`, `Windows with SQL Server Enterprise`, `Windows with SQL Server Standard` or `Windows with SQL Server Web`.
	InstancePlatform pulumi.StringInput
	// The instance type for which to reserve capacity.
	InstanceType pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// Indicates the tenancy of the Capacity Reservation. Specify either `default` or `dedicated`.
	Tenancy pulumi.StringPtrInput
}

The set of arguments for constructing a CapacityReservation resource.

func (CapacityReservationArgs) ElementType added in v1.19.0

func (CapacityReservationArgs) ElementType() reflect.Type

type CapacityReservationState added in v0.16.2

type CapacityReservationState struct {
	// The Availability Zone in which to create the Capacity Reservation.
	AvailabilityZone pulumi.StringPtrInput
	// Indicates whether the Capacity Reservation supports EBS-optimized instances.
	EbsOptimized pulumi.BoolPtrInput
	// The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`)
	EndDate pulumi.StringPtrInput
	// Indicates the way in which the Capacity Reservation ends. Specify either `unlimited` or `limited`.
	EndDateType pulumi.StringPtrInput
	// Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.
	EphemeralStorage pulumi.BoolPtrInput
	// The number of instances for which to reserve capacity.
	InstanceCount pulumi.IntPtrInput
	// Indicates the type of instance launches that the Capacity Reservation accepts. Specify either `open` or `targeted`.
	InstanceMatchCriteria pulumi.StringPtrInput
	// The type of operating system for which to reserve capacity. Valid options are `Linux/UNIX`, `Red Hat Enterprise Linux`, `SUSE Linux`, `Windows`, `Windows with SQL Server`, `Windows with SQL Server Enterprise`, `Windows with SQL Server Standard` or `Windows with SQL Server Web`.
	InstancePlatform pulumi.StringPtrInput
	// The instance type for which to reserve capacity.
	InstanceType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// Indicates the tenancy of the Capacity Reservation. Specify either `default` or `dedicated`.
	Tenancy pulumi.StringPtrInput
}

func (CapacityReservationState) ElementType added in v1.19.0

func (CapacityReservationState) ElementType() reflect.Type

type CustomerGateway

type CustomerGateway struct {
	pulumi.CustomResourceState

	// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// The IP address of the gateway's Internet-routable external interface.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Tags to apply to the gateway.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The type of customer gateway. The only type AWS
	// supports at this time is "ipsec.1".
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a customer gateway inside a VPC. These objects can be connected to VPN gateways via VPN connections, and allow you to establish tunnels between your network and the VPC.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/customer_gateway.html.markdown.

func GetCustomerGateway

func GetCustomerGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomerGatewayState, opts ...pulumi.ResourceOption) (*CustomerGateway, error)

GetCustomerGateway gets an existing CustomerGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomerGateway

func NewCustomerGateway(ctx *pulumi.Context,
	name string, args *CustomerGatewayArgs, opts ...pulumi.ResourceOption) (*CustomerGateway, error)

NewCustomerGateway registers a new resource with the given unique name, arguments, and options.

type CustomerGatewayArgs

type CustomerGatewayArgs struct {
	// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
	BgpAsn pulumi.IntInput
	// The IP address of the gateway's Internet-routable external interface.
	IpAddress pulumi.StringInput
	// Tags to apply to the gateway.
	Tags pulumi.MapInput
	// The type of customer gateway. The only type AWS
	// supports at this time is "ipsec.1".
	Type pulumi.StringInput
}

The set of arguments for constructing a CustomerGateway resource.

func (CustomerGatewayArgs) ElementType added in v1.19.0

func (CustomerGatewayArgs) ElementType() reflect.Type

type CustomerGatewayState

type CustomerGatewayState struct {
	// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
	BgpAsn pulumi.IntPtrInput
	// The IP address of the gateway's Internet-routable external interface.
	IpAddress pulumi.StringPtrInput
	// Tags to apply to the gateway.
	Tags pulumi.MapInput
	// The type of customer gateway. The only type AWS
	// supports at this time is "ipsec.1".
	Type pulumi.StringPtrInput
}

func (CustomerGatewayState) ElementType added in v1.19.0

func (CustomerGatewayState) ElementType() reflect.Type

type DefaultNetworkAcl

type DefaultNetworkAcl struct {
	pulumi.CustomResourceState

	// The Network ACL ID to manage. This
	// attribute is exported from `ec2.Vpc`, or manually found via the AWS Console.
	DefaultNetworkAclId pulumi.StringOutput `pulumi:"defaultNetworkAclId"`
	// Specifies an egress rule. Parameters defined below.
	Egress DefaultNetworkAclEgressArrayOutput `pulumi:"egress"`
	// Specifies an ingress rule. Parameters defined below.
	Ingress DefaultNetworkAclIngressArrayOutput `pulumi:"ingress"`
	// The ID of the AWS account that owns the Default Network ACL
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A list of Subnet IDs to apply the ACL to. See the
	// notes below on managing Subnets in the Default Network ACL
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The ID of the associated VPC
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to manage the default AWS Network ACL. VPC Only.

Each VPC created in AWS comes with a Default Network ACL that can be managed, but not destroyed. **This is an advanced resource**, and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource.

The `ec2.DefaultNetworkAcl` behaves differently from normal resources, in that this provider does not _create_ this resource, but instead attempts to "adopt" it into management. We can do this because each VPC created has a Default Network ACL that cannot be destroyed, and is created with a known set of default rules.

When this provider first adopts the Default Network ACL, it **immediately removes all rules in the ACL**. It then proceeds to create any rules specified in the configuration. This step is required so that only the rules specified in the configuration are created.

This resource treats its inline rules as absolute; only the rules defined inline are created, and any additions/removals external to this resource will result in diffs being shown. For these reasons, this resource is incompatible with the `ec2.NetworkAclRule` resource.

For more information about Network ACLs, see the AWS Documentation on [Network ACLs][aws-network-acls].

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/default_network_acl.html.markdown.

func GetDefaultNetworkAcl

func GetDefaultNetworkAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultNetworkAclState, opts ...pulumi.ResourceOption) (*DefaultNetworkAcl, error)

GetDefaultNetworkAcl gets an existing DefaultNetworkAcl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDefaultNetworkAcl

func NewDefaultNetworkAcl(ctx *pulumi.Context,
	name string, args *DefaultNetworkAclArgs, opts ...pulumi.ResourceOption) (*DefaultNetworkAcl, error)

NewDefaultNetworkAcl registers a new resource with the given unique name, arguments, and options.

type DefaultNetworkAclArgs

type DefaultNetworkAclArgs struct {
	// The Network ACL ID to manage. This
	// attribute is exported from `ec2.Vpc`, or manually found via the AWS Console.
	DefaultNetworkAclId pulumi.StringInput
	// Specifies an egress rule. Parameters defined below.
	Egress DefaultNetworkAclEgressArrayInput
	// Specifies an ingress rule. Parameters defined below.
	Ingress DefaultNetworkAclIngressArrayInput
	// A list of Subnet IDs to apply the ACL to. See the
	// notes below on managing Subnets in the Default Network ACL
	SubnetIds pulumi.StringArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a DefaultNetworkAcl resource.

func (DefaultNetworkAclArgs) ElementType added in v1.19.0

func (DefaultNetworkAclArgs) ElementType() reflect.Type

type DefaultNetworkAclEgress added in v1.19.0

type DefaultNetworkAclEgress struct {
	// The action to take.
	Action string `pulumi:"action"`
	// The CIDR block to match. This must be a
	// valid network mask.
	CidrBlock *string `pulumi:"cidrBlock"`
	// The from port to match.
	FromPort int `pulumi:"fromPort"`
	// The ICMP type code to be used. Default 0.
	IcmpCode *int `pulumi:"icmpCode"`
	// The ICMP type to be used. Default 0.
	IcmpType *int `pulumi:"icmpType"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
	// The protocol to match. If using the -1 'all'
	// protocol, you must specify a from and to port of 0.
	Protocol string `pulumi:"protocol"`
	// The rule number. Used for ordering.
	RuleNo int `pulumi:"ruleNo"`
	// The to port to match.
	ToPort int `pulumi:"toPort"`
}

type DefaultNetworkAclEgressArgs added in v1.19.0

type DefaultNetworkAclEgressArgs struct {
	// The action to take.
	Action pulumi.StringInput `pulumi:"action"`
	// The CIDR block to match. This must be a
	// valid network mask.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// The from port to match.
	FromPort pulumi.IntInput `pulumi:"fromPort"`
	// The ICMP type code to be used. Default 0.
	IcmpCode pulumi.IntPtrInput `pulumi:"icmpCode"`
	// The ICMP type to be used. Default 0.
	IcmpType pulumi.IntPtrInput `pulumi:"icmpType"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"`
	// The protocol to match. If using the -1 'all'
	// protocol, you must specify a from and to port of 0.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The rule number. Used for ordering.
	RuleNo pulumi.IntInput `pulumi:"ruleNo"`
	// The to port to match.
	ToPort pulumi.IntInput `pulumi:"toPort"`
}

func (DefaultNetworkAclEgressArgs) ElementType added in v1.19.0

func (DefaultNetworkAclEgressArgs) ToDefaultNetworkAclEgressOutput added in v1.19.0

func (i DefaultNetworkAclEgressArgs) ToDefaultNetworkAclEgressOutput() DefaultNetworkAclEgressOutput

func (DefaultNetworkAclEgressArgs) ToDefaultNetworkAclEgressOutputWithContext added in v1.19.0

func (i DefaultNetworkAclEgressArgs) ToDefaultNetworkAclEgressOutputWithContext(ctx context.Context) DefaultNetworkAclEgressOutput

type DefaultNetworkAclEgressArray added in v1.19.0

type DefaultNetworkAclEgressArray []DefaultNetworkAclEgressInput

func (DefaultNetworkAclEgressArray) ElementType added in v1.19.0

func (DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutput added in v1.19.0

func (i DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutput() DefaultNetworkAclEgressArrayOutput

func (DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutputWithContext added in v1.19.0

func (i DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclEgressArrayOutput

type DefaultNetworkAclEgressArrayInput added in v1.19.0

type DefaultNetworkAclEgressArrayInput interface {
	pulumi.Input

	ToDefaultNetworkAclEgressArrayOutput() DefaultNetworkAclEgressArrayOutput
	ToDefaultNetworkAclEgressArrayOutputWithContext(context.Context) DefaultNetworkAclEgressArrayOutput
}

type DefaultNetworkAclEgressArrayOutput added in v1.19.0

type DefaultNetworkAclEgressArrayOutput struct{ *pulumi.OutputState }

func (DefaultNetworkAclEgressArrayOutput) ElementType added in v1.19.0

func (DefaultNetworkAclEgressArrayOutput) Index added in v1.19.0

func (DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutput added in v1.19.0

func (o DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutput() DefaultNetworkAclEgressArrayOutput

func (DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutputWithContext added in v1.19.0

func (o DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclEgressArrayOutput

type DefaultNetworkAclEgressInput added in v1.19.0

type DefaultNetworkAclEgressInput interface {
	pulumi.Input

	ToDefaultNetworkAclEgressOutput() DefaultNetworkAclEgressOutput
	ToDefaultNetworkAclEgressOutputWithContext(context.Context) DefaultNetworkAclEgressOutput
}

type DefaultNetworkAclEgressOutput added in v1.19.0

type DefaultNetworkAclEgressOutput struct{ *pulumi.OutputState }

func (DefaultNetworkAclEgressOutput) Action added in v1.19.0

The action to take.

func (DefaultNetworkAclEgressOutput) CidrBlock added in v1.19.0

The CIDR block to match. This must be a valid network mask.

func (DefaultNetworkAclEgressOutput) ElementType added in v1.19.0

func (DefaultNetworkAclEgressOutput) FromPort added in v1.19.0

The from port to match.

func (DefaultNetworkAclEgressOutput) IcmpCode added in v1.19.0

The ICMP type code to be used. Default 0.

func (DefaultNetworkAclEgressOutput) IcmpType added in v1.19.0

The ICMP type to be used. Default 0.

func (DefaultNetworkAclEgressOutput) Ipv6CidrBlock added in v1.19.0

The IPv6 CIDR block.

func (DefaultNetworkAclEgressOutput) Protocol added in v1.19.0

The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.

func (DefaultNetworkAclEgressOutput) RuleNo added in v1.19.0

The rule number. Used for ordering.

func (DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutput added in v1.19.0

func (o DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutput() DefaultNetworkAclEgressOutput

func (DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutputWithContext added in v1.19.0

func (o DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutputWithContext(ctx context.Context) DefaultNetworkAclEgressOutput

func (DefaultNetworkAclEgressOutput) ToPort added in v1.19.0

The to port to match.

type DefaultNetworkAclIngress added in v1.19.0

type DefaultNetworkAclIngress struct {
	// The action to take.
	Action string `pulumi:"action"`
	// The CIDR block to match. This must be a
	// valid network mask.
	CidrBlock *string `pulumi:"cidrBlock"`
	// The from port to match.
	FromPort int `pulumi:"fromPort"`
	// The ICMP type code to be used. Default 0.
	IcmpCode *int `pulumi:"icmpCode"`
	// The ICMP type to be used. Default 0.
	IcmpType *int `pulumi:"icmpType"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
	// The protocol to match. If using the -1 'all'
	// protocol, you must specify a from and to port of 0.
	Protocol string `pulumi:"protocol"`
	// The rule number. Used for ordering.
	RuleNo int `pulumi:"ruleNo"`
	// The to port to match.
	ToPort int `pulumi:"toPort"`
}

type DefaultNetworkAclIngressArgs added in v1.19.0

type DefaultNetworkAclIngressArgs struct {
	// The action to take.
	Action pulumi.StringInput `pulumi:"action"`
	// The CIDR block to match. This must be a
	// valid network mask.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// The from port to match.
	FromPort pulumi.IntInput `pulumi:"fromPort"`
	// The ICMP type code to be used. Default 0.
	IcmpCode pulumi.IntPtrInput `pulumi:"icmpCode"`
	// The ICMP type to be used. Default 0.
	IcmpType pulumi.IntPtrInput `pulumi:"icmpType"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"`
	// The protocol to match. If using the -1 'all'
	// protocol, you must specify a from and to port of 0.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The rule number. Used for ordering.
	RuleNo pulumi.IntInput `pulumi:"ruleNo"`
	// The to port to match.
	ToPort pulumi.IntInput `pulumi:"toPort"`
}

func (DefaultNetworkAclIngressArgs) ElementType added in v1.19.0

func (DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutput added in v1.19.0

func (i DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutput() DefaultNetworkAclIngressOutput

func (DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutputWithContext added in v1.19.0

func (i DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutputWithContext(ctx context.Context) DefaultNetworkAclIngressOutput

type DefaultNetworkAclIngressArray added in v1.19.0

type DefaultNetworkAclIngressArray []DefaultNetworkAclIngressInput

func (DefaultNetworkAclIngressArray) ElementType added in v1.19.0

func (DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutput added in v1.19.0

func (i DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutput() DefaultNetworkAclIngressArrayOutput

func (DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutputWithContext added in v1.19.0

func (i DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclIngressArrayOutput

type DefaultNetworkAclIngressArrayInput added in v1.19.0

type DefaultNetworkAclIngressArrayInput interface {
	pulumi.Input

	ToDefaultNetworkAclIngressArrayOutput() DefaultNetworkAclIngressArrayOutput
	ToDefaultNetworkAclIngressArrayOutputWithContext(context.Context) DefaultNetworkAclIngressArrayOutput
}

type DefaultNetworkAclIngressArrayOutput added in v1.19.0

type DefaultNetworkAclIngressArrayOutput struct{ *pulumi.OutputState }

func (DefaultNetworkAclIngressArrayOutput) ElementType added in v1.19.0

func (DefaultNetworkAclIngressArrayOutput) Index added in v1.19.0

func (DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutput added in v1.19.0

func (o DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutput() DefaultNetworkAclIngressArrayOutput

func (DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutputWithContext added in v1.19.0

func (o DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclIngressArrayOutput

type DefaultNetworkAclIngressInput added in v1.19.0

type DefaultNetworkAclIngressInput interface {
	pulumi.Input

	ToDefaultNetworkAclIngressOutput() DefaultNetworkAclIngressOutput
	ToDefaultNetworkAclIngressOutputWithContext(context.Context) DefaultNetworkAclIngressOutput
}

type DefaultNetworkAclIngressOutput added in v1.19.0

type DefaultNetworkAclIngressOutput struct{ *pulumi.OutputState }

func (DefaultNetworkAclIngressOutput) Action added in v1.19.0

The action to take.

func (DefaultNetworkAclIngressOutput) CidrBlock added in v1.19.0

The CIDR block to match. This must be a valid network mask.

func (DefaultNetworkAclIngressOutput) ElementType added in v1.19.0

func (DefaultNetworkAclIngressOutput) FromPort added in v1.19.0

The from port to match.

func (DefaultNetworkAclIngressOutput) IcmpCode added in v1.19.0

The ICMP type code to be used. Default 0.

func (DefaultNetworkAclIngressOutput) IcmpType added in v1.19.0

The ICMP type to be used. Default 0.

func (DefaultNetworkAclIngressOutput) Ipv6CidrBlock added in v1.19.0

The IPv6 CIDR block.

func (DefaultNetworkAclIngressOutput) Protocol added in v1.19.0

The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.

func (DefaultNetworkAclIngressOutput) RuleNo added in v1.19.0

The rule number. Used for ordering.

func (DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutput added in v1.19.0

func (o DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutput() DefaultNetworkAclIngressOutput

func (DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutputWithContext added in v1.19.0

func (o DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutputWithContext(ctx context.Context) DefaultNetworkAclIngressOutput

func (DefaultNetworkAclIngressOutput) ToPort added in v1.19.0

The to port to match.

type DefaultNetworkAclState

type DefaultNetworkAclState struct {
	// The Network ACL ID to manage. This
	// attribute is exported from `ec2.Vpc`, or manually found via the AWS Console.
	DefaultNetworkAclId pulumi.StringPtrInput
	// Specifies an egress rule. Parameters defined below.
	Egress DefaultNetworkAclEgressArrayInput
	// Specifies an ingress rule. Parameters defined below.
	Ingress DefaultNetworkAclIngressArrayInput
	// The ID of the AWS account that owns the Default Network ACL
	OwnerId pulumi.StringPtrInput
	// A list of Subnet IDs to apply the ACL to. See the
	// notes below on managing Subnets in the Default Network ACL
	SubnetIds pulumi.StringArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The ID of the associated VPC
	VpcId pulumi.StringPtrInput
}

func (DefaultNetworkAclState) ElementType added in v1.19.0

func (DefaultNetworkAclState) ElementType() reflect.Type

type DefaultRouteTable

type DefaultRouteTable struct {
	pulumi.CustomResourceState

	// The ID of the Default Routing Table.
	DefaultRouteTableId pulumi.StringOutput `pulumi:"defaultRouteTableId"`
	// The ID of the AWS account that owns the route table
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A list of virtual gateways for propagation.
	PropagatingVgws pulumi.StringArrayOutput `pulumi:"propagatingVgws"`
	// A list of route objects. Their keys are documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Routes DefaultRouteTableRouteArrayOutput `pulumi:"routes"`
	// A mapping of tags to assign to the resource.
	Tags  pulumi.MapOutput    `pulumi:"tags"`
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to manage a Default VPC Routing Table.

Each VPC created in AWS comes with a Default Route Table that can be managed, but not destroyed. **This is an advanced resource**, and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource. It is recommended you **do not** use both `ec2.DefaultRouteTable` to manage the default route table **and** use the `ec2.MainRouteTableAssociation`, due to possible conflict in routes.

The `ec2.DefaultRouteTable` behaves differently from normal resources, in that this provider does not _create_ this resource, but instead attempts to "adopt" it into management. We can do this because each VPC created has a Default Route Table that cannot be destroyed, and is created with a single route.

When this provider first adopts the Default Route Table, it **immediately removes all defined routes**. It then proceeds to create any routes specified in the configuration. This step is required so that only the routes specified in the configuration present in the Default Route Table.

For more information about Route Tables, see the AWS Documentation on [Route Tables][aws-route-tables].

For more information about managing normal Route Tables in this provider, see our documentation on ec2.RouteTable[tf-route-tables].

> **NOTE on Route Tables and Routes:** This provider currently provides both a standalone Route resource and a Route Table resource with routes defined in-line. At this time you cannot use a Route Table with in-line routes in conjunction with any Route resources. Doing so will cause a conflict of rule settings and will overwrite routes.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/default_route_table.html.markdown.

func GetDefaultRouteTable

func GetDefaultRouteTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultRouteTableState, opts ...pulumi.ResourceOption) (*DefaultRouteTable, error)

GetDefaultRouteTable gets an existing DefaultRouteTable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDefaultRouteTable

func NewDefaultRouteTable(ctx *pulumi.Context,
	name string, args *DefaultRouteTableArgs, opts ...pulumi.ResourceOption) (*DefaultRouteTable, error)

NewDefaultRouteTable registers a new resource with the given unique name, arguments, and options.

type DefaultRouteTableArgs

type DefaultRouteTableArgs struct {
	// The ID of the Default Routing Table.
	DefaultRouteTableId pulumi.StringInput
	// A list of virtual gateways for propagation.
	PropagatingVgws pulumi.StringArrayInput
	// A list of route objects. Their keys are documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Routes DefaultRouteTableRouteArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a DefaultRouteTable resource.

func (DefaultRouteTableArgs) ElementType added in v1.19.0

func (DefaultRouteTableArgs) ElementType() reflect.Type

type DefaultRouteTableRoute added in v1.19.0

type DefaultRouteTableRoute struct {
	// The CIDR block of the route.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Identifier of a VPC Egress Only Internet Gateway.
	EgressOnlyGatewayId *string `pulumi:"egressOnlyGatewayId"`
	// Identifier of a VPC internet gateway or a virtual private gateway.
	GatewayId *string `pulumi:"gatewayId"`
	// Identifier of an EC2 instance.
	InstanceId *string `pulumi:"instanceId"`
	// The Ipv6 CIDR block of the route
	Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
	// Identifier of a VPC NAT gateway.
	NatGatewayId *string `pulumi:"natGatewayId"`
	// Identifier of an EC2 network interface.
	NetworkInterfaceId *string `pulumi:"networkInterfaceId"`
	// Identifier of an EC2 Transit Gateway.
	TransitGatewayId *string `pulumi:"transitGatewayId"`
	// Identifier of a VPC peering connection.
	VpcPeeringConnectionId *string `pulumi:"vpcPeeringConnectionId"`
}

type DefaultRouteTableRouteArgs added in v1.19.0

type DefaultRouteTableRouteArgs struct {
	// The CIDR block of the route.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// Identifier of a VPC Egress Only Internet Gateway.
	EgressOnlyGatewayId pulumi.StringPtrInput `pulumi:"egressOnlyGatewayId"`
	// Identifier of a VPC internet gateway or a virtual private gateway.
	GatewayId pulumi.StringPtrInput `pulumi:"gatewayId"`
	// Identifier of an EC2 instance.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The Ipv6 CIDR block of the route
	Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"`
	// Identifier of a VPC NAT gateway.
	NatGatewayId pulumi.StringPtrInput `pulumi:"natGatewayId"`
	// Identifier of an EC2 network interface.
	NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"`
	// Identifier of an EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput `pulumi:"transitGatewayId"`
	// Identifier of a VPC peering connection.
	VpcPeeringConnectionId pulumi.StringPtrInput `pulumi:"vpcPeeringConnectionId"`
}

func (DefaultRouteTableRouteArgs) ElementType added in v1.19.0

func (DefaultRouteTableRouteArgs) ElementType() reflect.Type

func (DefaultRouteTableRouteArgs) ToDefaultRouteTableRouteOutput added in v1.19.0

func (i DefaultRouteTableRouteArgs) ToDefaultRouteTableRouteOutput() DefaultRouteTableRouteOutput

func (DefaultRouteTableRouteArgs) ToDefaultRouteTableRouteOutputWithContext added in v1.19.0

func (i DefaultRouteTableRouteArgs) ToDefaultRouteTableRouteOutputWithContext(ctx context.Context) DefaultRouteTableRouteOutput

type DefaultRouteTableRouteArray added in v1.19.0

type DefaultRouteTableRouteArray []DefaultRouteTableRouteInput

func (DefaultRouteTableRouteArray) ElementType added in v1.19.0

func (DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutput added in v1.19.0

func (i DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutput() DefaultRouteTableRouteArrayOutput

func (DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutputWithContext added in v1.19.0

func (i DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutputWithContext(ctx context.Context) DefaultRouteTableRouteArrayOutput

type DefaultRouteTableRouteArrayInput added in v1.19.0

type DefaultRouteTableRouteArrayInput interface {
	pulumi.Input

	ToDefaultRouteTableRouteArrayOutput() DefaultRouteTableRouteArrayOutput
	ToDefaultRouteTableRouteArrayOutputWithContext(context.Context) DefaultRouteTableRouteArrayOutput
}

type DefaultRouteTableRouteArrayOutput added in v1.19.0

type DefaultRouteTableRouteArrayOutput struct{ *pulumi.OutputState }

func (DefaultRouteTableRouteArrayOutput) ElementType added in v1.19.0

func (DefaultRouteTableRouteArrayOutput) Index added in v1.19.0

func (DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutput added in v1.19.0

func (o DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutput() DefaultRouteTableRouteArrayOutput

func (DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutputWithContext added in v1.19.0

func (o DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutputWithContext(ctx context.Context) DefaultRouteTableRouteArrayOutput

type DefaultRouteTableRouteInput added in v1.19.0

type DefaultRouteTableRouteInput interface {
	pulumi.Input

	ToDefaultRouteTableRouteOutput() DefaultRouteTableRouteOutput
	ToDefaultRouteTableRouteOutputWithContext(context.Context) DefaultRouteTableRouteOutput
}

type DefaultRouteTableRouteOutput added in v1.19.0

type DefaultRouteTableRouteOutput struct{ *pulumi.OutputState }

func (DefaultRouteTableRouteOutput) CidrBlock added in v1.19.0

The CIDR block of the route.

func (DefaultRouteTableRouteOutput) EgressOnlyGatewayId added in v1.19.0

func (o DefaultRouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringPtrOutput

Identifier of a VPC Egress Only Internet Gateway.

func (DefaultRouteTableRouteOutput) ElementType added in v1.19.0

func (DefaultRouteTableRouteOutput) GatewayId added in v1.19.0

Identifier of a VPC internet gateway or a virtual private gateway.

func (DefaultRouteTableRouteOutput) InstanceId added in v1.19.0

Identifier of an EC2 instance.

func (DefaultRouteTableRouteOutput) Ipv6CidrBlock added in v1.19.0

The Ipv6 CIDR block of the route

func (DefaultRouteTableRouteOutput) NatGatewayId added in v1.19.0

Identifier of a VPC NAT gateway.

func (DefaultRouteTableRouteOutput) NetworkInterfaceId added in v1.19.0

func (o DefaultRouteTableRouteOutput) NetworkInterfaceId() pulumi.StringPtrOutput

Identifier of an EC2 network interface.

func (DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutput added in v1.19.0

func (o DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutput() DefaultRouteTableRouteOutput

func (DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutputWithContext added in v1.19.0

func (o DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutputWithContext(ctx context.Context) DefaultRouteTableRouteOutput

func (DefaultRouteTableRouteOutput) TransitGatewayId added in v1.19.0

Identifier of an EC2 Transit Gateway.

func (DefaultRouteTableRouteOutput) VpcPeeringConnectionId added in v1.19.0

func (o DefaultRouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringPtrOutput

Identifier of a VPC peering connection.

type DefaultRouteTableState

type DefaultRouteTableState struct {
	// The ID of the Default Routing Table.
	DefaultRouteTableId pulumi.StringPtrInput
	// The ID of the AWS account that owns the route table
	OwnerId pulumi.StringPtrInput
	// A list of virtual gateways for propagation.
	PropagatingVgws pulumi.StringArrayInput
	// A list of route objects. Their keys are documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Routes DefaultRouteTableRouteArrayInput
	// A mapping of tags to assign to the resource.
	Tags  pulumi.MapInput
	VpcId pulumi.StringPtrInput
}

func (DefaultRouteTableState) ElementType added in v1.19.0

func (DefaultRouteTableState) ElementType() reflect.Type

type DefaultSecurityGroup

type DefaultSecurityGroup struct {
	pulumi.CustomResourceState

	Arn pulumi.StringOutput `pulumi:"arn"`
	// Can be specified multiple times for each
	// egress rule. Each egress block supports fields documented below.
	Egress DefaultSecurityGroupEgressArrayOutput `pulumi:"egress"`
	// Can be specified multiple times for each
	// ingress rule. Each ingress block supports fields documented below.
	Ingress DefaultSecurityGroupIngressArrayOutput `pulumi:"ingress"`
	// The name of the security group
	Name pulumi.StringOutput `pulumi:"name"`
	// The owner ID.
	OwnerId             pulumi.StringOutput  `pulumi:"ownerId"`
	RevokeRulesOnDelete pulumi.BoolPtrOutput `pulumi:"revokeRulesOnDelete"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The VPC ID. **Note that changing
	// the `vpcId` will _not_ restore any default security group rules that were
	// modified, added, or removed.** It will be left in its current state
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to manage the default AWS Security Group.

For EC2 Classic accounts, each region comes with a Default Security Group. Additionally, each VPC created in AWS comes with a Default Security Group that can be managed, but not destroyed. **This is an advanced resource**, and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource.

The `ec2.DefaultSecurityGroup` behaves differently from normal resources, in that this provider does not _create_ this resource, but instead "adopts" it into management. We can do this because these default security groups cannot be destroyed, and are created with a known set of default ingress/egress rules.

When this provider first adopts the Default Security Group, it **immediately removes all ingress and egress rules in the Security Group**. It then proceeds to create any rules specified in the configuration. This step is required so that only the rules specified in the configuration are created.

This resource treats its inline rules as absolute; only the rules defined inline are created, and any additions/removals external to this resource will result in diff shown. For these reasons, this resource is incompatible with the `ec2.SecurityGroupRule` resource.

For more information about Default Security Groups, see the AWS Documentation on [Default Security Groups][aws-default-security-groups].

## Usage

With the exceptions mentioned above, `ec2.DefaultSecurityGroup` should identical behavior to `ec2.SecurityGroup`. Please consult [AWS_SECURITY_GROUP](https://www.terraform.io/docs/providers/aws/r/security_group.html) for further usage documentation.

### Removing `ec2.DefaultSecurityGroup` from your configuration

Each AWS VPC (or region, if using EC2 Classic) comes with a Default Security Group that cannot be deleted. The `ec2.DefaultSecurityGroup` allows you to manage this Security Group, but this provider cannot destroy it. Removing this resource from your configuration will remove it from your statefile and management, but will not destroy the Security Group. All ingress or egress rules will be left as they are at the time of removal. You can resume managing them via the AWS Console.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/default_security_group.html.markdown.

func GetDefaultSecurityGroup

func GetDefaultSecurityGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultSecurityGroupState, opts ...pulumi.ResourceOption) (*DefaultSecurityGroup, error)

GetDefaultSecurityGroup gets an existing DefaultSecurityGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDefaultSecurityGroup

func NewDefaultSecurityGroup(ctx *pulumi.Context,
	name string, args *DefaultSecurityGroupArgs, opts ...pulumi.ResourceOption) (*DefaultSecurityGroup, error)

NewDefaultSecurityGroup registers a new resource with the given unique name, arguments, and options.

type DefaultSecurityGroupArgs

type DefaultSecurityGroupArgs struct {
	// Can be specified multiple times for each
	// egress rule. Each egress block supports fields documented below.
	Egress DefaultSecurityGroupEgressArrayInput
	// Can be specified multiple times for each
	// ingress rule. Each ingress block supports fields documented below.
	Ingress             DefaultSecurityGroupIngressArrayInput
	RevokeRulesOnDelete pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID. **Note that changing
	// the `vpcId` will _not_ restore any default security group rules that were
	// modified, added, or removed.** It will be left in its current state
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a DefaultSecurityGroup resource.

func (DefaultSecurityGroupArgs) ElementType added in v1.19.0

func (DefaultSecurityGroupArgs) ElementType() reflect.Type

type DefaultSecurityGroupEgress added in v1.19.0

type DefaultSecurityGroupEgress struct {
	CidrBlocks []string `pulumi:"cidrBlocks"`
	// The description of the security group
	Description    *string  `pulumi:"description"`
	FromPort       int      `pulumi:"fromPort"`
	Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"`
	PrefixListIds  []string `pulumi:"prefixListIds"`
	Protocol       string   `pulumi:"protocol"`
	SecurityGroups []string `pulumi:"securityGroups"`
	Self           *bool    `pulumi:"self"`
	ToPort         int      `pulumi:"toPort"`
}

type DefaultSecurityGroupEgressArgs added in v1.19.0

type DefaultSecurityGroupEgressArgs struct {
	CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
	// The description of the security group
	Description    pulumi.StringPtrInput   `pulumi:"description"`
	FromPort       pulumi.IntInput         `pulumi:"fromPort"`
	Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"`
	PrefixListIds  pulumi.StringArrayInput `pulumi:"prefixListIds"`
	Protocol       pulumi.StringInput      `pulumi:"protocol"`
	SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
	Self           pulumi.BoolPtrInput     `pulumi:"self"`
	ToPort         pulumi.IntInput         `pulumi:"toPort"`
}

func (DefaultSecurityGroupEgressArgs) ElementType added in v1.19.0

func (DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutput added in v1.19.0

func (i DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutput() DefaultSecurityGroupEgressOutput

func (DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutputWithContext added in v1.19.0

func (i DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressOutput

type DefaultSecurityGroupEgressArray added in v1.19.0

type DefaultSecurityGroupEgressArray []DefaultSecurityGroupEgressInput

func (DefaultSecurityGroupEgressArray) ElementType added in v1.19.0

func (DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutput added in v1.19.0

func (i DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutput() DefaultSecurityGroupEgressArrayOutput

func (DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutputWithContext added in v1.19.0

func (i DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressArrayOutput

type DefaultSecurityGroupEgressArrayInput added in v1.19.0

type DefaultSecurityGroupEgressArrayInput interface {
	pulumi.Input

	ToDefaultSecurityGroupEgressArrayOutput() DefaultSecurityGroupEgressArrayOutput
	ToDefaultSecurityGroupEgressArrayOutputWithContext(context.Context) DefaultSecurityGroupEgressArrayOutput
}

type DefaultSecurityGroupEgressArrayOutput added in v1.19.0

type DefaultSecurityGroupEgressArrayOutput struct{ *pulumi.OutputState }

func (DefaultSecurityGroupEgressArrayOutput) ElementType added in v1.19.0

func (DefaultSecurityGroupEgressArrayOutput) Index added in v1.19.0

func (DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutput added in v1.19.0

func (o DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutput() DefaultSecurityGroupEgressArrayOutput

func (DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutputWithContext added in v1.19.0

func (o DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressArrayOutput

type DefaultSecurityGroupEgressInput added in v1.19.0

type DefaultSecurityGroupEgressInput interface {
	pulumi.Input

	ToDefaultSecurityGroupEgressOutput() DefaultSecurityGroupEgressOutput
	ToDefaultSecurityGroupEgressOutputWithContext(context.Context) DefaultSecurityGroupEgressOutput
}

type DefaultSecurityGroupEgressOutput added in v1.19.0

type DefaultSecurityGroupEgressOutput struct{ *pulumi.OutputState }

func (DefaultSecurityGroupEgressOutput) CidrBlocks added in v1.19.0

func (DefaultSecurityGroupEgressOutput) Description added in v1.19.0

The description of the security group

func (DefaultSecurityGroupEgressOutput) ElementType added in v1.19.0

func (DefaultSecurityGroupEgressOutput) FromPort added in v1.19.0

func (DefaultSecurityGroupEgressOutput) Ipv6CidrBlocks added in v1.19.0

func (DefaultSecurityGroupEgressOutput) PrefixListIds added in v1.19.0

func (DefaultSecurityGroupEgressOutput) Protocol added in v1.19.0

func (DefaultSecurityGroupEgressOutput) SecurityGroups added in v1.19.0

func (DefaultSecurityGroupEgressOutput) Self added in v1.19.0

func (DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutput added in v1.19.0

func (o DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutput() DefaultSecurityGroupEgressOutput

func (DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutputWithContext added in v1.19.0

func (o DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressOutput

func (DefaultSecurityGroupEgressOutput) ToPort added in v1.19.0

type DefaultSecurityGroupIngress added in v1.19.0

type DefaultSecurityGroupIngress struct {
	CidrBlocks []string `pulumi:"cidrBlocks"`
	// The description of the security group
	Description    *string  `pulumi:"description"`
	FromPort       int      `pulumi:"fromPort"`
	Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"`
	PrefixListIds  []string `pulumi:"prefixListIds"`
	Protocol       string   `pulumi:"protocol"`
	SecurityGroups []string `pulumi:"securityGroups"`
	Self           *bool    `pulumi:"self"`
	ToPort         int      `pulumi:"toPort"`
}

type DefaultSecurityGroupIngressArgs added in v1.19.0

type DefaultSecurityGroupIngressArgs struct {
	CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
	// The description of the security group
	Description    pulumi.StringPtrInput   `pulumi:"description"`
	FromPort       pulumi.IntInput         `pulumi:"fromPort"`
	Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"`
	PrefixListIds  pulumi.StringArrayInput `pulumi:"prefixListIds"`
	Protocol       pulumi.StringInput      `pulumi:"protocol"`
	SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
	Self           pulumi.BoolPtrInput     `pulumi:"self"`
	ToPort         pulumi.IntInput         `pulumi:"toPort"`
}

func (DefaultSecurityGroupIngressArgs) ElementType added in v1.19.0

func (DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutput added in v1.19.0

func (i DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutput() DefaultSecurityGroupIngressOutput

func (DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutputWithContext added in v1.19.0

func (i DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressOutput

type DefaultSecurityGroupIngressArray added in v1.19.0

type DefaultSecurityGroupIngressArray []DefaultSecurityGroupIngressInput

func (DefaultSecurityGroupIngressArray) ElementType added in v1.19.0

func (DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutput added in v1.19.0

func (i DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutput() DefaultSecurityGroupIngressArrayOutput

func (DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutputWithContext added in v1.19.0

func (i DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressArrayOutput

type DefaultSecurityGroupIngressArrayInput added in v1.19.0

type DefaultSecurityGroupIngressArrayInput interface {
	pulumi.Input

	ToDefaultSecurityGroupIngressArrayOutput() DefaultSecurityGroupIngressArrayOutput
	ToDefaultSecurityGroupIngressArrayOutputWithContext(context.Context) DefaultSecurityGroupIngressArrayOutput
}

type DefaultSecurityGroupIngressArrayOutput added in v1.19.0

type DefaultSecurityGroupIngressArrayOutput struct{ *pulumi.OutputState }

func (DefaultSecurityGroupIngressArrayOutput) ElementType added in v1.19.0

func (DefaultSecurityGroupIngressArrayOutput) Index added in v1.19.0

func (DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutput added in v1.19.0

func (o DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutput() DefaultSecurityGroupIngressArrayOutput

func (DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutputWithContext added in v1.19.0

func (o DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressArrayOutput

type DefaultSecurityGroupIngressInput added in v1.19.0

type DefaultSecurityGroupIngressInput interface {
	pulumi.Input

	ToDefaultSecurityGroupIngressOutput() DefaultSecurityGroupIngressOutput
	ToDefaultSecurityGroupIngressOutputWithContext(context.Context) DefaultSecurityGroupIngressOutput
}

type DefaultSecurityGroupIngressOutput added in v1.19.0

type DefaultSecurityGroupIngressOutput struct{ *pulumi.OutputState }

func (DefaultSecurityGroupIngressOutput) CidrBlocks added in v1.19.0

func (DefaultSecurityGroupIngressOutput) Description added in v1.19.0

The description of the security group

func (DefaultSecurityGroupIngressOutput) ElementType added in v1.19.0

func (DefaultSecurityGroupIngressOutput) FromPort added in v1.19.0

func (DefaultSecurityGroupIngressOutput) Ipv6CidrBlocks added in v1.19.0

func (DefaultSecurityGroupIngressOutput) PrefixListIds added in v1.19.0

func (DefaultSecurityGroupIngressOutput) Protocol added in v1.19.0

func (DefaultSecurityGroupIngressOutput) SecurityGroups added in v1.19.0

func (DefaultSecurityGroupIngressOutput) Self added in v1.19.0

func (DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutput added in v1.19.0

func (o DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutput() DefaultSecurityGroupIngressOutput

func (DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutputWithContext added in v1.19.0

func (o DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressOutput

func (DefaultSecurityGroupIngressOutput) ToPort added in v1.19.0

type DefaultSecurityGroupState

type DefaultSecurityGroupState struct {
	Arn pulumi.StringPtrInput
	// Can be specified multiple times for each
	// egress rule. Each egress block supports fields documented below.
	Egress DefaultSecurityGroupEgressArrayInput
	// Can be specified multiple times for each
	// ingress rule. Each ingress block supports fields documented below.
	Ingress DefaultSecurityGroupIngressArrayInput
	// The name of the security group
	Name pulumi.StringPtrInput
	// The owner ID.
	OwnerId             pulumi.StringPtrInput
	RevokeRulesOnDelete pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID. **Note that changing
	// the `vpcId` will _not_ restore any default security group rules that were
	// modified, added, or removed.** It will be left in its current state
	VpcId pulumi.StringPtrInput
}

func (DefaultSecurityGroupState) ElementType added in v1.19.0

func (DefaultSecurityGroupState) ElementType() reflect.Type

type DefaultSubnet

type DefaultSubnet struct {
	pulumi.CustomResourceState

	Arn                         pulumi.StringOutput `pulumi:"arn"`
	AssignIpv6AddressOnCreation pulumi.BoolOutput   `pulumi:"assignIpv6AddressOnCreation"`
	AvailabilityZone            pulumi.StringOutput `pulumi:"availabilityZone"`
	AvailabilityZoneId          pulumi.StringOutput `pulumi:"availabilityZoneId"`
	// The CIDR block for the subnet.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock              pulumi.StringOutput `pulumi:"ipv6CidrBlock"`
	Ipv6CidrBlockAssociationId pulumi.StringOutput `pulumi:"ipv6CidrBlockAssociationId"`
	// Specify true to indicate
	// that instances launched into the subnet should be assigned
	// a public IP address.
	MapPublicIpOnLaunch pulumi.BoolOutput `pulumi:"mapPublicIpOnLaunch"`
	// The ID of the AWS account that owns the subnet.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The VPC ID.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to manage a [default AWS VPC subnet](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html#default-vpc-basics) in the current region.

The `ec2.DefaultSubnet` behaves differently from normal resources, in that this provider does not _create_ this resource, but instead "adopts" it into management.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/default_subnet.html.markdown.

func GetDefaultSubnet

func GetDefaultSubnet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultSubnetState, opts ...pulumi.ResourceOption) (*DefaultSubnet, error)

GetDefaultSubnet gets an existing DefaultSubnet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDefaultSubnet

func NewDefaultSubnet(ctx *pulumi.Context,
	name string, args *DefaultSubnetArgs, opts ...pulumi.ResourceOption) (*DefaultSubnet, error)

NewDefaultSubnet registers a new resource with the given unique name, arguments, and options.

type DefaultSubnetArgs

type DefaultSubnetArgs struct {
	AvailabilityZone pulumi.StringInput
	// Specify true to indicate
	// that instances launched into the subnet should be assigned
	// a public IP address.
	MapPublicIpOnLaunch pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a DefaultSubnet resource.

func (DefaultSubnetArgs) ElementType added in v1.19.0

func (DefaultSubnetArgs) ElementType() reflect.Type

type DefaultSubnetState

type DefaultSubnetState struct {
	Arn                         pulumi.StringPtrInput
	AssignIpv6AddressOnCreation pulumi.BoolPtrInput
	AvailabilityZone            pulumi.StringPtrInput
	AvailabilityZoneId          pulumi.StringPtrInput
	// The CIDR block for the subnet.
	CidrBlock pulumi.StringPtrInput
	// The IPv6 CIDR block.
	Ipv6CidrBlock              pulumi.StringPtrInput
	Ipv6CidrBlockAssociationId pulumi.StringPtrInput
	// Specify true to indicate
	// that instances launched into the subnet should be assigned
	// a public IP address.
	MapPublicIpOnLaunch pulumi.BoolPtrInput
	// The ID of the AWS account that owns the subnet.
	OwnerId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID.
	VpcId pulumi.StringPtrInput
}

func (DefaultSubnetState) ElementType added in v1.19.0

func (DefaultSubnetState) ElementType() reflect.Type

type DefaultVpc

type DefaultVpc struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of VPC
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Whether or not an Amazon-provided IPv6 CIDR
	// block with a /56 prefix length for the VPC was assigned
	AssignGeneratedIpv6CidrBlock pulumi.BoolOutput `pulumi:"assignGeneratedIpv6CidrBlock"`
	// The CIDR block of the VPC
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The ID of the network ACL created by default on VPC creation
	DefaultNetworkAclId pulumi.StringOutput `pulumi:"defaultNetworkAclId"`
	// The ID of the route table created by default on VPC creation
	DefaultRouteTableId pulumi.StringOutput `pulumi:"defaultRouteTableId"`
	// The ID of the security group created by default on VPC creation
	DefaultSecurityGroupId pulumi.StringOutput `pulumi:"defaultSecurityGroupId"`
	DhcpOptionsId          pulumi.StringOutput `pulumi:"dhcpOptionsId"`
	// A boolean flag to enable/disable ClassicLink
	// for the VPC. Only valid in regions and accounts that support EC2 Classic.
	// See the [ClassicLink documentation][1] for more information. Defaults false.
	EnableClassiclink           pulumi.BoolOutput `pulumi:"enableClassiclink"`
	EnableClassiclinkDnsSupport pulumi.BoolOutput `pulumi:"enableClassiclinkDnsSupport"`
	// A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
	EnableDnsHostnames pulumi.BoolOutput `pulumi:"enableDnsHostnames"`
	// A boolean flag to enable/disable DNS support in the VPC. Defaults true.
	EnableDnsSupport pulumi.BoolPtrOutput `pulumi:"enableDnsSupport"`
	// Tenancy of instances spin up within VPC.
	InstanceTenancy pulumi.StringOutput `pulumi:"instanceTenancy"`
	// The association ID for the IPv6 CIDR block of the VPC
	Ipv6AssociationId pulumi.StringOutput `pulumi:"ipv6AssociationId"`
	// The IPv6 CIDR block of the VPC
	Ipv6CidrBlock pulumi.StringOutput `pulumi:"ipv6CidrBlock"`
	// The ID of the main route table associated with
	// this VPC. Note that you can change a VPC's main route table by using an
	// [`ec2.MainRouteTableAssociation`](https://www.terraform.io/docs/providers/aws/r/main_route_table_association.html)
	MainRouteTableId pulumi.StringOutput `pulumi:"mainRouteTableId"`
	// The ID of the AWS account that owns the VPC.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a resource to manage the [default AWS VPC](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html) in the current region.

For AWS accounts created after 2013-12-04, each region comes with a Default VPC. **This is an advanced resource**, and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource.

The `ec2.DefaultVpc` behaves differently from normal resources, in that this provider does not _create_ this resource, but instead "adopts" it into management.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/default_vpc.html.markdown.

func GetDefaultVpc

func GetDefaultVpc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultVpcState, opts ...pulumi.ResourceOption) (*DefaultVpc, error)

GetDefaultVpc gets an existing DefaultVpc resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDefaultVpc

func NewDefaultVpc(ctx *pulumi.Context,
	name string, args *DefaultVpcArgs, opts ...pulumi.ResourceOption) (*DefaultVpc, error)

NewDefaultVpc registers a new resource with the given unique name, arguments, and options.

type DefaultVpcArgs

type DefaultVpcArgs struct {
	// A boolean flag to enable/disable ClassicLink
	// for the VPC. Only valid in regions and accounts that support EC2 Classic.
	// See the [ClassicLink documentation][1] for more information. Defaults false.
	EnableClassiclink           pulumi.BoolPtrInput
	EnableClassiclinkDnsSupport pulumi.BoolPtrInput
	// A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
	EnableDnsHostnames pulumi.BoolPtrInput
	// A boolean flag to enable/disable DNS support in the VPC. Defaults true.
	EnableDnsSupport pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a DefaultVpc resource.

func (DefaultVpcArgs) ElementType added in v1.19.0

func (DefaultVpcArgs) ElementType() reflect.Type

type DefaultVpcDhcpOptions

type DefaultVpcDhcpOptions struct {
	pulumi.CustomResourceState

	DomainName        pulumi.StringOutput `pulumi:"domainName"`
	DomainNameServers pulumi.StringOutput `pulumi:"domainNameServers"`
	// List of NETBIOS name servers.
	NetbiosNameServers pulumi.StringArrayOutput `pulumi:"netbiosNameServers"`
	// The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
	NetbiosNodeType pulumi.StringPtrOutput `pulumi:"netbiosNodeType"`
	NtpServers      pulumi.StringOutput    `pulumi:"ntpServers"`
	// The ID of the AWS account that owns the DHCP options set.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a resource to manage the [default AWS DHCP Options Set](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_DHCP_Options.html#AmazonDNS) in the current region.

Each AWS region comes with a default set of DHCP options. **This is an advanced resource**, and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource.

The `ec2.DefaultVpcDhcpOptions` behaves differently from normal resources, in that this provider does not _create_ this resource, but instead "adopts" it into management.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/default_vpc_dhcp_options.html.markdown.

func GetDefaultVpcDhcpOptions

func GetDefaultVpcDhcpOptions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultVpcDhcpOptionsState, opts ...pulumi.ResourceOption) (*DefaultVpcDhcpOptions, error)

GetDefaultVpcDhcpOptions gets an existing DefaultVpcDhcpOptions resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDefaultVpcDhcpOptions

func NewDefaultVpcDhcpOptions(ctx *pulumi.Context,
	name string, args *DefaultVpcDhcpOptionsArgs, opts ...pulumi.ResourceOption) (*DefaultVpcDhcpOptions, error)

NewDefaultVpcDhcpOptions registers a new resource with the given unique name, arguments, and options.

type DefaultVpcDhcpOptionsArgs

type DefaultVpcDhcpOptionsArgs struct {
	// List of NETBIOS name servers.
	NetbiosNameServers pulumi.StringArrayInput
	// The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
	NetbiosNodeType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a DefaultVpcDhcpOptions resource.

func (DefaultVpcDhcpOptionsArgs) ElementType added in v1.19.0

func (DefaultVpcDhcpOptionsArgs) ElementType() reflect.Type

type DefaultVpcDhcpOptionsState

type DefaultVpcDhcpOptionsState struct {
	DomainName        pulumi.StringPtrInput
	DomainNameServers pulumi.StringPtrInput
	// List of NETBIOS name servers.
	NetbiosNameServers pulumi.StringArrayInput
	// The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
	NetbiosNodeType pulumi.StringPtrInput
	NtpServers      pulumi.StringPtrInput
	// The ID of the AWS account that owns the DHCP options set.
	OwnerId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (DefaultVpcDhcpOptionsState) ElementType added in v1.19.0

func (DefaultVpcDhcpOptionsState) ElementType() reflect.Type

type DefaultVpcState

type DefaultVpcState struct {
	// Amazon Resource Name (ARN) of VPC
	Arn pulumi.StringPtrInput
	// Whether or not an Amazon-provided IPv6 CIDR
	// block with a /56 prefix length for the VPC was assigned
	AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput
	// The CIDR block of the VPC
	CidrBlock pulumi.StringPtrInput
	// The ID of the network ACL created by default on VPC creation
	DefaultNetworkAclId pulumi.StringPtrInput
	// The ID of the route table created by default on VPC creation
	DefaultRouteTableId pulumi.StringPtrInput
	// The ID of the security group created by default on VPC creation
	DefaultSecurityGroupId pulumi.StringPtrInput
	DhcpOptionsId          pulumi.StringPtrInput
	// A boolean flag to enable/disable ClassicLink
	// for the VPC. Only valid in regions and accounts that support EC2 Classic.
	// See the [ClassicLink documentation][1] for more information. Defaults false.
	EnableClassiclink           pulumi.BoolPtrInput
	EnableClassiclinkDnsSupport pulumi.BoolPtrInput
	// A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
	EnableDnsHostnames pulumi.BoolPtrInput
	// A boolean flag to enable/disable DNS support in the VPC. Defaults true.
	EnableDnsSupport pulumi.BoolPtrInput
	// Tenancy of instances spin up within VPC.
	InstanceTenancy pulumi.StringPtrInput
	// The association ID for the IPv6 CIDR block of the VPC
	Ipv6AssociationId pulumi.StringPtrInput
	// The IPv6 CIDR block of the VPC
	Ipv6CidrBlock pulumi.StringPtrInput
	// The ID of the main route table associated with
	// this VPC. Note that you can change a VPC's main route table by using an
	// [`ec2.MainRouteTableAssociation`](https://www.terraform.io/docs/providers/aws/r/main_route_table_association.html)
	MainRouteTableId pulumi.StringPtrInput
	// The ID of the AWS account that owns the VPC.
	OwnerId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (DefaultVpcState) ElementType added in v1.19.0

func (DefaultVpcState) ElementType() reflect.Type

type EgressOnlyInternetGateway

type EgressOnlyInternetGateway struct {
	pulumi.CustomResourceState

	// The VPC ID to create in.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

[IPv6 only] Creates an egress-only Internet gateway for your VPC. An egress-only Internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the Internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/egress_only_internet_gateway.html.markdown.

func GetEgressOnlyInternetGateway

func GetEgressOnlyInternetGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EgressOnlyInternetGatewayState, opts ...pulumi.ResourceOption) (*EgressOnlyInternetGateway, error)

GetEgressOnlyInternetGateway gets an existing EgressOnlyInternetGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEgressOnlyInternetGateway

func NewEgressOnlyInternetGateway(ctx *pulumi.Context,
	name string, args *EgressOnlyInternetGatewayArgs, opts ...pulumi.ResourceOption) (*EgressOnlyInternetGateway, error)

NewEgressOnlyInternetGateway registers a new resource with the given unique name, arguments, and options.

type EgressOnlyInternetGatewayArgs

type EgressOnlyInternetGatewayArgs struct {
	// The VPC ID to create in.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a EgressOnlyInternetGateway resource.

func (EgressOnlyInternetGatewayArgs) ElementType added in v1.19.0

type EgressOnlyInternetGatewayState

type EgressOnlyInternetGatewayState struct {
	// The VPC ID to create in.
	VpcId pulumi.StringPtrInput
}

func (EgressOnlyInternetGatewayState) ElementType added in v1.19.0

type Eip

type Eip struct {
	pulumi.CustomResourceState

	AllocationId pulumi.StringOutput `pulumi:"allocationId"`
	// A user specified primary or secondary private IP address to
	// associate with the Elastic IP address. If no private IP address is specified,
	// the Elastic IP address is associated with the primary private IP address.
	AssociateWithPrivateIp pulumi.StringPtrOutput `pulumi:"associateWithPrivateIp"`
	AssociationId          pulumi.StringOutput    `pulumi:"associationId"`
	Domain                 pulumi.StringOutput    `pulumi:"domain"`
	// EC2 instance ID.
	Instance pulumi.StringOutput `pulumi:"instance"`
	// Network interface ID to associate with.
	NetworkInterface pulumi.StringOutput `pulumi:"networkInterface"`
	// The Private DNS associated with the Elastic IP address (if in VPC).
	PrivateDns pulumi.StringOutput `pulumi:"privateDns"`
	// Contains the private IP address (if in VPC).
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// Public DNS associated with the Elastic IP address.
	PublicDns pulumi.StringOutput `pulumi:"publicDns"`
	// Contains the public IP address.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// EC2 IPv4 address pool identifier or `amazon`. This option is only available for VPC EIPs.
	PublicIpv4Pool pulumi.StringOutput `pulumi:"publicIpv4Pool"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Boolean if the EIP is in a VPC or not.
	Vpc pulumi.BoolOutput `pulumi:"vpc"`
}

Provides an Elastic IP resource.

> **Note:** EIP may require IGW to exist prior to association. Use `dependsOn` to set an explicit dependency on the IGW.

> **Note:** Do not use `networkInterface` to associate the EIP to `lb.LoadBalancer` or `ec2.NatGateway` resources. Instead use the `allocationId` available in those resources to allow AWS to manage the association, otherwise you will see `AuthFailure` errors.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/eip.html.markdown.

func GetEip

func GetEip(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EipState, opts ...pulumi.ResourceOption) (*Eip, error)

GetEip gets an existing Eip resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEip

func NewEip(ctx *pulumi.Context,
	name string, args *EipArgs, opts ...pulumi.ResourceOption) (*Eip, error)

NewEip registers a new resource with the given unique name, arguments, and options.

type EipArgs

type EipArgs struct {
	// A user specified primary or secondary private IP address to
	// associate with the Elastic IP address. If no private IP address is specified,
	// the Elastic IP address is associated with the primary private IP address.
	AssociateWithPrivateIp pulumi.StringPtrInput
	// EC2 instance ID.
	Instance pulumi.StringPtrInput
	// Network interface ID to associate with.
	NetworkInterface pulumi.StringPtrInput
	// EC2 IPv4 address pool identifier or `amazon`. This option is only available for VPC EIPs.
	PublicIpv4Pool pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// Boolean if the EIP is in a VPC or not.
	Vpc pulumi.BoolPtrInput
}

The set of arguments for constructing a Eip resource.

func (EipArgs) ElementType added in v1.19.0

func (EipArgs) ElementType() reflect.Type

type EipAssociation

type EipAssociation struct {
	pulumi.CustomResourceState

	// The allocation ID. This is required for EC2-VPC.
	AllocationId pulumi.StringOutput `pulumi:"allocationId"`
	// Whether to allow an Elastic IP to
	// be re-associated. Defaults to `true` in VPC.
	AllowReassociation pulumi.BoolPtrOutput `pulumi:"allowReassociation"`
	// The ID of the instance. This is required for
	// EC2-Classic. For EC2-VPC, you can specify either the instance ID or the
	// network interface ID, but not both. The operation fails if you specify an
	// instance ID unless exactly one network interface is attached.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The ID of the network interface. If the
	// instance has more than one network interface, you must specify a network
	// interface ID.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// The primary or secondary private IP address
	// to associate with the Elastic IP address. If no private IP address is
	// specified, the Elastic IP address is associated with the primary private IP
	// address.
	PrivateIpAddress pulumi.StringOutput `pulumi:"privateIpAddress"`
	// The Elastic IP address. This is required for EC2-Classic.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
}

Provides an AWS EIP Association as a top level resource, to associate and disassociate Elastic IPs from AWS Instances and Network Interfaces.

> **NOTE:** Do not use this resource to associate an EIP to `lb.LoadBalancer` or `ec2.NatGateway` resources. Instead use the `allocationId` available in those resources to allow AWS to manage the association, otherwise you will see `AuthFailure` errors.

> **NOTE:** `ec2.EipAssociation` is useful in scenarios where EIPs are either pre-existing or distributed to customers or users and therefore cannot be changed.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/eip_association.html.markdown.

func GetEipAssociation

func GetEipAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EipAssociationState, opts ...pulumi.ResourceOption) (*EipAssociation, error)

GetEipAssociation gets an existing EipAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEipAssociation

func NewEipAssociation(ctx *pulumi.Context,
	name string, args *EipAssociationArgs, opts ...pulumi.ResourceOption) (*EipAssociation, error)

NewEipAssociation registers a new resource with the given unique name, arguments, and options.

type EipAssociationArgs

type EipAssociationArgs struct {
	// The allocation ID. This is required for EC2-VPC.
	AllocationId pulumi.StringPtrInput
	// Whether to allow an Elastic IP to
	// be re-associated. Defaults to `true` in VPC.
	AllowReassociation pulumi.BoolPtrInput
	// The ID of the instance. This is required for
	// EC2-Classic. For EC2-VPC, you can specify either the instance ID or the
	// network interface ID, but not both. The operation fails if you specify an
	// instance ID unless exactly one network interface is attached.
	InstanceId pulumi.StringPtrInput
	// The ID of the network interface. If the
	// instance has more than one network interface, you must specify a network
	// interface ID.
	NetworkInterfaceId pulumi.StringPtrInput
	// The primary or secondary private IP address
	// to associate with the Elastic IP address. If no private IP address is
	// specified, the Elastic IP address is associated with the primary private IP
	// address.
	PrivateIpAddress pulumi.StringPtrInput
	// The Elastic IP address. This is required for EC2-Classic.
	PublicIp pulumi.StringPtrInput
}

The set of arguments for constructing a EipAssociation resource.

func (EipAssociationArgs) ElementType added in v1.19.0

func (EipAssociationArgs) ElementType() reflect.Type

type EipAssociationState

type EipAssociationState struct {
	// The allocation ID. This is required for EC2-VPC.
	AllocationId pulumi.StringPtrInput
	// Whether to allow an Elastic IP to
	// be re-associated. Defaults to `true` in VPC.
	AllowReassociation pulumi.BoolPtrInput
	// The ID of the instance. This is required for
	// EC2-Classic. For EC2-VPC, you can specify either the instance ID or the
	// network interface ID, but not both. The operation fails if you specify an
	// instance ID unless exactly one network interface is attached.
	InstanceId pulumi.StringPtrInput
	// The ID of the network interface. If the
	// instance has more than one network interface, you must specify a network
	// interface ID.
	NetworkInterfaceId pulumi.StringPtrInput
	// The primary or secondary private IP address
	// to associate with the Elastic IP address. If no private IP address is
	// specified, the Elastic IP address is associated with the primary private IP
	// address.
	PrivateIpAddress pulumi.StringPtrInput
	// The Elastic IP address. This is required for EC2-Classic.
	PublicIp pulumi.StringPtrInput
}

func (EipAssociationState) ElementType added in v1.19.0

func (EipAssociationState) ElementType() reflect.Type

type EipState

type EipState struct {
	AllocationId pulumi.StringPtrInput
	// A user specified primary or secondary private IP address to
	// associate with the Elastic IP address. If no private IP address is specified,
	// the Elastic IP address is associated with the primary private IP address.
	AssociateWithPrivateIp pulumi.StringPtrInput
	AssociationId          pulumi.StringPtrInput
	Domain                 pulumi.StringPtrInput
	// EC2 instance ID.
	Instance pulumi.StringPtrInput
	// Network interface ID to associate with.
	NetworkInterface pulumi.StringPtrInput
	// The Private DNS associated with the Elastic IP address (if in VPC).
	PrivateDns pulumi.StringPtrInput
	// Contains the private IP address (if in VPC).
	PrivateIp pulumi.StringPtrInput
	// Public DNS associated with the Elastic IP address.
	PublicDns pulumi.StringPtrInput
	// Contains the public IP address.
	PublicIp pulumi.StringPtrInput
	// EC2 IPv4 address pool identifier or `amazon`. This option is only available for VPC EIPs.
	PublicIpv4Pool pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// Boolean if the EIP is in a VPC or not.
	Vpc pulumi.BoolPtrInput
}

func (EipState) ElementType added in v1.19.0

func (EipState) ElementType() reflect.Type

type Fleet added in v0.16.1

type Fleet struct {
	pulumi.CustomResourceState

	// Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: `no-termination`, `termination`. Defaults to `termination`.
	ExcessCapacityTerminationPolicy pulumi.StringPtrOutput `pulumi:"excessCapacityTerminationPolicy"`
	// Nested argument containing EC2 Launch Template configurations. Defined below.
	LaunchTemplateConfig FleetLaunchTemplateConfigOutput `pulumi:"launchTemplateConfig"`
	// Nested argument containing On-Demand configurations. Defined below.
	OnDemandOptions FleetOnDemandOptionsPtrOutput `pulumi:"onDemandOptions"`
	// Whether EC2 Fleet should replace unhealthy instances. Defaults to `false`.
	ReplaceUnhealthyInstances pulumi.BoolPtrOutput `pulumi:"replaceUnhealthyInstances"`
	// Nested argument containing Spot configurations. Defined below.
	SpotOptions FleetSpotOptionsPtrOutput `pulumi:"spotOptions"`
	// Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Nested argument containing target capacity configurations. Defined below.
	TargetCapacitySpecification FleetTargetCapacitySpecificationOutput `pulumi:"targetCapacitySpecification"`
	// Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to `false`.
	TerminateInstances pulumi.BoolPtrOutput `pulumi:"terminateInstances"`
	// Whether running instances should be terminated when the EC2 Fleet expires. Defaults to `false`.
	TerminateInstancesWithExpiration pulumi.BoolPtrOutput `pulumi:"terminateInstancesWithExpiration"`
	// The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: `maintain`, `request`. Defaults to `maintain`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Provides a resource to manage EC2 Fleets.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ec2_fleet.html.markdown.

func GetFleet added in v0.16.1

func GetFleet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FleetState, opts ...pulumi.ResourceOption) (*Fleet, error)

GetFleet gets an existing Fleet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFleet added in v0.16.1

func NewFleet(ctx *pulumi.Context,
	name string, args *FleetArgs, opts ...pulumi.ResourceOption) (*Fleet, error)

NewFleet registers a new resource with the given unique name, arguments, and options.

type FleetArgs added in v0.16.1

type FleetArgs struct {
	// Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: `no-termination`, `termination`. Defaults to `termination`.
	ExcessCapacityTerminationPolicy pulumi.StringPtrInput
	// Nested argument containing EC2 Launch Template configurations. Defined below.
	LaunchTemplateConfig FleetLaunchTemplateConfigInput
	// Nested argument containing On-Demand configurations. Defined below.
	OnDemandOptions FleetOnDemandOptionsPtrInput
	// Whether EC2 Fleet should replace unhealthy instances. Defaults to `false`.
	ReplaceUnhealthyInstances pulumi.BoolPtrInput
	// Nested argument containing Spot configurations. Defined below.
	SpotOptions FleetSpotOptionsPtrInput
	// Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template.
	Tags pulumi.MapInput
	// Nested argument containing target capacity configurations. Defined below.
	TargetCapacitySpecification FleetTargetCapacitySpecificationInput
	// Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to `false`.
	TerminateInstances pulumi.BoolPtrInput
	// Whether running instances should be terminated when the EC2 Fleet expires. Defaults to `false`.
	TerminateInstancesWithExpiration pulumi.BoolPtrInput
	// The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: `maintain`, `request`. Defaults to `maintain`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Fleet resource.

func (FleetArgs) ElementType added in v1.19.0

func (FleetArgs) ElementType() reflect.Type

type FleetLaunchTemplateConfig added in v1.19.0

type FleetLaunchTemplateConfig struct {
	// Nested argument containing EC2 Launch Template to use. Defined below.
	LaunchTemplateSpecification FleetLaunchTemplateConfigLaunchTemplateSpecification `pulumi:"launchTemplateSpecification"`
	// Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
	Overrides []FleetLaunchTemplateConfigOverride `pulumi:"overrides"`
}

type FleetLaunchTemplateConfigArgs added in v1.19.0

type FleetLaunchTemplateConfigArgs struct {
	// Nested argument containing EC2 Launch Template to use. Defined below.
	LaunchTemplateSpecification FleetLaunchTemplateConfigLaunchTemplateSpecificationInput `pulumi:"launchTemplateSpecification"`
	// Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
	Overrides FleetLaunchTemplateConfigOverrideArrayInput `pulumi:"overrides"`
}

func (FleetLaunchTemplateConfigArgs) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutput added in v1.19.0

func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutput() FleetLaunchTemplateConfigOutput

func (FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutputWithContext added in v1.19.0

func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOutput

func (FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutput added in v1.19.0

func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput

func (FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutputWithContext added in v1.19.0

func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput

type FleetLaunchTemplateConfigInput added in v1.19.0

type FleetLaunchTemplateConfigInput interface {
	pulumi.Input

	ToFleetLaunchTemplateConfigOutput() FleetLaunchTemplateConfigOutput
	ToFleetLaunchTemplateConfigOutputWithContext(context.Context) FleetLaunchTemplateConfigOutput
}

type FleetLaunchTemplateConfigLaunchTemplateSpecification added in v1.19.0

type FleetLaunchTemplateConfigLaunchTemplateSpecification struct {
	// ID of the launch template.
	LaunchTemplateId *string `pulumi:"launchTemplateId"`
	// Name of the launch template.
	LaunchTemplateName *string `pulumi:"launchTemplateName"`
	// Version number of the launch template.
	Version string `pulumi:"version"`
}

type FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs added in v1.19.0

type FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs struct {
	// ID of the launch template.
	LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"`
	// Name of the launch template.
	LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"`
	// Version number of the launch template.
	Version pulumi.StringInput `pulumi:"version"`
}

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput added in v1.19.0

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext added in v1.19.0

func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput

type FleetLaunchTemplateConfigLaunchTemplateSpecificationInput added in v1.19.0

type FleetLaunchTemplateConfigLaunchTemplateSpecificationInput interface {
	pulumi.Input

	ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
	ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
}

type FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput added in v1.19.0

type FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput struct{ *pulumi.OutputState }

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) LaunchTemplateId added in v1.19.0

ID of the launch template.

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) LaunchTemplateName added in v1.19.0

Name of the launch template.

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput added in v1.19.0

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext added in v1.19.0

func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput

func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) Version added in v1.19.0

Version number of the launch template.

type FleetLaunchTemplateConfigOutput added in v1.19.0

type FleetLaunchTemplateConfigOutput struct{ *pulumi.OutputState }

func (FleetLaunchTemplateConfigOutput) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigOutput) LaunchTemplateSpecification added in v1.19.0

Nested argument containing EC2 Launch Template to use. Defined below.

func (FleetLaunchTemplateConfigOutput) Overrides added in v1.19.0

Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.

func (FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutput added in v1.19.0

func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutput() FleetLaunchTemplateConfigOutput

func (FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutputWithContext added in v1.19.0

func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOutput

func (FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutput added in v1.19.0

func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput

func (FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext added in v1.19.0

func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput

type FleetLaunchTemplateConfigOverride added in v1.19.0

type FleetLaunchTemplateConfigOverride struct {
	// Availability Zone in which to launch the instances.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// Instance type.
	InstanceType *string `pulumi:"instanceType"`
	// Maximum price per unit hour that you are willing to pay for a Spot Instance.
	MaxPrice *string `pulumi:"maxPrice"`
	// Priority for the launch template override. If `onDemandOptions` `allocationStrategy` is set to `prioritized`, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.
	Priority *float64 `pulumi:"priority"`
	// ID of the subnet in which to launch the instances.
	SubnetId *string `pulumi:"subnetId"`
	// Number of units provided by the specified instance type.
	WeightedCapacity *float64 `pulumi:"weightedCapacity"`
}

type FleetLaunchTemplateConfigOverrideArgs added in v1.19.0

type FleetLaunchTemplateConfigOverrideArgs struct {
	// Availability Zone in which to launch the instances.
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	// Instance type.
	InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
	// Maximum price per unit hour that you are willing to pay for a Spot Instance.
	MaxPrice pulumi.StringPtrInput `pulumi:"maxPrice"`
	// Priority for the launch template override. If `onDemandOptions` `allocationStrategy` is set to `prioritized`, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.
	Priority pulumi.Float64PtrInput `pulumi:"priority"`
	// ID of the subnet in which to launch the instances.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// Number of units provided by the specified instance type.
	WeightedCapacity pulumi.Float64PtrInput `pulumi:"weightedCapacity"`
}

func (FleetLaunchTemplateConfigOverrideArgs) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutput added in v1.19.0

func (i FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutput() FleetLaunchTemplateConfigOverrideOutput

func (FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutputWithContext added in v1.19.0

func (i FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideOutput

type FleetLaunchTemplateConfigOverrideArray added in v1.19.0

type FleetLaunchTemplateConfigOverrideArray []FleetLaunchTemplateConfigOverrideInput

func (FleetLaunchTemplateConfigOverrideArray) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutput added in v1.19.0

func (i FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutput() FleetLaunchTemplateConfigOverrideArrayOutput

func (FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext added in v1.19.0

func (i FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideArrayOutput

type FleetLaunchTemplateConfigOverrideArrayInput added in v1.19.0

type FleetLaunchTemplateConfigOverrideArrayInput interface {
	pulumi.Input

	ToFleetLaunchTemplateConfigOverrideArrayOutput() FleetLaunchTemplateConfigOverrideArrayOutput
	ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext(context.Context) FleetLaunchTemplateConfigOverrideArrayOutput
}

type FleetLaunchTemplateConfigOverrideArrayOutput added in v1.19.0

type FleetLaunchTemplateConfigOverrideArrayOutput struct{ *pulumi.OutputState }

func (FleetLaunchTemplateConfigOverrideArrayOutput) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigOverrideArrayOutput) Index added in v1.19.0

func (FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutput added in v1.19.0

func (o FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutput() FleetLaunchTemplateConfigOverrideArrayOutput

func (FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext added in v1.19.0

func (o FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideArrayOutput

type FleetLaunchTemplateConfigOverrideInput added in v1.19.0

type FleetLaunchTemplateConfigOverrideInput interface {
	pulumi.Input

	ToFleetLaunchTemplateConfigOverrideOutput() FleetLaunchTemplateConfigOverrideOutput
	ToFleetLaunchTemplateConfigOverrideOutputWithContext(context.Context) FleetLaunchTemplateConfigOverrideOutput
}

type FleetLaunchTemplateConfigOverrideOutput added in v1.19.0

type FleetLaunchTemplateConfigOverrideOutput struct{ *pulumi.OutputState }

func (FleetLaunchTemplateConfigOverrideOutput) AvailabilityZone added in v1.19.0

Availability Zone in which to launch the instances.

func (FleetLaunchTemplateConfigOverrideOutput) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigOverrideOutput) InstanceType added in v1.19.0

Instance type.

func (FleetLaunchTemplateConfigOverrideOutput) MaxPrice added in v1.19.0

Maximum price per unit hour that you are willing to pay for a Spot Instance.

func (FleetLaunchTemplateConfigOverrideOutput) Priority added in v1.19.0

Priority for the launch template override. If `onDemandOptions` `allocationStrategy` is set to `prioritized`, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.

func (FleetLaunchTemplateConfigOverrideOutput) SubnetId added in v1.19.0

ID of the subnet in which to launch the instances.

func (FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutput added in v1.19.0

func (o FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutput() FleetLaunchTemplateConfigOverrideOutput

func (FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutputWithContext added in v1.19.0

func (o FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideOutput

func (FleetLaunchTemplateConfigOverrideOutput) WeightedCapacity added in v1.19.0

Number of units provided by the specified instance type.

type FleetLaunchTemplateConfigPtrInput added in v1.19.0

type FleetLaunchTemplateConfigPtrInput interface {
	pulumi.Input

	ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput
	ToFleetLaunchTemplateConfigPtrOutputWithContext(context.Context) FleetLaunchTemplateConfigPtrOutput
}

func FleetLaunchTemplateConfigPtr added in v1.19.0

type FleetLaunchTemplateConfigPtrOutput added in v1.19.0

type FleetLaunchTemplateConfigPtrOutput struct{ *pulumi.OutputState }

func (FleetLaunchTemplateConfigPtrOutput) Elem added in v1.19.0

func (FleetLaunchTemplateConfigPtrOutput) ElementType added in v1.19.0

func (FleetLaunchTemplateConfigPtrOutput) LaunchTemplateSpecification added in v1.19.0

Nested argument containing EC2 Launch Template to use. Defined below.

func (FleetLaunchTemplateConfigPtrOutput) Overrides added in v1.19.0

Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.

func (FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutput added in v1.19.0

func (o FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput

func (FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext added in v1.19.0

func (o FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput

type FleetOnDemandOptions added in v1.19.0

type FleetOnDemandOptions struct {
	// How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`. Default: `lowestPrice`.
	AllocationStrategy *string `pulumi:"allocationStrategy"`
}

type FleetOnDemandOptionsArgs added in v1.19.0

type FleetOnDemandOptionsArgs struct {
	// How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`. Default: `lowestPrice`.
	AllocationStrategy pulumi.StringPtrInput `pulumi:"allocationStrategy"`
}

func (FleetOnDemandOptionsArgs) ElementType added in v1.19.0

func (FleetOnDemandOptionsArgs) ElementType() reflect.Type

func (FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutput added in v1.19.0

func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutput() FleetOnDemandOptionsOutput

func (FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutputWithContext added in v1.19.0

func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutputWithContext(ctx context.Context) FleetOnDemandOptionsOutput

func (FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutput added in v1.19.0

func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput

func (FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutputWithContext added in v1.19.0

func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput

type FleetOnDemandOptionsInput added in v1.19.0

type FleetOnDemandOptionsInput interface {
	pulumi.Input

	ToFleetOnDemandOptionsOutput() FleetOnDemandOptionsOutput
	ToFleetOnDemandOptionsOutputWithContext(context.Context) FleetOnDemandOptionsOutput
}

type FleetOnDemandOptionsOutput added in v1.19.0

type FleetOnDemandOptionsOutput struct{ *pulumi.OutputState }

func (FleetOnDemandOptionsOutput) AllocationStrategy added in v1.19.0

func (o FleetOnDemandOptionsOutput) AllocationStrategy() pulumi.StringPtrOutput

How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`. Default: `lowestPrice`.

func (FleetOnDemandOptionsOutput) ElementType added in v1.19.0

func (FleetOnDemandOptionsOutput) ElementType() reflect.Type

func (FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutput added in v1.19.0

func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutput() FleetOnDemandOptionsOutput

func (FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutputWithContext added in v1.19.0

func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutputWithContext(ctx context.Context) FleetOnDemandOptionsOutput

func (FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutput added in v1.19.0

func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput

func (FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutputWithContext added in v1.19.0

func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput

type FleetOnDemandOptionsPtrInput added in v1.19.0

type FleetOnDemandOptionsPtrInput interface {
	pulumi.Input

	ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput
	ToFleetOnDemandOptionsPtrOutputWithContext(context.Context) FleetOnDemandOptionsPtrOutput
}

func FleetOnDemandOptionsPtr added in v1.19.0

func FleetOnDemandOptionsPtr(v *FleetOnDemandOptionsArgs) FleetOnDemandOptionsPtrInput

type FleetOnDemandOptionsPtrOutput added in v1.19.0

type FleetOnDemandOptionsPtrOutput struct{ *pulumi.OutputState }

func (FleetOnDemandOptionsPtrOutput) AllocationStrategy added in v1.19.0

func (o FleetOnDemandOptionsPtrOutput) AllocationStrategy() pulumi.StringPtrOutput

How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`. Default: `lowestPrice`.

func (FleetOnDemandOptionsPtrOutput) Elem added in v1.19.0

func (FleetOnDemandOptionsPtrOutput) ElementType added in v1.19.0

func (FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutput added in v1.19.0

func (o FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput

func (FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutputWithContext added in v1.19.0

func (o FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput

type FleetSpotOptions added in v1.19.0

type FleetSpotOptions struct {
	// How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`. Default: `lowestPrice`.
	AllocationStrategy *string `pulumi:"allocationStrategy"`
	// Behavior when a Spot Instance is interrupted. Valid values: `hibernate`, `stop`, `terminate`. Default: `terminate`.
	InstanceInterruptionBehavior *string `pulumi:"instanceInterruptionBehavior"`
	// Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot `allocationStrategy` is set to `lowestPrice`. Default: `1`.
	InstancePoolsToUseCount *int `pulumi:"instancePoolsToUseCount"`
}

type FleetSpotOptionsArgs added in v1.19.0

type FleetSpotOptionsArgs struct {
	// How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`. Default: `lowestPrice`.
	AllocationStrategy pulumi.StringPtrInput `pulumi:"allocationStrategy"`
	// Behavior when a Spot Instance is interrupted. Valid values: `hibernate`, `stop`, `terminate`. Default: `terminate`.
	InstanceInterruptionBehavior pulumi.StringPtrInput `pulumi:"instanceInterruptionBehavior"`
	// Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot `allocationStrategy` is set to `lowestPrice`. Default: `1`.
	InstancePoolsToUseCount pulumi.IntPtrInput `pulumi:"instancePoolsToUseCount"`
}

func (FleetSpotOptionsArgs) ElementType added in v1.19.0

func (FleetSpotOptionsArgs) ElementType() reflect.Type

func (FleetSpotOptionsArgs) ToFleetSpotOptionsOutput added in v1.19.0

func (i FleetSpotOptionsArgs) ToFleetSpotOptionsOutput() FleetSpotOptionsOutput

func (FleetSpotOptionsArgs) ToFleetSpotOptionsOutputWithContext added in v1.19.0

func (i FleetSpotOptionsArgs) ToFleetSpotOptionsOutputWithContext(ctx context.Context) FleetSpotOptionsOutput

func (FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutput added in v1.19.0

func (i FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput

func (FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutputWithContext added in v1.19.0

func (i FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput

type FleetSpotOptionsInput added in v1.19.0

type FleetSpotOptionsInput interface {
	pulumi.Input

	ToFleetSpotOptionsOutput() FleetSpotOptionsOutput
	ToFleetSpotOptionsOutputWithContext(context.Context) FleetSpotOptionsOutput
}

type FleetSpotOptionsOutput added in v1.19.0

type FleetSpotOptionsOutput struct{ *pulumi.OutputState }

func (FleetSpotOptionsOutput) AllocationStrategy added in v1.19.0

func (o FleetSpotOptionsOutput) AllocationStrategy() pulumi.StringPtrOutput

How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`. Default: `lowestPrice`.

func (FleetSpotOptionsOutput) ElementType added in v1.19.0

func (FleetSpotOptionsOutput) ElementType() reflect.Type

func (FleetSpotOptionsOutput) InstanceInterruptionBehavior added in v1.19.0

func (o FleetSpotOptionsOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput

Behavior when a Spot Instance is interrupted. Valid values: `hibernate`, `stop`, `terminate`. Default: `terminate`.

func (FleetSpotOptionsOutput) InstancePoolsToUseCount added in v1.19.0

func (o FleetSpotOptionsOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput

Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot `allocationStrategy` is set to `lowestPrice`. Default: `1`.

func (FleetSpotOptionsOutput) ToFleetSpotOptionsOutput added in v1.19.0

func (o FleetSpotOptionsOutput) ToFleetSpotOptionsOutput() FleetSpotOptionsOutput

func (FleetSpotOptionsOutput) ToFleetSpotOptionsOutputWithContext added in v1.19.0

func (o FleetSpotOptionsOutput) ToFleetSpotOptionsOutputWithContext(ctx context.Context) FleetSpotOptionsOutput

func (FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutput added in v1.19.0

func (o FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput

func (FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutputWithContext added in v1.19.0

func (o FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput

type FleetSpotOptionsPtrInput added in v1.19.0

type FleetSpotOptionsPtrInput interface {
	pulumi.Input

	ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput
	ToFleetSpotOptionsPtrOutputWithContext(context.Context) FleetSpotOptionsPtrOutput
}

func FleetSpotOptionsPtr added in v1.19.0

func FleetSpotOptionsPtr(v *FleetSpotOptionsArgs) FleetSpotOptionsPtrInput

type FleetSpotOptionsPtrOutput added in v1.19.0

type FleetSpotOptionsPtrOutput struct{ *pulumi.OutputState }

func (FleetSpotOptionsPtrOutput) AllocationStrategy added in v1.19.0

func (o FleetSpotOptionsPtrOutput) AllocationStrategy() pulumi.StringPtrOutput

How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`. Default: `lowestPrice`.

func (FleetSpotOptionsPtrOutput) Elem added in v1.19.0

func (FleetSpotOptionsPtrOutput) ElementType added in v1.19.0

func (FleetSpotOptionsPtrOutput) ElementType() reflect.Type

func (FleetSpotOptionsPtrOutput) InstanceInterruptionBehavior added in v1.19.0

func (o FleetSpotOptionsPtrOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput

Behavior when a Spot Instance is interrupted. Valid values: `hibernate`, `stop`, `terminate`. Default: `terminate`.

func (FleetSpotOptionsPtrOutput) InstancePoolsToUseCount added in v1.19.0

func (o FleetSpotOptionsPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput

Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot `allocationStrategy` is set to `lowestPrice`. Default: `1`.

func (FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutput added in v1.19.0

func (o FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput

func (FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutputWithContext added in v1.19.0

func (o FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput

type FleetState added in v0.16.1

type FleetState struct {
	// Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: `no-termination`, `termination`. Defaults to `termination`.
	ExcessCapacityTerminationPolicy pulumi.StringPtrInput
	// Nested argument containing EC2 Launch Template configurations. Defined below.
	LaunchTemplateConfig FleetLaunchTemplateConfigPtrInput
	// Nested argument containing On-Demand configurations. Defined below.
	OnDemandOptions FleetOnDemandOptionsPtrInput
	// Whether EC2 Fleet should replace unhealthy instances. Defaults to `false`.
	ReplaceUnhealthyInstances pulumi.BoolPtrInput
	// Nested argument containing Spot configurations. Defined below.
	SpotOptions FleetSpotOptionsPtrInput
	// Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template.
	Tags pulumi.MapInput
	// Nested argument containing target capacity configurations. Defined below.
	TargetCapacitySpecification FleetTargetCapacitySpecificationPtrInput
	// Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to `false`.
	TerminateInstances pulumi.BoolPtrInput
	// Whether running instances should be terminated when the EC2 Fleet expires. Defaults to `false`.
	TerminateInstancesWithExpiration pulumi.BoolPtrInput
	// The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: `maintain`, `request`. Defaults to `maintain`.
	Type pulumi.StringPtrInput
}

func (FleetState) ElementType added in v1.19.0

func (FleetState) ElementType() reflect.Type

type FleetTargetCapacitySpecification added in v1.19.0

type FleetTargetCapacitySpecification struct {
	// Default target capacity type. Valid values: `on-demand`, `spot`.
	DefaultTargetCapacityType string `pulumi:"defaultTargetCapacityType"`
	// The number of On-Demand units to request.
	OnDemandTargetCapacity *int `pulumi:"onDemandTargetCapacity"`
	// The number of Spot units to request.
	SpotTargetCapacity *int `pulumi:"spotTargetCapacity"`
	// The number of units to request, filled using `defaultTargetCapacityType`.
	TotalTargetCapacity int `pulumi:"totalTargetCapacity"`
}

type FleetTargetCapacitySpecificationArgs added in v1.19.0

type FleetTargetCapacitySpecificationArgs struct {
	// Default target capacity type. Valid values: `on-demand`, `spot`.
	DefaultTargetCapacityType pulumi.StringInput `pulumi:"defaultTargetCapacityType"`
	// The number of On-Demand units to request.
	OnDemandTargetCapacity pulumi.IntPtrInput `pulumi:"onDemandTargetCapacity"`
	// The number of Spot units to request.
	SpotTargetCapacity pulumi.IntPtrInput `pulumi:"spotTargetCapacity"`
	// The number of units to request, filled using `defaultTargetCapacityType`.
	TotalTargetCapacity pulumi.IntInput `pulumi:"totalTargetCapacity"`
}

func (FleetTargetCapacitySpecificationArgs) ElementType added in v1.19.0

func (FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutput added in v1.19.0

func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutput() FleetTargetCapacitySpecificationOutput

func (FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutputWithContext added in v1.19.0

func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationOutput

func (FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutput added in v1.19.0

func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput

func (FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutputWithContext added in v1.19.0

func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput

type FleetTargetCapacitySpecificationInput added in v1.19.0

type FleetTargetCapacitySpecificationInput interface {
	pulumi.Input

	ToFleetTargetCapacitySpecificationOutput() FleetTargetCapacitySpecificationOutput
	ToFleetTargetCapacitySpecificationOutputWithContext(context.Context) FleetTargetCapacitySpecificationOutput
}

type FleetTargetCapacitySpecificationOutput added in v1.19.0

type FleetTargetCapacitySpecificationOutput struct{ *pulumi.OutputState }

func (FleetTargetCapacitySpecificationOutput) DefaultTargetCapacityType added in v1.19.0

func (o FleetTargetCapacitySpecificationOutput) DefaultTargetCapacityType() pulumi.StringOutput

Default target capacity type. Valid values: `on-demand`, `spot`.

func (FleetTargetCapacitySpecificationOutput) ElementType added in v1.19.0

func (FleetTargetCapacitySpecificationOutput) OnDemandTargetCapacity added in v1.19.0

func (o FleetTargetCapacitySpecificationOutput) OnDemandTargetCapacity() pulumi.IntPtrOutput

The number of On-Demand units to request.

func (FleetTargetCapacitySpecificationOutput) SpotTargetCapacity added in v1.19.0

The number of Spot units to request.

func (FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutput added in v1.19.0

func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutput() FleetTargetCapacitySpecificationOutput

func (FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutputWithContext added in v1.19.0

func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationOutput

func (FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutput added in v1.19.0

func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput

func (FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext added in v1.19.0

func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput

func (FleetTargetCapacitySpecificationOutput) TotalTargetCapacity added in v1.19.0

The number of units to request, filled using `defaultTargetCapacityType`.

type FleetTargetCapacitySpecificationPtrInput added in v1.19.0

type FleetTargetCapacitySpecificationPtrInput interface {
	pulumi.Input

	ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput
	ToFleetTargetCapacitySpecificationPtrOutputWithContext(context.Context) FleetTargetCapacitySpecificationPtrOutput
}

type FleetTargetCapacitySpecificationPtrOutput added in v1.19.0

type FleetTargetCapacitySpecificationPtrOutput struct{ *pulumi.OutputState }

func (FleetTargetCapacitySpecificationPtrOutput) DefaultTargetCapacityType added in v1.19.0

func (o FleetTargetCapacitySpecificationPtrOutput) DefaultTargetCapacityType() pulumi.StringOutput

Default target capacity type. Valid values: `on-demand`, `spot`.

func (FleetTargetCapacitySpecificationPtrOutput) Elem added in v1.19.0

func (FleetTargetCapacitySpecificationPtrOutput) ElementType added in v1.19.0

func (FleetTargetCapacitySpecificationPtrOutput) OnDemandTargetCapacity added in v1.19.0

The number of On-Demand units to request.

func (FleetTargetCapacitySpecificationPtrOutput) SpotTargetCapacity added in v1.19.0

The number of Spot units to request.

func (FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutput added in v1.19.0

func (o FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput

func (FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext added in v1.19.0

func (o FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput

func (FleetTargetCapacitySpecificationPtrOutput) TotalTargetCapacity added in v1.19.0

The number of units to request, filled using `defaultTargetCapacityType`.

type FlowLog

type FlowLog struct {
	pulumi.CustomResourceState

	// Elastic Network Interface ID to attach to
	EniId pulumi.StringPtrOutput `pulumi:"eniId"`
	// The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group
	IamRoleArn pulumi.StringPtrOutput `pulumi:"iamRoleArn"`
	// The ARN of the logging destination.
	LogDestination pulumi.StringOutput `pulumi:"logDestination"`
	// The type of the logging destination. Valid values: `cloud-watch-logs`, `s3`. Default: `cloud-watch-logs`.
	LogDestinationType pulumi.StringPtrOutput `pulumi:"logDestinationType"`
	// The fields to include in the flow log record, in the order in which they should appear.
	LogFormat pulumi.StringOutput `pulumi:"logFormat"`
	// *Deprecated:* Use `logDestination` instead. The name of the CloudWatch log group.
	LogGroupName pulumi.StringOutput `pulumi:"logGroupName"`
	// Subnet ID to attach to
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// The type of traffic to capture. Valid values: `ACCEPT`,`REJECT`, `ALL`.
	TrafficType pulumi.StringOutput `pulumi:"trafficType"`
	// VPC ID to attach to
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
}

Provides a VPC/Subnet/ENI Flow Log to capture IP traffic for a specific network interface, subnet, or VPC. Logs are sent to a CloudWatch Log Group or a S3 Bucket.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/flow_log.html.markdown.

func GetFlowLog

func GetFlowLog(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlowLogState, opts ...pulumi.ResourceOption) (*FlowLog, error)

GetFlowLog gets an existing FlowLog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFlowLog

func NewFlowLog(ctx *pulumi.Context,
	name string, args *FlowLogArgs, opts ...pulumi.ResourceOption) (*FlowLog, error)

NewFlowLog registers a new resource with the given unique name, arguments, and options.

type FlowLogArgs

type FlowLogArgs struct {
	// Elastic Network Interface ID to attach to
	EniId pulumi.StringPtrInput
	// The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group
	IamRoleArn pulumi.StringPtrInput
	// The ARN of the logging destination.
	LogDestination pulumi.StringPtrInput
	// The type of the logging destination. Valid values: `cloud-watch-logs`, `s3`. Default: `cloud-watch-logs`.
	LogDestinationType pulumi.StringPtrInput
	// The fields to include in the flow log record, in the order in which they should appear.
	LogFormat pulumi.StringPtrInput
	// *Deprecated:* Use `logDestination` instead. The name of the CloudWatch log group.
	LogGroupName pulumi.StringPtrInput
	// Subnet ID to attach to
	SubnetId pulumi.StringPtrInput
	// The type of traffic to capture. Valid values: `ACCEPT`,`REJECT`, `ALL`.
	TrafficType pulumi.StringInput
	// VPC ID to attach to
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a FlowLog resource.

func (FlowLogArgs) ElementType added in v1.19.0

func (FlowLogArgs) ElementType() reflect.Type

type FlowLogState

type FlowLogState struct {
	// Elastic Network Interface ID to attach to
	EniId pulumi.StringPtrInput
	// The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group
	IamRoleArn pulumi.StringPtrInput
	// The ARN of the logging destination.
	LogDestination pulumi.StringPtrInput
	// The type of the logging destination. Valid values: `cloud-watch-logs`, `s3`. Default: `cloud-watch-logs`.
	LogDestinationType pulumi.StringPtrInput
	// The fields to include in the flow log record, in the order in which they should appear.
	LogFormat pulumi.StringPtrInput
	// *Deprecated:* Use `logDestination` instead. The name of the CloudWatch log group.
	LogGroupName pulumi.StringPtrInput
	// Subnet ID to attach to
	SubnetId pulumi.StringPtrInput
	// The type of traffic to capture. Valid values: `ACCEPT`,`REJECT`, `ALL`.
	TrafficType pulumi.StringPtrInput
	// VPC ID to attach to
	VpcId pulumi.StringPtrInput
}

func (FlowLogState) ElementType added in v1.19.0

func (FlowLogState) ElementType() reflect.Type

type GetCustomerGatewayFilter added in v1.19.0

type GetCustomerGatewayFilter struct {
	Name   string   `pulumi:"name"`
	Values []string `pulumi:"values"`
}

type GetCustomerGatewayFilterArgs added in v1.19.0

type GetCustomerGatewayFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetCustomerGatewayFilterArgs) ElementType added in v1.19.0

func (GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutput added in v1.19.0

func (i GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutput() GetCustomerGatewayFilterOutput

func (GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutputWithContext added in v1.19.0

func (i GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutputWithContext(ctx context.Context) GetCustomerGatewayFilterOutput

type GetCustomerGatewayFilterArray added in v1.19.0

type GetCustomerGatewayFilterArray []GetCustomerGatewayFilterInput

func (GetCustomerGatewayFilterArray) ElementType added in v1.19.0

func (GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutput added in v1.19.0

func (i GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutput() GetCustomerGatewayFilterArrayOutput

func (GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutputWithContext added in v1.19.0

func (i GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutputWithContext(ctx context.Context) GetCustomerGatewayFilterArrayOutput

type GetCustomerGatewayFilterArrayInput added in v1.19.0

type GetCustomerGatewayFilterArrayInput interface {
	pulumi.Input

	ToGetCustomerGatewayFilterArrayOutput() GetCustomerGatewayFilterArrayOutput
	ToGetCustomerGatewayFilterArrayOutputWithContext(context.Context) GetCustomerGatewayFilterArrayOutput
}

type GetCustomerGatewayFilterArrayOutput added in v1.19.0

type GetCustomerGatewayFilterArrayOutput struct{ *pulumi.OutputState }

func (GetCustomerGatewayFilterArrayOutput) ElementType added in v1.19.0

func (GetCustomerGatewayFilterArrayOutput) Index added in v1.19.0

func (GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutput added in v1.19.0

func (o GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutput() GetCustomerGatewayFilterArrayOutput

func (GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutputWithContext added in v1.19.0

func (o GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutputWithContext(ctx context.Context) GetCustomerGatewayFilterArrayOutput

type GetCustomerGatewayFilterInput added in v1.19.0

type GetCustomerGatewayFilterInput interface {
	pulumi.Input

	ToGetCustomerGatewayFilterOutput() GetCustomerGatewayFilterOutput
	ToGetCustomerGatewayFilterOutputWithContext(context.Context) GetCustomerGatewayFilterOutput
}

type GetCustomerGatewayFilterOutput added in v1.19.0

type GetCustomerGatewayFilterOutput struct{ *pulumi.OutputState }

func (GetCustomerGatewayFilterOutput) ElementType added in v1.19.0

func (GetCustomerGatewayFilterOutput) Name added in v1.19.0

func (GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutput added in v1.19.0

func (o GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutput() GetCustomerGatewayFilterOutput

func (GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutputWithContext added in v1.19.0

func (o GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutputWithContext(ctx context.Context) GetCustomerGatewayFilterOutput

func (GetCustomerGatewayFilterOutput) Values added in v1.19.0

type GetInstanceCreditSpecification added in v1.19.0

type GetInstanceCreditSpecification struct {
	CpuCredits string `pulumi:"cpuCredits"`
}

type GetInstanceCreditSpecificationArgs added in v1.19.0

type GetInstanceCreditSpecificationArgs struct {
	CpuCredits pulumi.StringInput `pulumi:"cpuCredits"`
}

func (GetInstanceCreditSpecificationArgs) ElementType added in v1.19.0

func (GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutput added in v1.19.0

func (i GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutput() GetInstanceCreditSpecificationOutput

func (GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutputWithContext added in v1.19.0

func (i GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationOutput

type GetInstanceCreditSpecificationArray added in v1.19.0

type GetInstanceCreditSpecificationArray []GetInstanceCreditSpecificationInput

func (GetInstanceCreditSpecificationArray) ElementType added in v1.19.0

func (GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutput added in v1.19.0

func (i GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutput() GetInstanceCreditSpecificationArrayOutput

func (GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutputWithContext added in v1.19.0

func (i GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationArrayOutput

type GetInstanceCreditSpecificationArrayInput added in v1.19.0

type GetInstanceCreditSpecificationArrayInput interface {
	pulumi.Input

	ToGetInstanceCreditSpecificationArrayOutput() GetInstanceCreditSpecificationArrayOutput
	ToGetInstanceCreditSpecificationArrayOutputWithContext(context.Context) GetInstanceCreditSpecificationArrayOutput
}

type GetInstanceCreditSpecificationArrayOutput added in v1.19.0

type GetInstanceCreditSpecificationArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceCreditSpecificationArrayOutput) ElementType added in v1.19.0

func (GetInstanceCreditSpecificationArrayOutput) Index added in v1.19.0

func (GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutput added in v1.19.0

func (o GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutput() GetInstanceCreditSpecificationArrayOutput

func (GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutputWithContext added in v1.19.0

func (o GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationArrayOutput

type GetInstanceCreditSpecificationInput added in v1.19.0

type GetInstanceCreditSpecificationInput interface {
	pulumi.Input

	ToGetInstanceCreditSpecificationOutput() GetInstanceCreditSpecificationOutput
	ToGetInstanceCreditSpecificationOutputWithContext(context.Context) GetInstanceCreditSpecificationOutput
}

type GetInstanceCreditSpecificationOutput added in v1.19.0

type GetInstanceCreditSpecificationOutput struct{ *pulumi.OutputState }

func (GetInstanceCreditSpecificationOutput) CpuCredits added in v1.19.0

func (GetInstanceCreditSpecificationOutput) ElementType added in v1.19.0

func (GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutput added in v1.19.0

func (o GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutput() GetInstanceCreditSpecificationOutput

func (GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutputWithContext added in v1.19.0

func (o GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationOutput

type GetInstanceEbsBlockDevice added in v1.19.0

type GetInstanceEbsBlockDevice struct {
	// If the root block device will be deleted on termination.
	DeleteOnTermination bool `pulumi:"deleteOnTermination"`
	// The physical name of the device.
	DeviceName string `pulumi:"deviceName"`
	// If the EBS volume is encrypted.
	Encrypted bool `pulumi:"encrypted"`
	// `0` If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
	Iops     int    `pulumi:"iops"`
	KmsKeyId string `pulumi:"kmsKeyId"`
	// The ID of the snapshot.
	SnapshotId string `pulumi:"snapshotId"`
	VolumeId   string `pulumi:"volumeId"`
	// The size of the volume, in GiB.
	VolumeSize int `pulumi:"volumeSize"`
	// The type of the volume.
	VolumeType string `pulumi:"volumeType"`
}

type GetInstanceEbsBlockDeviceArgs added in v1.19.0

type GetInstanceEbsBlockDeviceArgs struct {
	// If the root block device will be deleted on termination.
	DeleteOnTermination pulumi.BoolInput `pulumi:"deleteOnTermination"`
	// The physical name of the device.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// If the EBS volume is encrypted.
	Encrypted pulumi.BoolInput `pulumi:"encrypted"`
	// `0` If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
	Iops     pulumi.IntInput    `pulumi:"iops"`
	KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"`
	// The ID of the snapshot.
	SnapshotId pulumi.StringInput `pulumi:"snapshotId"`
	VolumeId   pulumi.StringInput `pulumi:"volumeId"`
	// The size of the volume, in GiB.
	VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
	// The type of the volume.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
}

func (GetInstanceEbsBlockDeviceArgs) ElementType added in v1.19.0

func (GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutput added in v1.19.0

func (i GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutput() GetInstanceEbsBlockDeviceOutput

func (GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutputWithContext added in v1.19.0

func (i GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceOutput

type GetInstanceEbsBlockDeviceArray added in v1.19.0

type GetInstanceEbsBlockDeviceArray []GetInstanceEbsBlockDeviceInput

func (GetInstanceEbsBlockDeviceArray) ElementType added in v1.19.0

func (GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutput added in v1.19.0

func (i GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutput() GetInstanceEbsBlockDeviceArrayOutput

func (GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceArrayOutput

type GetInstanceEbsBlockDeviceArrayInput added in v1.19.0

type GetInstanceEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToGetInstanceEbsBlockDeviceArrayOutput() GetInstanceEbsBlockDeviceArrayOutput
	ToGetInstanceEbsBlockDeviceArrayOutputWithContext(context.Context) GetInstanceEbsBlockDeviceArrayOutput
}

type GetInstanceEbsBlockDeviceArrayOutput added in v1.19.0

type GetInstanceEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (GetInstanceEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutput added in v1.19.0

func (o GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutput() GetInstanceEbsBlockDeviceArrayOutput

func (GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceArrayOutput

type GetInstanceEbsBlockDeviceInput added in v1.19.0

type GetInstanceEbsBlockDeviceInput interface {
	pulumi.Input

	ToGetInstanceEbsBlockDeviceOutput() GetInstanceEbsBlockDeviceOutput
	ToGetInstanceEbsBlockDeviceOutputWithContext(context.Context) GetInstanceEbsBlockDeviceOutput
}

type GetInstanceEbsBlockDeviceOutput added in v1.19.0

type GetInstanceEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (GetInstanceEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (o GetInstanceEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput

If the root block device will be deleted on termination.

func (GetInstanceEbsBlockDeviceOutput) DeviceName added in v1.19.0

The physical name of the device.

func (GetInstanceEbsBlockDeviceOutput) ElementType added in v1.19.0

func (GetInstanceEbsBlockDeviceOutput) Encrypted added in v1.19.0

If the EBS volume is encrypted.

func (GetInstanceEbsBlockDeviceOutput) Iops added in v1.19.0

`0` If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.

func (GetInstanceEbsBlockDeviceOutput) KmsKeyId added in v1.19.0

func (GetInstanceEbsBlockDeviceOutput) SnapshotId added in v1.19.0

The ID of the snapshot.

func (GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutput added in v1.19.0

func (o GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutput() GetInstanceEbsBlockDeviceOutput

func (GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutputWithContext added in v1.19.0

func (o GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceOutput

func (GetInstanceEbsBlockDeviceOutput) VolumeId added in v1.19.0

func (GetInstanceEbsBlockDeviceOutput) VolumeSize added in v1.19.0

The size of the volume, in GiB.

func (GetInstanceEbsBlockDeviceOutput) VolumeType added in v1.19.0

The type of the volume.

type GetInstanceEphemeralBlockDevice added in v1.19.0

type GetInstanceEphemeralBlockDevice struct {
	// The physical name of the device.
	DeviceName string `pulumi:"deviceName"`
	// Whether the specified device included in the device mapping was suppressed or not (Boolean).
	NoDevice *bool `pulumi:"noDevice"`
	// The virtual device name.
	VirtualName *string `pulumi:"virtualName"`
}

type GetInstanceEphemeralBlockDeviceArgs added in v1.19.0

type GetInstanceEphemeralBlockDeviceArgs struct {
	// The physical name of the device.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// Whether the specified device included in the device mapping was suppressed or not (Boolean).
	NoDevice pulumi.BoolPtrInput `pulumi:"noDevice"`
	// The virtual device name.
	VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}

func (GetInstanceEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutput added in v1.19.0

func (i GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutput() GetInstanceEphemeralBlockDeviceOutput

func (GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceOutput

type GetInstanceEphemeralBlockDeviceArray added in v1.19.0

type GetInstanceEphemeralBlockDeviceArray []GetInstanceEphemeralBlockDeviceInput

func (GetInstanceEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

func (i GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutput() GetInstanceEphemeralBlockDeviceArrayOutput

func (GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceArrayOutput

type GetInstanceEphemeralBlockDeviceArrayInput added in v1.19.0

type GetInstanceEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToGetInstanceEphemeralBlockDeviceArrayOutput() GetInstanceEphemeralBlockDeviceArrayOutput
	ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext(context.Context) GetInstanceEphemeralBlockDeviceArrayOutput
}

type GetInstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

type GetInstanceEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (GetInstanceEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

func (o GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutput() GetInstanceEphemeralBlockDeviceArrayOutput

func (GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceArrayOutput

type GetInstanceEphemeralBlockDeviceInput added in v1.19.0

type GetInstanceEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToGetInstanceEphemeralBlockDeviceOutput() GetInstanceEphemeralBlockDeviceOutput
	ToGetInstanceEphemeralBlockDeviceOutputWithContext(context.Context) GetInstanceEphemeralBlockDeviceOutput
}

type GetInstanceEphemeralBlockDeviceOutput added in v1.19.0

type GetInstanceEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (GetInstanceEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

The physical name of the device.

func (GetInstanceEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (GetInstanceEphemeralBlockDeviceOutput) NoDevice added in v1.19.0

Whether the specified device included in the device mapping was suppressed or not (Boolean).

func (GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutput added in v1.19.0

func (o GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutput() GetInstanceEphemeralBlockDeviceOutput

func (GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceOutput

func (GetInstanceEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

The virtual device name.

type GetInstanceFilter added in v1.19.0

type GetInstanceFilter struct {
	Name   string   `pulumi:"name"`
	Values []string `pulumi:"values"`
}

type GetInstanceFilterArgs added in v1.19.0

type GetInstanceFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInstanceFilterArgs) ElementType added in v1.19.0

func (GetInstanceFilterArgs) ElementType() reflect.Type

func (GetInstanceFilterArgs) ToGetInstanceFilterOutput added in v1.19.0

func (i GetInstanceFilterArgs) ToGetInstanceFilterOutput() GetInstanceFilterOutput

func (GetInstanceFilterArgs) ToGetInstanceFilterOutputWithContext added in v1.19.0

func (i GetInstanceFilterArgs) ToGetInstanceFilterOutputWithContext(ctx context.Context) GetInstanceFilterOutput

type GetInstanceFilterArray added in v1.19.0

type GetInstanceFilterArray []GetInstanceFilterInput

func (GetInstanceFilterArray) ElementType added in v1.19.0

func (GetInstanceFilterArray) ElementType() reflect.Type

func (GetInstanceFilterArray) ToGetInstanceFilterArrayOutput added in v1.19.0

func (i GetInstanceFilterArray) ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput

func (GetInstanceFilterArray) ToGetInstanceFilterArrayOutputWithContext added in v1.19.0

func (i GetInstanceFilterArray) ToGetInstanceFilterArrayOutputWithContext(ctx context.Context) GetInstanceFilterArrayOutput

type GetInstanceFilterArrayInput added in v1.19.0

type GetInstanceFilterArrayInput interface {
	pulumi.Input

	ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput
	ToGetInstanceFilterArrayOutputWithContext(context.Context) GetInstanceFilterArrayOutput
}

type GetInstanceFilterArrayOutput added in v1.19.0

type GetInstanceFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceFilterArrayOutput) ElementType added in v1.19.0

func (GetInstanceFilterArrayOutput) Index added in v1.19.0

func (GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutput added in v1.19.0

func (o GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput

func (GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutputWithContext added in v1.19.0

func (o GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutputWithContext(ctx context.Context) GetInstanceFilterArrayOutput

type GetInstanceFilterInput added in v1.19.0

type GetInstanceFilterInput interface {
	pulumi.Input

	ToGetInstanceFilterOutput() GetInstanceFilterOutput
	ToGetInstanceFilterOutputWithContext(context.Context) GetInstanceFilterOutput
}

type GetInstanceFilterOutput added in v1.19.0

type GetInstanceFilterOutput struct{ *pulumi.OutputState }

func (GetInstanceFilterOutput) ElementType added in v1.19.0

func (GetInstanceFilterOutput) ElementType() reflect.Type

func (GetInstanceFilterOutput) Name added in v1.19.0

func (GetInstanceFilterOutput) ToGetInstanceFilterOutput added in v1.19.0

func (o GetInstanceFilterOutput) ToGetInstanceFilterOutput() GetInstanceFilterOutput

func (GetInstanceFilterOutput) ToGetInstanceFilterOutputWithContext added in v1.19.0

func (o GetInstanceFilterOutput) ToGetInstanceFilterOutputWithContext(ctx context.Context) GetInstanceFilterOutput

func (GetInstanceFilterOutput) Values added in v1.19.0

type GetInstanceRootBlockDevice added in v1.19.0

type GetInstanceRootBlockDevice struct {
	// If the root block device will be deleted on termination.
	DeleteOnTermination bool `pulumi:"deleteOnTermination"`
	// If the EBS volume is encrypted.
	Encrypted bool `pulumi:"encrypted"`
	// `0` If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
	Iops     int    `pulumi:"iops"`
	KmsKeyId string `pulumi:"kmsKeyId"`
	VolumeId string `pulumi:"volumeId"`
	// The size of the volume, in GiB.
	VolumeSize int `pulumi:"volumeSize"`
	// The type of the volume.
	VolumeType string `pulumi:"volumeType"`
}

type GetInstanceRootBlockDeviceArgs added in v1.19.0

type GetInstanceRootBlockDeviceArgs struct {
	// If the root block device will be deleted on termination.
	DeleteOnTermination pulumi.BoolInput `pulumi:"deleteOnTermination"`
	// If the EBS volume is encrypted.
	Encrypted pulumi.BoolInput `pulumi:"encrypted"`
	// `0` If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
	Iops     pulumi.IntInput    `pulumi:"iops"`
	KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"`
	VolumeId pulumi.StringInput `pulumi:"volumeId"`
	// The size of the volume, in GiB.
	VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
	// The type of the volume.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
}

func (GetInstanceRootBlockDeviceArgs) ElementType added in v1.19.0

func (GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutput added in v1.19.0

func (i GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutput() GetInstanceRootBlockDeviceOutput

func (GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutputWithContext added in v1.19.0

func (i GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceOutput

type GetInstanceRootBlockDeviceArray added in v1.19.0

type GetInstanceRootBlockDeviceArray []GetInstanceRootBlockDeviceInput

func (GetInstanceRootBlockDeviceArray) ElementType added in v1.19.0

func (GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutput added in v1.19.0

func (i GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutput() GetInstanceRootBlockDeviceArrayOutput

func (GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutputWithContext added in v1.19.0

func (i GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceArrayOutput

type GetInstanceRootBlockDeviceArrayInput added in v1.19.0

type GetInstanceRootBlockDeviceArrayInput interface {
	pulumi.Input

	ToGetInstanceRootBlockDeviceArrayOutput() GetInstanceRootBlockDeviceArrayOutput
	ToGetInstanceRootBlockDeviceArrayOutputWithContext(context.Context) GetInstanceRootBlockDeviceArrayOutput
}

type GetInstanceRootBlockDeviceArrayOutput added in v1.19.0

type GetInstanceRootBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceRootBlockDeviceArrayOutput) ElementType added in v1.19.0

func (GetInstanceRootBlockDeviceArrayOutput) Index added in v1.19.0

func (GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutput added in v1.19.0

func (o GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutput() GetInstanceRootBlockDeviceArrayOutput

func (GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutputWithContext added in v1.19.0

func (o GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceArrayOutput

type GetInstanceRootBlockDeviceInput added in v1.19.0

type GetInstanceRootBlockDeviceInput interface {
	pulumi.Input

	ToGetInstanceRootBlockDeviceOutput() GetInstanceRootBlockDeviceOutput
	ToGetInstanceRootBlockDeviceOutputWithContext(context.Context) GetInstanceRootBlockDeviceOutput
}

type GetInstanceRootBlockDeviceOutput added in v1.19.0

type GetInstanceRootBlockDeviceOutput struct{ *pulumi.OutputState }

func (GetInstanceRootBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (o GetInstanceRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput

If the root block device will be deleted on termination.

func (GetInstanceRootBlockDeviceOutput) ElementType added in v1.19.0

func (GetInstanceRootBlockDeviceOutput) Encrypted added in v1.19.0

If the EBS volume is encrypted.

func (GetInstanceRootBlockDeviceOutput) Iops added in v1.19.0

`0` If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.

func (GetInstanceRootBlockDeviceOutput) KmsKeyId added in v1.19.0

func (GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutput added in v1.19.0

func (o GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutput() GetInstanceRootBlockDeviceOutput

func (GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutputWithContext added in v1.19.0

func (o GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceOutput

func (GetInstanceRootBlockDeviceOutput) VolumeId added in v1.19.0

func (GetInstanceRootBlockDeviceOutput) VolumeSize added in v1.19.0

The size of the volume, in GiB.

func (GetInstanceRootBlockDeviceOutput) VolumeType added in v1.19.0

The type of the volume.

type GetInstancesArgs

type GetInstancesArgs struct {
	// One or more name/value pairs to use as filters. There are
	// several valid keys, for a full reference, check out
	// [describe-instances in the AWS CLI reference][1].
	Filters []GetInstancesFilter `pulumi:"filters"`
	// A list of instance states that should be applicable to the desired instances. The permitted values are: `pending, running, shutting-down, stopped, stopping, terminated`. The default value is `running`.
	InstanceStateNames []string `pulumi:"instanceStateNames"`
	// A mapping of tags, each pair of which must
	// exactly match a pair on desired instances.
	InstanceTags map[string]interface{} `pulumi:"instanceTags"`
}

A collection of arguments for invoking getInstances.

type GetInstancesFilter added in v1.19.0

type GetInstancesFilter struct {
	Name   string   `pulumi:"name"`
	Values []string `pulumi:"values"`
}

type GetInstancesFilterArgs added in v1.19.0

type GetInstancesFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInstancesFilterArgs) ElementType added in v1.19.0

func (GetInstancesFilterArgs) ElementType() reflect.Type

func (GetInstancesFilterArgs) ToGetInstancesFilterOutput added in v1.19.0

func (i GetInstancesFilterArgs) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext added in v1.19.0

func (i GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput

type GetInstancesFilterArray added in v1.19.0

type GetInstancesFilterArray []GetInstancesFilterInput

func (GetInstancesFilterArray) ElementType added in v1.19.0

func (GetInstancesFilterArray) ElementType() reflect.Type

func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutput added in v1.19.0

func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput

func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext added in v1.19.0

func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput

type GetInstancesFilterArrayInput added in v1.19.0

type GetInstancesFilterArrayInput interface {
	pulumi.Input

	ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
	ToGetInstancesFilterArrayOutputWithContext(context.Context) GetInstancesFilterArrayOutput
}

type GetInstancesFilterArrayOutput added in v1.19.0

type GetInstancesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesFilterArrayOutput) ElementType added in v1.19.0

func (GetInstancesFilterArrayOutput) Index added in v1.19.0

func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput added in v1.19.0

func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput

func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext added in v1.19.0

func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput

type GetInstancesFilterInput added in v1.19.0

type GetInstancesFilterInput interface {
	pulumi.Input

	ToGetInstancesFilterOutput() GetInstancesFilterOutput
	ToGetInstancesFilterOutputWithContext(context.Context) GetInstancesFilterOutput
}

type GetInstancesFilterOutput added in v1.19.0

type GetInstancesFilterOutput struct{ *pulumi.OutputState }

func (GetInstancesFilterOutput) ElementType added in v1.19.0

func (GetInstancesFilterOutput) ElementType() reflect.Type

func (GetInstancesFilterOutput) Name added in v1.19.0

func (GetInstancesFilterOutput) ToGetInstancesFilterOutput added in v1.19.0

func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext added in v1.19.0

func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput

func (GetInstancesFilterOutput) Values added in v1.19.0

type GetInstancesResult

type GetInstancesResult struct {
	Filters []GetInstancesFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// IDs of instances found through the filter
	Ids                []string               `pulumi:"ids"`
	InstanceStateNames []string               `pulumi:"instanceStateNames"`
	InstanceTags       map[string]interface{} `pulumi:"instanceTags"`
	// Private IP addresses of instances found through the filter
	PrivateIps []string `pulumi:"privateIps"`
	// Public IP addresses of instances found through the filter
	PublicIps []string `pulumi:"publicIps"`
}

A collection of values returned by getInstances.

type GetInternetGatewayAttachment added in v1.19.0

type GetInternetGatewayAttachment struct {
	// The current state of the attachment between the gateway and the VPC. Present only if a VPC is attached
	State string `pulumi:"state"`
	// The ID of an attached VPC.
	VpcId string `pulumi:"vpcId"`
}

type GetInternetGatewayAttachmentArgs added in v1.19.0

type GetInternetGatewayAttachmentArgs struct {
	// The current state of the attachment between the gateway and the VPC. Present only if a VPC is attached
	State pulumi.StringInput `pulumi:"state"`
	// The ID of an attached VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetInternetGatewayAttachmentArgs) ElementType added in v1.19.0

func (GetInternetGatewayAttachmentArgs) ToGetInternetGatewayAttachmentOutput added in v1.19.0

func (i GetInternetGatewayAttachmentArgs) ToGetInternetGatewayAttachmentOutput() GetInternetGatewayAttachmentOutput

func (GetInternetGatewayAttachmentArgs) ToGetInternetGatewayAttachmentOutputWithContext added in v1.19.0

func (i GetInternetGatewayAttachmentArgs) ToGetInternetGatewayAttachmentOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentOutput

type GetInternetGatewayAttachmentArray added in v1.19.0

type GetInternetGatewayAttachmentArray []GetInternetGatewayAttachmentInput

func (GetInternetGatewayAttachmentArray) ElementType added in v1.19.0

func (GetInternetGatewayAttachmentArray) ToGetInternetGatewayAttachmentArrayOutput added in v1.19.0

func (i GetInternetGatewayAttachmentArray) ToGetInternetGatewayAttachmentArrayOutput() GetInternetGatewayAttachmentArrayOutput

func (GetInternetGatewayAttachmentArray) ToGetInternetGatewayAttachmentArrayOutputWithContext added in v1.19.0

func (i GetInternetGatewayAttachmentArray) ToGetInternetGatewayAttachmentArrayOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentArrayOutput

type GetInternetGatewayAttachmentArrayInput added in v1.19.0

type GetInternetGatewayAttachmentArrayInput interface {
	pulumi.Input

	ToGetInternetGatewayAttachmentArrayOutput() GetInternetGatewayAttachmentArrayOutput
	ToGetInternetGatewayAttachmentArrayOutputWithContext(context.Context) GetInternetGatewayAttachmentArrayOutput
}

type GetInternetGatewayAttachmentArrayOutput added in v1.19.0

type GetInternetGatewayAttachmentArrayOutput struct{ *pulumi.OutputState }

func (GetInternetGatewayAttachmentArrayOutput) ElementType added in v1.19.0

func (GetInternetGatewayAttachmentArrayOutput) Index added in v1.19.0

func (GetInternetGatewayAttachmentArrayOutput) ToGetInternetGatewayAttachmentArrayOutput added in v1.19.0

func (o GetInternetGatewayAttachmentArrayOutput) ToGetInternetGatewayAttachmentArrayOutput() GetInternetGatewayAttachmentArrayOutput

func (GetInternetGatewayAttachmentArrayOutput) ToGetInternetGatewayAttachmentArrayOutputWithContext added in v1.19.0

func (o GetInternetGatewayAttachmentArrayOutput) ToGetInternetGatewayAttachmentArrayOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentArrayOutput

type GetInternetGatewayAttachmentInput added in v1.19.0

type GetInternetGatewayAttachmentInput interface {
	pulumi.Input

	ToGetInternetGatewayAttachmentOutput() GetInternetGatewayAttachmentOutput
	ToGetInternetGatewayAttachmentOutputWithContext(context.Context) GetInternetGatewayAttachmentOutput
}

type GetInternetGatewayAttachmentOutput added in v1.19.0

type GetInternetGatewayAttachmentOutput struct{ *pulumi.OutputState }

func (GetInternetGatewayAttachmentOutput) ElementType added in v1.19.0

func (GetInternetGatewayAttachmentOutput) State added in v1.19.0

The current state of the attachment between the gateway and the VPC. Present only if a VPC is attached

func (GetInternetGatewayAttachmentOutput) ToGetInternetGatewayAttachmentOutput added in v1.19.0

func (o GetInternetGatewayAttachmentOutput) ToGetInternetGatewayAttachmentOutput() GetInternetGatewayAttachmentOutput

func (GetInternetGatewayAttachmentOutput) ToGetInternetGatewayAttachmentOutputWithContext added in v1.19.0

func (o GetInternetGatewayAttachmentOutput) ToGetInternetGatewayAttachmentOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentOutput

func (GetInternetGatewayAttachmentOutput) VpcId added in v1.19.0

The ID of an attached VPC.

type GetInternetGatewayFilter added in v1.19.0

type GetInternetGatewayFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInternetGateways.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// An Internet Gateway will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetInternetGatewayFilterArgs added in v1.19.0

type GetInternetGatewayFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInternetGateways.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// An Internet Gateway will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInternetGatewayFilterArgs) ElementType added in v1.19.0

func (GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutput added in v1.19.0

func (i GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutput() GetInternetGatewayFilterOutput

func (GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutputWithContext added in v1.19.0

func (i GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutputWithContext(ctx context.Context) GetInternetGatewayFilterOutput

type GetInternetGatewayFilterArray added in v1.19.0

type GetInternetGatewayFilterArray []GetInternetGatewayFilterInput

func (GetInternetGatewayFilterArray) ElementType added in v1.19.0

func (GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutput added in v1.19.0

func (i GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutput() GetInternetGatewayFilterArrayOutput

func (GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutputWithContext added in v1.19.0

func (i GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutputWithContext(ctx context.Context) GetInternetGatewayFilterArrayOutput

type GetInternetGatewayFilterArrayInput added in v1.19.0

type GetInternetGatewayFilterArrayInput interface {
	pulumi.Input

	ToGetInternetGatewayFilterArrayOutput() GetInternetGatewayFilterArrayOutput
	ToGetInternetGatewayFilterArrayOutputWithContext(context.Context) GetInternetGatewayFilterArrayOutput
}

type GetInternetGatewayFilterArrayOutput added in v1.19.0

type GetInternetGatewayFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInternetGatewayFilterArrayOutput) ElementType added in v1.19.0

func (GetInternetGatewayFilterArrayOutput) Index added in v1.19.0

func (GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutput added in v1.19.0

func (o GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutput() GetInternetGatewayFilterArrayOutput

func (GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutputWithContext added in v1.19.0

func (o GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutputWithContext(ctx context.Context) GetInternetGatewayFilterArrayOutput

type GetInternetGatewayFilterInput added in v1.19.0

type GetInternetGatewayFilterInput interface {
	pulumi.Input

	ToGetInternetGatewayFilterOutput() GetInternetGatewayFilterOutput
	ToGetInternetGatewayFilterOutputWithContext(context.Context) GetInternetGatewayFilterOutput
}

type GetInternetGatewayFilterOutput added in v1.19.0

type GetInternetGatewayFilterOutput struct{ *pulumi.OutputState }

func (GetInternetGatewayFilterOutput) ElementType added in v1.19.0

func (GetInternetGatewayFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInternetGateways.html).

func (GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutput added in v1.19.0

func (o GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutput() GetInternetGatewayFilterOutput

func (GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutputWithContext added in v1.19.0

func (o GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutputWithContext(ctx context.Context) GetInternetGatewayFilterOutput

func (GetInternetGatewayFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. An Internet Gateway will be selected if any one of the given values matches.

type GetLaunchConfigurationEbsBlockDevice added in v1.19.0

type GetLaunchConfigurationEbsBlockDevice struct {
	// Whether the EBS Volume will be deleted on instance termination.
	DeleteOnTermination bool `pulumi:"deleteOnTermination"`
	// The Name of the device.
	DeviceName string `pulumi:"deviceName"`
	// Whether the volume is Encrypted.
	Encrypted bool `pulumi:"encrypted"`
	// The provisioned IOPs of the volume.
	Iops int `pulumi:"iops"`
	// The Snapshot ID of the mount.
	SnapshotId string `pulumi:"snapshotId"`
	// The Size of the volume.
	VolumeSize int `pulumi:"volumeSize"`
	// The Type of the volume.
	VolumeType string `pulumi:"volumeType"`
}

type GetLaunchConfigurationEbsBlockDeviceArgs added in v1.19.0

type GetLaunchConfigurationEbsBlockDeviceArgs struct {
	// Whether the EBS Volume will be deleted on instance termination.
	DeleteOnTermination pulumi.BoolInput `pulumi:"deleteOnTermination"`
	// The Name of the device.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// Whether the volume is Encrypted.
	Encrypted pulumi.BoolInput `pulumi:"encrypted"`
	// The provisioned IOPs of the volume.
	Iops pulumi.IntInput `pulumi:"iops"`
	// The Snapshot ID of the mount.
	SnapshotId pulumi.StringInput `pulumi:"snapshotId"`
	// The Size of the volume.
	VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
	// The Type of the volume.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
}

func (GetLaunchConfigurationEbsBlockDeviceArgs) ElementType added in v1.19.0

func (GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutput added in v1.19.0

func (i GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutput() GetLaunchConfigurationEbsBlockDeviceOutput

func (GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext added in v1.19.0

func (i GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceOutput

type GetLaunchConfigurationEbsBlockDeviceArray added in v1.19.0

type GetLaunchConfigurationEbsBlockDeviceArray []GetLaunchConfigurationEbsBlockDeviceInput

func (GetLaunchConfigurationEbsBlockDeviceArray) ElementType added in v1.19.0

func (GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput added in v1.19.0

func (i GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput() GetLaunchConfigurationEbsBlockDeviceArrayOutput

func (GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceArrayOutput

type GetLaunchConfigurationEbsBlockDeviceArrayInput added in v1.19.0

type GetLaunchConfigurationEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToGetLaunchConfigurationEbsBlockDeviceArrayOutput() GetLaunchConfigurationEbsBlockDeviceArrayOutput
	ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(context.Context) GetLaunchConfigurationEbsBlockDeviceArrayOutput
}

type GetLaunchConfigurationEbsBlockDeviceArrayOutput added in v1.19.0

type GetLaunchConfigurationEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput added in v1.19.0

func (o GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput() GetLaunchConfigurationEbsBlockDeviceArrayOutput

func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceArrayOutput

type GetLaunchConfigurationEbsBlockDeviceInput added in v1.19.0

type GetLaunchConfigurationEbsBlockDeviceInput interface {
	pulumi.Input

	ToGetLaunchConfigurationEbsBlockDeviceOutput() GetLaunchConfigurationEbsBlockDeviceOutput
	ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext(context.Context) GetLaunchConfigurationEbsBlockDeviceOutput
}

type GetLaunchConfigurationEbsBlockDeviceOutput added in v1.19.0

type GetLaunchConfigurationEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (GetLaunchConfigurationEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

Whether the EBS Volume will be deleted on instance termination.

func (GetLaunchConfigurationEbsBlockDeviceOutput) DeviceName added in v1.19.0

The Name of the device.

func (GetLaunchConfigurationEbsBlockDeviceOutput) ElementType added in v1.19.0

func (GetLaunchConfigurationEbsBlockDeviceOutput) Encrypted added in v1.19.0

Whether the volume is Encrypted.

func (GetLaunchConfigurationEbsBlockDeviceOutput) Iops added in v1.19.0

The provisioned IOPs of the volume.

func (GetLaunchConfigurationEbsBlockDeviceOutput) SnapshotId added in v1.19.0

The Snapshot ID of the mount.

func (GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutput added in v1.19.0

func (o GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutput() GetLaunchConfigurationEbsBlockDeviceOutput

func (GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext added in v1.19.0

func (o GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceOutput

func (GetLaunchConfigurationEbsBlockDeviceOutput) VolumeSize added in v1.19.0

The Size of the volume.

func (GetLaunchConfigurationEbsBlockDeviceOutput) VolumeType added in v1.19.0

The Type of the volume.

type GetLaunchConfigurationEphemeralBlockDevice added in v1.19.0

type GetLaunchConfigurationEphemeralBlockDevice struct {
	// The Name of the device.
	DeviceName string `pulumi:"deviceName"`
	// The Virtual Name of the device.
	VirtualName string `pulumi:"virtualName"`
}

type GetLaunchConfigurationEphemeralBlockDeviceArgs added in v1.19.0

type GetLaunchConfigurationEphemeralBlockDeviceArgs struct {
	// The Name of the device.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// The Virtual Name of the device.
	VirtualName pulumi.StringInput `pulumi:"virtualName"`
}

func (GetLaunchConfigurationEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutput added in v1.19.0

func (i GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutput() GetLaunchConfigurationEphemeralBlockDeviceOutput

func (GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceOutput

type GetLaunchConfigurationEphemeralBlockDeviceArray added in v1.19.0

type GetLaunchConfigurationEphemeralBlockDeviceArray []GetLaunchConfigurationEphemeralBlockDeviceInput

func (GetLaunchConfigurationEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput added in v1.19.0

func (i GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput

func (GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceArrayOutput

type GetLaunchConfigurationEphemeralBlockDeviceArrayInput added in v1.19.0

type GetLaunchConfigurationEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
	ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(context.Context) GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
}

type GetLaunchConfigurationEphemeralBlockDeviceArrayOutput added in v1.19.0

type GetLaunchConfigurationEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput added in v1.19.0

func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceArrayOutput

type GetLaunchConfigurationEphemeralBlockDeviceInput added in v1.19.0

type GetLaunchConfigurationEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToGetLaunchConfigurationEphemeralBlockDeviceOutput() GetLaunchConfigurationEphemeralBlockDeviceOutput
	ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext(context.Context) GetLaunchConfigurationEphemeralBlockDeviceOutput
}

type GetLaunchConfigurationEphemeralBlockDeviceOutput added in v1.19.0

type GetLaunchConfigurationEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (GetLaunchConfigurationEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

The Name of the device.

func (GetLaunchConfigurationEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutput added in v1.19.0

func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutput() GetLaunchConfigurationEphemeralBlockDeviceOutput

func (GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceOutput

func (GetLaunchConfigurationEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

The Virtual Name of the device.

type GetLaunchConfigurationRootBlockDevice added in v1.19.0

type GetLaunchConfigurationRootBlockDevice struct {
	// Whether the EBS Volume will be deleted on instance termination.
	DeleteOnTermination bool `pulumi:"deleteOnTermination"`
	// Whether the volume is Encrypted.
	Encrypted bool `pulumi:"encrypted"`
	// The provisioned IOPs of the volume.
	Iops int `pulumi:"iops"`
	// The Size of the volume.
	VolumeSize int `pulumi:"volumeSize"`
	// The Type of the volume.
	VolumeType string `pulumi:"volumeType"`
}

type GetLaunchConfigurationRootBlockDeviceArgs added in v1.19.0

type GetLaunchConfigurationRootBlockDeviceArgs struct {
	// Whether the EBS Volume will be deleted on instance termination.
	DeleteOnTermination pulumi.BoolInput `pulumi:"deleteOnTermination"`
	// Whether the volume is Encrypted.
	Encrypted pulumi.BoolInput `pulumi:"encrypted"`
	// The provisioned IOPs of the volume.
	Iops pulumi.IntInput `pulumi:"iops"`
	// The Size of the volume.
	VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
	// The Type of the volume.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
}

func (GetLaunchConfigurationRootBlockDeviceArgs) ElementType added in v1.19.0

func (GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutput added in v1.19.0

func (i GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutput() GetLaunchConfigurationRootBlockDeviceOutput

func (GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext added in v1.19.0

func (i GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceOutput

type GetLaunchConfigurationRootBlockDeviceArray added in v1.19.0

type GetLaunchConfigurationRootBlockDeviceArray []GetLaunchConfigurationRootBlockDeviceInput

func (GetLaunchConfigurationRootBlockDeviceArray) ElementType added in v1.19.0

func (GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutput added in v1.19.0

func (i GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutput() GetLaunchConfigurationRootBlockDeviceArrayOutput

func (GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext added in v1.19.0

func (i GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceArrayOutput

type GetLaunchConfigurationRootBlockDeviceArrayInput added in v1.19.0

type GetLaunchConfigurationRootBlockDeviceArrayInput interface {
	pulumi.Input

	ToGetLaunchConfigurationRootBlockDeviceArrayOutput() GetLaunchConfigurationRootBlockDeviceArrayOutput
	ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext(context.Context) GetLaunchConfigurationRootBlockDeviceArrayOutput
}

type GetLaunchConfigurationRootBlockDeviceArrayOutput added in v1.19.0

type GetLaunchConfigurationRootBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchConfigurationRootBlockDeviceArrayOutput) ElementType added in v1.19.0

func (GetLaunchConfigurationRootBlockDeviceArrayOutput) Index added in v1.19.0

func (GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutput added in v1.19.0

func (o GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutput() GetLaunchConfigurationRootBlockDeviceArrayOutput

func (GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext added in v1.19.0

func (o GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceArrayOutput

type GetLaunchConfigurationRootBlockDeviceInput added in v1.19.0

type GetLaunchConfigurationRootBlockDeviceInput interface {
	pulumi.Input

	ToGetLaunchConfigurationRootBlockDeviceOutput() GetLaunchConfigurationRootBlockDeviceOutput
	ToGetLaunchConfigurationRootBlockDeviceOutputWithContext(context.Context) GetLaunchConfigurationRootBlockDeviceOutput
}

type GetLaunchConfigurationRootBlockDeviceOutput added in v1.19.0

type GetLaunchConfigurationRootBlockDeviceOutput struct{ *pulumi.OutputState }

func (GetLaunchConfigurationRootBlockDeviceOutput) DeleteOnTermination added in v1.19.0

Whether the EBS Volume will be deleted on instance termination.

func (GetLaunchConfigurationRootBlockDeviceOutput) ElementType added in v1.19.0

func (GetLaunchConfigurationRootBlockDeviceOutput) Encrypted added in v1.19.0

Whether the volume is Encrypted.

func (GetLaunchConfigurationRootBlockDeviceOutput) Iops added in v1.19.0

The provisioned IOPs of the volume.

func (GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutput added in v1.19.0

func (o GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutput() GetLaunchConfigurationRootBlockDeviceOutput

func (GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext added in v1.19.0

func (o GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceOutput

func (GetLaunchConfigurationRootBlockDeviceOutput) VolumeSize added in v1.19.0

The Size of the volume.

func (GetLaunchConfigurationRootBlockDeviceOutput) VolumeType added in v1.19.0

The Type of the volume.

type GetLaunchTemplateBlockDeviceMapping added in v1.19.0

type GetLaunchTemplateBlockDeviceMapping struct {
	DeviceName  string                                  `pulumi:"deviceName"`
	Ebs         []GetLaunchTemplateBlockDeviceMappingEb `pulumi:"ebs"`
	NoDevice    string                                  `pulumi:"noDevice"`
	VirtualName string                                  `pulumi:"virtualName"`
}

type GetLaunchTemplateBlockDeviceMappingArgs added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingArgs struct {
	DeviceName  pulumi.StringInput                              `pulumi:"deviceName"`
	Ebs         GetLaunchTemplateBlockDeviceMappingEbArrayInput `pulumi:"ebs"`
	NoDevice    pulumi.StringInput                              `pulumi:"noDevice"`
	VirtualName pulumi.StringInput                              `pulumi:"virtualName"`
}

func (GetLaunchTemplateBlockDeviceMappingArgs) ElementType added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutput added in v1.19.0

func (i GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutput() GetLaunchTemplateBlockDeviceMappingOutput

func (GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext added in v1.19.0

func (i GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingOutput

type GetLaunchTemplateBlockDeviceMappingArray added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingArray []GetLaunchTemplateBlockDeviceMappingInput

func (GetLaunchTemplateBlockDeviceMappingArray) ElementType added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutput added in v1.19.0

func (i GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutput() GetLaunchTemplateBlockDeviceMappingArrayOutput

func (GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingArrayOutput

type GetLaunchTemplateBlockDeviceMappingArrayInput added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateBlockDeviceMappingArrayOutput() GetLaunchTemplateBlockDeviceMappingArrayOutput
	ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext(context.Context) GetLaunchTemplateBlockDeviceMappingArrayOutput
}

type GetLaunchTemplateBlockDeviceMappingArrayOutput added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateBlockDeviceMappingArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutput added in v1.19.0

func (o GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutput() GetLaunchTemplateBlockDeviceMappingArrayOutput

func (GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingArrayOutput

type GetLaunchTemplateBlockDeviceMappingEb added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingEb struct {
	DeleteOnTermination string `pulumi:"deleteOnTermination"`
	Encrypted           string `pulumi:"encrypted"`
	Iops                int    `pulumi:"iops"`
	KmsKeyId            string `pulumi:"kmsKeyId"`
	SnapshotId          string `pulumi:"snapshotId"`
	VolumeSize          int    `pulumi:"volumeSize"`
	VolumeType          string `pulumi:"volumeType"`
}

type GetLaunchTemplateBlockDeviceMappingEbArgs added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingEbArgs struct {
	DeleteOnTermination pulumi.StringInput `pulumi:"deleteOnTermination"`
	Encrypted           pulumi.StringInput `pulumi:"encrypted"`
	Iops                pulumi.IntInput    `pulumi:"iops"`
	KmsKeyId            pulumi.StringInput `pulumi:"kmsKeyId"`
	SnapshotId          pulumi.StringInput `pulumi:"snapshotId"`
	VolumeSize          pulumi.IntInput    `pulumi:"volumeSize"`
	VolumeType          pulumi.StringInput `pulumi:"volumeType"`
}

func (GetLaunchTemplateBlockDeviceMappingEbArgs) ElementType added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutput added in v1.19.0

func (i GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutput() GetLaunchTemplateBlockDeviceMappingEbOutput

func (GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext added in v1.19.0

func (i GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbOutput

type GetLaunchTemplateBlockDeviceMappingEbArray added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingEbArray []GetLaunchTemplateBlockDeviceMappingEbInput

func (GetLaunchTemplateBlockDeviceMappingEbArray) ElementType added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput added in v1.19.0

func (i GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput() GetLaunchTemplateBlockDeviceMappingEbArrayOutput

func (GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbArrayOutput

type GetLaunchTemplateBlockDeviceMappingEbArrayInput added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingEbArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput() GetLaunchTemplateBlockDeviceMappingEbArrayOutput
	ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext(context.Context) GetLaunchTemplateBlockDeviceMappingEbArrayOutput
}

type GetLaunchTemplateBlockDeviceMappingEbArrayOutput added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingEbArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput added in v1.19.0

func (o GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput() GetLaunchTemplateBlockDeviceMappingEbArrayOutput

func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbArrayOutput

type GetLaunchTemplateBlockDeviceMappingEbInput added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingEbInput interface {
	pulumi.Input

	ToGetLaunchTemplateBlockDeviceMappingEbOutput() GetLaunchTemplateBlockDeviceMappingEbOutput
	ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext(context.Context) GetLaunchTemplateBlockDeviceMappingEbOutput
}

type GetLaunchTemplateBlockDeviceMappingEbOutput added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingEbOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateBlockDeviceMappingEbOutput) DeleteOnTermination added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbOutput) ElementType added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbOutput) Encrypted added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbOutput) Iops added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbOutput) KmsKeyId added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbOutput) SnapshotId added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutput added in v1.19.0

func (o GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutput() GetLaunchTemplateBlockDeviceMappingEbOutput

func (GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext added in v1.19.0

func (o GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbOutput

func (GetLaunchTemplateBlockDeviceMappingEbOutput) VolumeSize added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingEbOutput) VolumeType added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingInput added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingInput interface {
	pulumi.Input

	ToGetLaunchTemplateBlockDeviceMappingOutput() GetLaunchTemplateBlockDeviceMappingOutput
	ToGetLaunchTemplateBlockDeviceMappingOutputWithContext(context.Context) GetLaunchTemplateBlockDeviceMappingOutput
}

type GetLaunchTemplateBlockDeviceMappingOutput added in v1.19.0

type GetLaunchTemplateBlockDeviceMappingOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateBlockDeviceMappingOutput) DeviceName added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingOutput) Ebs added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingOutput) ElementType added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingOutput) NoDevice added in v1.19.0

func (GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutput added in v1.19.0

func (o GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutput() GetLaunchTemplateBlockDeviceMappingOutput

func (GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext added in v1.19.0

func (o GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingOutput

func (GetLaunchTemplateBlockDeviceMappingOutput) VirtualName added in v1.19.0

type GetLaunchTemplateCreditSpecification added in v1.19.0

type GetLaunchTemplateCreditSpecification struct {
	CpuCredits string `pulumi:"cpuCredits"`
}

type GetLaunchTemplateCreditSpecificationArgs added in v1.19.0

type GetLaunchTemplateCreditSpecificationArgs struct {
	CpuCredits pulumi.StringInput `pulumi:"cpuCredits"`
}

func (GetLaunchTemplateCreditSpecificationArgs) ElementType added in v1.19.0

func (GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutput added in v1.19.0

func (i GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutput() GetLaunchTemplateCreditSpecificationOutput

func (GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutputWithContext added in v1.19.0

func (i GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationOutput

type GetLaunchTemplateCreditSpecificationArray added in v1.19.0

type GetLaunchTemplateCreditSpecificationArray []GetLaunchTemplateCreditSpecificationInput

func (GetLaunchTemplateCreditSpecificationArray) ElementType added in v1.19.0

func (GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutput added in v1.19.0

func (i GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutput() GetLaunchTemplateCreditSpecificationArrayOutput

func (GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationArrayOutput

type GetLaunchTemplateCreditSpecificationArrayInput added in v1.19.0

type GetLaunchTemplateCreditSpecificationArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateCreditSpecificationArrayOutput() GetLaunchTemplateCreditSpecificationArrayOutput
	ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext(context.Context) GetLaunchTemplateCreditSpecificationArrayOutput
}

type GetLaunchTemplateCreditSpecificationArrayOutput added in v1.19.0

type GetLaunchTemplateCreditSpecificationArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateCreditSpecificationArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateCreditSpecificationArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutput added in v1.19.0

func (o GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutput() GetLaunchTemplateCreditSpecificationArrayOutput

func (GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationArrayOutput

type GetLaunchTemplateCreditSpecificationInput added in v1.19.0

type GetLaunchTemplateCreditSpecificationInput interface {
	pulumi.Input

	ToGetLaunchTemplateCreditSpecificationOutput() GetLaunchTemplateCreditSpecificationOutput
	ToGetLaunchTemplateCreditSpecificationOutputWithContext(context.Context) GetLaunchTemplateCreditSpecificationOutput
}

type GetLaunchTemplateCreditSpecificationOutput added in v1.19.0

type GetLaunchTemplateCreditSpecificationOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateCreditSpecificationOutput) CpuCredits added in v1.19.0

func (GetLaunchTemplateCreditSpecificationOutput) ElementType added in v1.19.0

func (GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutput added in v1.19.0

func (o GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutput() GetLaunchTemplateCreditSpecificationOutput

func (GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutputWithContext added in v1.19.0

func (o GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationOutput

type GetLaunchTemplateElasticGpuSpecification added in v1.19.0

type GetLaunchTemplateElasticGpuSpecification struct {
	Type string `pulumi:"type"`
}

type GetLaunchTemplateElasticGpuSpecificationArgs added in v1.19.0

type GetLaunchTemplateElasticGpuSpecificationArgs struct {
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetLaunchTemplateElasticGpuSpecificationArgs) ElementType added in v1.19.0

func (GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutput added in v1.19.0

func (i GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutput() GetLaunchTemplateElasticGpuSpecificationOutput

func (GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext added in v1.19.0

func (i GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationOutput

type GetLaunchTemplateElasticGpuSpecificationArray added in v1.19.0

type GetLaunchTemplateElasticGpuSpecificationArray []GetLaunchTemplateElasticGpuSpecificationInput

func (GetLaunchTemplateElasticGpuSpecificationArray) ElementType added in v1.19.0

func (GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput added in v1.19.0

func (i GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput() GetLaunchTemplateElasticGpuSpecificationArrayOutput

func (GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationArrayOutput

type GetLaunchTemplateElasticGpuSpecificationArrayInput added in v1.19.0

type GetLaunchTemplateElasticGpuSpecificationArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateElasticGpuSpecificationArrayOutput() GetLaunchTemplateElasticGpuSpecificationArrayOutput
	ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(context.Context) GetLaunchTemplateElasticGpuSpecificationArrayOutput
}

type GetLaunchTemplateElasticGpuSpecificationArrayOutput added in v1.19.0

type GetLaunchTemplateElasticGpuSpecificationArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput added in v1.19.0

func (o GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput() GetLaunchTemplateElasticGpuSpecificationArrayOutput

func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationArrayOutput

type GetLaunchTemplateElasticGpuSpecificationInput added in v1.19.0

type GetLaunchTemplateElasticGpuSpecificationInput interface {
	pulumi.Input

	ToGetLaunchTemplateElasticGpuSpecificationOutput() GetLaunchTemplateElasticGpuSpecificationOutput
	ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext(context.Context) GetLaunchTemplateElasticGpuSpecificationOutput
}

type GetLaunchTemplateElasticGpuSpecificationOutput added in v1.19.0

type GetLaunchTemplateElasticGpuSpecificationOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateElasticGpuSpecificationOutput) ElementType added in v1.19.0

func (GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutput added in v1.19.0

func (o GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutput() GetLaunchTemplateElasticGpuSpecificationOutput

func (GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext added in v1.19.0

func (o GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationOutput

func (GetLaunchTemplateElasticGpuSpecificationOutput) Type added in v1.19.0

type GetLaunchTemplateIamInstanceProfile added in v1.19.0

type GetLaunchTemplateIamInstanceProfile struct {
	// Amazon Resource Name (ARN) of the launch template.
	Arn string `pulumi:"arn"`
	// The name of the launch template.
	Name string `pulumi:"name"`
}

type GetLaunchTemplateIamInstanceProfileArgs added in v1.19.0

type GetLaunchTemplateIamInstanceProfileArgs struct {
	// Amazon Resource Name (ARN) of the launch template.
	Arn pulumi.StringInput `pulumi:"arn"`
	// The name of the launch template.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetLaunchTemplateIamInstanceProfileArgs) ElementType added in v1.19.0

func (GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutput added in v1.19.0

func (i GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutput() GetLaunchTemplateIamInstanceProfileOutput

func (GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutputWithContext added in v1.19.0

func (i GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileOutput

type GetLaunchTemplateIamInstanceProfileArray added in v1.19.0

type GetLaunchTemplateIamInstanceProfileArray []GetLaunchTemplateIamInstanceProfileInput

func (GetLaunchTemplateIamInstanceProfileArray) ElementType added in v1.19.0

func (GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutput added in v1.19.0

func (i GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutput() GetLaunchTemplateIamInstanceProfileArrayOutput

func (GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileArrayOutput

type GetLaunchTemplateIamInstanceProfileArrayInput added in v1.19.0

type GetLaunchTemplateIamInstanceProfileArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateIamInstanceProfileArrayOutput() GetLaunchTemplateIamInstanceProfileArrayOutput
	ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext(context.Context) GetLaunchTemplateIamInstanceProfileArrayOutput
}

type GetLaunchTemplateIamInstanceProfileArrayOutput added in v1.19.0

type GetLaunchTemplateIamInstanceProfileArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateIamInstanceProfileArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateIamInstanceProfileArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutput added in v1.19.0

func (o GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutput() GetLaunchTemplateIamInstanceProfileArrayOutput

func (GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileArrayOutput

type GetLaunchTemplateIamInstanceProfileInput added in v1.19.0

type GetLaunchTemplateIamInstanceProfileInput interface {
	pulumi.Input

	ToGetLaunchTemplateIamInstanceProfileOutput() GetLaunchTemplateIamInstanceProfileOutput
	ToGetLaunchTemplateIamInstanceProfileOutputWithContext(context.Context) GetLaunchTemplateIamInstanceProfileOutput
}

type GetLaunchTemplateIamInstanceProfileOutput added in v1.19.0

type GetLaunchTemplateIamInstanceProfileOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateIamInstanceProfileOutput) Arn added in v1.19.0

Amazon Resource Name (ARN) of the launch template.

func (GetLaunchTemplateIamInstanceProfileOutput) ElementType added in v1.19.0

func (GetLaunchTemplateIamInstanceProfileOutput) Name added in v1.19.0

The name of the launch template.

func (GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutput added in v1.19.0

func (o GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutput() GetLaunchTemplateIamInstanceProfileOutput

func (GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutputWithContext added in v1.19.0

func (o GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileOutput

type GetLaunchTemplateInstanceMarketOption added in v1.19.0

type GetLaunchTemplateInstanceMarketOption struct {
	MarketType  string                                            `pulumi:"marketType"`
	SpotOptions []GetLaunchTemplateInstanceMarketOptionSpotOption `pulumi:"spotOptions"`
}

type GetLaunchTemplateInstanceMarketOptionArgs added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionArgs struct {
	MarketType  pulumi.StringInput                                        `pulumi:"marketType"`
	SpotOptions GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput `pulumi:"spotOptions"`
}

func (GetLaunchTemplateInstanceMarketOptionArgs) ElementType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutput added in v1.19.0

func (i GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutput() GetLaunchTemplateInstanceMarketOptionOutput

func (GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext added in v1.19.0

func (i GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionOutput

type GetLaunchTemplateInstanceMarketOptionArray added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionArray []GetLaunchTemplateInstanceMarketOptionInput

func (GetLaunchTemplateInstanceMarketOptionArray) ElementType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutput added in v1.19.0

func (i GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionArrayOutput

func (GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionArrayOutput

type GetLaunchTemplateInstanceMarketOptionArrayInput added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateInstanceMarketOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionArrayOutput
	ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext(context.Context) GetLaunchTemplateInstanceMarketOptionArrayOutput
}

type GetLaunchTemplateInstanceMarketOptionArrayOutput added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateInstanceMarketOptionArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutput added in v1.19.0

func (o GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionArrayOutput

func (GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionArrayOutput

type GetLaunchTemplateInstanceMarketOptionInput added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionInput interface {
	pulumi.Input

	ToGetLaunchTemplateInstanceMarketOptionOutput() GetLaunchTemplateInstanceMarketOptionOutput
	ToGetLaunchTemplateInstanceMarketOptionOutputWithContext(context.Context) GetLaunchTemplateInstanceMarketOptionOutput
}

type GetLaunchTemplateInstanceMarketOptionOutput added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateInstanceMarketOptionOutput) ElementType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionOutput) MarketType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionOutput) SpotOptions added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutput added in v1.19.0

func (o GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutput() GetLaunchTemplateInstanceMarketOptionOutput

func (GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext added in v1.19.0

func (o GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionOutput

type GetLaunchTemplateInstanceMarketOptionSpotOption added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionSpotOption struct {
	BlockDurationMinutes         int    `pulumi:"blockDurationMinutes"`
	InstanceInterruptionBehavior string `pulumi:"instanceInterruptionBehavior"`
	MaxPrice                     string `pulumi:"maxPrice"`
	SpotInstanceType             string `pulumi:"spotInstanceType"`
	ValidUntil                   string `pulumi:"validUntil"`
}

type GetLaunchTemplateInstanceMarketOptionSpotOptionArgs added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionSpotOptionArgs struct {
	BlockDurationMinutes         pulumi.IntInput    `pulumi:"blockDurationMinutes"`
	InstanceInterruptionBehavior pulumi.StringInput `pulumi:"instanceInterruptionBehavior"`
	MaxPrice                     pulumi.StringInput `pulumi:"maxPrice"`
	SpotInstanceType             pulumi.StringInput `pulumi:"spotInstanceType"`
	ValidUntil                   pulumi.StringInput `pulumi:"validUntil"`
}

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ElementType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput added in v1.19.0

func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionOutput

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext added in v1.19.0

func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput

type GetLaunchTemplateInstanceMarketOptionSpotOptionArray added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionSpotOptionArray []GetLaunchTemplateInstanceMarketOptionSpotOptionInput

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ElementType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput added in v1.19.0

func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput

type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
	ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext(context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
}

type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput

type GetLaunchTemplateInstanceMarketOptionSpotOptionInput added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionSpotOptionInput interface {
	pulumi.Input

	ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
	ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext(context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
}

type GetLaunchTemplateInstanceMarketOptionSpotOptionOutput added in v1.19.0

type GetLaunchTemplateInstanceMarketOptionSpotOptionOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) BlockDurationMinutes added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ElementType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) InstanceInterruptionBehavior added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) MaxPrice added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) SpotInstanceType added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput added in v1.19.0

func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext added in v1.19.0

func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput

func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ValidUntil added in v1.19.0

type GetLaunchTemplateMonitoring added in v1.19.0

type GetLaunchTemplateMonitoring struct {
	Enabled bool `pulumi:"enabled"`
}

type GetLaunchTemplateMonitoringArgs added in v1.19.0

type GetLaunchTemplateMonitoringArgs struct {
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

func (GetLaunchTemplateMonitoringArgs) ElementType added in v1.19.0

func (GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutput added in v1.19.0

func (i GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutput() GetLaunchTemplateMonitoringOutput

func (GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutputWithContext added in v1.19.0

func (i GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringOutput

type GetLaunchTemplateMonitoringArray added in v1.19.0

type GetLaunchTemplateMonitoringArray []GetLaunchTemplateMonitoringInput

func (GetLaunchTemplateMonitoringArray) ElementType added in v1.19.0

func (GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutput added in v1.19.0

func (i GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutput() GetLaunchTemplateMonitoringArrayOutput

func (GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringArrayOutput

type GetLaunchTemplateMonitoringArrayInput added in v1.19.0

type GetLaunchTemplateMonitoringArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateMonitoringArrayOutput() GetLaunchTemplateMonitoringArrayOutput
	ToGetLaunchTemplateMonitoringArrayOutputWithContext(context.Context) GetLaunchTemplateMonitoringArrayOutput
}

type GetLaunchTemplateMonitoringArrayOutput added in v1.19.0

type GetLaunchTemplateMonitoringArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateMonitoringArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateMonitoringArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutput added in v1.19.0

func (o GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutput() GetLaunchTemplateMonitoringArrayOutput

func (GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringArrayOutput

type GetLaunchTemplateMonitoringInput added in v1.19.0

type GetLaunchTemplateMonitoringInput interface {
	pulumi.Input

	ToGetLaunchTemplateMonitoringOutput() GetLaunchTemplateMonitoringOutput
	ToGetLaunchTemplateMonitoringOutputWithContext(context.Context) GetLaunchTemplateMonitoringOutput
}

type GetLaunchTemplateMonitoringOutput added in v1.19.0

type GetLaunchTemplateMonitoringOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateMonitoringOutput) ElementType added in v1.19.0

func (GetLaunchTemplateMonitoringOutput) Enabled added in v1.19.0

func (GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutput added in v1.19.0

func (o GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutput() GetLaunchTemplateMonitoringOutput

func (GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutputWithContext added in v1.19.0

func (o GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringOutput

type GetLaunchTemplateNetworkInterface added in v1.19.0

type GetLaunchTemplateNetworkInterface struct {
	AssociatePublicIpAddress bool `pulumi:"associatePublicIpAddress"`
	DeleteOnTermination      bool `pulumi:"deleteOnTermination"`
	// Description of the launch template.
	Description        string   `pulumi:"description"`
	DeviceIndex        int      `pulumi:"deviceIndex"`
	Ipv4AddressCount   int      `pulumi:"ipv4AddressCount"`
	Ipv4Addresses      []string `pulumi:"ipv4Addresses"`
	Ipv6AddressCount   int      `pulumi:"ipv6AddressCount"`
	Ipv6Addresses      []string `pulumi:"ipv6Addresses"`
	NetworkInterfaceId string   `pulumi:"networkInterfaceId"`
	PrivateIpAddress   string   `pulumi:"privateIpAddress"`
	SecurityGroups     []string `pulumi:"securityGroups"`
	SubnetId           string   `pulumi:"subnetId"`
}

type GetLaunchTemplateNetworkInterfaceArgs added in v1.19.0

type GetLaunchTemplateNetworkInterfaceArgs struct {
	AssociatePublicIpAddress pulumi.BoolInput `pulumi:"associatePublicIpAddress"`
	DeleteOnTermination      pulumi.BoolInput `pulumi:"deleteOnTermination"`
	// Description of the launch template.
	Description        pulumi.StringInput      `pulumi:"description"`
	DeviceIndex        pulumi.IntInput         `pulumi:"deviceIndex"`
	Ipv4AddressCount   pulumi.IntInput         `pulumi:"ipv4AddressCount"`
	Ipv4Addresses      pulumi.StringArrayInput `pulumi:"ipv4Addresses"`
	Ipv6AddressCount   pulumi.IntInput         `pulumi:"ipv6AddressCount"`
	Ipv6Addresses      pulumi.StringArrayInput `pulumi:"ipv6Addresses"`
	NetworkInterfaceId pulumi.StringInput      `pulumi:"networkInterfaceId"`
	PrivateIpAddress   pulumi.StringInput      `pulumi:"privateIpAddress"`
	SecurityGroups     pulumi.StringArrayInput `pulumi:"securityGroups"`
	SubnetId           pulumi.StringInput      `pulumi:"subnetId"`
}

func (GetLaunchTemplateNetworkInterfaceArgs) ElementType added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutput added in v1.19.0

func (i GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutput() GetLaunchTemplateNetworkInterfaceOutput

func (GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutputWithContext added in v1.19.0

func (i GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceOutput

type GetLaunchTemplateNetworkInterfaceArray added in v1.19.0

type GetLaunchTemplateNetworkInterfaceArray []GetLaunchTemplateNetworkInterfaceInput

func (GetLaunchTemplateNetworkInterfaceArray) ElementType added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutput added in v1.19.0

func (i GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutput() GetLaunchTemplateNetworkInterfaceArrayOutput

func (GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceArrayOutput

type GetLaunchTemplateNetworkInterfaceArrayInput added in v1.19.0

type GetLaunchTemplateNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateNetworkInterfaceArrayOutput() GetLaunchTemplateNetworkInterfaceArrayOutput
	ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext(context.Context) GetLaunchTemplateNetworkInterfaceArrayOutput
}

type GetLaunchTemplateNetworkInterfaceArrayOutput added in v1.19.0

type GetLaunchTemplateNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateNetworkInterfaceArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutput added in v1.19.0

func (o GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutput() GetLaunchTemplateNetworkInterfaceArrayOutput

func (GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceArrayOutput

type GetLaunchTemplateNetworkInterfaceInput added in v1.19.0

type GetLaunchTemplateNetworkInterfaceInput interface {
	pulumi.Input

	ToGetLaunchTemplateNetworkInterfaceOutput() GetLaunchTemplateNetworkInterfaceOutput
	ToGetLaunchTemplateNetworkInterfaceOutputWithContext(context.Context) GetLaunchTemplateNetworkInterfaceOutput
}

type GetLaunchTemplateNetworkInterfaceOutput added in v1.19.0

type GetLaunchTemplateNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress added in v1.19.0

func (o GetLaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress() pulumi.BoolOutput

func (GetLaunchTemplateNetworkInterfaceOutput) DeleteOnTermination added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) Description added in v1.19.0

Description of the launch template.

func (GetLaunchTemplateNetworkInterfaceOutput) DeviceIndex added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) ElementType added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) Ipv4AddressCount added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) Ipv4Addresses added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) Ipv6AddressCount added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) Ipv6Addresses added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) PrivateIpAddress added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) SecurityGroups added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) SubnetId added in v1.19.0

func (GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutput added in v1.19.0

func (o GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutput() GetLaunchTemplateNetworkInterfaceOutput

func (GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutputWithContext added in v1.19.0

func (o GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceOutput

type GetLaunchTemplatePlacement added in v1.19.0

type GetLaunchTemplatePlacement struct {
	Affinity         string `pulumi:"affinity"`
	AvailabilityZone string `pulumi:"availabilityZone"`
	GroupName        string `pulumi:"groupName"`
	HostId           string `pulumi:"hostId"`
	SpreadDomain     string `pulumi:"spreadDomain"`
	Tenancy          string `pulumi:"tenancy"`
}

type GetLaunchTemplatePlacementArgs added in v1.19.0

type GetLaunchTemplatePlacementArgs struct {
	Affinity         pulumi.StringInput `pulumi:"affinity"`
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	GroupName        pulumi.StringInput `pulumi:"groupName"`
	HostId           pulumi.StringInput `pulumi:"hostId"`
	SpreadDomain     pulumi.StringInput `pulumi:"spreadDomain"`
	Tenancy          pulumi.StringInput `pulumi:"tenancy"`
}

func (GetLaunchTemplatePlacementArgs) ElementType added in v1.19.0

func (GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutput added in v1.19.0

func (i GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutput() GetLaunchTemplatePlacementOutput

func (GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutputWithContext added in v1.19.0

func (i GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementOutput

type GetLaunchTemplatePlacementArray added in v1.19.0

type GetLaunchTemplatePlacementArray []GetLaunchTemplatePlacementInput

func (GetLaunchTemplatePlacementArray) ElementType added in v1.19.0

func (GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutput added in v1.19.0

func (i GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutput() GetLaunchTemplatePlacementArrayOutput

func (GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementArrayOutput

type GetLaunchTemplatePlacementArrayInput added in v1.19.0

type GetLaunchTemplatePlacementArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplatePlacementArrayOutput() GetLaunchTemplatePlacementArrayOutput
	ToGetLaunchTemplatePlacementArrayOutputWithContext(context.Context) GetLaunchTemplatePlacementArrayOutput
}

type GetLaunchTemplatePlacementArrayOutput added in v1.19.0

type GetLaunchTemplatePlacementArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplatePlacementArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplatePlacementArrayOutput) Index added in v1.19.0

func (GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutput added in v1.19.0

func (o GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutput() GetLaunchTemplatePlacementArrayOutput

func (GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementArrayOutput

type GetLaunchTemplatePlacementInput added in v1.19.0

type GetLaunchTemplatePlacementInput interface {
	pulumi.Input

	ToGetLaunchTemplatePlacementOutput() GetLaunchTemplatePlacementOutput
	ToGetLaunchTemplatePlacementOutputWithContext(context.Context) GetLaunchTemplatePlacementOutput
}

type GetLaunchTemplatePlacementOutput added in v1.19.0

type GetLaunchTemplatePlacementOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplatePlacementOutput) Affinity added in v1.19.0

func (GetLaunchTemplatePlacementOutput) AvailabilityZone added in v1.19.0

func (GetLaunchTemplatePlacementOutput) ElementType added in v1.19.0

func (GetLaunchTemplatePlacementOutput) GroupName added in v1.19.0

func (GetLaunchTemplatePlacementOutput) HostId added in v1.19.0

func (GetLaunchTemplatePlacementOutput) SpreadDomain added in v1.19.0

func (GetLaunchTemplatePlacementOutput) Tenancy added in v1.19.0

func (GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutput added in v1.19.0

func (o GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutput() GetLaunchTemplatePlacementOutput

func (GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutputWithContext added in v1.19.0

func (o GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementOutput

type GetLaunchTemplateTagSpecification added in v1.19.0

type GetLaunchTemplateTagSpecification struct {
	ResourceType string `pulumi:"resourceType"`
	// (Optional) A mapping of tags to assign to the launch template.
	Tags map[string]interface{} `pulumi:"tags"`
}

type GetLaunchTemplateTagSpecificationArgs added in v1.19.0

type GetLaunchTemplateTagSpecificationArgs struct {
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// (Optional) A mapping of tags to assign to the launch template.
	Tags pulumi.MapInput `pulumi:"tags"`
}

func (GetLaunchTemplateTagSpecificationArgs) ElementType added in v1.19.0

func (GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutput added in v1.19.0

func (i GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutput() GetLaunchTemplateTagSpecificationOutput

func (GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutputWithContext added in v1.19.0

func (i GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationOutput

type GetLaunchTemplateTagSpecificationArray added in v1.19.0

type GetLaunchTemplateTagSpecificationArray []GetLaunchTemplateTagSpecificationInput

func (GetLaunchTemplateTagSpecificationArray) ElementType added in v1.19.0

func (GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutput added in v1.19.0

func (i GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutput() GetLaunchTemplateTagSpecificationArrayOutput

func (GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext added in v1.19.0

func (i GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationArrayOutput

type GetLaunchTemplateTagSpecificationArrayInput added in v1.19.0

type GetLaunchTemplateTagSpecificationArrayInput interface {
	pulumi.Input

	ToGetLaunchTemplateTagSpecificationArrayOutput() GetLaunchTemplateTagSpecificationArrayOutput
	ToGetLaunchTemplateTagSpecificationArrayOutputWithContext(context.Context) GetLaunchTemplateTagSpecificationArrayOutput
}

type GetLaunchTemplateTagSpecificationArrayOutput added in v1.19.0

type GetLaunchTemplateTagSpecificationArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateTagSpecificationArrayOutput) ElementType added in v1.19.0

func (GetLaunchTemplateTagSpecificationArrayOutput) Index added in v1.19.0

func (GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutput added in v1.19.0

func (o GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutput() GetLaunchTemplateTagSpecificationArrayOutput

func (GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext added in v1.19.0

func (o GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationArrayOutput

type GetLaunchTemplateTagSpecificationInput added in v1.19.0

type GetLaunchTemplateTagSpecificationInput interface {
	pulumi.Input

	ToGetLaunchTemplateTagSpecificationOutput() GetLaunchTemplateTagSpecificationOutput
	ToGetLaunchTemplateTagSpecificationOutputWithContext(context.Context) GetLaunchTemplateTagSpecificationOutput
}

type GetLaunchTemplateTagSpecificationOutput added in v1.19.0

type GetLaunchTemplateTagSpecificationOutput struct{ *pulumi.OutputState }

func (GetLaunchTemplateTagSpecificationOutput) ElementType added in v1.19.0

func (GetLaunchTemplateTagSpecificationOutput) ResourceType added in v1.19.0

func (GetLaunchTemplateTagSpecificationOutput) Tags added in v1.19.0

(Optional) A mapping of tags to assign to the launch template.

func (GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutput added in v1.19.0

func (o GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutput() GetLaunchTemplateTagSpecificationOutput

func (GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutputWithContext added in v1.19.0

func (o GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationOutput

type GetNatGatewayFilter added in v1.19.0

type GetNatGatewayFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNatGateways.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// An Nat Gateway will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetNatGatewayFilterArgs added in v1.19.0

type GetNatGatewayFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNatGateways.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// An Nat Gateway will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetNatGatewayFilterArgs) ElementType added in v1.19.0

func (GetNatGatewayFilterArgs) ElementType() reflect.Type

func (GetNatGatewayFilterArgs) ToGetNatGatewayFilterOutput added in v1.19.0

func (i GetNatGatewayFilterArgs) ToGetNatGatewayFilterOutput() GetNatGatewayFilterOutput

func (GetNatGatewayFilterArgs) ToGetNatGatewayFilterOutputWithContext added in v1.19.0

func (i GetNatGatewayFilterArgs) ToGetNatGatewayFilterOutputWithContext(ctx context.Context) GetNatGatewayFilterOutput

type GetNatGatewayFilterArray added in v1.19.0

type GetNatGatewayFilterArray []GetNatGatewayFilterInput

func (GetNatGatewayFilterArray) ElementType added in v1.19.0

func (GetNatGatewayFilterArray) ElementType() reflect.Type

func (GetNatGatewayFilterArray) ToGetNatGatewayFilterArrayOutput added in v1.19.0

func (i GetNatGatewayFilterArray) ToGetNatGatewayFilterArrayOutput() GetNatGatewayFilterArrayOutput

func (GetNatGatewayFilterArray) ToGetNatGatewayFilterArrayOutputWithContext added in v1.19.0

func (i GetNatGatewayFilterArray) ToGetNatGatewayFilterArrayOutputWithContext(ctx context.Context) GetNatGatewayFilterArrayOutput

type GetNatGatewayFilterArrayInput added in v1.19.0

type GetNatGatewayFilterArrayInput interface {
	pulumi.Input

	ToGetNatGatewayFilterArrayOutput() GetNatGatewayFilterArrayOutput
	ToGetNatGatewayFilterArrayOutputWithContext(context.Context) GetNatGatewayFilterArrayOutput
}

type GetNatGatewayFilterArrayOutput added in v1.19.0

type GetNatGatewayFilterArrayOutput struct{ *pulumi.OutputState }

func (GetNatGatewayFilterArrayOutput) ElementType added in v1.19.0

func (GetNatGatewayFilterArrayOutput) Index added in v1.19.0

func (GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutput added in v1.19.0

func (o GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutput() GetNatGatewayFilterArrayOutput

func (GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutputWithContext added in v1.19.0

func (o GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutputWithContext(ctx context.Context) GetNatGatewayFilterArrayOutput

type GetNatGatewayFilterInput added in v1.19.0

type GetNatGatewayFilterInput interface {
	pulumi.Input

	ToGetNatGatewayFilterOutput() GetNatGatewayFilterOutput
	ToGetNatGatewayFilterOutputWithContext(context.Context) GetNatGatewayFilterOutput
}

type GetNatGatewayFilterOutput added in v1.19.0

type GetNatGatewayFilterOutput struct{ *pulumi.OutputState }

func (GetNatGatewayFilterOutput) ElementType added in v1.19.0

func (GetNatGatewayFilterOutput) ElementType() reflect.Type

func (GetNatGatewayFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNatGateways.html).

func (GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutput added in v1.19.0

func (o GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutput() GetNatGatewayFilterOutput

func (GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutputWithContext added in v1.19.0

func (o GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutputWithContext(ctx context.Context) GetNatGatewayFilterOutput

func (GetNatGatewayFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. An Nat Gateway will be selected if any one of the given values matches.

type GetNetworkAclsArgs added in v0.14.2

type GetNetworkAclsArgs struct {
	// Custom filter block as described below.
	Filters []GetNetworkAclsFilter `pulumi:"filters"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired network ACLs.
	Tags map[string]interface{} `pulumi:"tags"`
	// The VPC ID that you want to filter from.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getNetworkAcls.

type GetNetworkAclsFilter added in v1.19.0

type GetNetworkAclsFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkAcls.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetNetworkAclsFilterArgs added in v1.19.0

type GetNetworkAclsFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkAcls.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetNetworkAclsFilterArgs) ElementType added in v1.19.0

func (GetNetworkAclsFilterArgs) ElementType() reflect.Type

func (GetNetworkAclsFilterArgs) ToGetNetworkAclsFilterOutput added in v1.19.0

func (i GetNetworkAclsFilterArgs) ToGetNetworkAclsFilterOutput() GetNetworkAclsFilterOutput

func (GetNetworkAclsFilterArgs) ToGetNetworkAclsFilterOutputWithContext added in v1.19.0

func (i GetNetworkAclsFilterArgs) ToGetNetworkAclsFilterOutputWithContext(ctx context.Context) GetNetworkAclsFilterOutput

type GetNetworkAclsFilterArray added in v1.19.0

type GetNetworkAclsFilterArray []GetNetworkAclsFilterInput

func (GetNetworkAclsFilterArray) ElementType added in v1.19.0

func (GetNetworkAclsFilterArray) ElementType() reflect.Type

func (GetNetworkAclsFilterArray) ToGetNetworkAclsFilterArrayOutput added in v1.19.0

func (i GetNetworkAclsFilterArray) ToGetNetworkAclsFilterArrayOutput() GetNetworkAclsFilterArrayOutput

func (GetNetworkAclsFilterArray) ToGetNetworkAclsFilterArrayOutputWithContext added in v1.19.0

func (i GetNetworkAclsFilterArray) ToGetNetworkAclsFilterArrayOutputWithContext(ctx context.Context) GetNetworkAclsFilterArrayOutput

type GetNetworkAclsFilterArrayInput added in v1.19.0

type GetNetworkAclsFilterArrayInput interface {
	pulumi.Input

	ToGetNetworkAclsFilterArrayOutput() GetNetworkAclsFilterArrayOutput
	ToGetNetworkAclsFilterArrayOutputWithContext(context.Context) GetNetworkAclsFilterArrayOutput
}

type GetNetworkAclsFilterArrayOutput added in v1.19.0

type GetNetworkAclsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkAclsFilterArrayOutput) ElementType added in v1.19.0

func (GetNetworkAclsFilterArrayOutput) Index added in v1.19.0

func (GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutput added in v1.19.0

func (o GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutput() GetNetworkAclsFilterArrayOutput

func (GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutputWithContext added in v1.19.0

func (o GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutputWithContext(ctx context.Context) GetNetworkAclsFilterArrayOutput

type GetNetworkAclsFilterInput added in v1.19.0

type GetNetworkAclsFilterInput interface {
	pulumi.Input

	ToGetNetworkAclsFilterOutput() GetNetworkAclsFilterOutput
	ToGetNetworkAclsFilterOutputWithContext(context.Context) GetNetworkAclsFilterOutput
}

type GetNetworkAclsFilterOutput added in v1.19.0

type GetNetworkAclsFilterOutput struct{ *pulumi.OutputState }

func (GetNetworkAclsFilterOutput) ElementType added in v1.19.0

func (GetNetworkAclsFilterOutput) ElementType() reflect.Type

func (GetNetworkAclsFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkAcls.html).

func (GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutput added in v1.19.0

func (o GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutput() GetNetworkAclsFilterOutput

func (GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutputWithContext added in v1.19.0

func (o GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutputWithContext(ctx context.Context) GetNetworkAclsFilterOutput

func (GetNetworkAclsFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.

type GetNetworkAclsResult added in v0.14.2

type GetNetworkAclsResult struct {
	Filters []GetNetworkAclsFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of all the network ACL ids found. This data source will fail if none are found.
	Ids   []string               `pulumi:"ids"`
	Tags  map[string]interface{} `pulumi:"tags"`
	VpcId *string                `pulumi:"vpcId"`
}

A collection of values returned by getNetworkAcls.

func GetNetworkAcls added in v1.19.0

func GetNetworkAcls(ctx *pulumi.Context, args *GetNetworkAclsArgs, opts ...pulumi.InvokeOption) (*GetNetworkAclsResult, error)

type GetNetworkInterfaceAssociation added in v1.19.0

type GetNetworkInterfaceAssociation struct {
	// The allocation ID.
	AllocationId string `pulumi:"allocationId"`
	// The association ID.
	AssociationId string `pulumi:"associationId"`
	// The ID of the Elastic IP address owner.
	IpOwnerId string `pulumi:"ipOwnerId"`
	// The public DNS name.
	PublicDnsName string `pulumi:"publicDnsName"`
	// The address of the Elastic IP address bound to the network interface.
	PublicIp string `pulumi:"publicIp"`
}

type GetNetworkInterfaceAssociationArgs added in v1.19.0

type GetNetworkInterfaceAssociationArgs struct {
	// The allocation ID.
	AllocationId pulumi.StringInput `pulumi:"allocationId"`
	// The association ID.
	AssociationId pulumi.StringInput `pulumi:"associationId"`
	// The ID of the Elastic IP address owner.
	IpOwnerId pulumi.StringInput `pulumi:"ipOwnerId"`
	// The public DNS name.
	PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"`
	// The address of the Elastic IP address bound to the network interface.
	PublicIp pulumi.StringInput `pulumi:"publicIp"`
}

func (GetNetworkInterfaceAssociationArgs) ElementType added in v1.19.0

func (GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutput added in v1.19.0

func (i GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutput() GetNetworkInterfaceAssociationOutput

func (GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutputWithContext added in v1.19.0

func (i GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationOutput

type GetNetworkInterfaceAssociationArray added in v1.19.0

type GetNetworkInterfaceAssociationArray []GetNetworkInterfaceAssociationInput

func (GetNetworkInterfaceAssociationArray) ElementType added in v1.19.0

func (GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutput added in v1.19.0

func (i GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutput() GetNetworkInterfaceAssociationArrayOutput

func (GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutputWithContext added in v1.19.0

func (i GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationArrayOutput

type GetNetworkInterfaceAssociationArrayInput added in v1.19.0

type GetNetworkInterfaceAssociationArrayInput interface {
	pulumi.Input

	ToGetNetworkInterfaceAssociationArrayOutput() GetNetworkInterfaceAssociationArrayOutput
	ToGetNetworkInterfaceAssociationArrayOutputWithContext(context.Context) GetNetworkInterfaceAssociationArrayOutput
}

type GetNetworkInterfaceAssociationArrayOutput added in v1.19.0

type GetNetworkInterfaceAssociationArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkInterfaceAssociationArrayOutput) ElementType added in v1.19.0

func (GetNetworkInterfaceAssociationArrayOutput) Index added in v1.19.0

func (GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutput added in v1.19.0

func (o GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutput() GetNetworkInterfaceAssociationArrayOutput

func (GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutputWithContext added in v1.19.0

func (o GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationArrayOutput

type GetNetworkInterfaceAssociationInput added in v1.19.0

type GetNetworkInterfaceAssociationInput interface {
	pulumi.Input

	ToGetNetworkInterfaceAssociationOutput() GetNetworkInterfaceAssociationOutput
	ToGetNetworkInterfaceAssociationOutputWithContext(context.Context) GetNetworkInterfaceAssociationOutput
}

type GetNetworkInterfaceAssociationOutput added in v1.19.0

type GetNetworkInterfaceAssociationOutput struct{ *pulumi.OutputState }

func (GetNetworkInterfaceAssociationOutput) AllocationId added in v1.19.0

The allocation ID.

func (GetNetworkInterfaceAssociationOutput) AssociationId added in v1.19.0

The association ID.

func (GetNetworkInterfaceAssociationOutput) ElementType added in v1.19.0

func (GetNetworkInterfaceAssociationOutput) IpOwnerId added in v1.19.0

The ID of the Elastic IP address owner.

func (GetNetworkInterfaceAssociationOutput) PublicDnsName added in v1.19.0

The public DNS name.

func (GetNetworkInterfaceAssociationOutput) PublicIp added in v1.19.0

The address of the Elastic IP address bound to the network interface.

func (GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutput added in v1.19.0

func (o GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutput() GetNetworkInterfaceAssociationOutput

func (GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutputWithContext added in v1.19.0

func (o GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationOutput

type GetNetworkInterfaceAttachmentType added in v1.19.0

type GetNetworkInterfaceAttachmentType struct {
	AttachmentId    string `pulumi:"attachmentId"`
	DeviceIndex     int    `pulumi:"deviceIndex"`
	InstanceId      string `pulumi:"instanceId"`
	InstanceOwnerId string `pulumi:"instanceOwnerId"`
}

type GetNetworkInterfaceAttachmentTypeArgs added in v1.19.0

type GetNetworkInterfaceAttachmentTypeArgs struct {
	AttachmentId    pulumi.StringInput `pulumi:"attachmentId"`
	DeviceIndex     pulumi.IntInput    `pulumi:"deviceIndex"`
	InstanceId      pulumi.StringInput `pulumi:"instanceId"`
	InstanceOwnerId pulumi.StringInput `pulumi:"instanceOwnerId"`
}

func (GetNetworkInterfaceAttachmentTypeArgs) ElementType added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutput added in v1.19.0

func (i GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutput() GetNetworkInterfaceAttachmentTypeOutput

func (GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutputWithContext added in v1.19.0

func (i GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeOutput

type GetNetworkInterfaceAttachmentTypeArray added in v1.19.0

type GetNetworkInterfaceAttachmentTypeArray []GetNetworkInterfaceAttachmentTypeInput

func (GetNetworkInterfaceAttachmentTypeArray) ElementType added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutput added in v1.19.0

func (i GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutput() GetNetworkInterfaceAttachmentTypeArrayOutput

func (GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext added in v1.19.0

func (i GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeArrayOutput

type GetNetworkInterfaceAttachmentTypeArrayInput added in v1.19.0

type GetNetworkInterfaceAttachmentTypeArrayInput interface {
	pulumi.Input

	ToGetNetworkInterfaceAttachmentTypeArrayOutput() GetNetworkInterfaceAttachmentTypeArrayOutput
	ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext(context.Context) GetNetworkInterfaceAttachmentTypeArrayOutput
}

type GetNetworkInterfaceAttachmentTypeArrayOutput added in v1.19.0

type GetNetworkInterfaceAttachmentTypeArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkInterfaceAttachmentTypeArrayOutput) ElementType added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeArrayOutput) Index added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutput added in v1.19.0

func (o GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutput() GetNetworkInterfaceAttachmentTypeArrayOutput

func (GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext added in v1.19.0

func (o GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeArrayOutput

type GetNetworkInterfaceAttachmentTypeInput added in v1.19.0

type GetNetworkInterfaceAttachmentTypeInput interface {
	pulumi.Input

	ToGetNetworkInterfaceAttachmentTypeOutput() GetNetworkInterfaceAttachmentTypeOutput
	ToGetNetworkInterfaceAttachmentTypeOutputWithContext(context.Context) GetNetworkInterfaceAttachmentTypeOutput
}

type GetNetworkInterfaceAttachmentTypeOutput added in v1.19.0

type GetNetworkInterfaceAttachmentTypeOutput struct{ *pulumi.OutputState }

func (GetNetworkInterfaceAttachmentTypeOutput) AttachmentId added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeOutput) DeviceIndex added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeOutput) ElementType added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeOutput) InstanceId added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeOutput) InstanceOwnerId added in v1.19.0

func (GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutput added in v1.19.0

func (o GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutput() GetNetworkInterfaceAttachmentTypeOutput

func (GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutputWithContext added in v1.19.0

func (o GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeOutput

type GetNetworkInterfaceFilter added in v1.19.0

type GetNetworkInterfaceFilter struct {
	Name   string   `pulumi:"name"`
	Values []string `pulumi:"values"`
}

type GetNetworkInterfaceFilterArgs added in v1.19.0

type GetNetworkInterfaceFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetNetworkInterfaceFilterArgs) ElementType added in v1.19.0

func (GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutput added in v1.19.0

func (i GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutput() GetNetworkInterfaceFilterOutput

func (GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutputWithContext added in v1.19.0

func (i GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterOutput

type GetNetworkInterfaceFilterArray added in v1.19.0

type GetNetworkInterfaceFilterArray []GetNetworkInterfaceFilterInput

func (GetNetworkInterfaceFilterArray) ElementType added in v1.19.0

func (GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutput added in v1.19.0

func (i GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutput() GetNetworkInterfaceFilterArrayOutput

func (GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutputWithContext added in v1.19.0

func (i GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterArrayOutput

type GetNetworkInterfaceFilterArrayInput added in v1.19.0

type GetNetworkInterfaceFilterArrayInput interface {
	pulumi.Input

	ToGetNetworkInterfaceFilterArrayOutput() GetNetworkInterfaceFilterArrayOutput
	ToGetNetworkInterfaceFilterArrayOutputWithContext(context.Context) GetNetworkInterfaceFilterArrayOutput
}

type GetNetworkInterfaceFilterArrayOutput added in v1.19.0

type GetNetworkInterfaceFilterArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkInterfaceFilterArrayOutput) ElementType added in v1.19.0

func (GetNetworkInterfaceFilterArrayOutput) Index added in v1.19.0

func (GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutput added in v1.19.0

func (o GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutput() GetNetworkInterfaceFilterArrayOutput

func (GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutputWithContext added in v1.19.0

func (o GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterArrayOutput

type GetNetworkInterfaceFilterInput added in v1.19.0

type GetNetworkInterfaceFilterInput interface {
	pulumi.Input

	ToGetNetworkInterfaceFilterOutput() GetNetworkInterfaceFilterOutput
	ToGetNetworkInterfaceFilterOutputWithContext(context.Context) GetNetworkInterfaceFilterOutput
}

type GetNetworkInterfaceFilterOutput added in v1.19.0

type GetNetworkInterfaceFilterOutput struct{ *pulumi.OutputState }

func (GetNetworkInterfaceFilterOutput) ElementType added in v1.19.0

func (GetNetworkInterfaceFilterOutput) Name added in v1.19.0

func (GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutput added in v1.19.0

func (o GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutput() GetNetworkInterfaceFilterOutput

func (GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutputWithContext added in v1.19.0

func (o GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterOutput

func (GetNetworkInterfaceFilterOutput) Values added in v1.19.0

type GetNetworkInterfacesArgs added in v0.15.1

type GetNetworkInterfacesArgs struct {
	// Custom filter block as described below.
	Filters []GetNetworkInterfacesFilter `pulumi:"filters"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired network interfaces.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getNetworkInterfaces.

type GetNetworkInterfacesFilter added in v1.19.0

type GetNetworkInterfacesFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInterfaces.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values []string `pulumi:"values"`
}

type GetNetworkInterfacesFilterArgs added in v1.19.0

type GetNetworkInterfacesFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInterfaces.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetNetworkInterfacesFilterArgs) ElementType added in v1.19.0

func (GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutput added in v1.19.0

func (i GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutput() GetNetworkInterfacesFilterOutput

func (GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutputWithContext added in v1.19.0

func (i GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterOutput

type GetNetworkInterfacesFilterArray added in v1.19.0

type GetNetworkInterfacesFilterArray []GetNetworkInterfacesFilterInput

func (GetNetworkInterfacesFilterArray) ElementType added in v1.19.0

func (GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutput added in v1.19.0

func (i GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutput() GetNetworkInterfacesFilterArrayOutput

func (GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutputWithContext added in v1.19.0

func (i GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterArrayOutput

type GetNetworkInterfacesFilterArrayInput added in v1.19.0

type GetNetworkInterfacesFilterArrayInput interface {
	pulumi.Input

	ToGetNetworkInterfacesFilterArrayOutput() GetNetworkInterfacesFilterArrayOutput
	ToGetNetworkInterfacesFilterArrayOutputWithContext(context.Context) GetNetworkInterfacesFilterArrayOutput
}

type GetNetworkInterfacesFilterArrayOutput added in v1.19.0

type GetNetworkInterfacesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkInterfacesFilterArrayOutput) ElementType added in v1.19.0

func (GetNetworkInterfacesFilterArrayOutput) Index added in v1.19.0

func (GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutput added in v1.19.0

func (o GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutput() GetNetworkInterfacesFilterArrayOutput

func (GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutputWithContext added in v1.19.0

func (o GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterArrayOutput

type GetNetworkInterfacesFilterInput added in v1.19.0

type GetNetworkInterfacesFilterInput interface {
	pulumi.Input

	ToGetNetworkInterfacesFilterOutput() GetNetworkInterfacesFilterOutput
	ToGetNetworkInterfacesFilterOutputWithContext(context.Context) GetNetworkInterfacesFilterOutput
}

type GetNetworkInterfacesFilterOutput added in v1.19.0

type GetNetworkInterfacesFilterOutput struct{ *pulumi.OutputState }

func (GetNetworkInterfacesFilterOutput) ElementType added in v1.19.0

func (GetNetworkInterfacesFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInterfaces.html).

func (GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutput added in v1.19.0

func (o GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutput() GetNetworkInterfacesFilterOutput

func (GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutputWithContext added in v1.19.0

func (o GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterOutput

func (GetNetworkInterfacesFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field.

type GetNetworkInterfacesResult added in v0.15.1

type GetNetworkInterfacesResult struct {
	Filters []GetNetworkInterfacesFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of all the network interface ids found. This data source will fail if none are found.
	Ids  []string               `pulumi:"ids"`
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getNetworkInterfaces.

func GetNetworkInterfaces added in v1.19.0

func GetNetworkInterfaces(ctx *pulumi.Context, args *GetNetworkInterfacesArgs, opts ...pulumi.InvokeOption) (*GetNetworkInterfacesResult, error)

type GetRouteTableAssociationType added in v1.19.0

type GetRouteTableAssociationType struct {
	// The id of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).
	GatewayId string `pulumi:"gatewayId"`
	// If the Association due to the Main Route Table.
	Main bool `pulumi:"main"`
	// The Association ID.
	RouteTableAssociationId string `pulumi:"routeTableAssociationId"`
	// The id of the specific Route Table to retrieve.
	RouteTableId string `pulumi:"routeTableId"`
	// The id of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
	SubnetId string `pulumi:"subnetId"`
}

type GetRouteTableAssociationTypeArgs added in v1.19.0

type GetRouteTableAssociationTypeArgs struct {
	// The id of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// If the Association due to the Main Route Table.
	Main pulumi.BoolInput `pulumi:"main"`
	// The Association ID.
	RouteTableAssociationId pulumi.StringInput `pulumi:"routeTableAssociationId"`
	// The id of the specific Route Table to retrieve.
	RouteTableId pulumi.StringInput `pulumi:"routeTableId"`
	// The id of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetRouteTableAssociationTypeArgs) ElementType added in v1.19.0

func (GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutput added in v1.19.0

func (i GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutput() GetRouteTableAssociationTypeOutput

func (GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutputWithContext added in v1.19.0

func (i GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeOutput

type GetRouteTableAssociationTypeArray added in v1.19.0

type GetRouteTableAssociationTypeArray []GetRouteTableAssociationTypeInput

func (GetRouteTableAssociationTypeArray) ElementType added in v1.19.0

func (GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutput added in v1.19.0

func (i GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutput() GetRouteTableAssociationTypeArrayOutput

func (GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutputWithContext added in v1.19.0

func (i GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeArrayOutput

type GetRouteTableAssociationTypeArrayInput added in v1.19.0

type GetRouteTableAssociationTypeArrayInput interface {
	pulumi.Input

	ToGetRouteTableAssociationTypeArrayOutput() GetRouteTableAssociationTypeArrayOutput
	ToGetRouteTableAssociationTypeArrayOutputWithContext(context.Context) GetRouteTableAssociationTypeArrayOutput
}

type GetRouteTableAssociationTypeArrayOutput added in v1.19.0

type GetRouteTableAssociationTypeArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTableAssociationTypeArrayOutput) ElementType added in v1.19.0

func (GetRouteTableAssociationTypeArrayOutput) Index added in v1.19.0

func (GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutput added in v1.19.0

func (o GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutput() GetRouteTableAssociationTypeArrayOutput

func (GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutputWithContext added in v1.19.0

func (o GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeArrayOutput

type GetRouteTableAssociationTypeInput added in v1.19.0

type GetRouteTableAssociationTypeInput interface {
	pulumi.Input

	ToGetRouteTableAssociationTypeOutput() GetRouteTableAssociationTypeOutput
	ToGetRouteTableAssociationTypeOutputWithContext(context.Context) GetRouteTableAssociationTypeOutput
}

type GetRouteTableAssociationTypeOutput added in v1.19.0

type GetRouteTableAssociationTypeOutput struct{ *pulumi.OutputState }

func (GetRouteTableAssociationTypeOutput) ElementType added in v1.19.0

func (GetRouteTableAssociationTypeOutput) GatewayId added in v1.19.0

The id of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).

func (GetRouteTableAssociationTypeOutput) Main added in v1.19.0

If the Association due to the Main Route Table.

func (GetRouteTableAssociationTypeOutput) RouteTableAssociationId added in v1.19.0

func (o GetRouteTableAssociationTypeOutput) RouteTableAssociationId() pulumi.StringOutput

The Association ID.

func (GetRouteTableAssociationTypeOutput) RouteTableId added in v1.19.0

The id of the specific Route Table to retrieve.

func (GetRouteTableAssociationTypeOutput) SubnetId added in v1.19.0

The id of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).

func (GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutput added in v1.19.0

func (o GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutput() GetRouteTableAssociationTypeOutput

func (GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutputWithContext added in v1.19.0

func (o GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeOutput

type GetRouteTableFilter added in v1.19.0

type GetRouteTableFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRouteTables.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A Route Table will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetRouteTableFilterArgs added in v1.19.0

type GetRouteTableFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRouteTables.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A Route Table will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRouteTableFilterArgs) ElementType added in v1.19.0

func (GetRouteTableFilterArgs) ElementType() reflect.Type

func (GetRouteTableFilterArgs) ToGetRouteTableFilterOutput added in v1.19.0

func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput

func (GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext added in v1.19.0

func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput

type GetRouteTableFilterArray added in v1.19.0

type GetRouteTableFilterArray []GetRouteTableFilterInput

func (GetRouteTableFilterArray) ElementType added in v1.19.0

func (GetRouteTableFilterArray) ElementType() reflect.Type

func (GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput added in v1.19.0

func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput

func (GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext added in v1.19.0

func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput

type GetRouteTableFilterArrayInput added in v1.19.0

type GetRouteTableFilterArrayInput interface {
	pulumi.Input

	ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
	ToGetRouteTableFilterArrayOutputWithContext(context.Context) GetRouteTableFilterArrayOutput
}

type GetRouteTableFilterArrayOutput added in v1.19.0

type GetRouteTableFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTableFilterArrayOutput) ElementType added in v1.19.0

func (GetRouteTableFilterArrayOutput) Index added in v1.19.0

func (GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput added in v1.19.0

func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput

func (GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext added in v1.19.0

func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput

type GetRouteTableFilterInput added in v1.19.0

type GetRouteTableFilterInput interface {
	pulumi.Input

	ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
	ToGetRouteTableFilterOutputWithContext(context.Context) GetRouteTableFilterOutput
}

type GetRouteTableFilterOutput added in v1.19.0

type GetRouteTableFilterOutput struct{ *pulumi.OutputState }

func (GetRouteTableFilterOutput) ElementType added in v1.19.0

func (GetRouteTableFilterOutput) ElementType() reflect.Type

func (GetRouteTableFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRouteTables.html).

func (GetRouteTableFilterOutput) ToGetRouteTableFilterOutput added in v1.19.0

func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput

func (GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext added in v1.19.0

func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput

func (GetRouteTableFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A Route Table will be selected if any one of the given values matches.

type GetRouteTableRoute added in v1.19.0

type GetRouteTableRoute struct {
	// The CIDR block of the route.
	CidrBlock string `pulumi:"cidrBlock"`
	// The ID of the Egress Only Internet Gateway.
	EgressOnlyGatewayId string `pulumi:"egressOnlyGatewayId"`
	// The id of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).
	GatewayId string `pulumi:"gatewayId"`
	// The EC2 instance ID.
	InstanceId string `pulumi:"instanceId"`
	// The IPv6 CIDR block of the route.
	Ipv6CidrBlock string `pulumi:"ipv6CidrBlock"`
	// The NAT Gateway ID.
	NatGatewayId string `pulumi:"natGatewayId"`
	// The ID of the elastic network interface (eni) to use.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// The EC2 Transit Gateway ID.
	TransitGatewayId string `pulumi:"transitGatewayId"`
	// The VPC Peering ID.
	VpcPeeringConnectionId string `pulumi:"vpcPeeringConnectionId"`
}

type GetRouteTableRouteArgs added in v1.19.0

type GetRouteTableRouteArgs struct {
	// The CIDR block of the route.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// The ID of the Egress Only Internet Gateway.
	EgressOnlyGatewayId pulumi.StringInput `pulumi:"egressOnlyGatewayId"`
	// The id of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).
	GatewayId pulumi.StringInput `pulumi:"gatewayId"`
	// The EC2 instance ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The IPv6 CIDR block of the route.
	Ipv6CidrBlock pulumi.StringInput `pulumi:"ipv6CidrBlock"`
	// The NAT Gateway ID.
	NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"`
	// The ID of the elastic network interface (eni) to use.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
	// The EC2 Transit Gateway ID.
	TransitGatewayId pulumi.StringInput `pulumi:"transitGatewayId"`
	// The VPC Peering ID.
	VpcPeeringConnectionId pulumi.StringInput `pulumi:"vpcPeeringConnectionId"`
}

func (GetRouteTableRouteArgs) ElementType added in v1.19.0

func (GetRouteTableRouteArgs) ElementType() reflect.Type

func (GetRouteTableRouteArgs) ToGetRouteTableRouteOutput added in v1.19.0

func (i GetRouteTableRouteArgs) ToGetRouteTableRouteOutput() GetRouteTableRouteOutput

func (GetRouteTableRouteArgs) ToGetRouteTableRouteOutputWithContext added in v1.19.0

func (i GetRouteTableRouteArgs) ToGetRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTableRouteOutput

type GetRouteTableRouteArray added in v1.19.0

type GetRouteTableRouteArray []GetRouteTableRouteInput

func (GetRouteTableRouteArray) ElementType added in v1.19.0

func (GetRouteTableRouteArray) ElementType() reflect.Type

func (GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutput added in v1.19.0

func (i GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput

func (GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutputWithContext added in v1.19.0

func (i GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRouteArrayOutput

type GetRouteTableRouteArrayInput added in v1.19.0

type GetRouteTableRouteArrayInput interface {
	pulumi.Input

	ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput
	ToGetRouteTableRouteArrayOutputWithContext(context.Context) GetRouteTableRouteArrayOutput
}

type GetRouteTableRouteArrayOutput added in v1.19.0

type GetRouteTableRouteArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTableRouteArrayOutput) ElementType added in v1.19.0

func (GetRouteTableRouteArrayOutput) Index added in v1.19.0

func (GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutput added in v1.19.0

func (o GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput

func (GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutputWithContext added in v1.19.0

func (o GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRouteArrayOutput

type GetRouteTableRouteInput added in v1.19.0

type GetRouteTableRouteInput interface {
	pulumi.Input

	ToGetRouteTableRouteOutput() GetRouteTableRouteOutput
	ToGetRouteTableRouteOutputWithContext(context.Context) GetRouteTableRouteOutput
}

type GetRouteTableRouteOutput added in v1.19.0

type GetRouteTableRouteOutput struct{ *pulumi.OutputState }

func (GetRouteTableRouteOutput) CidrBlock added in v1.19.0

The CIDR block of the route.

func (GetRouteTableRouteOutput) EgressOnlyGatewayId added in v1.19.0

func (o GetRouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringOutput

The ID of the Egress Only Internet Gateway.

func (GetRouteTableRouteOutput) ElementType added in v1.19.0

func (GetRouteTableRouteOutput) ElementType() reflect.Type

func (GetRouteTableRouteOutput) GatewayId added in v1.19.0

The id of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).

func (GetRouteTableRouteOutput) InstanceId added in v1.19.0

The EC2 instance ID.

func (GetRouteTableRouteOutput) Ipv6CidrBlock added in v1.19.0

func (o GetRouteTableRouteOutput) Ipv6CidrBlock() pulumi.StringOutput

The IPv6 CIDR block of the route.

func (GetRouteTableRouteOutput) NatGatewayId added in v1.19.0

func (o GetRouteTableRouteOutput) NatGatewayId() pulumi.StringOutput

The NAT Gateway ID.

func (GetRouteTableRouteOutput) NetworkInterfaceId added in v1.19.0

func (o GetRouteTableRouteOutput) NetworkInterfaceId() pulumi.StringOutput

The ID of the elastic network interface (eni) to use.

func (GetRouteTableRouteOutput) ToGetRouteTableRouteOutput added in v1.19.0

func (o GetRouteTableRouteOutput) ToGetRouteTableRouteOutput() GetRouteTableRouteOutput

func (GetRouteTableRouteOutput) ToGetRouteTableRouteOutputWithContext added in v1.19.0

func (o GetRouteTableRouteOutput) ToGetRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTableRouteOutput

func (GetRouteTableRouteOutput) TransitGatewayId added in v1.19.0

func (o GetRouteTableRouteOutput) TransitGatewayId() pulumi.StringOutput

The EC2 Transit Gateway ID.

func (GetRouteTableRouteOutput) VpcPeeringConnectionId added in v1.19.0

func (o GetRouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringOutput

The VPC Peering ID.

type GetRouteTablesArgs added in v0.14.2

type GetRouteTablesArgs struct {
	// Custom filter block as described below.
	Filters []GetRouteTablesFilter `pulumi:"filters"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired route tables.
	Tags map[string]interface{} `pulumi:"tags"`
	// The VPC ID that you want to filter from.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getRouteTables.

type GetRouteTablesFilter added in v1.19.0

type GetRouteTablesFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRouteTables.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A Route Table will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetRouteTablesFilterArgs added in v1.19.0

type GetRouteTablesFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRouteTables.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A Route Table will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRouteTablesFilterArgs) ElementType added in v1.19.0

func (GetRouteTablesFilterArgs) ElementType() reflect.Type

func (GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutput added in v1.19.0

func (i GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput

func (GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutputWithContext added in v1.19.0

func (i GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutputWithContext(ctx context.Context) GetRouteTablesFilterOutput

type GetRouteTablesFilterArray added in v1.19.0

type GetRouteTablesFilterArray []GetRouteTablesFilterInput

func (GetRouteTablesFilterArray) ElementType added in v1.19.0

func (GetRouteTablesFilterArray) ElementType() reflect.Type

func (GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutput added in v1.19.0

func (i GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput

func (GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutputWithContext added in v1.19.0

func (i GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetRouteTablesFilterArrayOutput

type GetRouteTablesFilterArrayInput added in v1.19.0

type GetRouteTablesFilterArrayInput interface {
	pulumi.Input

	ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput
	ToGetRouteTablesFilterArrayOutputWithContext(context.Context) GetRouteTablesFilterArrayOutput
}

type GetRouteTablesFilterArrayOutput added in v1.19.0

type GetRouteTablesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTablesFilterArrayOutput) ElementType added in v1.19.0

func (GetRouteTablesFilterArrayOutput) Index added in v1.19.0

func (GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutput added in v1.19.0

func (o GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput

func (GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutputWithContext added in v1.19.0

func (o GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetRouteTablesFilterArrayOutput

type GetRouteTablesFilterInput added in v1.19.0

type GetRouteTablesFilterInput interface {
	pulumi.Input

	ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput
	ToGetRouteTablesFilterOutputWithContext(context.Context) GetRouteTablesFilterOutput
}

type GetRouteTablesFilterOutput added in v1.19.0

type GetRouteTablesFilterOutput struct{ *pulumi.OutputState }

func (GetRouteTablesFilterOutput) ElementType added in v1.19.0

func (GetRouteTablesFilterOutput) ElementType() reflect.Type

func (GetRouteTablesFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRouteTables.html).

func (GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutput added in v1.19.0

func (o GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput

func (GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutputWithContext added in v1.19.0

func (o GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutputWithContext(ctx context.Context) GetRouteTablesFilterOutput

func (GetRouteTablesFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A Route Table will be selected if any one of the given values matches.

type GetRouteTablesResult added in v0.14.2

type GetRouteTablesResult struct {
	Filters []GetRouteTablesFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of all the route table ids found. This data source will fail if none are found.
	Ids   []string               `pulumi:"ids"`
	Tags  map[string]interface{} `pulumi:"tags"`
	VpcId *string                `pulumi:"vpcId"`
}

A collection of values returned by getRouteTables.

func GetRouteTables added in v1.19.0

func GetRouteTables(ctx *pulumi.Context, args *GetRouteTablesArgs, opts ...pulumi.InvokeOption) (*GetRouteTablesResult, error)

This resource can be useful for getting back a list of route table ids to be referenced elsewhere.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/route_tables.html.markdown.

type GetSecurityGroupFilter added in v1.19.0

type GetSecurityGroupFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A Security Group will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetSecurityGroupFilterArgs added in v1.19.0

type GetSecurityGroupFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A Security Group will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSecurityGroupFilterArgs) ElementType added in v1.19.0

func (GetSecurityGroupFilterArgs) ElementType() reflect.Type

func (GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutput added in v1.19.0

func (i GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput

func (GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutputWithContext added in v1.19.0

func (i GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutputWithContext(ctx context.Context) GetSecurityGroupFilterOutput

type GetSecurityGroupFilterArray added in v1.19.0

type GetSecurityGroupFilterArray []GetSecurityGroupFilterInput

func (GetSecurityGroupFilterArray) ElementType added in v1.19.0

func (GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutput added in v1.19.0

func (i GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput

func (GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutputWithContext added in v1.19.0

func (i GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupFilterArrayOutput

type GetSecurityGroupFilterArrayInput added in v1.19.0

type GetSecurityGroupFilterArrayInput interface {
	pulumi.Input

	ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput
	ToGetSecurityGroupFilterArrayOutputWithContext(context.Context) GetSecurityGroupFilterArrayOutput
}

type GetSecurityGroupFilterArrayOutput added in v1.19.0

type GetSecurityGroupFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupFilterArrayOutput) ElementType added in v1.19.0

func (GetSecurityGroupFilterArrayOutput) Index added in v1.19.0

func (GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutput added in v1.19.0

func (o GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput

func (GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutputWithContext added in v1.19.0

func (o GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupFilterArrayOutput

type GetSecurityGroupFilterInput added in v1.19.0

type GetSecurityGroupFilterInput interface {
	pulumi.Input

	ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput
	ToGetSecurityGroupFilterOutputWithContext(context.Context) GetSecurityGroupFilterOutput
}

type GetSecurityGroupFilterOutput added in v1.19.0

type GetSecurityGroupFilterOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupFilterOutput) ElementType added in v1.19.0

func (GetSecurityGroupFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html).

func (GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutput added in v1.19.0

func (o GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput

func (GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutputWithContext added in v1.19.0

func (o GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutputWithContext(ctx context.Context) GetSecurityGroupFilterOutput

func (GetSecurityGroupFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A Security Group will be selected if any one of the given values matches.

type GetSecurityGroupsArgs added in v0.14.2

type GetSecurityGroupsArgs struct {
	// One or more name/value pairs to use as filters. There are
	// several valid keys, for a full reference, check out
	// [describe-security-groups in the AWS CLI reference][1].
	Filters []GetSecurityGroupsFilter `pulumi:"filters"`
	// A mapping of tags, each pair of which must exactly match for
	// desired security groups.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getSecurityGroups.

type GetSecurityGroupsFilter added in v1.19.0

type GetSecurityGroupsFilter struct {
	Name   string   `pulumi:"name"`
	Values []string `pulumi:"values"`
}

type GetSecurityGroupsFilterArgs added in v1.19.0

type GetSecurityGroupsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSecurityGroupsFilterArgs) ElementType added in v1.19.0

func (GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutput added in v1.19.0

func (i GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput

func (GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutputWithContext added in v1.19.0

func (i GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutputWithContext(ctx context.Context) GetSecurityGroupsFilterOutput

type GetSecurityGroupsFilterArray added in v1.19.0

type GetSecurityGroupsFilterArray []GetSecurityGroupsFilterInput

func (GetSecurityGroupsFilterArray) ElementType added in v1.19.0

func (GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutput added in v1.19.0

func (i GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput

func (GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutputWithContext added in v1.19.0

func (i GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupsFilterArrayOutput

type GetSecurityGroupsFilterArrayInput added in v1.19.0

type GetSecurityGroupsFilterArrayInput interface {
	pulumi.Input

	ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput
	ToGetSecurityGroupsFilterArrayOutputWithContext(context.Context) GetSecurityGroupsFilterArrayOutput
}

type GetSecurityGroupsFilterArrayOutput added in v1.19.0

type GetSecurityGroupsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupsFilterArrayOutput) ElementType added in v1.19.0

func (GetSecurityGroupsFilterArrayOutput) Index added in v1.19.0

func (GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutput added in v1.19.0

func (o GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput

func (GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutputWithContext added in v1.19.0

func (o GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupsFilterArrayOutput

type GetSecurityGroupsFilterInput added in v1.19.0

type GetSecurityGroupsFilterInput interface {
	pulumi.Input

	ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput
	ToGetSecurityGroupsFilterOutputWithContext(context.Context) GetSecurityGroupsFilterOutput
}

type GetSecurityGroupsFilterOutput added in v1.19.0

type GetSecurityGroupsFilterOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupsFilterOutput) ElementType added in v1.19.0

func (GetSecurityGroupsFilterOutput) Name added in v1.19.0

func (GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutput added in v1.19.0

func (o GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput

func (GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutputWithContext added in v1.19.0

func (o GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutputWithContext(ctx context.Context) GetSecurityGroupsFilterOutput

func (GetSecurityGroupsFilterOutput) Values added in v1.19.0

type GetSecurityGroupsResult added in v0.14.2

type GetSecurityGroupsResult struct {
	Filters []GetSecurityGroupsFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// IDs of the matches security groups.
	Ids  []string               `pulumi:"ids"`
	Tags map[string]interface{} `pulumi:"tags"`
	// The VPC IDs of the matched security groups. The data source's tag or filter *will span VPCs*
	// unless the `vpc-id` filter is also used.
	VpcIds []string `pulumi:"vpcIds"`
}

A collection of values returned by getSecurityGroups.

func GetSecurityGroups added in v1.19.0

func GetSecurityGroups(ctx *pulumi.Context, args *GetSecurityGroupsArgs, opts ...pulumi.InvokeOption) (*GetSecurityGroupsResult, error)

Use this data source to get IDs and VPC membership of Security Groups that are created outside of this provider.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/security_groups.html.markdown.

type GetSubnetFilter added in v1.19.0

type GetSubnetFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
	// For example, if matching against tag `Name`, use:
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A subnet will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetSubnetFilterArgs added in v1.19.0

type GetSubnetFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
	// For example, if matching against tag `Name`, use:
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A subnet will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSubnetFilterArgs) ElementType added in v1.19.0

func (GetSubnetFilterArgs) ElementType() reflect.Type

func (GetSubnetFilterArgs) ToGetSubnetFilterOutput added in v1.19.0

func (i GetSubnetFilterArgs) ToGetSubnetFilterOutput() GetSubnetFilterOutput

func (GetSubnetFilterArgs) ToGetSubnetFilterOutputWithContext added in v1.19.0

func (i GetSubnetFilterArgs) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput

type GetSubnetFilterArray added in v1.19.0

type GetSubnetFilterArray []GetSubnetFilterInput

func (GetSubnetFilterArray) ElementType added in v1.19.0

func (GetSubnetFilterArray) ElementType() reflect.Type

func (GetSubnetFilterArray) ToGetSubnetFilterArrayOutput added in v1.19.0

func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput

func (GetSubnetFilterArray) ToGetSubnetFilterArrayOutputWithContext added in v1.19.0

func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput

type GetSubnetFilterArrayInput added in v1.19.0

type GetSubnetFilterArrayInput interface {
	pulumi.Input

	ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput
	ToGetSubnetFilterArrayOutputWithContext(context.Context) GetSubnetFilterArrayOutput
}

type GetSubnetFilterArrayOutput added in v1.19.0

type GetSubnetFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSubnetFilterArrayOutput) ElementType added in v1.19.0

func (GetSubnetFilterArrayOutput) ElementType() reflect.Type

func (GetSubnetFilterArrayOutput) Index added in v1.19.0

func (GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutput added in v1.19.0

func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput

func (GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutputWithContext added in v1.19.0

func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput

type GetSubnetFilterInput added in v1.19.0

type GetSubnetFilterInput interface {
	pulumi.Input

	ToGetSubnetFilterOutput() GetSubnetFilterOutput
	ToGetSubnetFilterOutputWithContext(context.Context) GetSubnetFilterOutput
}

type GetSubnetFilterOutput added in v1.19.0

type GetSubnetFilterOutput struct{ *pulumi.OutputState }

func (GetSubnetFilterOutput) ElementType added in v1.19.0

func (GetSubnetFilterOutput) ElementType() reflect.Type

func (GetSubnetFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html). For example, if matching against tag `Name`, use:

func (GetSubnetFilterOutput) ToGetSubnetFilterOutput added in v1.19.0

func (o GetSubnetFilterOutput) ToGetSubnetFilterOutput() GetSubnetFilterOutput

func (GetSubnetFilterOutput) ToGetSubnetFilterOutputWithContext added in v1.19.0

func (o GetSubnetFilterOutput) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput

func (GetSubnetFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A subnet will be selected if any one of the given values matches.

type GetSubnetIdsArgs

type GetSubnetIdsArgs struct {
	// Custom filter block as described below.
	Filters []GetSubnetIdsFilter `pulumi:"filters"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired subnets.
	Tags map[string]interface{} `pulumi:"tags"`
	// The VPC ID that you want to filter from.
	VpcId string `pulumi:"vpcId"`
}

A collection of arguments for invoking getSubnetIds.

type GetSubnetIdsFilter added in v1.19.0

type GetSubnetIdsFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
	// For example, if matching against tag `Name`, use:
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// Subnet IDs will be selected if any one of the given values match.
	Values []string `pulumi:"values"`
}

type GetSubnetIdsFilterArgs added in v1.19.0

type GetSubnetIdsFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
	// For example, if matching against tag `Name`, use:
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// Subnet IDs will be selected if any one of the given values match.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSubnetIdsFilterArgs) ElementType added in v1.19.0

func (GetSubnetIdsFilterArgs) ElementType() reflect.Type

func (GetSubnetIdsFilterArgs) ToGetSubnetIdsFilterOutput added in v1.19.0

func (i GetSubnetIdsFilterArgs) ToGetSubnetIdsFilterOutput() GetSubnetIdsFilterOutput

func (GetSubnetIdsFilterArgs) ToGetSubnetIdsFilterOutputWithContext added in v1.19.0

func (i GetSubnetIdsFilterArgs) ToGetSubnetIdsFilterOutputWithContext(ctx context.Context) GetSubnetIdsFilterOutput

type GetSubnetIdsFilterArray added in v1.19.0

type GetSubnetIdsFilterArray []GetSubnetIdsFilterInput

func (GetSubnetIdsFilterArray) ElementType added in v1.19.0

func (GetSubnetIdsFilterArray) ElementType() reflect.Type

func (GetSubnetIdsFilterArray) ToGetSubnetIdsFilterArrayOutput added in v1.19.0

func (i GetSubnetIdsFilterArray) ToGetSubnetIdsFilterArrayOutput() GetSubnetIdsFilterArrayOutput

func (GetSubnetIdsFilterArray) ToGetSubnetIdsFilterArrayOutputWithContext added in v1.19.0

func (i GetSubnetIdsFilterArray) ToGetSubnetIdsFilterArrayOutputWithContext(ctx context.Context) GetSubnetIdsFilterArrayOutput

type GetSubnetIdsFilterArrayInput added in v1.19.0

type GetSubnetIdsFilterArrayInput interface {
	pulumi.Input

	ToGetSubnetIdsFilterArrayOutput() GetSubnetIdsFilterArrayOutput
	ToGetSubnetIdsFilterArrayOutputWithContext(context.Context) GetSubnetIdsFilterArrayOutput
}

type GetSubnetIdsFilterArrayOutput added in v1.19.0

type GetSubnetIdsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSubnetIdsFilterArrayOutput) ElementType added in v1.19.0

func (GetSubnetIdsFilterArrayOutput) Index added in v1.19.0

func (GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutput added in v1.19.0

func (o GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutput() GetSubnetIdsFilterArrayOutput

func (GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutputWithContext added in v1.19.0

func (o GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutputWithContext(ctx context.Context) GetSubnetIdsFilterArrayOutput

type GetSubnetIdsFilterInput added in v1.19.0

type GetSubnetIdsFilterInput interface {
	pulumi.Input

	ToGetSubnetIdsFilterOutput() GetSubnetIdsFilterOutput
	ToGetSubnetIdsFilterOutputWithContext(context.Context) GetSubnetIdsFilterOutput
}

type GetSubnetIdsFilterOutput added in v1.19.0

type GetSubnetIdsFilterOutput struct{ *pulumi.OutputState }

func (GetSubnetIdsFilterOutput) ElementType added in v1.19.0

func (GetSubnetIdsFilterOutput) ElementType() reflect.Type

func (GetSubnetIdsFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html). For example, if matching against tag `Name`, use:

func (GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutput added in v1.19.0

func (o GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutput() GetSubnetIdsFilterOutput

func (GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutputWithContext added in v1.19.0

func (o GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutputWithContext(ctx context.Context) GetSubnetIdsFilterOutput

func (GetSubnetIdsFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. Subnet IDs will be selected if any one of the given values match.

type GetSubnetIdsResult

type GetSubnetIdsResult struct {
	Filters []GetSubnetIdsFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A set of all the subnet ids found. This data source will fail if none are found.
	Ids   []string               `pulumi:"ids"`
	Tags  map[string]interface{} `pulumi:"tags"`
	VpcId string                 `pulumi:"vpcId"`
}

A collection of values returned by getSubnetIds.

func GetSubnetIds added in v1.19.0

func GetSubnetIds(ctx *pulumi.Context, args *GetSubnetIdsArgs, opts ...pulumi.InvokeOption) (*GetSubnetIdsResult, error)

`ec2.getSubnetIds` provides a list of ids for a vpcId

This resource can be useful for getting back a set of subnet ids for a vpc.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/subnet_ids.html.markdown.

type GetVpcCidrBlockAssociation added in v1.19.0

type GetVpcCidrBlockAssociation struct {
	// The association ID for the the IPv4 CIDR block.
	AssociationId string `pulumi:"associationId"`
	// The cidr block of the desired VPC.
	CidrBlock string `pulumi:"cidrBlock"`
	// The current state of the desired VPC.
	// Can be either `"pending"` or `"available"`.
	State string `pulumi:"state"`
}

type GetVpcCidrBlockAssociationArgs added in v1.19.0

type GetVpcCidrBlockAssociationArgs struct {
	// The association ID for the the IPv4 CIDR block.
	AssociationId pulumi.StringInput `pulumi:"associationId"`
	// The cidr block of the desired VPC.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// The current state of the desired VPC.
	// Can be either `"pending"` or `"available"`.
	State pulumi.StringInput `pulumi:"state"`
}

func (GetVpcCidrBlockAssociationArgs) ElementType added in v1.19.0

func (GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutput added in v1.19.0

func (i GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutput() GetVpcCidrBlockAssociationOutput

func (GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutputWithContext added in v1.19.0

func (i GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationOutput

type GetVpcCidrBlockAssociationArray added in v1.19.0

type GetVpcCidrBlockAssociationArray []GetVpcCidrBlockAssociationInput

func (GetVpcCidrBlockAssociationArray) ElementType added in v1.19.0

func (GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutput added in v1.19.0

func (i GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutput() GetVpcCidrBlockAssociationArrayOutput

func (GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutputWithContext added in v1.19.0

func (i GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationArrayOutput

type GetVpcCidrBlockAssociationArrayInput added in v1.19.0

type GetVpcCidrBlockAssociationArrayInput interface {
	pulumi.Input

	ToGetVpcCidrBlockAssociationArrayOutput() GetVpcCidrBlockAssociationArrayOutput
	ToGetVpcCidrBlockAssociationArrayOutputWithContext(context.Context) GetVpcCidrBlockAssociationArrayOutput
}

type GetVpcCidrBlockAssociationArrayOutput added in v1.19.0

type GetVpcCidrBlockAssociationArrayOutput struct{ *pulumi.OutputState }

func (GetVpcCidrBlockAssociationArrayOutput) ElementType added in v1.19.0

func (GetVpcCidrBlockAssociationArrayOutput) Index added in v1.19.0

func (GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutput added in v1.19.0

func (o GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutput() GetVpcCidrBlockAssociationArrayOutput

func (GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutputWithContext added in v1.19.0

func (o GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationArrayOutput

type GetVpcCidrBlockAssociationInput added in v1.19.0

type GetVpcCidrBlockAssociationInput interface {
	pulumi.Input

	ToGetVpcCidrBlockAssociationOutput() GetVpcCidrBlockAssociationOutput
	ToGetVpcCidrBlockAssociationOutputWithContext(context.Context) GetVpcCidrBlockAssociationOutput
}

type GetVpcCidrBlockAssociationOutput added in v1.19.0

type GetVpcCidrBlockAssociationOutput struct{ *pulumi.OutputState }

func (GetVpcCidrBlockAssociationOutput) AssociationId added in v1.19.0

The association ID for the the IPv4 CIDR block.

func (GetVpcCidrBlockAssociationOutput) CidrBlock added in v1.19.0

The cidr block of the desired VPC.

func (GetVpcCidrBlockAssociationOutput) ElementType added in v1.19.0

func (GetVpcCidrBlockAssociationOutput) State added in v1.19.0

The current state of the desired VPC. Can be either `"pending"` or `"available"`.

func (GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutput added in v1.19.0

func (o GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutput() GetVpcCidrBlockAssociationOutput

func (GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutputWithContext added in v1.19.0

func (o GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationOutput

type GetVpcDhcpOptionsFilter added in v1.19.0

type GetVpcDhcpOptionsFilter struct {
	// The name of the field to filter.
	Name string `pulumi:"name"`
	// Set of values for filtering.
	Values []string `pulumi:"values"`
}

type GetVpcDhcpOptionsFilterArgs added in v1.19.0

type GetVpcDhcpOptionsFilterArgs struct {
	// The name of the field to filter.
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values for filtering.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpcDhcpOptionsFilterArgs) ElementType added in v1.19.0

func (GetVpcDhcpOptionsFilterArgs) ToGetVpcDhcpOptionsFilterOutput added in v1.19.0

func (i GetVpcDhcpOptionsFilterArgs) ToGetVpcDhcpOptionsFilterOutput() GetVpcDhcpOptionsFilterOutput

func (GetVpcDhcpOptionsFilterArgs) ToGetVpcDhcpOptionsFilterOutputWithContext added in v1.19.0

func (i GetVpcDhcpOptionsFilterArgs) ToGetVpcDhcpOptionsFilterOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterOutput

type GetVpcDhcpOptionsFilterArray added in v1.19.0

type GetVpcDhcpOptionsFilterArray []GetVpcDhcpOptionsFilterInput

func (GetVpcDhcpOptionsFilterArray) ElementType added in v1.19.0

func (GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutput added in v1.19.0

func (i GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutput() GetVpcDhcpOptionsFilterArrayOutput

func (GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutputWithContext added in v1.19.0

func (i GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterArrayOutput

type GetVpcDhcpOptionsFilterArrayInput added in v1.19.0

type GetVpcDhcpOptionsFilterArrayInput interface {
	pulumi.Input

	ToGetVpcDhcpOptionsFilterArrayOutput() GetVpcDhcpOptionsFilterArrayOutput
	ToGetVpcDhcpOptionsFilterArrayOutputWithContext(context.Context) GetVpcDhcpOptionsFilterArrayOutput
}

type GetVpcDhcpOptionsFilterArrayOutput added in v1.19.0

type GetVpcDhcpOptionsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcDhcpOptionsFilterArrayOutput) ElementType added in v1.19.0

func (GetVpcDhcpOptionsFilterArrayOutput) Index added in v1.19.0

func (GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutput added in v1.19.0

func (o GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutput() GetVpcDhcpOptionsFilterArrayOutput

func (GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutputWithContext added in v1.19.0

func (o GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterArrayOutput

type GetVpcDhcpOptionsFilterInput added in v1.19.0

type GetVpcDhcpOptionsFilterInput interface {
	pulumi.Input

	ToGetVpcDhcpOptionsFilterOutput() GetVpcDhcpOptionsFilterOutput
	ToGetVpcDhcpOptionsFilterOutputWithContext(context.Context) GetVpcDhcpOptionsFilterOutput
}

type GetVpcDhcpOptionsFilterOutput added in v1.19.0

type GetVpcDhcpOptionsFilterOutput struct{ *pulumi.OutputState }

func (GetVpcDhcpOptionsFilterOutput) ElementType added in v1.19.0

func (GetVpcDhcpOptionsFilterOutput) Name added in v1.19.0

The name of the field to filter.

func (GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutput added in v1.19.0

func (o GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutput() GetVpcDhcpOptionsFilterOutput

func (GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutputWithContext added in v1.19.0

func (o GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterOutput

func (GetVpcDhcpOptionsFilterOutput) Values added in v1.19.0

Set of values for filtering.

type GetVpcEndpointDnsEntry added in v1.19.0

type GetVpcEndpointDnsEntry struct {
	// The DNS name.
	DnsName string `pulumi:"dnsName"`
	// The ID of the private hosted zone.
	HostedZoneId string `pulumi:"hostedZoneId"`
}

type GetVpcEndpointDnsEntryArgs added in v1.19.0

type GetVpcEndpointDnsEntryArgs struct {
	// The DNS name.
	DnsName pulumi.StringInput `pulumi:"dnsName"`
	// The ID of the private hosted zone.
	HostedZoneId pulumi.StringInput `pulumi:"hostedZoneId"`
}

func (GetVpcEndpointDnsEntryArgs) ElementType added in v1.19.0

func (GetVpcEndpointDnsEntryArgs) ElementType() reflect.Type

func (GetVpcEndpointDnsEntryArgs) ToGetVpcEndpointDnsEntryOutput added in v1.19.0

func (i GetVpcEndpointDnsEntryArgs) ToGetVpcEndpointDnsEntryOutput() GetVpcEndpointDnsEntryOutput

func (GetVpcEndpointDnsEntryArgs) ToGetVpcEndpointDnsEntryOutputWithContext added in v1.19.0

func (i GetVpcEndpointDnsEntryArgs) ToGetVpcEndpointDnsEntryOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryOutput

type GetVpcEndpointDnsEntryArray added in v1.19.0

type GetVpcEndpointDnsEntryArray []GetVpcEndpointDnsEntryInput

func (GetVpcEndpointDnsEntryArray) ElementType added in v1.19.0

func (GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutput added in v1.19.0

func (i GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutput() GetVpcEndpointDnsEntryArrayOutput

func (GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutputWithContext added in v1.19.0

func (i GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryArrayOutput

type GetVpcEndpointDnsEntryArrayInput added in v1.19.0

type GetVpcEndpointDnsEntryArrayInput interface {
	pulumi.Input

	ToGetVpcEndpointDnsEntryArrayOutput() GetVpcEndpointDnsEntryArrayOutput
	ToGetVpcEndpointDnsEntryArrayOutputWithContext(context.Context) GetVpcEndpointDnsEntryArrayOutput
}

type GetVpcEndpointDnsEntryArrayOutput added in v1.19.0

type GetVpcEndpointDnsEntryArrayOutput struct{ *pulumi.OutputState }

func (GetVpcEndpointDnsEntryArrayOutput) ElementType added in v1.19.0

func (GetVpcEndpointDnsEntryArrayOutput) Index added in v1.19.0

func (GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutput added in v1.19.0

func (o GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutput() GetVpcEndpointDnsEntryArrayOutput

func (GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutputWithContext added in v1.19.0

func (o GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryArrayOutput

type GetVpcEndpointDnsEntryInput added in v1.19.0

type GetVpcEndpointDnsEntryInput interface {
	pulumi.Input

	ToGetVpcEndpointDnsEntryOutput() GetVpcEndpointDnsEntryOutput
	ToGetVpcEndpointDnsEntryOutputWithContext(context.Context) GetVpcEndpointDnsEntryOutput
}

type GetVpcEndpointDnsEntryOutput added in v1.19.0

type GetVpcEndpointDnsEntryOutput struct{ *pulumi.OutputState }

func (GetVpcEndpointDnsEntryOutput) DnsName added in v1.19.0

The DNS name.

func (GetVpcEndpointDnsEntryOutput) ElementType added in v1.19.0

func (GetVpcEndpointDnsEntryOutput) HostedZoneId added in v1.19.0

The ID of the private hosted zone.

func (GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutput added in v1.19.0

func (o GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutput() GetVpcEndpointDnsEntryOutput

func (GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutputWithContext added in v1.19.0

func (o GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryOutput

type GetVpcEndpointFilter added in v1.19.0

type GetVpcEndpointFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcPeeringConnections.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC Endpoint will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetVpcEndpointFilterArgs added in v1.19.0

type GetVpcEndpointFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcPeeringConnections.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC Endpoint will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpcEndpointFilterArgs) ElementType added in v1.19.0

func (GetVpcEndpointFilterArgs) ElementType() reflect.Type

func (GetVpcEndpointFilterArgs) ToGetVpcEndpointFilterOutput added in v1.19.0

func (i GetVpcEndpointFilterArgs) ToGetVpcEndpointFilterOutput() GetVpcEndpointFilterOutput

func (GetVpcEndpointFilterArgs) ToGetVpcEndpointFilterOutputWithContext added in v1.19.0

func (i GetVpcEndpointFilterArgs) ToGetVpcEndpointFilterOutputWithContext(ctx context.Context) GetVpcEndpointFilterOutput

type GetVpcEndpointFilterArray added in v1.19.0

type GetVpcEndpointFilterArray []GetVpcEndpointFilterInput

func (GetVpcEndpointFilterArray) ElementType added in v1.19.0

func (GetVpcEndpointFilterArray) ElementType() reflect.Type

func (GetVpcEndpointFilterArray) ToGetVpcEndpointFilterArrayOutput added in v1.19.0

func (i GetVpcEndpointFilterArray) ToGetVpcEndpointFilterArrayOutput() GetVpcEndpointFilterArrayOutput

func (GetVpcEndpointFilterArray) ToGetVpcEndpointFilterArrayOutputWithContext added in v1.19.0

func (i GetVpcEndpointFilterArray) ToGetVpcEndpointFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointFilterArrayOutput

type GetVpcEndpointFilterArrayInput added in v1.19.0

type GetVpcEndpointFilterArrayInput interface {
	pulumi.Input

	ToGetVpcEndpointFilterArrayOutput() GetVpcEndpointFilterArrayOutput
	ToGetVpcEndpointFilterArrayOutputWithContext(context.Context) GetVpcEndpointFilterArrayOutput
}

type GetVpcEndpointFilterArrayOutput added in v1.19.0

type GetVpcEndpointFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcEndpointFilterArrayOutput) ElementType added in v1.19.0

func (GetVpcEndpointFilterArrayOutput) Index added in v1.19.0

func (GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutput added in v1.19.0

func (o GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutput() GetVpcEndpointFilterArrayOutput

func (GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutputWithContext added in v1.19.0

func (o GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointFilterArrayOutput

type GetVpcEndpointFilterInput added in v1.19.0

type GetVpcEndpointFilterInput interface {
	pulumi.Input

	ToGetVpcEndpointFilterOutput() GetVpcEndpointFilterOutput
	ToGetVpcEndpointFilterOutputWithContext(context.Context) GetVpcEndpointFilterOutput
}

type GetVpcEndpointFilterOutput added in v1.19.0

type GetVpcEndpointFilterOutput struct{ *pulumi.OutputState }

func (GetVpcEndpointFilterOutput) ElementType added in v1.19.0

func (GetVpcEndpointFilterOutput) ElementType() reflect.Type

func (GetVpcEndpointFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcPeeringConnections.html).

func (GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutput added in v1.19.0

func (o GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutput() GetVpcEndpointFilterOutput

func (GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutputWithContext added in v1.19.0

func (o GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutputWithContext(ctx context.Context) GetVpcEndpointFilterOutput

func (GetVpcEndpointFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A VPC Endpoint will be selected if any one of the given values matches.

type GetVpcFilter added in v1.19.0

type GetVpcFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetVpcFilterArgs added in v1.19.0

type GetVpcFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpcFilterArgs) ElementType added in v1.19.0

func (GetVpcFilterArgs) ElementType() reflect.Type

func (GetVpcFilterArgs) ToGetVpcFilterOutput added in v1.19.0

func (i GetVpcFilterArgs) ToGetVpcFilterOutput() GetVpcFilterOutput

func (GetVpcFilterArgs) ToGetVpcFilterOutputWithContext added in v1.19.0

func (i GetVpcFilterArgs) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput

type GetVpcFilterArray added in v1.19.0

type GetVpcFilterArray []GetVpcFilterInput

func (GetVpcFilterArray) ElementType added in v1.19.0

func (GetVpcFilterArray) ElementType() reflect.Type

func (GetVpcFilterArray) ToGetVpcFilterArrayOutput added in v1.19.0

func (i GetVpcFilterArray) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput

func (GetVpcFilterArray) ToGetVpcFilterArrayOutputWithContext added in v1.19.0

func (i GetVpcFilterArray) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput

type GetVpcFilterArrayInput added in v1.19.0

type GetVpcFilterArrayInput interface {
	pulumi.Input

	ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput
	ToGetVpcFilterArrayOutputWithContext(context.Context) GetVpcFilterArrayOutput
}

type GetVpcFilterArrayOutput added in v1.19.0

type GetVpcFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcFilterArrayOutput) ElementType added in v1.19.0

func (GetVpcFilterArrayOutput) ElementType() reflect.Type

func (GetVpcFilterArrayOutput) Index added in v1.19.0

func (GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput added in v1.19.0

func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput

func (GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext added in v1.19.0

func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput

type GetVpcFilterInput added in v1.19.0

type GetVpcFilterInput interface {
	pulumi.Input

	ToGetVpcFilterOutput() GetVpcFilterOutput
	ToGetVpcFilterOutputWithContext(context.Context) GetVpcFilterOutput
}

type GetVpcFilterOutput added in v1.19.0

type GetVpcFilterOutput struct{ *pulumi.OutputState }

func (GetVpcFilterOutput) ElementType added in v1.19.0

func (GetVpcFilterOutput) ElementType() reflect.Type

func (GetVpcFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html).

func (GetVpcFilterOutput) ToGetVpcFilterOutput added in v1.19.0

func (o GetVpcFilterOutput) ToGetVpcFilterOutput() GetVpcFilterOutput

func (GetVpcFilterOutput) ToGetVpcFilterOutputWithContext added in v1.19.0

func (o GetVpcFilterOutput) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput

func (GetVpcFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.

type GetVpcPeeringConnectionFilter added in v1.19.0

type GetVpcPeeringConnectionFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcPeeringConnections.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC Peering Connection will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetVpcPeeringConnectionFilterArgs added in v1.19.0

type GetVpcPeeringConnectionFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcPeeringConnections.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC Peering Connection will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpcPeeringConnectionFilterArgs) ElementType added in v1.19.0

func (GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutput added in v1.19.0

func (i GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutput() GetVpcPeeringConnectionFilterOutput

func (GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutputWithContext added in v1.19.0

func (i GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterOutput

type GetVpcPeeringConnectionFilterArray added in v1.19.0

type GetVpcPeeringConnectionFilterArray []GetVpcPeeringConnectionFilterInput

func (GetVpcPeeringConnectionFilterArray) ElementType added in v1.19.0

func (GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutput added in v1.19.0

func (i GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutput() GetVpcPeeringConnectionFilterArrayOutput

func (GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutputWithContext added in v1.19.0

func (i GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterArrayOutput

type GetVpcPeeringConnectionFilterArrayInput added in v1.19.0

type GetVpcPeeringConnectionFilterArrayInput interface {
	pulumi.Input

	ToGetVpcPeeringConnectionFilterArrayOutput() GetVpcPeeringConnectionFilterArrayOutput
	ToGetVpcPeeringConnectionFilterArrayOutputWithContext(context.Context) GetVpcPeeringConnectionFilterArrayOutput
}

type GetVpcPeeringConnectionFilterArrayOutput added in v1.19.0

type GetVpcPeeringConnectionFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcPeeringConnectionFilterArrayOutput) ElementType added in v1.19.0

func (GetVpcPeeringConnectionFilterArrayOutput) Index added in v1.19.0

func (GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutput added in v1.19.0

func (o GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutput() GetVpcPeeringConnectionFilterArrayOutput

func (GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutputWithContext added in v1.19.0

func (o GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterArrayOutput

type GetVpcPeeringConnectionFilterInput added in v1.19.0

type GetVpcPeeringConnectionFilterInput interface {
	pulumi.Input

	ToGetVpcPeeringConnectionFilterOutput() GetVpcPeeringConnectionFilterOutput
	ToGetVpcPeeringConnectionFilterOutputWithContext(context.Context) GetVpcPeeringConnectionFilterOutput
}

type GetVpcPeeringConnectionFilterOutput added in v1.19.0

type GetVpcPeeringConnectionFilterOutput struct{ *pulumi.OutputState }

func (GetVpcPeeringConnectionFilterOutput) ElementType added in v1.19.0

func (GetVpcPeeringConnectionFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcPeeringConnections.html).

func (GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutput added in v1.19.0

func (o GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutput() GetVpcPeeringConnectionFilterOutput

func (GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutputWithContext added in v1.19.0

func (o GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterOutput

func (GetVpcPeeringConnectionFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A VPC Peering Connection will be selected if any one of the given values matches.

type GetVpcsArgs added in v0.14.2

type GetVpcsArgs struct {
	// Custom filter block as described below.
	Filters []GetVpcsFilter `pulumi:"filters"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired vpcs.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getVpcs.

type GetVpcsFilter added in v1.19.0

type GetVpcsFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetVpcsFilterArgs added in v1.19.0

type GetVpcsFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPC will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpcsFilterArgs) ElementType added in v1.19.0

func (GetVpcsFilterArgs) ElementType() reflect.Type

func (GetVpcsFilterArgs) ToGetVpcsFilterOutput added in v1.19.0

func (i GetVpcsFilterArgs) ToGetVpcsFilterOutput() GetVpcsFilterOutput

func (GetVpcsFilterArgs) ToGetVpcsFilterOutputWithContext added in v1.19.0

func (i GetVpcsFilterArgs) ToGetVpcsFilterOutputWithContext(ctx context.Context) GetVpcsFilterOutput

type GetVpcsFilterArray added in v1.19.0

type GetVpcsFilterArray []GetVpcsFilterInput

func (GetVpcsFilterArray) ElementType added in v1.19.0

func (GetVpcsFilterArray) ElementType() reflect.Type

func (GetVpcsFilterArray) ToGetVpcsFilterArrayOutput added in v1.19.0

func (i GetVpcsFilterArray) ToGetVpcsFilterArrayOutput() GetVpcsFilterArrayOutput

func (GetVpcsFilterArray) ToGetVpcsFilterArrayOutputWithContext added in v1.19.0

func (i GetVpcsFilterArray) ToGetVpcsFilterArrayOutputWithContext(ctx context.Context) GetVpcsFilterArrayOutput

type GetVpcsFilterArrayInput added in v1.19.0

type GetVpcsFilterArrayInput interface {
	pulumi.Input

	ToGetVpcsFilterArrayOutput() GetVpcsFilterArrayOutput
	ToGetVpcsFilterArrayOutputWithContext(context.Context) GetVpcsFilterArrayOutput
}

type GetVpcsFilterArrayOutput added in v1.19.0

type GetVpcsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcsFilterArrayOutput) ElementType added in v1.19.0

func (GetVpcsFilterArrayOutput) ElementType() reflect.Type

func (GetVpcsFilterArrayOutput) Index added in v1.19.0

func (GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutput added in v1.19.0

func (o GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutput() GetVpcsFilterArrayOutput

func (GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutputWithContext added in v1.19.0

func (o GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutputWithContext(ctx context.Context) GetVpcsFilterArrayOutput

type GetVpcsFilterInput added in v1.19.0

type GetVpcsFilterInput interface {
	pulumi.Input

	ToGetVpcsFilterOutput() GetVpcsFilterOutput
	ToGetVpcsFilterOutputWithContext(context.Context) GetVpcsFilterOutput
}

type GetVpcsFilterOutput added in v1.19.0

type GetVpcsFilterOutput struct{ *pulumi.OutputState }

func (GetVpcsFilterOutput) ElementType added in v1.19.0

func (GetVpcsFilterOutput) ElementType() reflect.Type

func (GetVpcsFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html).

func (GetVpcsFilterOutput) ToGetVpcsFilterOutput added in v1.19.0

func (o GetVpcsFilterOutput) ToGetVpcsFilterOutput() GetVpcsFilterOutput

func (GetVpcsFilterOutput) ToGetVpcsFilterOutputWithContext added in v1.19.0

func (o GetVpcsFilterOutput) ToGetVpcsFilterOutputWithContext(ctx context.Context) GetVpcsFilterOutput

func (GetVpcsFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.

type GetVpcsResult added in v0.14.2

type GetVpcsResult struct {
	Filters []GetVpcsFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of all the VPC Ids found. This data source will fail if none are found.
	Ids  []string               `pulumi:"ids"`
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getVpcs.

func GetVpcs added in v1.19.0

func GetVpcs(ctx *pulumi.Context, args *GetVpcsArgs, opts ...pulumi.InvokeOption) (*GetVpcsResult, error)

This resource can be useful for getting back a list of VPC Ids for a region.

The following example retrieves a list of VPC Ids with a custom tag of `service` set to a value of "production".

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/vpcs.html.markdown.

type GetVpnGatewayFilter added in v1.19.0

type GetVpnGatewayFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnGateways.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPN Gateway will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetVpnGatewayFilterArgs added in v1.19.0

type GetVpnGatewayFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnGateways.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// A VPN Gateway will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpnGatewayFilterArgs) ElementType added in v1.19.0

func (GetVpnGatewayFilterArgs) ElementType() reflect.Type

func (GetVpnGatewayFilterArgs) ToGetVpnGatewayFilterOutput added in v1.19.0

func (i GetVpnGatewayFilterArgs) ToGetVpnGatewayFilterOutput() GetVpnGatewayFilterOutput

func (GetVpnGatewayFilterArgs) ToGetVpnGatewayFilterOutputWithContext added in v1.19.0

func (i GetVpnGatewayFilterArgs) ToGetVpnGatewayFilterOutputWithContext(ctx context.Context) GetVpnGatewayFilterOutput

type GetVpnGatewayFilterArray added in v1.19.0

type GetVpnGatewayFilterArray []GetVpnGatewayFilterInput

func (GetVpnGatewayFilterArray) ElementType added in v1.19.0

func (GetVpnGatewayFilterArray) ElementType() reflect.Type

func (GetVpnGatewayFilterArray) ToGetVpnGatewayFilterArrayOutput added in v1.19.0

func (i GetVpnGatewayFilterArray) ToGetVpnGatewayFilterArrayOutput() GetVpnGatewayFilterArrayOutput

func (GetVpnGatewayFilterArray) ToGetVpnGatewayFilterArrayOutputWithContext added in v1.19.0

func (i GetVpnGatewayFilterArray) ToGetVpnGatewayFilterArrayOutputWithContext(ctx context.Context) GetVpnGatewayFilterArrayOutput

type GetVpnGatewayFilterArrayInput added in v1.19.0

type GetVpnGatewayFilterArrayInput interface {
	pulumi.Input

	ToGetVpnGatewayFilterArrayOutput() GetVpnGatewayFilterArrayOutput
	ToGetVpnGatewayFilterArrayOutputWithContext(context.Context) GetVpnGatewayFilterArrayOutput
}

type GetVpnGatewayFilterArrayOutput added in v1.19.0

type GetVpnGatewayFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpnGatewayFilterArrayOutput) ElementType added in v1.19.0

func (GetVpnGatewayFilterArrayOutput) Index added in v1.19.0

func (GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutput added in v1.19.0

func (o GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutput() GetVpnGatewayFilterArrayOutput

func (GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutputWithContext added in v1.19.0

func (o GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutputWithContext(ctx context.Context) GetVpnGatewayFilterArrayOutput

type GetVpnGatewayFilterInput added in v1.19.0

type GetVpnGatewayFilterInput interface {
	pulumi.Input

	ToGetVpnGatewayFilterOutput() GetVpnGatewayFilterOutput
	ToGetVpnGatewayFilterOutputWithContext(context.Context) GetVpnGatewayFilterOutput
}

type GetVpnGatewayFilterOutput added in v1.19.0

type GetVpnGatewayFilterOutput struct{ *pulumi.OutputState }

func (GetVpnGatewayFilterOutput) ElementType added in v1.19.0

func (GetVpnGatewayFilterOutput) ElementType() reflect.Type

func (GetVpnGatewayFilterOutput) Name added in v1.19.0

The name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnGateways.html).

func (GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutput added in v1.19.0

func (o GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutput() GetVpnGatewayFilterOutput

func (GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutputWithContext added in v1.19.0

func (o GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutputWithContext(ctx context.Context) GetVpnGatewayFilterOutput

func (GetVpnGatewayFilterOutput) Values added in v1.19.0

Set of values that are accepted for the given field. A VPN Gateway will be selected if any one of the given values matches.

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// The AMI to use for the instance.
	Ami pulumi.StringOutput `pulumi:"ami"`
	// The ARN of the instance.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Associate a public ip address with an instance in a VPC.  Boolean value.
	AssociatePublicIpAddress pulumi.BoolOutput `pulumi:"associatePublicIpAddress"`
	// The AZ to start the instance in.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// Sets the number of CPU cores for an instance. This option is
	// only supported on creation of instance type that support CPU Options
	// [CPU Cores and Threads Per CPU Core Per Instance Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#cpu-options-supported-instances-values) - specifying this option for unsupported instance types will return an error from the EC2 API.
	CpuCoreCount pulumi.IntOutput `pulumi:"cpuCoreCount"`
	// If set to to 1, hyperthreading is disabled on the launched instance. Defaults to 2 if not set. See [Optimizing CPU Options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) for more information.
	CpuThreadsPerCore pulumi.IntOutput `pulumi:"cpuThreadsPerCore"`
	// Customize the credit specification of the instance. See Credit Specification below for more details.
	CreditSpecification InstanceCreditSpecificationPtrOutput `pulumi:"creditSpecification"`
	// If true, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrOutput `pulumi:"disableApiTermination"`
	// Additional EBS block devices to attach to the
	// instance.  Block device configurations only apply on resource creation. See Block Devices below for details on attributes and drift detection.
	EbsBlockDevices InstanceEbsBlockDeviceArrayOutput `pulumi:"ebsBlockDevices"`
	// If true, the launched EC2 instance will be EBS-optimized.
	// Note that if this is not set on an instance type that is optimized by default then
	// this will show as disabled but if the instance type is optimized by default then
	// there is no need to set this and there is no effect to disabling it.
	// See the [EBS Optimized section](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) of the AWS User Guide for more information.
	EbsOptimized pulumi.BoolPtrOutput `pulumi:"ebsOptimized"`
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices InstanceEphemeralBlockDeviceArrayOutput `pulumi:"ephemeralBlockDevices"`
	// If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the `passwordData` attribute. See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	GetPasswordData pulumi.BoolPtrOutput `pulumi:"getPasswordData"`
	// The Id of a dedicated host that the instance will be assigned to. Use when an instance is to be launched on a specific dedicated host.
	HostId pulumi.StringOutput `pulumi:"hostId"`
	// The IAM Instance Profile to
	// launch the instance with. Specified as the name of the Instance Profile. Ensure your credentials have the correct permission to assign the instance profile according to the [EC2 documentation](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html#roles-usingrole-ec2instance-permissions), notably `iam:PassRole`.
	// * `ipv6AddressCount`- (Optional) A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
	IamInstanceProfile pulumi.StringPtrOutput `pulumi:"iamInstanceProfile"`
	// Shutdown behavior for the
	// instance. Amazon defaults this to `stop` for EBS-backed instances and
	// `terminate` for instance-store instances. Cannot be set on instance-store
	// instances. See [Shutdown Behavior](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingInstanceInitiatedShutdownBehavior) for more information.
	InstanceInitiatedShutdownBehavior pulumi.StringPtrOutput `pulumi:"instanceInitiatedShutdownBehavior"`
	// The state of the instance. One of: `pending`, `running`, `shutting-down`, `terminated`, `stopping`, `stopped`. See [Instance Lifecycle](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) for more information.
	InstanceState pulumi.StringOutput `pulumi:"instanceState"`
	// The type of instance to start. Updates to this field will trigger a stop/start of the EC2 instance.
	InstanceType     pulumi.StringOutput `pulumi:"instanceType"`
	Ipv6AddressCount pulumi.IntOutput    `pulumi:"ipv6AddressCount"`
	// Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface
	Ipv6Addresses pulumi.StringArrayOutput `pulumi:"ipv6Addresses"`
	// The key name of the Key Pair to use for the instance; which can be managed using the `ec2.KeyPair` resource.
	KeyName pulumi.StringOutput `pulumi:"keyName"`
	// If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0)
	Monitoring pulumi.BoolPtrOutput `pulumi:"monitoring"`
	// Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
	NetworkInterfaces InstanceNetworkInterfaceArrayOutput `pulumi:"networkInterfaces"`
	// Base-64 encoded encrypted password data for the instance.
	// Useful for getting the administrator password for instances running Microsoft Windows.
	// This attribute is only exported if `getPasswordData` is true.
	// Note that this encrypted value will be stored in the state file, as with all exported attributes.
	// See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	PasswordData pulumi.StringOutput `pulumi:"passwordData"`
	// The Placement Group to start the instance in.
	PlacementGroup pulumi.StringOutput `pulumi:"placementGroup"`
	// The ID of the instance's primary network interface.
	PrimaryNetworkInterfaceId pulumi.StringOutput `pulumi:"primaryNetworkInterfaceId"`
	// The private DNS name assigned to the instance. Can only be
	// used inside the Amazon EC2, and only available if you've enabled DNS hostnames
	// for your VPC
	PrivateDns pulumi.StringOutput `pulumi:"privateDns"`
	// Private IP address to associate with the
	// instance in a VPC.
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// The public DNS name assigned to the instance. For EC2-VPC, this
	// is only available if you've enabled DNS hostnames for your VPC
	PublicDns pulumi.StringOutput `pulumi:"publicDns"`
	// The public IP address assigned to the instance, if applicable. **NOTE**: If you are using an [`ec2.Eip`](https://www.terraform.io/docs/providers/aws/r/eip.html) with your instance, you should refer to the EIP's address directly and not use `publicIp`, as this field will change after the EIP is attached.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice InstanceRootBlockDeviceOutput `pulumi:"rootBlockDevice"`
	// A list of security group names (EC2-Classic) or IDs (default VPC) to associate with.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// Controls if traffic is routed to the instance when
	// the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
	SourceDestCheck pulumi.BoolPtrOutput `pulumi:"sourceDestCheck"`
	// The VPC Subnet ID to launch in.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the import-instance command.
	Tenancy pulumi.StringOutput `pulumi:"tenancy"`
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrOutput `pulumi:"userDataBase64"`
	// A mapping of tags to assign to the devices created by the instance at launch time.
	VolumeTags pulumi.MapOutput `pulumi:"volumeTags"`
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"`
}

Provides an EC2 instance resource. This allows instances to be created, updated, and deleted. Instances also support [provisioning](https://www.terraform.io/docs/provisioners/index.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/instance.html.markdown.

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

type InstanceArgs

type InstanceArgs struct {
	// The AMI to use for the instance.
	Ami pulumi.StringInput
	// Associate a public ip address with an instance in a VPC.  Boolean value.
	AssociatePublicIpAddress pulumi.BoolPtrInput
	// The AZ to start the instance in.
	AvailabilityZone pulumi.StringPtrInput
	// Sets the number of CPU cores for an instance. This option is
	// only supported on creation of instance type that support CPU Options
	// [CPU Cores and Threads Per CPU Core Per Instance Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#cpu-options-supported-instances-values) - specifying this option for unsupported instance types will return an error from the EC2 API.
	CpuCoreCount pulumi.IntPtrInput
	// If set to to 1, hyperthreading is disabled on the launched instance. Defaults to 2 if not set. See [Optimizing CPU Options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) for more information.
	CpuThreadsPerCore pulumi.IntPtrInput
	// Customize the credit specification of the instance. See Credit Specification below for more details.
	CreditSpecification InstanceCreditSpecificationPtrInput
	// If true, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrInput
	// Additional EBS block devices to attach to the
	// instance.  Block device configurations only apply on resource creation. See Block Devices below for details on attributes and drift detection.
	EbsBlockDevices InstanceEbsBlockDeviceArrayInput
	// If true, the launched EC2 instance will be EBS-optimized.
	// Note that if this is not set on an instance type that is optimized by default then
	// this will show as disabled but if the instance type is optimized by default then
	// there is no need to set this and there is no effect to disabling it.
	// See the [EBS Optimized section](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) of the AWS User Guide for more information.
	EbsOptimized pulumi.BoolPtrInput
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices InstanceEphemeralBlockDeviceArrayInput
	// If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the `passwordData` attribute. See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	GetPasswordData pulumi.BoolPtrInput
	// The Id of a dedicated host that the instance will be assigned to. Use when an instance is to be launched on a specific dedicated host.
	HostId pulumi.StringPtrInput
	// The IAM Instance Profile to
	// launch the instance with. Specified as the name of the Instance Profile. Ensure your credentials have the correct permission to assign the instance profile according to the [EC2 documentation](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html#roles-usingrole-ec2instance-permissions), notably `iam:PassRole`.
	// * `ipv6AddressCount`- (Optional) A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
	IamInstanceProfile pulumi.Input
	// Shutdown behavior for the
	// instance. Amazon defaults this to `stop` for EBS-backed instances and
	// `terminate` for instance-store instances. Cannot be set on instance-store
	// instances. See [Shutdown Behavior](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingInstanceInitiatedShutdownBehavior) for more information.
	InstanceInitiatedShutdownBehavior pulumi.StringPtrInput
	// The type of instance to start. Updates to this field will trigger a stop/start of the EC2 instance.
	InstanceType     pulumi.StringInput
	Ipv6AddressCount pulumi.IntPtrInput
	// Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface
	Ipv6Addresses pulumi.StringArrayInput
	// The key name of the Key Pair to use for the instance; which can be managed using the `ec2.KeyPair` resource.
	KeyName pulumi.StringPtrInput
	// If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0)
	Monitoring pulumi.BoolPtrInput
	// Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
	NetworkInterfaces InstanceNetworkInterfaceArrayInput
	// The Placement Group to start the instance in.
	PlacementGroup pulumi.StringPtrInput
	// Private IP address to associate with the
	// instance in a VPC.
	PrivateIp pulumi.StringPtrInput
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice InstanceRootBlockDevicePtrInput
	// A list of security group names (EC2-Classic) or IDs (default VPC) to associate with.
	SecurityGroups pulumi.StringArrayInput
	// Controls if traffic is routed to the instance when
	// the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
	SourceDestCheck pulumi.BoolPtrInput
	// The VPC Subnet ID to launch in.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the import-instance command.
	Tenancy pulumi.StringPtrInput
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrInput
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrInput
	// A mapping of tags to assign to the devices created by the instance at launch time.
	VolumeTags pulumi.MapInput
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType added in v1.19.0

func (InstanceArgs) ElementType() reflect.Type

type InstanceCreditSpecification added in v1.19.0

type InstanceCreditSpecification struct {
	CpuCredits *string `pulumi:"cpuCredits"`
}

type InstanceCreditSpecificationArgs added in v1.19.0

type InstanceCreditSpecificationArgs struct {
	CpuCredits pulumi.StringPtrInput `pulumi:"cpuCredits"`
}

func (InstanceCreditSpecificationArgs) ElementType added in v1.19.0

func (InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutput added in v1.19.0

func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutput() InstanceCreditSpecificationOutput

func (InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutputWithContext added in v1.19.0

func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutputWithContext(ctx context.Context) InstanceCreditSpecificationOutput

func (InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutput added in v1.19.0

func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput

func (InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutputWithContext added in v1.19.0

func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput

type InstanceCreditSpecificationInput added in v1.19.0

type InstanceCreditSpecificationInput interface {
	pulumi.Input

	ToInstanceCreditSpecificationOutput() InstanceCreditSpecificationOutput
	ToInstanceCreditSpecificationOutputWithContext(context.Context) InstanceCreditSpecificationOutput
}

type InstanceCreditSpecificationOutput added in v1.19.0

type InstanceCreditSpecificationOutput struct{ *pulumi.OutputState }

func (InstanceCreditSpecificationOutput) CpuCredits added in v1.19.0

func (InstanceCreditSpecificationOutput) ElementType added in v1.19.0

func (InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutput added in v1.19.0

func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutput() InstanceCreditSpecificationOutput

func (InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutputWithContext added in v1.19.0

func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutputWithContext(ctx context.Context) InstanceCreditSpecificationOutput

func (InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutput added in v1.19.0

func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput

func (InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutputWithContext added in v1.19.0

func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput

type InstanceCreditSpecificationPtrInput added in v1.19.0

type InstanceCreditSpecificationPtrInput interface {
	pulumi.Input

	ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput
	ToInstanceCreditSpecificationPtrOutputWithContext(context.Context) InstanceCreditSpecificationPtrOutput
}

func InstanceCreditSpecificationPtr added in v1.19.0

type InstanceCreditSpecificationPtrOutput added in v1.19.0

type InstanceCreditSpecificationPtrOutput struct{ *pulumi.OutputState }

func (InstanceCreditSpecificationPtrOutput) CpuCredits added in v1.19.0

func (InstanceCreditSpecificationPtrOutput) Elem added in v1.19.0

func (InstanceCreditSpecificationPtrOutput) ElementType added in v1.19.0

func (InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutput added in v1.19.0

func (o InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput

func (InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutputWithContext added in v1.19.0

func (o InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput

type InstanceEbsBlockDevice added in v1.19.0

type InstanceEbsBlockDevice struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
	// The name of the block device to mount on the instance.
	DeviceName string `pulumi:"deviceName"`
	// Enables [EBS
	// encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
	// on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.
	Encrypted *bool `pulumi:"encrypted"`
	// The amount of provisioned
	// [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html).
	// This must be set with a `volumeType` of `"io1"`.
	Iops *int `pulumi:"iops"`
	// Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The Snapshot ID to mount.
	SnapshotId *string `pulumi:"snapshotId"`
	VolumeId   *string `pulumi:"volumeId"`
	// The size of the volume in gibibytes (GiB).
	VolumeSize *int `pulumi:"volumeSize"`
	// The type of volume. Can be `"standard"`, `"gp2"`,
	// or `"io1"`. (Default: `"standard"`).
	VolumeType *string `pulumi:"volumeType"`
}

type InstanceEbsBlockDeviceArgs added in v1.19.0

type InstanceEbsBlockDeviceArgs struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
	// The name of the block device to mount on the instance.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// Enables [EBS
	// encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
	// on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.
	Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
	// The amount of provisioned
	// [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html).
	// This must be set with a `volumeType` of `"io1"`.
	Iops pulumi.IntPtrInput `pulumi:"iops"`
	// Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The Snapshot ID to mount.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
	VolumeId   pulumi.StringPtrInput `pulumi:"volumeId"`
	// The size of the volume in gibibytes (GiB).
	VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
	// The type of volume. Can be `"standard"`, `"gp2"`,
	// or `"io1"`. (Default: `"standard"`).
	VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (InstanceEbsBlockDeviceArgs) ElementType added in v1.19.0

func (InstanceEbsBlockDeviceArgs) ElementType() reflect.Type

func (InstanceEbsBlockDeviceArgs) ToInstanceEbsBlockDeviceOutput added in v1.19.0

func (i InstanceEbsBlockDeviceArgs) ToInstanceEbsBlockDeviceOutput() InstanceEbsBlockDeviceOutput

func (InstanceEbsBlockDeviceArgs) ToInstanceEbsBlockDeviceOutputWithContext added in v1.19.0

func (i InstanceEbsBlockDeviceArgs) ToInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceOutput

type InstanceEbsBlockDeviceArray added in v1.19.0

type InstanceEbsBlockDeviceArray []InstanceEbsBlockDeviceInput

func (InstanceEbsBlockDeviceArray) ElementType added in v1.19.0

func (InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutput added in v1.19.0

func (i InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutput() InstanceEbsBlockDeviceArrayOutput

func (InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceArrayOutput

type InstanceEbsBlockDeviceArrayInput added in v1.19.0

type InstanceEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToInstanceEbsBlockDeviceArrayOutput() InstanceEbsBlockDeviceArrayOutput
	ToInstanceEbsBlockDeviceArrayOutputWithContext(context.Context) InstanceEbsBlockDeviceArrayOutput
}

type InstanceEbsBlockDeviceArrayOutput added in v1.19.0

type InstanceEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (InstanceEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (InstanceEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutput added in v1.19.0

func (o InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutput() InstanceEbsBlockDeviceArrayOutput

func (InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceArrayOutput

type InstanceEbsBlockDeviceInput added in v1.19.0

type InstanceEbsBlockDeviceInput interface {
	pulumi.Input

	ToInstanceEbsBlockDeviceOutput() InstanceEbsBlockDeviceOutput
	ToInstanceEbsBlockDeviceOutputWithContext(context.Context) InstanceEbsBlockDeviceOutput
}

type InstanceEbsBlockDeviceOutput added in v1.19.0

type InstanceEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (InstanceEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (o InstanceEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput

Whether the volume should be destroyed on instance termination (Default: `true`).

func (InstanceEbsBlockDeviceOutput) DeviceName added in v1.19.0

The name of the block device to mount on the instance.

func (InstanceEbsBlockDeviceOutput) ElementType added in v1.19.0

func (InstanceEbsBlockDeviceOutput) Encrypted added in v1.19.0

Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.

func (InstanceEbsBlockDeviceOutput) Iops added in v1.19.0

The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.

func (InstanceEbsBlockDeviceOutput) KmsKeyId added in v1.19.0

Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.

func (InstanceEbsBlockDeviceOutput) SnapshotId added in v1.19.0

The Snapshot ID to mount.

func (InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutput added in v1.19.0

func (o InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutput() InstanceEbsBlockDeviceOutput

func (InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutputWithContext added in v1.19.0

func (o InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceOutput

func (InstanceEbsBlockDeviceOutput) VolumeId added in v1.19.0

func (InstanceEbsBlockDeviceOutput) VolumeSize added in v1.19.0

The size of the volume in gibibytes (GiB).

func (InstanceEbsBlockDeviceOutput) VolumeType added in v1.19.0

The type of volume. Can be `"standard"`, `"gp2"`, or `"io1"`. (Default: `"standard"`).

type InstanceEphemeralBlockDevice added in v1.19.0

type InstanceEphemeralBlockDevice struct {
	// The name of the block device to mount on the instance.
	DeviceName string `pulumi:"deviceName"`
	// Suppresses the specified device included in the AMI's block device mapping.
	NoDevice *bool `pulumi:"noDevice"`
	// The [Instance Store Device
	// Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames)
	// (e.g. `"ephemeral0"`).
	VirtualName *string `pulumi:"virtualName"`
}

type InstanceEphemeralBlockDeviceArgs added in v1.19.0

type InstanceEphemeralBlockDeviceArgs struct {
	// The name of the block device to mount on the instance.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// Suppresses the specified device included in the AMI's block device mapping.
	NoDevice pulumi.BoolPtrInput `pulumi:"noDevice"`
	// The [Instance Store Device
	// Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames)
	// (e.g. `"ephemeral0"`).
	VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}

func (InstanceEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutput added in v1.19.0

func (i InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutput() InstanceEphemeralBlockDeviceOutput

func (InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceOutput

type InstanceEphemeralBlockDeviceArray added in v1.19.0

type InstanceEphemeralBlockDeviceArray []InstanceEphemeralBlockDeviceInput

func (InstanceEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

func (i InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutput() InstanceEphemeralBlockDeviceArrayOutput

func (InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceArrayOutput

type InstanceEphemeralBlockDeviceArrayInput added in v1.19.0

type InstanceEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToInstanceEphemeralBlockDeviceArrayOutput() InstanceEphemeralBlockDeviceArrayOutput
	ToInstanceEphemeralBlockDeviceArrayOutputWithContext(context.Context) InstanceEphemeralBlockDeviceArrayOutput
}

type InstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

type InstanceEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (InstanceEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (InstanceEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutput added in v1.19.0

func (o InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutput() InstanceEphemeralBlockDeviceArrayOutput

func (InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceArrayOutput

type InstanceEphemeralBlockDeviceInput added in v1.19.0

type InstanceEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToInstanceEphemeralBlockDeviceOutput() InstanceEphemeralBlockDeviceOutput
	ToInstanceEphemeralBlockDeviceOutputWithContext(context.Context) InstanceEphemeralBlockDeviceOutput
}

type InstanceEphemeralBlockDeviceOutput added in v1.19.0

type InstanceEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (InstanceEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

The name of the block device to mount on the instance.

func (InstanceEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (InstanceEphemeralBlockDeviceOutput) NoDevice added in v1.19.0

Suppresses the specified device included in the AMI's block device mapping.

func (InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutput added in v1.19.0

func (o InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutput() InstanceEphemeralBlockDeviceOutput

func (InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceOutput

func (InstanceEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

The [Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g. `"ephemeral0"`).

type InstanceNetworkInterface added in v1.19.0

type InstanceNetworkInterface struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination *bool  `pulumi:"deleteOnTermination"`
	DeviceIndex         int    `pulumi:"deviceIndex"`
	NetworkInterfaceId  string `pulumi:"networkInterfaceId"`
}

type InstanceNetworkInterfaceArgs added in v1.19.0

type InstanceNetworkInterfaceArgs struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
	DeviceIndex         pulumi.IntInput     `pulumi:"deviceIndex"`
	NetworkInterfaceId  pulumi.StringInput  `pulumi:"networkInterfaceId"`
}

func (InstanceNetworkInterfaceArgs) ElementType added in v1.19.0

func (InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutput added in v1.19.0

func (i InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutput() InstanceNetworkInterfaceOutput

func (InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutputWithContext added in v1.19.0

func (i InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutputWithContext(ctx context.Context) InstanceNetworkInterfaceOutput

type InstanceNetworkInterfaceArray added in v1.19.0

type InstanceNetworkInterfaceArray []InstanceNetworkInterfaceInput

func (InstanceNetworkInterfaceArray) ElementType added in v1.19.0

func (InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutput added in v1.19.0

func (i InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutput() InstanceNetworkInterfaceArrayOutput

func (InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutputWithContext added in v1.19.0

func (i InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstanceNetworkInterfaceArrayOutput

type InstanceNetworkInterfaceArrayInput added in v1.19.0

type InstanceNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToInstanceNetworkInterfaceArrayOutput() InstanceNetworkInterfaceArrayOutput
	ToInstanceNetworkInterfaceArrayOutputWithContext(context.Context) InstanceNetworkInterfaceArrayOutput
}

type InstanceNetworkInterfaceArrayOutput added in v1.19.0

type InstanceNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (InstanceNetworkInterfaceArrayOutput) ElementType added in v1.19.0

func (InstanceNetworkInterfaceArrayOutput) Index added in v1.19.0

func (InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutput added in v1.19.0

func (o InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutput() InstanceNetworkInterfaceArrayOutput

func (InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutputWithContext added in v1.19.0

func (o InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstanceNetworkInterfaceArrayOutput

type InstanceNetworkInterfaceInput added in v1.19.0

type InstanceNetworkInterfaceInput interface {
	pulumi.Input

	ToInstanceNetworkInterfaceOutput() InstanceNetworkInterfaceOutput
	ToInstanceNetworkInterfaceOutputWithContext(context.Context) InstanceNetworkInterfaceOutput
}

type InstanceNetworkInterfaceOutput added in v1.19.0

type InstanceNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (InstanceNetworkInterfaceOutput) DeleteOnTermination added in v1.19.0

func (o InstanceNetworkInterfaceOutput) DeleteOnTermination() pulumi.BoolPtrOutput

Whether the volume should be destroyed on instance termination (Default: `true`).

func (InstanceNetworkInterfaceOutput) DeviceIndex added in v1.19.0

func (InstanceNetworkInterfaceOutput) ElementType added in v1.19.0

func (InstanceNetworkInterfaceOutput) NetworkInterfaceId added in v1.19.0

func (o InstanceNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput

func (InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutput added in v1.19.0

func (o InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutput() InstanceNetworkInterfaceOutput

func (InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutputWithContext added in v1.19.0

func (o InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutputWithContext(ctx context.Context) InstanceNetworkInterfaceOutput

type InstanceRootBlockDevice added in v1.19.0

type InstanceRootBlockDevice struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
	// Enables [EBS
	// encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
	// on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.
	Encrypted *bool `pulumi:"encrypted"`
	// The amount of provisioned
	// [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html).
	// This must be set with a `volumeType` of `"io1"`.
	Iops *int `pulumi:"iops"`
	// Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	VolumeId *string `pulumi:"volumeId"`
	// The size of the volume in gibibytes (GiB).
	VolumeSize *int `pulumi:"volumeSize"`
	// The type of volume. Can be `"standard"`, `"gp2"`,
	// or `"io1"`. (Default: `"standard"`).
	VolumeType *string `pulumi:"volumeType"`
}

type InstanceRootBlockDeviceArgs added in v1.19.0

type InstanceRootBlockDeviceArgs struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
	// Enables [EBS
	// encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
	// on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.
	Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
	// The amount of provisioned
	// [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html).
	// This must be set with a `volumeType` of `"io1"`.
	Iops pulumi.IntPtrInput `pulumi:"iops"`
	// Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
	// The size of the volume in gibibytes (GiB).
	VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
	// The type of volume. Can be `"standard"`, `"gp2"`,
	// or `"io1"`. (Default: `"standard"`).
	VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (InstanceRootBlockDeviceArgs) ElementType added in v1.19.0

func (InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutput added in v1.19.0

func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutput() InstanceRootBlockDeviceOutput

func (InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutputWithContext added in v1.19.0

func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutputWithContext(ctx context.Context) InstanceRootBlockDeviceOutput

func (InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutput added in v1.19.0

func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput

func (InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutputWithContext added in v1.19.0

func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput

type InstanceRootBlockDeviceInput added in v1.19.0

type InstanceRootBlockDeviceInput interface {
	pulumi.Input

	ToInstanceRootBlockDeviceOutput() InstanceRootBlockDeviceOutput
	ToInstanceRootBlockDeviceOutputWithContext(context.Context) InstanceRootBlockDeviceOutput
}

type InstanceRootBlockDeviceOutput added in v1.19.0

type InstanceRootBlockDeviceOutput struct{ *pulumi.OutputState }

func (InstanceRootBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (o InstanceRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput

Whether the volume should be destroyed on instance termination (Default: `true`).

func (InstanceRootBlockDeviceOutput) ElementType added in v1.19.0

func (InstanceRootBlockDeviceOutput) Encrypted added in v1.19.0

Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.

func (InstanceRootBlockDeviceOutput) Iops added in v1.19.0

The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.

func (InstanceRootBlockDeviceOutput) KmsKeyId added in v1.19.0

Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.

func (InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutput added in v1.19.0

func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutput() InstanceRootBlockDeviceOutput

func (InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutputWithContext added in v1.19.0

func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutputWithContext(ctx context.Context) InstanceRootBlockDeviceOutput

func (InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutput added in v1.19.0

func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput

func (InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutputWithContext added in v1.19.0

func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput

func (InstanceRootBlockDeviceOutput) VolumeId added in v1.19.0

func (InstanceRootBlockDeviceOutput) VolumeSize added in v1.19.0

The size of the volume in gibibytes (GiB).

func (InstanceRootBlockDeviceOutput) VolumeType added in v1.19.0

The type of volume. Can be `"standard"`, `"gp2"`, or `"io1"`. (Default: `"standard"`).

type InstanceRootBlockDevicePtrInput added in v1.19.0

type InstanceRootBlockDevicePtrInput interface {
	pulumi.Input

	ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput
	ToInstanceRootBlockDevicePtrOutputWithContext(context.Context) InstanceRootBlockDevicePtrOutput
}

func InstanceRootBlockDevicePtr added in v1.19.0

func InstanceRootBlockDevicePtr(v *InstanceRootBlockDeviceArgs) InstanceRootBlockDevicePtrInput

type InstanceRootBlockDevicePtrOutput added in v1.19.0

type InstanceRootBlockDevicePtrOutput struct{ *pulumi.OutputState }

func (InstanceRootBlockDevicePtrOutput) DeleteOnTermination added in v1.19.0

func (o InstanceRootBlockDevicePtrOutput) DeleteOnTermination() pulumi.BoolPtrOutput

Whether the volume should be destroyed on instance termination (Default: `true`).

func (InstanceRootBlockDevicePtrOutput) Elem added in v1.19.0

func (InstanceRootBlockDevicePtrOutput) ElementType added in v1.19.0

func (InstanceRootBlockDevicePtrOutput) Encrypted added in v1.19.0

Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.

func (InstanceRootBlockDevicePtrOutput) Iops added in v1.19.0

The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.

func (InstanceRootBlockDevicePtrOutput) KmsKeyId added in v1.19.0

Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.

func (InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutput added in v1.19.0

func (o InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput

func (InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutputWithContext added in v1.19.0

func (o InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput

func (InstanceRootBlockDevicePtrOutput) VolumeId added in v1.19.0

func (InstanceRootBlockDevicePtrOutput) VolumeSize added in v1.19.0

The size of the volume in gibibytes (GiB).

func (InstanceRootBlockDevicePtrOutput) VolumeType added in v1.19.0

The type of volume. Can be `"standard"`, `"gp2"`, or `"io1"`. (Default: `"standard"`).

type InstanceState

type InstanceState struct {
	// The AMI to use for the instance.
	Ami pulumi.StringPtrInput
	// The ARN of the instance.
	Arn pulumi.StringPtrInput
	// Associate a public ip address with an instance in a VPC.  Boolean value.
	AssociatePublicIpAddress pulumi.BoolPtrInput
	// The AZ to start the instance in.
	AvailabilityZone pulumi.StringPtrInput
	// Sets the number of CPU cores for an instance. This option is
	// only supported on creation of instance type that support CPU Options
	// [CPU Cores and Threads Per CPU Core Per Instance Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#cpu-options-supported-instances-values) - specifying this option for unsupported instance types will return an error from the EC2 API.
	CpuCoreCount pulumi.IntPtrInput
	// If set to to 1, hyperthreading is disabled on the launched instance. Defaults to 2 if not set. See [Optimizing CPU Options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) for more information.
	CpuThreadsPerCore pulumi.IntPtrInput
	// Customize the credit specification of the instance. See Credit Specification below for more details.
	CreditSpecification InstanceCreditSpecificationPtrInput
	// If true, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrInput
	// Additional EBS block devices to attach to the
	// instance.  Block device configurations only apply on resource creation. See Block Devices below for details on attributes and drift detection.
	EbsBlockDevices InstanceEbsBlockDeviceArrayInput
	// If true, the launched EC2 instance will be EBS-optimized.
	// Note that if this is not set on an instance type that is optimized by default then
	// this will show as disabled but if the instance type is optimized by default then
	// there is no need to set this and there is no effect to disabling it.
	// See the [EBS Optimized section](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) of the AWS User Guide for more information.
	EbsOptimized pulumi.BoolPtrInput
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices InstanceEphemeralBlockDeviceArrayInput
	// If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the `passwordData` attribute. See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	GetPasswordData pulumi.BoolPtrInput
	// The Id of a dedicated host that the instance will be assigned to. Use when an instance is to be launched on a specific dedicated host.
	HostId pulumi.StringPtrInput
	// The IAM Instance Profile to
	// launch the instance with. Specified as the name of the Instance Profile. Ensure your credentials have the correct permission to assign the instance profile according to the [EC2 documentation](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html#roles-usingrole-ec2instance-permissions), notably `iam:PassRole`.
	// * `ipv6AddressCount`- (Optional) A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
	IamInstanceProfile pulumi.StringPtrInput
	// Shutdown behavior for the
	// instance. Amazon defaults this to `stop` for EBS-backed instances and
	// `terminate` for instance-store instances. Cannot be set on instance-store
	// instances. See [Shutdown Behavior](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingInstanceInitiatedShutdownBehavior) for more information.
	InstanceInitiatedShutdownBehavior pulumi.StringPtrInput
	// The state of the instance. One of: `pending`, `running`, `shutting-down`, `terminated`, `stopping`, `stopped`. See [Instance Lifecycle](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) for more information.
	InstanceState pulumi.StringPtrInput
	// The type of instance to start. Updates to this field will trigger a stop/start of the EC2 instance.
	InstanceType     pulumi.StringPtrInput
	Ipv6AddressCount pulumi.IntPtrInput
	// Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface
	Ipv6Addresses pulumi.StringArrayInput
	// The key name of the Key Pair to use for the instance; which can be managed using the `ec2.KeyPair` resource.
	KeyName pulumi.StringPtrInput
	// If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0)
	Monitoring pulumi.BoolPtrInput
	// Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
	NetworkInterfaces InstanceNetworkInterfaceArrayInput
	// Base-64 encoded encrypted password data for the instance.
	// Useful for getting the administrator password for instances running Microsoft Windows.
	// This attribute is only exported if `getPasswordData` is true.
	// Note that this encrypted value will be stored in the state file, as with all exported attributes.
	// See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	PasswordData pulumi.StringPtrInput
	// The Placement Group to start the instance in.
	PlacementGroup pulumi.StringPtrInput
	// The ID of the instance's primary network interface.
	PrimaryNetworkInterfaceId pulumi.StringPtrInput
	// The private DNS name assigned to the instance. Can only be
	// used inside the Amazon EC2, and only available if you've enabled DNS hostnames
	// for your VPC
	PrivateDns pulumi.StringPtrInput
	// Private IP address to associate with the
	// instance in a VPC.
	PrivateIp pulumi.StringPtrInput
	// The public DNS name assigned to the instance. For EC2-VPC, this
	// is only available if you've enabled DNS hostnames for your VPC
	PublicDns pulumi.StringPtrInput
	// The public IP address assigned to the instance, if applicable. **NOTE**: If you are using an [`ec2.Eip`](https://www.terraform.io/docs/providers/aws/r/eip.html) with your instance, you should refer to the EIP's address directly and not use `publicIp`, as this field will change after the EIP is attached.
	PublicIp pulumi.StringPtrInput
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice InstanceRootBlockDevicePtrInput
	// A list of security group names (EC2-Classic) or IDs (default VPC) to associate with.
	SecurityGroups pulumi.StringArrayInput
	// Controls if traffic is routed to the instance when
	// the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
	SourceDestCheck pulumi.BoolPtrInput
	// The VPC Subnet ID to launch in.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the import-instance command.
	Tenancy pulumi.StringPtrInput
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrInput
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrInput
	// A mapping of tags to assign to the devices created by the instance at launch time.
	VolumeTags pulumi.MapInput
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayInput
}

func (InstanceState) ElementType added in v1.19.0

func (InstanceState) ElementType() reflect.Type

type InternetGateway

type InternetGateway struct {
	pulumi.CustomResourceState

	// The ID of the AWS account that owns the internet gateway.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The VPC ID to create in.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
}

Provides a resource to create a VPC Internet Gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/internet_gateway.html.markdown.

func GetInternetGateway

func GetInternetGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InternetGatewayState, opts ...pulumi.ResourceOption) (*InternetGateway, error)

GetInternetGateway gets an existing InternetGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInternetGateway

func NewInternetGateway(ctx *pulumi.Context,
	name string, args *InternetGatewayArgs, opts ...pulumi.ResourceOption) (*InternetGateway, error)

NewInternetGateway registers a new resource with the given unique name, arguments, and options.

type InternetGatewayArgs

type InternetGatewayArgs struct {
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID to create in.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a InternetGateway resource.

func (InternetGatewayArgs) ElementType added in v1.19.0

func (InternetGatewayArgs) ElementType() reflect.Type

type InternetGatewayState

type InternetGatewayState struct {
	// The ID of the AWS account that owns the internet gateway.
	OwnerId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID to create in.
	VpcId pulumi.StringPtrInput
}

func (InternetGatewayState) ElementType added in v1.19.0

func (InternetGatewayState) ElementType() reflect.Type

type KeyPair

type KeyPair struct {
	pulumi.CustomResourceState

	// The MD5 public key fingerprint as specified in section 4 of RFC 4716.
	Fingerprint pulumi.StringOutput `pulumi:"fingerprint"`
	// The name for the key pair.
	KeyName pulumi.StringOutput `pulumi:"keyName"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `keyName`.
	KeyNamePrefix pulumi.StringPtrOutput `pulumi:"keyNamePrefix"`
	// The key pair ID.
	KeyPairId pulumi.StringOutput `pulumi:"keyPairId"`
	// The public key material.
	PublicKey pulumi.StringOutput `pulumi:"publicKey"`
	// Key-value mapping of resource tags
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides an [EC2 key pair](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) resource. A key pair is used to control login access to EC2 instances.

Currently this resource requires an existing user-supplied key pair. This key pair's public key will be registered with AWS to allow logging-in to EC2 instances.

When importing an existing key pair the public key material may be in any format supported by AWS. Supported formats (per the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws)) are:

* OpenSSH public key format (the format in ~/.ssh/authorized_keys) * Base64 encoded DER format * SSH public key file format as specified in RFC4716

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/key_pair.html.markdown.

func GetKeyPair

func GetKeyPair(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyPairState, opts ...pulumi.ResourceOption) (*KeyPair, error)

GetKeyPair gets an existing KeyPair resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewKeyPair

func NewKeyPair(ctx *pulumi.Context,
	name string, args *KeyPairArgs, opts ...pulumi.ResourceOption) (*KeyPair, error)

NewKeyPair registers a new resource with the given unique name, arguments, and options.

type KeyPairArgs

type KeyPairArgs struct {
	// The name for the key pair.
	KeyName pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `keyName`.
	KeyNamePrefix pulumi.StringPtrInput
	// The public key material.
	PublicKey pulumi.StringInput
	// Key-value mapping of resource tags
	Tags pulumi.MapInput
}

The set of arguments for constructing a KeyPair resource.

func (KeyPairArgs) ElementType added in v1.19.0

func (KeyPairArgs) ElementType() reflect.Type

type KeyPairState

type KeyPairState struct {
	// The MD5 public key fingerprint as specified in section 4 of RFC 4716.
	Fingerprint pulumi.StringPtrInput
	// The name for the key pair.
	KeyName pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `keyName`.
	KeyNamePrefix pulumi.StringPtrInput
	// The key pair ID.
	KeyPairId pulumi.StringPtrInput
	// The public key material.
	PublicKey pulumi.StringPtrInput
	// Key-value mapping of resource tags
	Tags pulumi.MapInput
}

func (KeyPairState) ElementType added in v1.19.0

func (KeyPairState) ElementType() reflect.Type

type LaunchConfiguration

type LaunchConfiguration struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of the launch configuration.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Associate a public ip address with an instance in a VPC.
	AssociatePublicIpAddress pulumi.BoolPtrOutput `pulumi:"associatePublicIpAddress"`
	// Additional EBS block devices to attach to the
	// instance.  See Block Devices below for details.
	EbsBlockDevices LaunchConfigurationEbsBlockDeviceArrayOutput `pulumi:"ebsBlockDevices"`
	// If true, the launched EC2 instance will be EBS-optimized.
	EbsOptimized pulumi.BoolOutput `pulumi:"ebsOptimized"`
	// Enables/disables detailed monitoring. This is enabled by default.
	EnableMonitoring pulumi.BoolPtrOutput `pulumi:"enableMonitoring"`
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices LaunchConfigurationEphemeralBlockDeviceArrayOutput `pulumi:"ephemeralBlockDevices"`
	// The name attribute of the IAM instance profile to associate
	// with launched instances.
	IamInstanceProfile pulumi.StringPtrOutput `pulumi:"iamInstanceProfile"`
	// The EC2 image ID to launch.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// The size of instance to launch.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The key name that should be used for the instance.
	KeyName pulumi.StringOutput `pulumi:"keyName"`
	// The name of the launch configuration. If you leave
	// this blank, this provider will auto-generate a unique name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// The tenancy of the instance. Valid values are
	// `"default"` or `"dedicated"`, see [AWS's Create Launch Configuration](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_CreateLaunchConfiguration.html)
	// for more details
	PlacementTenancy pulumi.StringPtrOutput `pulumi:"placementTenancy"`
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice LaunchConfigurationRootBlockDeviceOutput `pulumi:"rootBlockDevice"`
	// A list of associated security group IDS.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// The maximum price to use for reserving spot instances.
	SpotPrice pulumi.StringPtrOutput `pulumi:"spotPrice"`
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrOutput `pulumi:"userDataBase64"`
	// The ID of a ClassicLink-enabled VPC. Only applies to EC2-Classic instances. (eg. `vpc-2730681a`)
	VpcClassicLinkId pulumi.StringPtrOutput `pulumi:"vpcClassicLinkId"`
	// The IDs of one or more security groups for the specified ClassicLink-enabled VPC (eg. `sg-46ae3d11`).
	VpcClassicLinkSecurityGroups pulumi.StringArrayOutput `pulumi:"vpcClassicLinkSecurityGroups"`
}

Provides a resource to create a new launch configuration, used for autoscaling groups.

## Block devices

Each of the `*_block_device` attributes controls a portion of the AWS Launch Configuration's "Block Device Mapping". It's a good idea to familiarize yourself with [AWS's Block Device Mapping docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) to understand the implications of using these attributes.

The `rootBlockDevice` mapping supports the following:

  • `volumeType` - (Optional) The type of volume. Can be `"standard"`, `"gp2"`, or `"io1"`. (Default: `"standard"`).
  • `volumeSize` - (Optional) The size of the volume in gigabytes.
  • `iops` - (Optional) The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.
  • `deleteOnTermination` - (Optional) Whether the volume should be destroyed on instance termination (Default: `true`).
  • `encrypted` - (Optional) Whether the volume should be encrypted or not. (Default: `false`).

Modifying any of the `rootBlockDevice` settings requires resource replacement.

Each `ebsBlockDevice` supports the following:

  • `deviceName` - (Required) The name of the device to mount.
  • `snapshotId` - (Optional) The Snapshot ID to mount.
  • `volumeType` - (Optional) The type of volume. Can be `"standard"`, `"gp2"`, or `"io1"`. (Default: `"standard"`).
  • `volumeSize` - (Optional) The size of the volume in gigabytes.
  • `iops` - (Optional) The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.
  • `deleteOnTermination` - (Optional) Whether the volume should be destroyed on instance termination (Default: `true`).
  • `encrypted` - (Optional) Whether the volume should be encrypted or not. Do not use this option if you are using `snapshotId` as the encrypted flag will be determined by the snapshot. (Default: `false`).

Modifying any `ebsBlockDevice` currently requires resource replacement.

Each `ephemeralBlockDevice` supports the following:

Each AWS Instance type has a different set of Instance Store block devices available for attachment. AWS [publishes a list](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#StorageOnInstanceTypes) of which ephemeral devices are available on each type. The devices are always identified by the `virtualName` in the format `"ephemeral{0..N}"`.

> **NOTE:** Changes to `*_block_device` configuration of _existing_ resources cannot currently be detected by this provider. After updating to block device configuration, resource recreation can be manually triggered by using the [`taint` command](https://www.terraform.io/docs/commands/taint.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/launch_configuration.html.markdown.

func GetLaunchConfiguration

func GetLaunchConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LaunchConfigurationState, opts ...pulumi.ResourceOption) (*LaunchConfiguration, error)

GetLaunchConfiguration gets an existing LaunchConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLaunchConfiguration

func NewLaunchConfiguration(ctx *pulumi.Context,
	name string, args *LaunchConfigurationArgs, opts ...pulumi.ResourceOption) (*LaunchConfiguration, error)

NewLaunchConfiguration registers a new resource with the given unique name, arguments, and options.

type LaunchConfigurationArgs

type LaunchConfigurationArgs struct {
	// Associate a public ip address with an instance in a VPC.
	AssociatePublicIpAddress pulumi.BoolPtrInput
	// Additional EBS block devices to attach to the
	// instance.  See Block Devices below for details.
	EbsBlockDevices LaunchConfigurationEbsBlockDeviceArrayInput
	// If true, the launched EC2 instance will be EBS-optimized.
	EbsOptimized pulumi.BoolPtrInput
	// Enables/disables detailed monitoring. This is enabled by default.
	EnableMonitoring pulumi.BoolPtrInput
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices LaunchConfigurationEphemeralBlockDeviceArrayInput
	// The name attribute of the IAM instance profile to associate
	// with launched instances.
	IamInstanceProfile pulumi.Input
	// The EC2 image ID to launch.
	ImageId pulumi.StringInput
	// The size of instance to launch.
	InstanceType pulumi.StringInput
	// The key name that should be used for the instance.
	KeyName pulumi.StringPtrInput
	// The name of the launch configuration. If you leave
	// this blank, this provider will auto-generate a unique name.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// The tenancy of the instance. Valid values are
	// `"default"` or `"dedicated"`, see [AWS's Create Launch Configuration](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_CreateLaunchConfiguration.html)
	// for more details
	PlacementTenancy pulumi.StringPtrInput
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice LaunchConfigurationRootBlockDevicePtrInput
	// A list of associated security group IDS.
	SecurityGroups pulumi.StringArrayInput
	// The maximum price to use for reserving spot instances.
	SpotPrice pulumi.StringPtrInput
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrInput
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrInput
	// The ID of a ClassicLink-enabled VPC. Only applies to EC2-Classic instances. (eg. `vpc-2730681a`)
	VpcClassicLinkId pulumi.StringPtrInput
	// The IDs of one or more security groups for the specified ClassicLink-enabled VPC (eg. `sg-46ae3d11`).
	VpcClassicLinkSecurityGroups pulumi.StringArrayInput
}

The set of arguments for constructing a LaunchConfiguration resource.

func (LaunchConfigurationArgs) ElementType added in v1.19.0

func (LaunchConfigurationArgs) ElementType() reflect.Type

type LaunchConfigurationEbsBlockDevice added in v1.19.0

type LaunchConfigurationEbsBlockDevice struct {
	DeleteOnTermination *bool   `pulumi:"deleteOnTermination"`
	DeviceName          string  `pulumi:"deviceName"`
	Encrypted           *bool   `pulumi:"encrypted"`
	Iops                *int    `pulumi:"iops"`
	NoDevice            *bool   `pulumi:"noDevice"`
	SnapshotId          *string `pulumi:"snapshotId"`
	VolumeSize          *int    `pulumi:"volumeSize"`
	VolumeType          *string `pulumi:"volumeType"`
}

type LaunchConfigurationEbsBlockDeviceArgs added in v1.19.0

type LaunchConfigurationEbsBlockDeviceArgs struct {
	DeleteOnTermination pulumi.BoolPtrInput   `pulumi:"deleteOnTermination"`
	DeviceName          pulumi.StringInput    `pulumi:"deviceName"`
	Encrypted           pulumi.BoolPtrInput   `pulumi:"encrypted"`
	Iops                pulumi.IntPtrInput    `pulumi:"iops"`
	NoDevice            pulumi.BoolPtrInput   `pulumi:"noDevice"`
	SnapshotId          pulumi.StringPtrInput `pulumi:"snapshotId"`
	VolumeSize          pulumi.IntPtrInput    `pulumi:"volumeSize"`
	VolumeType          pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (LaunchConfigurationEbsBlockDeviceArgs) ElementType added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutput added in v1.19.0

func (i LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutput() LaunchConfigurationEbsBlockDeviceOutput

func (LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutputWithContext added in v1.19.0

func (i LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceOutput

type LaunchConfigurationEbsBlockDeviceArray added in v1.19.0

type LaunchConfigurationEbsBlockDeviceArray []LaunchConfigurationEbsBlockDeviceInput

func (LaunchConfigurationEbsBlockDeviceArray) ElementType added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutput added in v1.19.0

func (i LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutput() LaunchConfigurationEbsBlockDeviceArrayOutput

func (LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceArrayOutput

type LaunchConfigurationEbsBlockDeviceArrayInput added in v1.19.0

type LaunchConfigurationEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToLaunchConfigurationEbsBlockDeviceArrayOutput() LaunchConfigurationEbsBlockDeviceArrayOutput
	ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(context.Context) LaunchConfigurationEbsBlockDeviceArrayOutput
}

type LaunchConfigurationEbsBlockDeviceArrayOutput added in v1.19.0

type LaunchConfigurationEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (LaunchConfigurationEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutput added in v1.19.0

func (o LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutput() LaunchConfigurationEbsBlockDeviceArrayOutput

func (LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceArrayOutput

type LaunchConfigurationEbsBlockDeviceInput added in v1.19.0

type LaunchConfigurationEbsBlockDeviceInput interface {
	pulumi.Input

	ToLaunchConfigurationEbsBlockDeviceOutput() LaunchConfigurationEbsBlockDeviceOutput
	ToLaunchConfigurationEbsBlockDeviceOutputWithContext(context.Context) LaunchConfigurationEbsBlockDeviceOutput
}

type LaunchConfigurationEbsBlockDeviceOutput added in v1.19.0

type LaunchConfigurationEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (LaunchConfigurationEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceOutput) DeviceName added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceOutput) ElementType added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceOutput) Encrypted added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceOutput) Iops added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceOutput) NoDevice added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceOutput) SnapshotId added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutput added in v1.19.0

func (o LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutput() LaunchConfigurationEbsBlockDeviceOutput

func (LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutputWithContext added in v1.19.0

func (o LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceOutput

func (LaunchConfigurationEbsBlockDeviceOutput) VolumeSize added in v1.19.0

func (LaunchConfigurationEbsBlockDeviceOutput) VolumeType added in v1.19.0

type LaunchConfigurationEphemeralBlockDevice added in v1.19.0

type LaunchConfigurationEphemeralBlockDevice struct {
	DeviceName  string `pulumi:"deviceName"`
	VirtualName string `pulumi:"virtualName"`
}

type LaunchConfigurationEphemeralBlockDeviceArgs added in v1.19.0

type LaunchConfigurationEphemeralBlockDeviceArgs struct {
	DeviceName  pulumi.StringInput `pulumi:"deviceName"`
	VirtualName pulumi.StringInput `pulumi:"virtualName"`
}

func (LaunchConfigurationEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutput added in v1.19.0

func (i LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutput() LaunchConfigurationEphemeralBlockDeviceOutput

func (LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceOutput

type LaunchConfigurationEphemeralBlockDeviceArray added in v1.19.0

type LaunchConfigurationEphemeralBlockDeviceArray []LaunchConfigurationEphemeralBlockDeviceInput

func (LaunchConfigurationEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput added in v1.19.0

func (i LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput() LaunchConfigurationEphemeralBlockDeviceArrayOutput

func (LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceArrayOutput

type LaunchConfigurationEphemeralBlockDeviceArrayInput added in v1.19.0

type LaunchConfigurationEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToLaunchConfigurationEphemeralBlockDeviceArrayOutput() LaunchConfigurationEphemeralBlockDeviceArrayOutput
	ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(context.Context) LaunchConfigurationEphemeralBlockDeviceArrayOutput
}

type LaunchConfigurationEphemeralBlockDeviceArrayOutput added in v1.19.0

type LaunchConfigurationEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput added in v1.19.0

func (o LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput() LaunchConfigurationEphemeralBlockDeviceArrayOutput

func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceArrayOutput

type LaunchConfigurationEphemeralBlockDeviceInput added in v1.19.0

type LaunchConfigurationEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToLaunchConfigurationEphemeralBlockDeviceOutput() LaunchConfigurationEphemeralBlockDeviceOutput
	ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext(context.Context) LaunchConfigurationEphemeralBlockDeviceOutput
}

type LaunchConfigurationEphemeralBlockDeviceOutput added in v1.19.0

type LaunchConfigurationEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (LaunchConfigurationEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

func (LaunchConfigurationEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutput added in v1.19.0

func (o LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutput() LaunchConfigurationEphemeralBlockDeviceOutput

func (LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceOutput

func (LaunchConfigurationEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

type LaunchConfigurationRootBlockDevice added in v1.19.0

type LaunchConfigurationRootBlockDevice struct {
	DeleteOnTermination *bool   `pulumi:"deleteOnTermination"`
	Encrypted           *bool   `pulumi:"encrypted"`
	Iops                *int    `pulumi:"iops"`
	VolumeSize          *int    `pulumi:"volumeSize"`
	VolumeType          *string `pulumi:"volumeType"`
}

type LaunchConfigurationRootBlockDeviceArgs added in v1.19.0

type LaunchConfigurationRootBlockDeviceArgs struct {
	DeleteOnTermination pulumi.BoolPtrInput   `pulumi:"deleteOnTermination"`
	Encrypted           pulumi.BoolPtrInput   `pulumi:"encrypted"`
	Iops                pulumi.IntPtrInput    `pulumi:"iops"`
	VolumeSize          pulumi.IntPtrInput    `pulumi:"volumeSize"`
	VolumeType          pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (LaunchConfigurationRootBlockDeviceArgs) ElementType added in v1.19.0

func (LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutput added in v1.19.0

func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutput() LaunchConfigurationRootBlockDeviceOutput

func (LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutputWithContext added in v1.19.0

func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDeviceOutput

func (LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutput added in v1.19.0

func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput

func (LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext added in v1.19.0

func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput

type LaunchConfigurationRootBlockDeviceInput added in v1.19.0

type LaunchConfigurationRootBlockDeviceInput interface {
	pulumi.Input

	ToLaunchConfigurationRootBlockDeviceOutput() LaunchConfigurationRootBlockDeviceOutput
	ToLaunchConfigurationRootBlockDeviceOutputWithContext(context.Context) LaunchConfigurationRootBlockDeviceOutput
}

type LaunchConfigurationRootBlockDeviceOutput added in v1.19.0

type LaunchConfigurationRootBlockDeviceOutput struct{ *pulumi.OutputState }

func (LaunchConfigurationRootBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (LaunchConfigurationRootBlockDeviceOutput) ElementType added in v1.19.0

func (LaunchConfigurationRootBlockDeviceOutput) Encrypted added in v1.19.0

func (LaunchConfigurationRootBlockDeviceOutput) Iops added in v1.19.0

func (LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutput added in v1.19.0

func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutput() LaunchConfigurationRootBlockDeviceOutput

func (LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutputWithContext added in v1.19.0

func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDeviceOutput

func (LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutput added in v1.19.0

func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput

func (LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext added in v1.19.0

func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput

func (LaunchConfigurationRootBlockDeviceOutput) VolumeSize added in v1.19.0

func (LaunchConfigurationRootBlockDeviceOutput) VolumeType added in v1.19.0

type LaunchConfigurationRootBlockDevicePtrInput added in v1.19.0

type LaunchConfigurationRootBlockDevicePtrInput interface {
	pulumi.Input

	ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput
	ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(context.Context) LaunchConfigurationRootBlockDevicePtrOutput
}

type LaunchConfigurationRootBlockDevicePtrOutput added in v1.19.0

type LaunchConfigurationRootBlockDevicePtrOutput struct{ *pulumi.OutputState }

func (LaunchConfigurationRootBlockDevicePtrOutput) DeleteOnTermination added in v1.19.0

func (LaunchConfigurationRootBlockDevicePtrOutput) Elem added in v1.19.0

func (LaunchConfigurationRootBlockDevicePtrOutput) ElementType added in v1.19.0

func (LaunchConfigurationRootBlockDevicePtrOutput) Encrypted added in v1.19.0

func (LaunchConfigurationRootBlockDevicePtrOutput) Iops added in v1.19.0

func (LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutput added in v1.19.0

func (o LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput

func (LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext added in v1.19.0

func (o LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput

func (LaunchConfigurationRootBlockDevicePtrOutput) VolumeSize added in v1.19.0

func (LaunchConfigurationRootBlockDevicePtrOutput) VolumeType added in v1.19.0

type LaunchConfigurationState

type LaunchConfigurationState struct {
	// The Amazon Resource Name of the launch configuration.
	Arn pulumi.StringPtrInput
	// Associate a public ip address with an instance in a VPC.
	AssociatePublicIpAddress pulumi.BoolPtrInput
	// Additional EBS block devices to attach to the
	// instance.  See Block Devices below for details.
	EbsBlockDevices LaunchConfigurationEbsBlockDeviceArrayInput
	// If true, the launched EC2 instance will be EBS-optimized.
	EbsOptimized pulumi.BoolPtrInput
	// Enables/disables detailed monitoring. This is enabled by default.
	EnableMonitoring pulumi.BoolPtrInput
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices LaunchConfigurationEphemeralBlockDeviceArrayInput
	// The name attribute of the IAM instance profile to associate
	// with launched instances.
	IamInstanceProfile pulumi.StringPtrInput
	// The EC2 image ID to launch.
	ImageId pulumi.StringPtrInput
	// The size of instance to launch.
	InstanceType pulumi.StringPtrInput
	// The key name that should be used for the instance.
	KeyName pulumi.StringPtrInput
	// The name of the launch configuration. If you leave
	// this blank, this provider will auto-generate a unique name.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// The tenancy of the instance. Valid values are
	// `"default"` or `"dedicated"`, see [AWS's Create Launch Configuration](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_CreateLaunchConfiguration.html)
	// for more details
	PlacementTenancy pulumi.StringPtrInput
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice LaunchConfigurationRootBlockDevicePtrInput
	// A list of associated security group IDS.
	SecurityGroups pulumi.StringArrayInput
	// The maximum price to use for reserving spot instances.
	SpotPrice pulumi.StringPtrInput
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrInput
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrInput
	// The ID of a ClassicLink-enabled VPC. Only applies to EC2-Classic instances. (eg. `vpc-2730681a`)
	VpcClassicLinkId pulumi.StringPtrInput
	// The IDs of one or more security groups for the specified ClassicLink-enabled VPC (eg. `sg-46ae3d11`).
	VpcClassicLinkSecurityGroups pulumi.StringArrayInput
}

func (LaunchConfigurationState) ElementType added in v1.19.0

func (LaunchConfigurationState) ElementType() reflect.Type

type LaunchTemplate

type LaunchTemplate struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the launch template.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Specify volumes to attach to the instance besides the volumes specified by the AMI.
	// See Block Devices below for details.
	BlockDeviceMappings LaunchTemplateBlockDeviceMappingArrayOutput `pulumi:"blockDeviceMappings"`
	// Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
	CapacityReservationSpecification LaunchTemplateCapacityReservationSpecificationPtrOutput `pulumi:"capacityReservationSpecification"`
	// Customize the credit specification of the instance. See Credit
	// Specification below for more details.
	CreditSpecification LaunchTemplateCreditSpecificationPtrOutput `pulumi:"creditSpecification"`
	// The default version of the launch template.
	DefaultVersion pulumi.IntOutput `pulumi:"defaultVersion"`
	// Description of the launch template.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// If `true`, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrOutput `pulumi:"disableApiTermination"`
	// If `true`, the launched EC2 instance will be EBS-optimized.
	EbsOptimized pulumi.StringPtrOutput `pulumi:"ebsOptimized"`
	// The elastic GPU to attach to the instance. See Elastic GPU
	// below for more details.
	ElasticGpuSpecifications LaunchTemplateElasticGpuSpecificationArrayOutput `pulumi:"elasticGpuSpecifications"`
	// Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
	ElasticInferenceAccelerator LaunchTemplateElasticInferenceAcceleratorPtrOutput `pulumi:"elasticInferenceAccelerator"`
	// The IAM Instance Profile to launch the instance with. See Instance Profile
	// below for more details.
	IamInstanceProfile LaunchTemplateIamInstanceProfilePtrOutput `pulumi:"iamInstanceProfile"`
	// The AMI from which to launch the instance.
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// Shutdown behavior for the instance. Can be `stop` or `terminate`.
	// (Default: `stop`).
	InstanceInitiatedShutdownBehavior pulumi.StringPtrOutput `pulumi:"instanceInitiatedShutdownBehavior"`
	// The market (purchasing) option for the instance. See Market Options
	// below for details.
	InstanceMarketOptions LaunchTemplateInstanceMarketOptionsPtrOutput `pulumi:"instanceMarketOptions"`
	// The type of the instance.
	InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"`
	// The kernel ID.
	KernelId pulumi.StringPtrOutput `pulumi:"kernelId"`
	// The key name to use for the instance.
	KeyName pulumi.StringPtrOutput `pulumi:"keyName"`
	// The latest version of the launch template.
	LatestVersion pulumi.IntOutput `pulumi:"latestVersion"`
	// A list of license specifications to associate with. See License Specification below for more details.
	LicenseSpecifications LaunchTemplateLicenseSpecificationArrayOutput `pulumi:"licenseSpecifications"`
	// The monitoring option for the instance. See Monitoring below for more details.
	Monitoring LaunchTemplateMonitoringPtrOutput `pulumi:"monitoring"`
	// The name of the launch template. If you leave this blank, this provider will auto-generate a unique name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// Customize network interfaces to be attached at instance boot time. See Network
	// Interfaces below for more details.
	NetworkInterfaces LaunchTemplateNetworkInterfaceArrayOutput `pulumi:"networkInterfaces"`
	// The placement of the instance. See Placement below for more details.
	Placement LaunchTemplatePlacementPtrOutput `pulumi:"placement"`
	// The ID of the RAM disk.
	RamDiskId pulumi.StringPtrOutput `pulumi:"ramDiskId"`
	// A list of security group names to associate with. If you are creating Instances in a VPC, use
	// `vpcSecurityGroupIds` instead.
	SecurityGroupNames pulumi.StringArrayOutput `pulumi:"securityGroupNames"`
	// The tags to apply to the resources during launch. See Tag Specifications below for more details.
	TagSpecifications LaunchTemplateTagSpecificationArrayOutput `pulumi:"tagSpecifications"`
	// A mapping of tags to assign to the launch template.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The Base64-encoded user data to provide when launching the instance.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"`
}

Provides an EC2 launch template resource. Can be used to create instances or auto scaling groups.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/launch_template.html.markdown.

func GetLaunchTemplate

func GetLaunchTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LaunchTemplateState, opts ...pulumi.ResourceOption) (*LaunchTemplate, error)

GetLaunchTemplate gets an existing LaunchTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLaunchTemplate

func NewLaunchTemplate(ctx *pulumi.Context,
	name string, args *LaunchTemplateArgs, opts ...pulumi.ResourceOption) (*LaunchTemplate, error)

NewLaunchTemplate registers a new resource with the given unique name, arguments, and options.

type LaunchTemplateArgs

type LaunchTemplateArgs struct {
	// Specify volumes to attach to the instance besides the volumes specified by the AMI.
	// See Block Devices below for details.
	BlockDeviceMappings LaunchTemplateBlockDeviceMappingArrayInput
	// Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
	CapacityReservationSpecification LaunchTemplateCapacityReservationSpecificationPtrInput
	// Customize the credit specification of the instance. See Credit
	// Specification below for more details.
	CreditSpecification LaunchTemplateCreditSpecificationPtrInput
	// Description of the launch template.
	Description pulumi.StringPtrInput
	// If `true`, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrInput
	// If `true`, the launched EC2 instance will be EBS-optimized.
	EbsOptimized pulumi.StringPtrInput
	// The elastic GPU to attach to the instance. See Elastic GPU
	// below for more details.
	ElasticGpuSpecifications LaunchTemplateElasticGpuSpecificationArrayInput
	// Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
	ElasticInferenceAccelerator LaunchTemplateElasticInferenceAcceleratorPtrInput
	// The IAM Instance Profile to launch the instance with. See Instance Profile
	// below for more details.
	IamInstanceProfile LaunchTemplateIamInstanceProfilePtrInput
	// The AMI from which to launch the instance.
	ImageId pulumi.StringPtrInput
	// Shutdown behavior for the instance. Can be `stop` or `terminate`.
	// (Default: `stop`).
	InstanceInitiatedShutdownBehavior pulumi.StringPtrInput
	// The market (purchasing) option for the instance. See Market Options
	// below for details.
	InstanceMarketOptions LaunchTemplateInstanceMarketOptionsPtrInput
	// The type of the instance.
	InstanceType pulumi.StringPtrInput
	// The kernel ID.
	KernelId pulumi.StringPtrInput
	// The key name to use for the instance.
	KeyName pulumi.StringPtrInput
	// A list of license specifications to associate with. See License Specification below for more details.
	LicenseSpecifications LaunchTemplateLicenseSpecificationArrayInput
	// The monitoring option for the instance. See Monitoring below for more details.
	Monitoring LaunchTemplateMonitoringPtrInput
	// The name of the launch template. If you leave this blank, this provider will auto-generate a unique name.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Customize network interfaces to be attached at instance boot time. See Network
	// Interfaces below for more details.
	NetworkInterfaces LaunchTemplateNetworkInterfaceArrayInput
	// The placement of the instance. See Placement below for more details.
	Placement LaunchTemplatePlacementPtrInput
	// The ID of the RAM disk.
	RamDiskId pulumi.StringPtrInput
	// A list of security group names to associate with. If you are creating Instances in a VPC, use
	// `vpcSecurityGroupIds` instead.
	SecurityGroupNames pulumi.StringArrayInput
	// The tags to apply to the resources during launch. See Tag Specifications below for more details.
	TagSpecifications LaunchTemplateTagSpecificationArrayInput
	// A mapping of tags to assign to the launch template.
	Tags pulumi.MapInput
	// The Base64-encoded user data to provide when launching the instance.
	UserData pulumi.StringPtrInput
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayInput
}

The set of arguments for constructing a LaunchTemplate resource.

func (LaunchTemplateArgs) ElementType added in v1.19.0

func (LaunchTemplateArgs) ElementType() reflect.Type

type LaunchTemplateBlockDeviceMapping added in v1.19.0

type LaunchTemplateBlockDeviceMapping struct {
	// The name of the device to mount.
	DeviceName *string `pulumi:"deviceName"`
	// Configure EBS volume properties.
	Ebs *LaunchTemplateBlockDeviceMappingEbs `pulumi:"ebs"`
	// Suppresses the specified device included in the AMI's block device mapping.
	NoDevice *string `pulumi:"noDevice"`
	// The [Instance Store Device
	// Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames)
	// (e.g. `"ephemeral0"`).
	VirtualName *string `pulumi:"virtualName"`
}

type LaunchTemplateBlockDeviceMappingArgs added in v1.19.0

type LaunchTemplateBlockDeviceMappingArgs struct {
	// The name of the device to mount.
	DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
	// Configure EBS volume properties.
	Ebs LaunchTemplateBlockDeviceMappingEbsPtrInput `pulumi:"ebs"`
	// Suppresses the specified device included in the AMI's block device mapping.
	NoDevice pulumi.StringPtrInput `pulumi:"noDevice"`
	// The [Instance Store Device
	// Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames)
	// (e.g. `"ephemeral0"`).
	VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}

func (LaunchTemplateBlockDeviceMappingArgs) ElementType added in v1.19.0

func (LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutput added in v1.19.0

func (i LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutput() LaunchTemplateBlockDeviceMappingOutput

func (LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutputWithContext added in v1.19.0

func (i LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingOutput

type LaunchTemplateBlockDeviceMappingArray added in v1.19.0

type LaunchTemplateBlockDeviceMappingArray []LaunchTemplateBlockDeviceMappingInput

func (LaunchTemplateBlockDeviceMappingArray) ElementType added in v1.19.0

func (LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutput added in v1.19.0

func (i LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutput() LaunchTemplateBlockDeviceMappingArrayOutput

func (LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext added in v1.19.0

func (i LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingArrayOutput

type LaunchTemplateBlockDeviceMappingArrayInput added in v1.19.0

type LaunchTemplateBlockDeviceMappingArrayInput interface {
	pulumi.Input

	ToLaunchTemplateBlockDeviceMappingArrayOutput() LaunchTemplateBlockDeviceMappingArrayOutput
	ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext(context.Context) LaunchTemplateBlockDeviceMappingArrayOutput
}

type LaunchTemplateBlockDeviceMappingArrayOutput added in v1.19.0

type LaunchTemplateBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplateBlockDeviceMappingArrayOutput) ElementType added in v1.19.0

func (LaunchTemplateBlockDeviceMappingArrayOutput) Index added in v1.19.0

func (LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutput added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutput() LaunchTemplateBlockDeviceMappingArrayOutput

func (LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingArrayOutput

type LaunchTemplateBlockDeviceMappingEbs added in v1.19.0

type LaunchTemplateBlockDeviceMappingEbs struct {
	DeleteOnTermination *string `pulumi:"deleteOnTermination"`
	Encrypted           *string `pulumi:"encrypted"`
	Iops                *int    `pulumi:"iops"`
	KmsKeyId            *string `pulumi:"kmsKeyId"`
	SnapshotId          *string `pulumi:"snapshotId"`
	VolumeSize          *int    `pulumi:"volumeSize"`
	VolumeType          *string `pulumi:"volumeType"`
}

type LaunchTemplateBlockDeviceMappingEbsArgs added in v1.19.0

type LaunchTemplateBlockDeviceMappingEbsArgs struct {
	DeleteOnTermination pulumi.StringPtrInput `pulumi:"deleteOnTermination"`
	Encrypted           pulumi.StringPtrInput `pulumi:"encrypted"`
	Iops                pulumi.IntPtrInput    `pulumi:"iops"`
	KmsKeyId            pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	SnapshotId          pulumi.StringPtrInput `pulumi:"snapshotId"`
	VolumeSize          pulumi.IntPtrInput    `pulumi:"volumeSize"`
	VolumeType          pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (LaunchTemplateBlockDeviceMappingEbsArgs) ElementType added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutput added in v1.19.0

func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutput() LaunchTemplateBlockDeviceMappingEbsOutput

func (LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext added in v1.19.0

func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsOutput

func (LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput added in v1.19.0

func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput

func (LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext added in v1.19.0

func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput

type LaunchTemplateBlockDeviceMappingEbsInput added in v1.19.0

type LaunchTemplateBlockDeviceMappingEbsInput interface {
	pulumi.Input

	ToLaunchTemplateBlockDeviceMappingEbsOutput() LaunchTemplateBlockDeviceMappingEbsOutput
	ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext(context.Context) LaunchTemplateBlockDeviceMappingEbsOutput
}

type LaunchTemplateBlockDeviceMappingEbsOutput added in v1.19.0

type LaunchTemplateBlockDeviceMappingEbsOutput struct{ *pulumi.OutputState }

func (LaunchTemplateBlockDeviceMappingEbsOutput) DeleteOnTermination added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsOutput) ElementType added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsOutput) Encrypted added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsOutput) Iops added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsOutput) KmsKeyId added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsOutput) SnapshotId added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutput added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutput() LaunchTemplateBlockDeviceMappingEbsOutput

func (LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsOutput

func (LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput

func (LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput

func (LaunchTemplateBlockDeviceMappingEbsOutput) VolumeSize added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsOutput) VolumeType added in v1.19.0

type LaunchTemplateBlockDeviceMappingEbsPtrInput added in v1.19.0

type LaunchTemplateBlockDeviceMappingEbsPtrInput interface {
	pulumi.Input

	ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput
	ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput
}

type LaunchTemplateBlockDeviceMappingEbsPtrOutput added in v1.19.0

type LaunchTemplateBlockDeviceMappingEbsPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) DeleteOnTermination added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) Elem added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) ElementType added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) Encrypted added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) Iops added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) KmsKeyId added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) SnapshotId added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) VolumeSize added in v1.19.0

func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) VolumeType added in v1.19.0

type LaunchTemplateBlockDeviceMappingInput added in v1.19.0

type LaunchTemplateBlockDeviceMappingInput interface {
	pulumi.Input

	ToLaunchTemplateBlockDeviceMappingOutput() LaunchTemplateBlockDeviceMappingOutput
	ToLaunchTemplateBlockDeviceMappingOutputWithContext(context.Context) LaunchTemplateBlockDeviceMappingOutput
}

type LaunchTemplateBlockDeviceMappingOutput added in v1.19.0

type LaunchTemplateBlockDeviceMappingOutput struct{ *pulumi.OutputState }

func (LaunchTemplateBlockDeviceMappingOutput) DeviceName added in v1.19.0

The name of the device to mount.

func (LaunchTemplateBlockDeviceMappingOutput) Ebs added in v1.19.0

Configure EBS volume properties.

func (LaunchTemplateBlockDeviceMappingOutput) ElementType added in v1.19.0

func (LaunchTemplateBlockDeviceMappingOutput) NoDevice added in v1.19.0

Suppresses the specified device included in the AMI's block device mapping.

func (LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutput added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutput() LaunchTemplateBlockDeviceMappingOutput

func (LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutputWithContext added in v1.19.0

func (o LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingOutput

func (LaunchTemplateBlockDeviceMappingOutput) VirtualName added in v1.19.0

The [Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g. `"ephemeral0"`).

type LaunchTemplateCapacityReservationSpecification added in v1.19.0

type LaunchTemplateCapacityReservationSpecification struct {
	CapacityReservationPreference *string                                                                  `pulumi:"capacityReservationPreference"`
	CapacityReservationTarget     *LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget `pulumi:"capacityReservationTarget"`
}

type LaunchTemplateCapacityReservationSpecificationArgs added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationArgs struct {
	CapacityReservationPreference pulumi.StringPtrInput                                                           `pulumi:"capacityReservationPreference"`
	CapacityReservationTarget     LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput `pulumi:"capacityReservationTarget"`
}

func (LaunchTemplateCapacityReservationSpecificationArgs) ElementType added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutput added in v1.19.0

func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutput() LaunchTemplateCapacityReservationSpecificationOutput

func (LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext added in v1.19.0

func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationOutput

func (LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutput added in v1.19.0

func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput

func (LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext added in v1.19.0

func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget struct {
	CapacityReservationId *string `pulumi:"capacityReservationId"`
}

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs struct {
	CapacityReservationId pulumi.StringPtrInput `pulumi:"capacityReservationId"`
}

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext added in v1.19.0

func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput interface {
	pulumi.Input

	ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
	ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
}

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput struct{ *pulumi.OutputState }

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput interface {
	pulumi.Input

	ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
	ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
}

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) Elem added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationInput added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationInput interface {
	pulumi.Input

	ToLaunchTemplateCapacityReservationSpecificationOutput() LaunchTemplateCapacityReservationSpecificationOutput
	ToLaunchTemplateCapacityReservationSpecificationOutputWithContext(context.Context) LaunchTemplateCapacityReservationSpecificationOutput
}

type LaunchTemplateCapacityReservationSpecificationOutput added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationOutput struct{ *pulumi.OutputState }

func (LaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationPreference added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationTarget added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationOutput) ElementType added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutput added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext added in v1.19.0

func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationOutput

func (LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput added in v1.19.0

func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput

func (LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput

type LaunchTemplateCapacityReservationSpecificationPtrInput added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationPtrInput interface {
	pulumi.Input

	ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput
	ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput
}

type LaunchTemplateCapacityReservationSpecificationPtrOutput added in v1.19.0

type LaunchTemplateCapacityReservationSpecificationPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateCapacityReservationSpecificationPtrOutput) CapacityReservationPreference added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationPtrOutput) CapacityReservationTarget added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationPtrOutput) Elem added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationPtrOutput) ElementType added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput added in v1.19.0

func (LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput

type LaunchTemplateCreditSpecification added in v1.19.0

type LaunchTemplateCreditSpecification struct {
	CpuCredits *string `pulumi:"cpuCredits"`
}

type LaunchTemplateCreditSpecificationArgs added in v1.19.0

type LaunchTemplateCreditSpecificationArgs struct {
	CpuCredits pulumi.StringPtrInput `pulumi:"cpuCredits"`
}

func (LaunchTemplateCreditSpecificationArgs) ElementType added in v1.19.0

func (LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutput added in v1.19.0

func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutput() LaunchTemplateCreditSpecificationOutput

func (LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutputWithContext added in v1.19.0

func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationOutput

func (LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutput added in v1.19.0

func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput

func (LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutputWithContext added in v1.19.0

func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput

type LaunchTemplateCreditSpecificationInput added in v1.19.0

type LaunchTemplateCreditSpecificationInput interface {
	pulumi.Input

	ToLaunchTemplateCreditSpecificationOutput() LaunchTemplateCreditSpecificationOutput
	ToLaunchTemplateCreditSpecificationOutputWithContext(context.Context) LaunchTemplateCreditSpecificationOutput
}

type LaunchTemplateCreditSpecificationOutput added in v1.19.0

type LaunchTemplateCreditSpecificationOutput struct{ *pulumi.OutputState }

func (LaunchTemplateCreditSpecificationOutput) CpuCredits added in v1.19.0

func (LaunchTemplateCreditSpecificationOutput) ElementType added in v1.19.0

func (LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutput added in v1.19.0

func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutput() LaunchTemplateCreditSpecificationOutput

func (LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutputWithContext added in v1.19.0

func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationOutput

func (LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutput added in v1.19.0

func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput

func (LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput

type LaunchTemplateCreditSpecificationPtrInput added in v1.19.0

type LaunchTemplateCreditSpecificationPtrInput interface {
	pulumi.Input

	ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput
	ToLaunchTemplateCreditSpecificationPtrOutputWithContext(context.Context) LaunchTemplateCreditSpecificationPtrOutput
}

type LaunchTemplateCreditSpecificationPtrOutput added in v1.19.0

type LaunchTemplateCreditSpecificationPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateCreditSpecificationPtrOutput) CpuCredits added in v1.19.0

func (LaunchTemplateCreditSpecificationPtrOutput) Elem added in v1.19.0

func (LaunchTemplateCreditSpecificationPtrOutput) ElementType added in v1.19.0

func (LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutput added in v1.19.0

func (o LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput

func (LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput

type LaunchTemplateElasticGpuSpecification added in v1.19.0

type LaunchTemplateElasticGpuSpecification struct {
	// Accelerator type.
	Type string `pulumi:"type"`
}

type LaunchTemplateElasticGpuSpecificationArgs added in v1.19.0

type LaunchTemplateElasticGpuSpecificationArgs struct {
	// Accelerator type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (LaunchTemplateElasticGpuSpecificationArgs) ElementType added in v1.19.0

func (LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutput added in v1.19.0

func (i LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutput() LaunchTemplateElasticGpuSpecificationOutput

func (LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutputWithContext added in v1.19.0

func (i LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationOutput

type LaunchTemplateElasticGpuSpecificationArray added in v1.19.0

type LaunchTemplateElasticGpuSpecificationArray []LaunchTemplateElasticGpuSpecificationInput

func (LaunchTemplateElasticGpuSpecificationArray) ElementType added in v1.19.0

func (LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutput added in v1.19.0

func (i LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutput() LaunchTemplateElasticGpuSpecificationArrayOutput

func (LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext added in v1.19.0

func (i LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationArrayOutput

type LaunchTemplateElasticGpuSpecificationArrayInput added in v1.19.0

type LaunchTemplateElasticGpuSpecificationArrayInput interface {
	pulumi.Input

	ToLaunchTemplateElasticGpuSpecificationArrayOutput() LaunchTemplateElasticGpuSpecificationArrayOutput
	ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(context.Context) LaunchTemplateElasticGpuSpecificationArrayOutput
}

type LaunchTemplateElasticGpuSpecificationArrayOutput added in v1.19.0

type LaunchTemplateElasticGpuSpecificationArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplateElasticGpuSpecificationArrayOutput) ElementType added in v1.19.0

func (LaunchTemplateElasticGpuSpecificationArrayOutput) Index added in v1.19.0

func (LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutput added in v1.19.0

func (o LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutput() LaunchTemplateElasticGpuSpecificationArrayOutput

func (LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext added in v1.19.0

func (o LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationArrayOutput

type LaunchTemplateElasticGpuSpecificationInput added in v1.19.0

type LaunchTemplateElasticGpuSpecificationInput interface {
	pulumi.Input

	ToLaunchTemplateElasticGpuSpecificationOutput() LaunchTemplateElasticGpuSpecificationOutput
	ToLaunchTemplateElasticGpuSpecificationOutputWithContext(context.Context) LaunchTemplateElasticGpuSpecificationOutput
}

type LaunchTemplateElasticGpuSpecificationOutput added in v1.19.0

type LaunchTemplateElasticGpuSpecificationOutput struct{ *pulumi.OutputState }

func (LaunchTemplateElasticGpuSpecificationOutput) ElementType added in v1.19.0

func (LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutput added in v1.19.0

func (o LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutput() LaunchTemplateElasticGpuSpecificationOutput

func (LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutputWithContext added in v1.19.0

func (o LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationOutput

func (LaunchTemplateElasticGpuSpecificationOutput) Type added in v1.19.0

Accelerator type.

type LaunchTemplateElasticInferenceAccelerator added in v1.19.0

type LaunchTemplateElasticInferenceAccelerator struct {
	// Accelerator type.
	Type string `pulumi:"type"`
}

type LaunchTemplateElasticInferenceAcceleratorArgs added in v1.19.0

type LaunchTemplateElasticInferenceAcceleratorArgs struct {
	// Accelerator type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (LaunchTemplateElasticInferenceAcceleratorArgs) ElementType added in v1.19.0

func (LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutput added in v1.19.0

func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutput() LaunchTemplateElasticInferenceAcceleratorOutput

func (LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext added in v1.19.0

func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorOutput

func (LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput added in v1.19.0

func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput

func (LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext added in v1.19.0

func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput

type LaunchTemplateElasticInferenceAcceleratorInput added in v1.19.0

type LaunchTemplateElasticInferenceAcceleratorInput interface {
	pulumi.Input

	ToLaunchTemplateElasticInferenceAcceleratorOutput() LaunchTemplateElasticInferenceAcceleratorOutput
	ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext(context.Context) LaunchTemplateElasticInferenceAcceleratorOutput
}

type LaunchTemplateElasticInferenceAcceleratorOutput added in v1.19.0

type LaunchTemplateElasticInferenceAcceleratorOutput struct{ *pulumi.OutputState }

func (LaunchTemplateElasticInferenceAcceleratorOutput) ElementType added in v1.19.0

func (LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutput added in v1.19.0

func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutput() LaunchTemplateElasticInferenceAcceleratorOutput

func (LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext added in v1.19.0

func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorOutput

func (LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput added in v1.19.0

func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput

func (LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput

func (LaunchTemplateElasticInferenceAcceleratorOutput) Type added in v1.19.0

Accelerator type.

type LaunchTemplateElasticInferenceAcceleratorPtrInput added in v1.19.0

type LaunchTemplateElasticInferenceAcceleratorPtrInput interface {
	pulumi.Input

	ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput
	ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput
}

type LaunchTemplateElasticInferenceAcceleratorPtrOutput added in v1.19.0

type LaunchTemplateElasticInferenceAcceleratorPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) Elem added in v1.19.0

func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) ElementType added in v1.19.0

func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput added in v1.19.0

func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput

func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput

func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) Type added in v1.19.0

Accelerator type.

type LaunchTemplateIamInstanceProfile added in v1.19.0

type LaunchTemplateIamInstanceProfile struct {
	// Amazon Resource Name (ARN) of the launch template.
	Arn *string `pulumi:"arn"`
	// The name of the launch template. If you leave this blank, this provider will auto-generate a unique name.
	Name *string `pulumi:"name"`
}

type LaunchTemplateIamInstanceProfileArgs added in v1.19.0

type LaunchTemplateIamInstanceProfileArgs struct {
	// Amazon Resource Name (ARN) of the launch template.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// The name of the launch template. If you leave this blank, this provider will auto-generate a unique name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (LaunchTemplateIamInstanceProfileArgs) ElementType added in v1.19.0

func (LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutput added in v1.19.0

func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutput() LaunchTemplateIamInstanceProfileOutput

func (LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutputWithContext added in v1.19.0

func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfileOutput

func (LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutput added in v1.19.0

func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput

func (LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext added in v1.19.0

func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput

type LaunchTemplateIamInstanceProfileInput added in v1.19.0

type LaunchTemplateIamInstanceProfileInput interface {
	pulumi.Input

	ToLaunchTemplateIamInstanceProfileOutput() LaunchTemplateIamInstanceProfileOutput
	ToLaunchTemplateIamInstanceProfileOutputWithContext(context.Context) LaunchTemplateIamInstanceProfileOutput
}

type LaunchTemplateIamInstanceProfileOutput added in v1.19.0

type LaunchTemplateIamInstanceProfileOutput struct{ *pulumi.OutputState }

func (LaunchTemplateIamInstanceProfileOutput) Arn added in v1.19.0

Amazon Resource Name (ARN) of the launch template.

func (LaunchTemplateIamInstanceProfileOutput) ElementType added in v1.19.0

func (LaunchTemplateIamInstanceProfileOutput) Name added in v1.19.0

The name of the launch template. If you leave this blank, this provider will auto-generate a unique name.

func (LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutput added in v1.19.0

func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutput() LaunchTemplateIamInstanceProfileOutput

func (LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutputWithContext added in v1.19.0

func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfileOutput

func (LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutput added in v1.19.0

func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput

func (LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext added in v1.19.0

func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput

type LaunchTemplateIamInstanceProfilePtrInput added in v1.19.0

type LaunchTemplateIamInstanceProfilePtrInput interface {
	pulumi.Input

	ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput
	ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(context.Context) LaunchTemplateIamInstanceProfilePtrOutput
}

type LaunchTemplateIamInstanceProfilePtrOutput added in v1.19.0

type LaunchTemplateIamInstanceProfilePtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateIamInstanceProfilePtrOutput) Arn added in v1.19.0

Amazon Resource Name (ARN) of the launch template.

func (LaunchTemplateIamInstanceProfilePtrOutput) Elem added in v1.19.0

func (LaunchTemplateIamInstanceProfilePtrOutput) ElementType added in v1.19.0

func (LaunchTemplateIamInstanceProfilePtrOutput) Name added in v1.19.0

The name of the launch template. If you leave this blank, this provider will auto-generate a unique name.

func (LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutput added in v1.19.0

func (o LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput

func (LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext added in v1.19.0

func (o LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput

type LaunchTemplateInstanceMarketOptions added in v1.19.0

type LaunchTemplateInstanceMarketOptions struct {
	MarketType  *string                                         `pulumi:"marketType"`
	SpotOptions *LaunchTemplateInstanceMarketOptionsSpotOptions `pulumi:"spotOptions"`
}

type LaunchTemplateInstanceMarketOptionsArgs added in v1.19.0

type LaunchTemplateInstanceMarketOptionsArgs struct {
	MarketType  pulumi.StringPtrInput                                  `pulumi:"marketType"`
	SpotOptions LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput `pulumi:"spotOptions"`
}

func (LaunchTemplateInstanceMarketOptionsArgs) ElementType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutput added in v1.19.0

func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutput() LaunchTemplateInstanceMarketOptionsOutput

func (LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutputWithContext added in v1.19.0

func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsOutput

func (LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutput added in v1.19.0

func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput

func (LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext added in v1.19.0

func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput

type LaunchTemplateInstanceMarketOptionsInput added in v1.19.0

type LaunchTemplateInstanceMarketOptionsInput interface {
	pulumi.Input

	ToLaunchTemplateInstanceMarketOptionsOutput() LaunchTemplateInstanceMarketOptionsOutput
	ToLaunchTemplateInstanceMarketOptionsOutputWithContext(context.Context) LaunchTemplateInstanceMarketOptionsOutput
}

type LaunchTemplateInstanceMarketOptionsOutput added in v1.19.0

type LaunchTemplateInstanceMarketOptionsOutput struct{ *pulumi.OutputState }

func (LaunchTemplateInstanceMarketOptionsOutput) ElementType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsOutput) MarketType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsOutput) SpotOptions added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutput added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutput() LaunchTemplateInstanceMarketOptionsOutput

func (LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutputWithContext added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsOutput

func (LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput

func (LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput

type LaunchTemplateInstanceMarketOptionsPtrInput added in v1.19.0

type LaunchTemplateInstanceMarketOptionsPtrInput interface {
	pulumi.Input

	ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput
	ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput
}

type LaunchTemplateInstanceMarketOptionsPtrOutput added in v1.19.0

type LaunchTemplateInstanceMarketOptionsPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateInstanceMarketOptionsPtrOutput) Elem added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsPtrOutput) ElementType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsPtrOutput) MarketType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsPtrOutput) SpotOptions added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput

func (LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput

type LaunchTemplateInstanceMarketOptionsSpotOptions added in v1.19.0

type LaunchTemplateInstanceMarketOptionsSpotOptions struct {
	BlockDurationMinutes         *int    `pulumi:"blockDurationMinutes"`
	InstanceInterruptionBehavior *string `pulumi:"instanceInterruptionBehavior"`
	MaxPrice                     *string `pulumi:"maxPrice"`
	SpotInstanceType             *string `pulumi:"spotInstanceType"`
	ValidUntil                   *string `pulumi:"validUntil"`
}

type LaunchTemplateInstanceMarketOptionsSpotOptionsArgs added in v1.19.0

type LaunchTemplateInstanceMarketOptionsSpotOptionsArgs struct {
	BlockDurationMinutes         pulumi.IntPtrInput    `pulumi:"blockDurationMinutes"`
	InstanceInterruptionBehavior pulumi.StringPtrInput `pulumi:"instanceInterruptionBehavior"`
	MaxPrice                     pulumi.StringPtrInput `pulumi:"maxPrice"`
	SpotInstanceType             pulumi.StringPtrInput `pulumi:"spotInstanceType"`
	ValidUntil                   pulumi.StringPtrInput `pulumi:"validUntil"`
}

func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ElementType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput added in v1.19.0

func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsOutput

func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext added in v1.19.0

func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsOutput

func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput added in v1.19.0

func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput

func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext added in v1.19.0

func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput

type LaunchTemplateInstanceMarketOptionsSpotOptionsInput added in v1.19.0

type LaunchTemplateInstanceMarketOptionsSpotOptionsInput interface {
	pulumi.Input

	ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
	ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext(context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
}

type LaunchTemplateInstanceMarketOptionsSpotOptionsOutput added in v1.19.0

type LaunchTemplateInstanceMarketOptionsSpotOptionsOutput struct{ *pulumi.OutputState }

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) BlockDurationMinutes added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ElementType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) InstanceInterruptionBehavior added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) MaxPrice added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) SpotInstanceType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsOutput

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput

func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ValidUntil added in v1.19.0

type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput added in v1.19.0

type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput interface {
	pulumi.Input

	ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
	ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
}

type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput added in v1.19.0

type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) BlockDurationMinutes added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) Elem added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ElementType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) InstanceInterruptionBehavior added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) MaxPrice added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) SpotInstanceType added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput added in v1.19.0

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput

func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ValidUntil added in v1.19.0

type LaunchTemplateLicenseSpecification added in v1.19.0

type LaunchTemplateLicenseSpecification struct {
	LicenseConfigurationArn string `pulumi:"licenseConfigurationArn"`
}

type LaunchTemplateLicenseSpecificationArgs added in v1.19.0

type LaunchTemplateLicenseSpecificationArgs struct {
	LicenseConfigurationArn pulumi.StringInput `pulumi:"licenseConfigurationArn"`
}

func (LaunchTemplateLicenseSpecificationArgs) ElementType added in v1.19.0

func (LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutput added in v1.19.0

func (i LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutput() LaunchTemplateLicenseSpecificationOutput

func (LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutputWithContext added in v1.19.0

func (i LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationOutput

type LaunchTemplateLicenseSpecificationArray added in v1.19.0

type LaunchTemplateLicenseSpecificationArray []LaunchTemplateLicenseSpecificationInput

func (LaunchTemplateLicenseSpecificationArray) ElementType added in v1.19.0

func (LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutput added in v1.19.0

func (i LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutput() LaunchTemplateLicenseSpecificationArrayOutput

func (LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext added in v1.19.0

func (i LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationArrayOutput

type LaunchTemplateLicenseSpecificationArrayInput added in v1.19.0

type LaunchTemplateLicenseSpecificationArrayInput interface {
	pulumi.Input

	ToLaunchTemplateLicenseSpecificationArrayOutput() LaunchTemplateLicenseSpecificationArrayOutput
	ToLaunchTemplateLicenseSpecificationArrayOutputWithContext(context.Context) LaunchTemplateLicenseSpecificationArrayOutput
}

type LaunchTemplateLicenseSpecificationArrayOutput added in v1.19.0

type LaunchTemplateLicenseSpecificationArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplateLicenseSpecificationArrayOutput) ElementType added in v1.19.0

func (LaunchTemplateLicenseSpecificationArrayOutput) Index added in v1.19.0

func (LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutput added in v1.19.0

func (o LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutput() LaunchTemplateLicenseSpecificationArrayOutput

func (LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext added in v1.19.0

func (o LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationArrayOutput

type LaunchTemplateLicenseSpecificationInput added in v1.19.0

type LaunchTemplateLicenseSpecificationInput interface {
	pulumi.Input

	ToLaunchTemplateLicenseSpecificationOutput() LaunchTemplateLicenseSpecificationOutput
	ToLaunchTemplateLicenseSpecificationOutputWithContext(context.Context) LaunchTemplateLicenseSpecificationOutput
}

type LaunchTemplateLicenseSpecificationOutput added in v1.19.0

type LaunchTemplateLicenseSpecificationOutput struct{ *pulumi.OutputState }

func (LaunchTemplateLicenseSpecificationOutput) ElementType added in v1.19.0

func (LaunchTemplateLicenseSpecificationOutput) LicenseConfigurationArn added in v1.19.0

func (o LaunchTemplateLicenseSpecificationOutput) LicenseConfigurationArn() pulumi.StringOutput

func (LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutput added in v1.19.0

func (o LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutput() LaunchTemplateLicenseSpecificationOutput

func (LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutputWithContext added in v1.19.0

func (o LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationOutput

type LaunchTemplateMonitoring added in v1.19.0

type LaunchTemplateMonitoring struct {
	Enabled *bool `pulumi:"enabled"`
}

type LaunchTemplateMonitoringArgs added in v1.19.0

type LaunchTemplateMonitoringArgs struct {
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (LaunchTemplateMonitoringArgs) ElementType added in v1.19.0

func (LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutput added in v1.19.0

func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutput() LaunchTemplateMonitoringOutput

func (LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutputWithContext added in v1.19.0

func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutputWithContext(ctx context.Context) LaunchTemplateMonitoringOutput

func (LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutput added in v1.19.0

func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput

func (LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutputWithContext added in v1.19.0

func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput

type LaunchTemplateMonitoringInput added in v1.19.0

type LaunchTemplateMonitoringInput interface {
	pulumi.Input

	ToLaunchTemplateMonitoringOutput() LaunchTemplateMonitoringOutput
	ToLaunchTemplateMonitoringOutputWithContext(context.Context) LaunchTemplateMonitoringOutput
}

type LaunchTemplateMonitoringOutput added in v1.19.0

type LaunchTemplateMonitoringOutput struct{ *pulumi.OutputState }

func (LaunchTemplateMonitoringOutput) ElementType added in v1.19.0

func (LaunchTemplateMonitoringOutput) Enabled added in v1.19.0

func (LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutput added in v1.19.0

func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutput() LaunchTemplateMonitoringOutput

func (LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutputWithContext added in v1.19.0

func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutputWithContext(ctx context.Context) LaunchTemplateMonitoringOutput

func (LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutput added in v1.19.0

func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput

func (LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput

type LaunchTemplateMonitoringPtrInput added in v1.19.0

type LaunchTemplateMonitoringPtrInput interface {
	pulumi.Input

	ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput
	ToLaunchTemplateMonitoringPtrOutputWithContext(context.Context) LaunchTemplateMonitoringPtrOutput
}

func LaunchTemplateMonitoringPtr added in v1.19.0

func LaunchTemplateMonitoringPtr(v *LaunchTemplateMonitoringArgs) LaunchTemplateMonitoringPtrInput

type LaunchTemplateMonitoringPtrOutput added in v1.19.0

type LaunchTemplateMonitoringPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplateMonitoringPtrOutput) Elem added in v1.19.0

func (LaunchTemplateMonitoringPtrOutput) ElementType added in v1.19.0

func (LaunchTemplateMonitoringPtrOutput) Enabled added in v1.19.0

func (LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutput added in v1.19.0

func (o LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput

func (LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutputWithContext added in v1.19.0

func (o LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput

type LaunchTemplateNetworkInterface added in v1.19.0

type LaunchTemplateNetworkInterface struct {
	AssociatePublicIpAddress *string `pulumi:"associatePublicIpAddress"`
	DeleteOnTermination      *bool   `pulumi:"deleteOnTermination"`
	// Description of the launch template.
	Description        *string  `pulumi:"description"`
	DeviceIndex        *int     `pulumi:"deviceIndex"`
	Ipv4AddressCount   *int     `pulumi:"ipv4AddressCount"`
	Ipv4Addresses      []string `pulumi:"ipv4Addresses"`
	Ipv6AddressCount   *int     `pulumi:"ipv6AddressCount"`
	Ipv6Addresses      []string `pulumi:"ipv6Addresses"`
	NetworkInterfaceId *string  `pulumi:"networkInterfaceId"`
	PrivateIpAddress   *string  `pulumi:"privateIpAddress"`
	SecurityGroups     []string `pulumi:"securityGroups"`
	SubnetId           *string  `pulumi:"subnetId"`
}

type LaunchTemplateNetworkInterfaceArgs added in v1.19.0

type LaunchTemplateNetworkInterfaceArgs struct {
	AssociatePublicIpAddress pulumi.StringPtrInput `pulumi:"associatePublicIpAddress"`
	DeleteOnTermination      pulumi.BoolPtrInput   `pulumi:"deleteOnTermination"`
	// Description of the launch template.
	Description        pulumi.StringPtrInput   `pulumi:"description"`
	DeviceIndex        pulumi.IntPtrInput      `pulumi:"deviceIndex"`
	Ipv4AddressCount   pulumi.IntPtrInput      `pulumi:"ipv4AddressCount"`
	Ipv4Addresses      pulumi.StringArrayInput `pulumi:"ipv4Addresses"`
	Ipv6AddressCount   pulumi.IntPtrInput      `pulumi:"ipv6AddressCount"`
	Ipv6Addresses      pulumi.StringArrayInput `pulumi:"ipv6Addresses"`
	NetworkInterfaceId pulumi.StringPtrInput   `pulumi:"networkInterfaceId"`
	PrivateIpAddress   pulumi.StringPtrInput   `pulumi:"privateIpAddress"`
	SecurityGroups     pulumi.StringArrayInput `pulumi:"securityGroups"`
	SubnetId           pulumi.StringPtrInput   `pulumi:"subnetId"`
}

func (LaunchTemplateNetworkInterfaceArgs) ElementType added in v1.19.0

func (LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutput added in v1.19.0

func (i LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput

func (LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutputWithContext added in v1.19.0

func (i LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceOutput

type LaunchTemplateNetworkInterfaceArray added in v1.19.0

type LaunchTemplateNetworkInterfaceArray []LaunchTemplateNetworkInterfaceInput

func (LaunchTemplateNetworkInterfaceArray) ElementType added in v1.19.0

func (LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutput added in v1.19.0

func (i LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput

func (LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext added in v1.19.0

func (i LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceArrayOutput

type LaunchTemplateNetworkInterfaceArrayInput added in v1.19.0

type LaunchTemplateNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput
	ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(context.Context) LaunchTemplateNetworkInterfaceArrayOutput
}

type LaunchTemplateNetworkInterfaceArrayOutput added in v1.19.0

type LaunchTemplateNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplateNetworkInterfaceArrayOutput) ElementType added in v1.19.0

func (LaunchTemplateNetworkInterfaceArrayOutput) Index added in v1.19.0

func (LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutput added in v1.19.0

func (o LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput

func (LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext added in v1.19.0

func (o LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceArrayOutput

type LaunchTemplateNetworkInterfaceInput added in v1.19.0

type LaunchTemplateNetworkInterfaceInput interface {
	pulumi.Input

	ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput
	ToLaunchTemplateNetworkInterfaceOutputWithContext(context.Context) LaunchTemplateNetworkInterfaceOutput
}

type LaunchTemplateNetworkInterfaceOutput added in v1.19.0

type LaunchTemplateNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (LaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress added in v1.19.0

func (o LaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress() pulumi.StringPtrOutput

func (LaunchTemplateNetworkInterfaceOutput) DeleteOnTermination added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) Description added in v1.19.0

Description of the launch template.

func (LaunchTemplateNetworkInterfaceOutput) DeviceIndex added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) ElementType added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) Ipv4AddressCount added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) Ipv4Addresses added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) Ipv6AddressCount added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) Ipv6Addresses added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) PrivateIpAddress added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) SecurityGroups added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) SubnetId added in v1.19.0

func (LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutput added in v1.19.0

func (o LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput

func (LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutputWithContext added in v1.19.0

func (o LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceOutput

type LaunchTemplatePlacement added in v1.19.0

type LaunchTemplatePlacement struct {
	Affinity         *string `pulumi:"affinity"`
	AvailabilityZone *string `pulumi:"availabilityZone"`
	GroupName        *string `pulumi:"groupName"`
	HostId           *string `pulumi:"hostId"`
	SpreadDomain     *string `pulumi:"spreadDomain"`
	Tenancy          *string `pulumi:"tenancy"`
}

type LaunchTemplatePlacementArgs added in v1.19.0

type LaunchTemplatePlacementArgs struct {
	Affinity         pulumi.StringPtrInput `pulumi:"affinity"`
	AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
	GroupName        pulumi.StringPtrInput `pulumi:"groupName"`
	HostId           pulumi.StringPtrInput `pulumi:"hostId"`
	SpreadDomain     pulumi.StringPtrInput `pulumi:"spreadDomain"`
	Tenancy          pulumi.StringPtrInput `pulumi:"tenancy"`
}

func (LaunchTemplatePlacementArgs) ElementType added in v1.19.0

func (LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutput added in v1.19.0

func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutput() LaunchTemplatePlacementOutput

func (LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutputWithContext added in v1.19.0

func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutputWithContext(ctx context.Context) LaunchTemplatePlacementOutput

func (LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutput added in v1.19.0

func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput

func (LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutputWithContext added in v1.19.0

func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput

type LaunchTemplatePlacementInput added in v1.19.0

type LaunchTemplatePlacementInput interface {
	pulumi.Input

	ToLaunchTemplatePlacementOutput() LaunchTemplatePlacementOutput
	ToLaunchTemplatePlacementOutputWithContext(context.Context) LaunchTemplatePlacementOutput
}

type LaunchTemplatePlacementOutput added in v1.19.0

type LaunchTemplatePlacementOutput struct{ *pulumi.OutputState }

func (LaunchTemplatePlacementOutput) Affinity added in v1.19.0

func (LaunchTemplatePlacementOutput) AvailabilityZone added in v1.19.0

func (LaunchTemplatePlacementOutput) ElementType added in v1.19.0

func (LaunchTemplatePlacementOutput) GroupName added in v1.19.0

func (LaunchTemplatePlacementOutput) HostId added in v1.19.0

func (LaunchTemplatePlacementOutput) SpreadDomain added in v1.19.0

func (LaunchTemplatePlacementOutput) Tenancy added in v1.19.0

func (LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutput added in v1.19.0

func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutput() LaunchTemplatePlacementOutput

func (LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutputWithContext added in v1.19.0

func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutputWithContext(ctx context.Context) LaunchTemplatePlacementOutput

func (LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutput added in v1.19.0

func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput

func (LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutputWithContext added in v1.19.0

func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput

type LaunchTemplatePlacementPtrInput added in v1.19.0

type LaunchTemplatePlacementPtrInput interface {
	pulumi.Input

	ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput
	ToLaunchTemplatePlacementPtrOutputWithContext(context.Context) LaunchTemplatePlacementPtrOutput
}

func LaunchTemplatePlacementPtr added in v1.19.0

func LaunchTemplatePlacementPtr(v *LaunchTemplatePlacementArgs) LaunchTemplatePlacementPtrInput

type LaunchTemplatePlacementPtrOutput added in v1.19.0

type LaunchTemplatePlacementPtrOutput struct{ *pulumi.OutputState }

func (LaunchTemplatePlacementPtrOutput) Affinity added in v1.19.0

func (LaunchTemplatePlacementPtrOutput) AvailabilityZone added in v1.19.0

func (LaunchTemplatePlacementPtrOutput) Elem added in v1.19.0

func (LaunchTemplatePlacementPtrOutput) ElementType added in v1.19.0

func (LaunchTemplatePlacementPtrOutput) GroupName added in v1.19.0

func (LaunchTemplatePlacementPtrOutput) HostId added in v1.19.0

func (LaunchTemplatePlacementPtrOutput) SpreadDomain added in v1.19.0

func (LaunchTemplatePlacementPtrOutput) Tenancy added in v1.19.0

func (LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutput added in v1.19.0

func (o LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput

func (LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutputWithContext added in v1.19.0

func (o LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput

type LaunchTemplateState

type LaunchTemplateState struct {
	// Amazon Resource Name (ARN) of the launch template.
	Arn pulumi.StringPtrInput
	// Specify volumes to attach to the instance besides the volumes specified by the AMI.
	// See Block Devices below for details.
	BlockDeviceMappings LaunchTemplateBlockDeviceMappingArrayInput
	// Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
	CapacityReservationSpecification LaunchTemplateCapacityReservationSpecificationPtrInput
	// Customize the credit specification of the instance. See Credit
	// Specification below for more details.
	CreditSpecification LaunchTemplateCreditSpecificationPtrInput
	// The default version of the launch template.
	DefaultVersion pulumi.IntPtrInput
	// Description of the launch template.
	Description pulumi.StringPtrInput
	// If `true`, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrInput
	// If `true`, the launched EC2 instance will be EBS-optimized.
	EbsOptimized pulumi.StringPtrInput
	// The elastic GPU to attach to the instance. See Elastic GPU
	// below for more details.
	ElasticGpuSpecifications LaunchTemplateElasticGpuSpecificationArrayInput
	// Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
	ElasticInferenceAccelerator LaunchTemplateElasticInferenceAcceleratorPtrInput
	// The IAM Instance Profile to launch the instance with. See Instance Profile
	// below for more details.
	IamInstanceProfile LaunchTemplateIamInstanceProfilePtrInput
	// The AMI from which to launch the instance.
	ImageId pulumi.StringPtrInput
	// Shutdown behavior for the instance. Can be `stop` or `terminate`.
	// (Default: `stop`).
	InstanceInitiatedShutdownBehavior pulumi.StringPtrInput
	// The market (purchasing) option for the instance. See Market Options
	// below for details.
	InstanceMarketOptions LaunchTemplateInstanceMarketOptionsPtrInput
	// The type of the instance.
	InstanceType pulumi.StringPtrInput
	// The kernel ID.
	KernelId pulumi.StringPtrInput
	// The key name to use for the instance.
	KeyName pulumi.StringPtrInput
	// The latest version of the launch template.
	LatestVersion pulumi.IntPtrInput
	// A list of license specifications to associate with. See License Specification below for more details.
	LicenseSpecifications LaunchTemplateLicenseSpecificationArrayInput
	// The monitoring option for the instance. See Monitoring below for more details.
	Monitoring LaunchTemplateMonitoringPtrInput
	// The name of the launch template. If you leave this blank, this provider will auto-generate a unique name.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Customize network interfaces to be attached at instance boot time. See Network
	// Interfaces below for more details.
	NetworkInterfaces LaunchTemplateNetworkInterfaceArrayInput
	// The placement of the instance. See Placement below for more details.
	Placement LaunchTemplatePlacementPtrInput
	// The ID of the RAM disk.
	RamDiskId pulumi.StringPtrInput
	// A list of security group names to associate with. If you are creating Instances in a VPC, use
	// `vpcSecurityGroupIds` instead.
	SecurityGroupNames pulumi.StringArrayInput
	// The tags to apply to the resources during launch. See Tag Specifications below for more details.
	TagSpecifications LaunchTemplateTagSpecificationArrayInput
	// A mapping of tags to assign to the launch template.
	Tags pulumi.MapInput
	// The Base64-encoded user data to provide when launching the instance.
	UserData pulumi.StringPtrInput
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayInput
}

func (LaunchTemplateState) ElementType added in v1.19.0

func (LaunchTemplateState) ElementType() reflect.Type

type LaunchTemplateTagSpecification added in v1.19.0

type LaunchTemplateTagSpecification struct {
	ResourceType *string `pulumi:"resourceType"`
	// A mapping of tags to assign to the launch template.
	Tags map[string]interface{} `pulumi:"tags"`
}

type LaunchTemplateTagSpecificationArgs added in v1.19.0

type LaunchTemplateTagSpecificationArgs struct {
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
	// A mapping of tags to assign to the launch template.
	Tags pulumi.MapInput `pulumi:"tags"`
}

func (LaunchTemplateTagSpecificationArgs) ElementType added in v1.19.0

func (LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutput added in v1.19.0

func (i LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutput() LaunchTemplateTagSpecificationOutput

func (LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutputWithContext added in v1.19.0

func (i LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationOutput

type LaunchTemplateTagSpecificationArray added in v1.19.0

type LaunchTemplateTagSpecificationArray []LaunchTemplateTagSpecificationInput

func (LaunchTemplateTagSpecificationArray) ElementType added in v1.19.0

func (LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutput added in v1.19.0

func (i LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutput() LaunchTemplateTagSpecificationArrayOutput

func (LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutputWithContext added in v1.19.0

func (i LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationArrayOutput

type LaunchTemplateTagSpecificationArrayInput added in v1.19.0

type LaunchTemplateTagSpecificationArrayInput interface {
	pulumi.Input

	ToLaunchTemplateTagSpecificationArrayOutput() LaunchTemplateTagSpecificationArrayOutput
	ToLaunchTemplateTagSpecificationArrayOutputWithContext(context.Context) LaunchTemplateTagSpecificationArrayOutput
}

type LaunchTemplateTagSpecificationArrayOutput added in v1.19.0

type LaunchTemplateTagSpecificationArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplateTagSpecificationArrayOutput) ElementType added in v1.19.0

func (LaunchTemplateTagSpecificationArrayOutput) Index added in v1.19.0

func (LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutput added in v1.19.0

func (o LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutput() LaunchTemplateTagSpecificationArrayOutput

func (LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutputWithContext added in v1.19.0

func (o LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationArrayOutput

type LaunchTemplateTagSpecificationInput added in v1.19.0

type LaunchTemplateTagSpecificationInput interface {
	pulumi.Input

	ToLaunchTemplateTagSpecificationOutput() LaunchTemplateTagSpecificationOutput
	ToLaunchTemplateTagSpecificationOutputWithContext(context.Context) LaunchTemplateTagSpecificationOutput
}

type LaunchTemplateTagSpecificationOutput added in v1.19.0

type LaunchTemplateTagSpecificationOutput struct{ *pulumi.OutputState }

func (LaunchTemplateTagSpecificationOutput) ElementType added in v1.19.0

func (LaunchTemplateTagSpecificationOutput) ResourceType added in v1.19.0

func (LaunchTemplateTagSpecificationOutput) Tags added in v1.19.0

A mapping of tags to assign to the launch template.

func (LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutput added in v1.19.0

func (o LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutput() LaunchTemplateTagSpecificationOutput

func (LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutputWithContext added in v1.19.0

func (o LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationOutput

type LookupCustomerGatewayArgs added in v1.19.0

type LookupCustomerGatewayArgs struct {
	// One or more [name-value pairs][dcg-filters] to filter by.
	Filters []GetCustomerGatewayFilter `pulumi:"filters"`
	// The ID of the gateway.
	Id   *string                `pulumi:"id"`
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getCustomerGateway.

type LookupCustomerGatewayResult added in v1.19.0

type LookupCustomerGatewayResult struct {
	// (Optional) The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
	BgpAsn  int                        `pulumi:"bgpAsn"`
	Filters []GetCustomerGatewayFilter `pulumi:"filters"`
	Id      *string                    `pulumi:"id"`
	// (Optional) The IP address of the gateway's Internet-routable external interface.
	IpAddress string `pulumi:"ipAddress"`
	// Map of key-value pairs assigned to the gateway.
	Tags map[string]interface{} `pulumi:"tags"`
	// (Optional) The type of customer gateway. The only type AWS supports at this time is "ipsec.1".
	Type string `pulumi:"type"`
}

A collection of values returned by getCustomerGateway.

func LookupCustomerGateway added in v0.18.10

func LookupCustomerGateway(ctx *pulumi.Context, args *LookupCustomerGatewayArgs, opts ...pulumi.InvokeOption) (*LookupCustomerGatewayResult, error)

Get an existing AWS Customer Gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/customer_gateway.html.markdown.

type LookupInstanceArgs added in v1.19.0

type LookupInstanceArgs struct {
	// One or more name/value pairs to use as filters. There are
	// several valid keys, for a full reference, check out
	// [describe-instances in the AWS CLI reference][1].
	Filters []GetInstanceFilter `pulumi:"filters"`
	// If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the `passwordData` attribute. See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	GetPasswordData *bool `pulumi:"getPasswordData"`
	// Retrieve Base64 encoded User Data contents into the `userDataBase64` attribute. A SHA-1 hash of the User Data contents will always be present in the `userData` attribute. Defaults to `false`.
	GetUserData *bool `pulumi:"getUserData"`
	// Specify the exact Instance ID with which to populate the data source.
	InstanceId *string `pulumi:"instanceId"`
	// A mapping of tags, each pair of which must
	// exactly match a pair on the desired Instance.
	InstanceTags map[string]interface{} `pulumi:"instanceTags"`
	Tags         map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getInstance.

type LookupInstanceResult added in v1.19.0

type LookupInstanceResult struct {
	// The ID of the AMI used to launch the instance.
	Ami string `pulumi:"ami"`
	// The ARN of the instance.
	Arn string `pulumi:"arn"`
	// Whether or not the Instance is associated with a public IP address or not (Boolean).
	AssociatePublicIpAddress bool `pulumi:"associatePublicIpAddress"`
	// The availability zone of the Instance.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// The credit specification of the Instance.
	CreditSpecifications  []GetInstanceCreditSpecification `pulumi:"creditSpecifications"`
	DisableApiTermination bool                             `pulumi:"disableApiTermination"`
	// The EBS block device mappings of the Instance.
	EbsBlockDevices []GetInstanceEbsBlockDevice `pulumi:"ebsBlockDevices"`
	// Whether the Instance is EBS optimized or not (Boolean).
	EbsOptimized bool `pulumi:"ebsOptimized"`
	// The ephemeral block device mappings of the Instance.
	EphemeralBlockDevices []GetInstanceEphemeralBlockDevice `pulumi:"ephemeralBlockDevices"`
	Filters               []GetInstanceFilter               `pulumi:"filters"`
	GetPasswordData       *bool                             `pulumi:"getPasswordData"`
	GetUserData           *bool                             `pulumi:"getUserData"`
	// The Id of the dedicated host the instance will be assigned to.
	HostId string `pulumi:"hostId"`
	// The name of the instance profile associated with the Instance.
	IamInstanceProfile string `pulumi:"iamInstanceProfile"`
	// id is the provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	InstanceId *string `pulumi:"instanceId"`
	// The state of the instance. One of: `pending`, `running`, `shutting-down`, `terminated`, `stopping`, `stopped`. See [Instance Lifecycle](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) for more information.
	InstanceState string                 `pulumi:"instanceState"`
	InstanceTags  map[string]interface{} `pulumi:"instanceTags"`
	// The type of the Instance.
	InstanceType string `pulumi:"instanceType"`
	// The key name of the Instance.
	KeyName string `pulumi:"keyName"`
	// Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
	Monitoring bool `pulumi:"monitoring"`
	// The ID of the network interface that was created with the Instance.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// Base-64 encoded encrypted password data for the instance.
	// Useful for getting the administrator password for instances running Microsoft Windows.
	// This attribute is only exported if `getPasswordData` is true.
	// See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	PasswordData string `pulumi:"passwordData"`
	// The placement group of the Instance.
	PlacementGroup string `pulumi:"placementGroup"`
	// The private DNS name assigned to the Instance. Can only be
	// used inside the Amazon EC2, and only available if you've enabled DNS hostnames
	// for your VPC.
	PrivateDns string `pulumi:"privateDns"`
	// The private IP address assigned to the Instance.
	PrivateIp string `pulumi:"privateIp"`
	// The public DNS name assigned to the Instance. For EC2-VPC, this
	// is only available if you've enabled DNS hostnames for your VPC.
	PublicDns string `pulumi:"publicDns"`
	// The public IP address assigned to the Instance, if applicable. **NOTE**: If you are using an [`ec2.Eip`](https://www.terraform.io/docs/providers/aws/r/eip.html) with your instance, you should refer to the EIP's address directly and not use `publicIp`, as this field will change after the EIP is attached.
	PublicIp string `pulumi:"publicIp"`
	// The root block device mappings of the Instance
	RootBlockDevices []GetInstanceRootBlockDevice `pulumi:"rootBlockDevices"`
	// The associated security groups.
	SecurityGroups []string `pulumi:"securityGroups"`
	// Whether the network interface performs source/destination checking (Boolean).
	SourceDestCheck bool `pulumi:"sourceDestCheck"`
	// The VPC subnet ID.
	SubnetId string `pulumi:"subnetId"`
	// A mapping of tags assigned to the Instance.
	Tags map[string]interface{} `pulumi:"tags"`
	// The tenancy of the instance: `dedicated`, `default`, `host`.
	Tenancy string `pulumi:"tenancy"`
	// SHA-1 hash of User Data supplied to the Instance.
	UserData string `pulumi:"userData"`
	// Base64 encoded contents of User Data supplied to the Instance. Valid UTF-8 contents can be decoded with the [`base64decode` function](https://www.terraform.io/docs/configuration/functions/base64decode.html). This attribute is only exported if `getUserData` is true.
	UserDataBase64 string `pulumi:"userDataBase64"`
	// The associated security groups in a non-default VPC.
	VpcSecurityGroupIds []string `pulumi:"vpcSecurityGroupIds"`
}

A collection of values returned by getInstance.

func LookupInstance

func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)

Use this data source to get the ID of an Amazon EC2 Instance for use in other resources.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/instance.html.markdown.

type LookupInternetGatewayArgs added in v1.19.0

type LookupInternetGatewayArgs struct {
	// Custom filter block as described below.
	Filters []GetInternetGatewayFilter `pulumi:"filters"`
	// The id of the specific Internet Gateway to retrieve.
	InternetGatewayId *string `pulumi:"internetGatewayId"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired Internet Gateway.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getInternetGateway.

type LookupInternetGatewayResult added in v1.19.0

type LookupInternetGatewayResult struct {
	Attachments []GetInternetGatewayAttachment `pulumi:"attachments"`
	Filters     []GetInternetGatewayFilter     `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	InternetGatewayId string `pulumi:"internetGatewayId"`
	// The ID of the AWS account that owns the internet gateway.
	OwnerId string                 `pulumi:"ownerId"`
	Tags    map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getInternetGateway.

func LookupInternetGateway

func LookupInternetGateway(ctx *pulumi.Context, args *LookupInternetGatewayArgs, opts ...pulumi.InvokeOption) (*LookupInternetGatewayResult, error)

`ec2.InternetGateway` provides details about a specific Internet Gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/internet_gateway.html.markdown.

type LookupLaunchConfigurationArgs added in v1.19.0

type LookupLaunchConfigurationArgs struct {
	// The name of the launch configuration.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getLaunchConfiguration.

type LookupLaunchConfigurationResult added in v1.19.0

type LookupLaunchConfigurationResult struct {
	// The Amazon Resource Name of the launch configuration.
	Arn string `pulumi:"arn"`
	// Whether a Public IP address is associated with the instance.
	AssociatePublicIpAddress bool `pulumi:"associatePublicIpAddress"`
	// The EBS Block Devices attached to the instance.
	EbsBlockDevices []GetLaunchConfigurationEbsBlockDevice `pulumi:"ebsBlockDevices"`
	// Whether the launched EC2 instance will be EBS-optimized.
	EbsOptimized bool `pulumi:"ebsOptimized"`
	// Whether Detailed Monitoring is Enabled.
	EnableMonitoring bool `pulumi:"enableMonitoring"`
	// The Ephemeral volumes on the instance.
	EphemeralBlockDevices []GetLaunchConfigurationEphemeralBlockDevice `pulumi:"ephemeralBlockDevices"`
	// The IAM Instance Profile to associate with launched instances.
	IamInstanceProfile string `pulumi:"iamInstanceProfile"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The EC2 Image ID of the instance.
	ImageId string `pulumi:"imageId"`
	// The Instance Type of the instance to launch.
	InstanceType string `pulumi:"instanceType"`
	// The Key Name that should be used for the instance.
	KeyName string `pulumi:"keyName"`
	// The Name of the launch configuration.
	Name string `pulumi:"name"`
	// The Tenancy of the instance.
	PlacementTenancy string `pulumi:"placementTenancy"`
	// The Root Block Device of the instance.
	RootBlockDevices []GetLaunchConfigurationRootBlockDevice `pulumi:"rootBlockDevices"`
	// A list of associated Security Group IDS.
	SecurityGroups []string `pulumi:"securityGroups"`
	// The Price to use for reserving Spot instances.
	SpotPrice string `pulumi:"spotPrice"`
	// The User Data of the instance.
	UserData string `pulumi:"userData"`
	// The ID of a ClassicLink-enabled VPC.
	VpcClassicLinkId string `pulumi:"vpcClassicLinkId"`
	// The IDs of one or more Security Groups for the specified ClassicLink-enabled VPC.
	VpcClassicLinkSecurityGroups []string `pulumi:"vpcClassicLinkSecurityGroups"`
}

A collection of values returned by getLaunchConfiguration.

func LookupLaunchConfiguration added in v0.14.2

func LookupLaunchConfiguration(ctx *pulumi.Context, args *LookupLaunchConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupLaunchConfigurationResult, error)

Provides information about a Launch Configuration.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/launch_configuration.html.markdown.

type LookupLaunchTemplateArgs added in v1.19.0

type LookupLaunchTemplateArgs struct {
	// The name of the launch template.
	Name string                 `pulumi:"name"`
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getLaunchTemplate.

type LookupLaunchTemplateResult added in v1.19.0

type LookupLaunchTemplateResult struct {
	// Amazon Resource Name (ARN) of the launch template.
	Arn string `pulumi:"arn"`
	// Specify volumes to attach to the instance besides the volumes specified by the AMI.
	BlockDeviceMappings []GetLaunchTemplateBlockDeviceMapping `pulumi:"blockDeviceMappings"`
	// Customize the credit specification of the instance. See Credit
	// Specification below for more details.
	CreditSpecifications []GetLaunchTemplateCreditSpecification `pulumi:"creditSpecifications"`
	// The default version of the launch template.
	DefaultVersion int `pulumi:"defaultVersion"`
	// Description of the launch template.
	Description string `pulumi:"description"`
	// If `true`, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination bool `pulumi:"disableApiTermination"`
	// If `true`, the launched EC2 instance will be EBS-optimized.
	EbsOptimized string `pulumi:"ebsOptimized"`
	// The elastic GPU to attach to the instance. See Elastic GPU
	// below for more details.
	ElasticGpuSpecifications []GetLaunchTemplateElasticGpuSpecification `pulumi:"elasticGpuSpecifications"`
	// The IAM Instance Profile to launch the instance with. See Instance Profile
	// below for more details.
	IamInstanceProfiles []GetLaunchTemplateIamInstanceProfile `pulumi:"iamInstanceProfiles"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The AMI from which to launch the instance.
	ImageId string `pulumi:"imageId"`
	// Shutdown behavior for the instance. Can be `stop` or `terminate`.
	// (Default: `stop`).
	InstanceInitiatedShutdownBehavior string `pulumi:"instanceInitiatedShutdownBehavior"`
	// The market (purchasing) option for the instance.
	// below for details.
	InstanceMarketOptions []GetLaunchTemplateInstanceMarketOption `pulumi:"instanceMarketOptions"`
	// The type of the instance.
	InstanceType string `pulumi:"instanceType"`
	// The kernel ID.
	KernelId string `pulumi:"kernelId"`
	// The key name to use for the instance.
	KeyName string `pulumi:"keyName"`
	// The latest version of the launch template.
	LatestVersion int `pulumi:"latestVersion"`
	// The monitoring option for the instance.
	Monitorings []GetLaunchTemplateMonitoring `pulumi:"monitorings"`
	Name        string                        `pulumi:"name"`
	// Customize network interfaces to be attached at instance boot time. See Network
	// Interfaces below for more details.
	NetworkInterfaces []GetLaunchTemplateNetworkInterface `pulumi:"networkInterfaces"`
	// The placement of the instance.
	Placements []GetLaunchTemplatePlacement `pulumi:"placements"`
	// The ID of the RAM disk.
	RamDiskId string `pulumi:"ramDiskId"`
	// A list of security group names to associate with. If you are creating Instances in a VPC, use
	// `vpcSecurityGroupIds` instead.
	SecurityGroupNames []string `pulumi:"securityGroupNames"`
	// The tags to apply to the resources during launch.
	TagSpecifications []GetLaunchTemplateTagSpecification `pulumi:"tagSpecifications"`
	// (Optional) A mapping of tags to assign to the launch template.
	Tags map[string]interface{} `pulumi:"tags"`
	// The Base64-encoded user data to provide when launching the instance.
	UserData string `pulumi:"userData"`
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds []string `pulumi:"vpcSecurityGroupIds"`
}

A collection of values returned by getLaunchTemplate.

func LookupLaunchTemplate added in v0.16.1

func LookupLaunchTemplate(ctx *pulumi.Context, args *LookupLaunchTemplateArgs, opts ...pulumi.InvokeOption) (*LookupLaunchTemplateResult, error)

Provides information about a Launch Template.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/launch_template.html.markdown.

type LookupNatGatewayArgs added in v1.19.0

type LookupNatGatewayArgs struct {
	// Custom filter block as described below.
	Filters []GetNatGatewayFilter `pulumi:"filters"`
	// The id of the specific Nat Gateway to retrieve.
	Id *string `pulumi:"id"`
	// The state of the NAT gateway (pending | failed | available | deleting | deleted ).
	State *string `pulumi:"state"`
	// The id of subnet that the Nat Gateway resides in.
	SubnetId *string `pulumi:"subnetId"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired Nat Gateway.
	Tags map[string]interface{} `pulumi:"tags"`
	// The id of the VPC that the Nat Gateway resides in.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getNatGateway.

type LookupNatGatewayResult added in v1.19.0

type LookupNatGatewayResult struct {
	// The Id of the EIP allocated to the selected Nat Gateway.
	AllocationId string                `pulumi:"allocationId"`
	Filters      []GetNatGatewayFilter `pulumi:"filters"`
	Id           string                `pulumi:"id"`
	// The Id of the ENI allocated to the selected Nat Gateway.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// The private Ip address of the selected Nat Gateway.
	PrivateIp string `pulumi:"privateIp"`
	// The public Ip (EIP) address of the selected Nat Gateway.
	PublicIp string                 `pulumi:"publicIp"`
	State    string                 `pulumi:"state"`
	SubnetId string                 `pulumi:"subnetId"`
	Tags     map[string]interface{} `pulumi:"tags"`
	VpcId    string                 `pulumi:"vpcId"`
}

A collection of values returned by getNatGateway.

func LookupNatGateway

func LookupNatGateway(ctx *pulumi.Context, args *LookupNatGatewayArgs, opts ...pulumi.InvokeOption) (*LookupNatGatewayResult, error)

Provides details about a specific Nat Gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/nat_gateway.html.markdown.

type LookupNetworkInterfaceArgs added in v1.19.0

type LookupNetworkInterfaceArgs struct {
	// One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out [describe-network-interfaces](https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-network-interfaces.html) in the AWS CLI reference.
	Filters []GetNetworkInterfaceFilter `pulumi:"filters"`
	// The identifier for the network interface.
	Id   *string                `pulumi:"id"`
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getNetworkInterface.

type LookupNetworkInterfaceResult added in v1.19.0

type LookupNetworkInterfaceResult struct {
	// The association information for an Elastic IP address (IPv4) associated with the network interface. See supported fields below.
	Associations []GetNetworkInterfaceAssociation    `pulumi:"associations"`
	Attachments  []GetNetworkInterfaceAttachmentType `pulumi:"attachments"`
	// The Availability Zone.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Description of the network interface.
	Description string                      `pulumi:"description"`
	Filters     []GetNetworkInterfaceFilter `pulumi:"filters"`
	Id          string                      `pulumi:"id"`
	// The type of interface.
	InterfaceType string `pulumi:"interfaceType"`
	// List of IPv6 addresses to assign to the ENI.
	Ipv6Addresses []string `pulumi:"ipv6Addresses"`
	// The MAC address.
	MacAddress string `pulumi:"macAddress"`
	// The AWS account ID of the owner of the network interface.
	OwnerId string `pulumi:"ownerId"`
	// The private DNS name.
	PrivateDnsName string `pulumi:"privateDnsName"`
	// The private IPv4 address of the network interface within the subnet.
	PrivateIp string `pulumi:"privateIp"`
	// The private IPv4 addresses associated with the network interface.
	PrivateIps []string `pulumi:"privateIps"`
	// The ID of the entity that launched the instance on your behalf.
	RequesterId string `pulumi:"requesterId"`
	// The list of security groups for the network interface.
	SecurityGroups []string `pulumi:"securityGroups"`
	// The ID of the subnet.
	SubnetId string `pulumi:"subnetId"`
	// Any tags assigned to the network interface.
	Tags map[string]interface{} `pulumi:"tags"`
	// The ID of the VPC.
	VpcId string `pulumi:"vpcId"`
}

A collection of values returned by getNetworkInterface.

func LookupNetworkInterface

func LookupNetworkInterface(ctx *pulumi.Context, args *LookupNetworkInterfaceArgs, opts ...pulumi.InvokeOption) (*LookupNetworkInterfaceResult, error)

Use this data source to get information about a Network Interface.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/network_interface.html.markdown.

type LookupRouteArgs added in v1.19.0

type LookupRouteArgs struct {
	// The CIDR block of the Route belonging to the Route Table.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// The IPv6 CIDR block of the Route belonging to the Route Table.
	DestinationIpv6CidrBlock *string `pulumi:"destinationIpv6CidrBlock"`
	// The Egress Only Gateway ID of the Route belonging to the Route Table.
	EgressOnlyGatewayId *string `pulumi:"egressOnlyGatewayId"`
	// The Gateway ID of the Route belonging to the Route Table.
	GatewayId *string `pulumi:"gatewayId"`
	// The Instance ID of the Route belonging to the Route Table.
	InstanceId *string `pulumi:"instanceId"`
	// The NAT Gateway ID of the Route belonging to the Route Table.
	NatGatewayId *string `pulumi:"natGatewayId"`
	// The Network Interface ID of the Route belonging to the Route Table.
	NetworkInterfaceId *string `pulumi:"networkInterfaceId"`
	// The id of the specific Route Table containing the Route entry.
	RouteTableId string `pulumi:"routeTableId"`
	// The EC2 Transit Gateway ID of the Route belonging to the Route Table.
	TransitGatewayId *string `pulumi:"transitGatewayId"`
	// The VPC Peering Connection ID of the Route belonging to the Route Table.
	VpcPeeringConnectionId *string `pulumi:"vpcPeeringConnectionId"`
}

A collection of arguments for invoking getRoute.

type LookupRouteResult added in v1.19.0

type LookupRouteResult struct {
	DestinationCidrBlock     string `pulumi:"destinationCidrBlock"`
	DestinationIpv6CidrBlock string `pulumi:"destinationIpv6CidrBlock"`
	EgressOnlyGatewayId      string `pulumi:"egressOnlyGatewayId"`
	GatewayId                string `pulumi:"gatewayId"`
	// id is the provider-assigned unique ID for this managed resource.
	Id                     string `pulumi:"id"`
	InstanceId             string `pulumi:"instanceId"`
	NatGatewayId           string `pulumi:"natGatewayId"`
	NetworkInterfaceId     string `pulumi:"networkInterfaceId"`
	RouteTableId           string `pulumi:"routeTableId"`
	TransitGatewayId       string `pulumi:"transitGatewayId"`
	VpcPeeringConnectionId string `pulumi:"vpcPeeringConnectionId"`
}

A collection of values returned by getRoute.

func LookupRoute

func LookupRoute(ctx *pulumi.Context, args *LookupRouteArgs, opts ...pulumi.InvokeOption) (*LookupRouteResult, error)

`ec2.Route` provides details about a specific Route.

This resource can prove useful when finding the resource associated with a CIDR. For example, finding the peering connection associated with a CIDR value.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/route.html.markdown.

type LookupRouteTableArgs added in v1.19.0

type LookupRouteTableArgs struct {
	// Custom filter block as described below.
	Filters []GetRouteTableFilter `pulumi:"filters"`
	// The id of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).
	GatewayId *string `pulumi:"gatewayId"`
	// The id of the specific Route Table to retrieve.
	RouteTableId *string `pulumi:"routeTableId"`
	// The id of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
	SubnetId *string `pulumi:"subnetId"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired Route Table.
	Tags map[string]interface{} `pulumi:"tags"`
	// The id of the VPC that the desired Route Table belongs to.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getRouteTable.

type LookupRouteTableResult added in v1.19.0

type LookupRouteTableResult struct {
	Associations []GetRouteTableAssociationType `pulumi:"associations"`
	Filters      []GetRouteTableFilter          `pulumi:"filters"`
	// The Gateway ID. Only set when associated with an Internet Gateway or Virtual Private Gateway.
	GatewayId string `pulumi:"gatewayId"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the AWS account that owns the route table
	OwnerId string `pulumi:"ownerId"`
	// The Route Table ID.
	RouteTableId string               `pulumi:"routeTableId"`
	Routes       []GetRouteTableRoute `pulumi:"routes"`
	// The Subnet ID. Only set when associated with a Subnet.
	SubnetId string                 `pulumi:"subnetId"`
	Tags     map[string]interface{} `pulumi:"tags"`
	VpcId    string                 `pulumi:"vpcId"`
}

A collection of values returned by getRouteTable.

func LookupRouteTable

func LookupRouteTable(ctx *pulumi.Context, args *LookupRouteTableArgs, opts ...pulumi.InvokeOption) (*LookupRouteTableResult, error)

`ec2.RouteTable` provides details about a specific Route Table.

This resource can prove useful when a module accepts a Subnet id as an input variable and needs to, for example, add a route in the Route Table.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/route_table.html.markdown.

type LookupSecurityGroupArgs added in v1.19.0

type LookupSecurityGroupArgs struct {
	// Custom filter block as described below.
	Filters []GetSecurityGroupFilter `pulumi:"filters"`
	// The id of the specific security group to retrieve.
	Id *string `pulumi:"id"`
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html).
	Name *string `pulumi:"name"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired security group.
	Tags map[string]interface{} `pulumi:"tags"`
	// The id of the VPC that the desired security group belongs to.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getSecurityGroup.

type LookupSecurityGroupResult added in v1.19.0

type LookupSecurityGroupResult struct {
	// The computed ARN of the security group.
	Arn string `pulumi:"arn"`
	// The description of the security group.
	Description string                   `pulumi:"description"`
	Filters     []GetSecurityGroupFilter `pulumi:"filters"`
	Id          string                   `pulumi:"id"`
	Name        string                   `pulumi:"name"`
	Tags        map[string]interface{}   `pulumi:"tags"`
	VpcId       string                   `pulumi:"vpcId"`
}

A collection of values returned by getSecurityGroup.

func LookupSecurityGroup

func LookupSecurityGroup(ctx *pulumi.Context, args *LookupSecurityGroupArgs, opts ...pulumi.InvokeOption) (*LookupSecurityGroupResult, error)

`ec2.SecurityGroup` provides details about a specific Security Group.

This resource can prove useful when a module accepts a Security Group id as an input variable and needs to, for example, determine the id of the VPC that the security group belongs to.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/security_group.html.markdown.

type LookupSubnetArgs added in v1.19.0

type LookupSubnetArgs struct {
	// The availability zone where the
	// subnet must reside.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// The ID of the Availability Zone for the subnet.
	AvailabilityZoneId *string `pulumi:"availabilityZoneId"`
	// The cidr block of the desired subnet.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Boolean constraint for whether the desired
	// subnet must be the default subnet for its associated availability zone.
	DefaultForAz *bool `pulumi:"defaultForAz"`
	// Custom filter block as described below.
	Filters []GetSubnetFilter `pulumi:"filters"`
	// The id of the specific subnet to retrieve.
	Id *string `pulumi:"id"`
	// The Ipv6 cidr block of the desired subnet
	Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
	// The state that the desired subnet must have.
	State *string `pulumi:"state"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired subnet.
	Tags map[string]interface{} `pulumi:"tags"`
	// The id of the VPC that the desired subnet belongs to.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getSubnet.

type LookupSubnetResult added in v1.19.0

type LookupSubnetResult struct {
	// The ARN of the subnet.
	Arn                         string            `pulumi:"arn"`
	AssignIpv6AddressOnCreation bool              `pulumi:"assignIpv6AddressOnCreation"`
	AvailabilityZone            string            `pulumi:"availabilityZone"`
	AvailabilityZoneId          string            `pulumi:"availabilityZoneId"`
	CidrBlock                   string            `pulumi:"cidrBlock"`
	DefaultForAz                bool              `pulumi:"defaultForAz"`
	Filters                     []GetSubnetFilter `pulumi:"filters"`
	Id                          string            `pulumi:"id"`
	Ipv6CidrBlock               string            `pulumi:"ipv6CidrBlock"`
	Ipv6CidrBlockAssociationId  string            `pulumi:"ipv6CidrBlockAssociationId"`
	MapPublicIpOnLaunch         bool              `pulumi:"mapPublicIpOnLaunch"`
	// The ID of the AWS account that owns the subnet.
	OwnerId string                 `pulumi:"ownerId"`
	State   string                 `pulumi:"state"`
	Tags    map[string]interface{} `pulumi:"tags"`
	VpcId   string                 `pulumi:"vpcId"`
}

A collection of values returned by getSubnet.

func LookupSubnet

func LookupSubnet(ctx *pulumi.Context, args *LookupSubnetArgs, opts ...pulumi.InvokeOption) (*LookupSubnetResult, error)

`ec2.Subnet` provides details about a specific VPC subnet.

This resource can prove useful when a module accepts a subnet id as an input variable and needs to, for example, determine the id of the VPC that the subnet belongs to.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/subnet.html.markdown.

type LookupVpcArgs added in v1.19.0

type LookupVpcArgs struct {
	// The cidr block of the desired VPC.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Boolean constraint on whether the desired VPC is
	// the default VPC for the region.
	Default *bool `pulumi:"default"`
	// The DHCP options id of the desired VPC.
	DhcpOptionsId *string `pulumi:"dhcpOptionsId"`
	// Custom filter block as described below.
	Filters []GetVpcFilter `pulumi:"filters"`
	// The id of the specific VPC to retrieve.
	Id *string `pulumi:"id"`
	// The current state of the desired VPC.
	// Can be either `"pending"` or `"available"`.
	State *string `pulumi:"state"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired VPC.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getVpc.

type LookupVpcDhcpOptionsArgs added in v1.19.0

type LookupVpcDhcpOptionsArgs struct {
	// The EC2 DHCP Options ID.
	DhcpOptionsId *string `pulumi:"dhcpOptionsId"`
	// List of custom filters as described below.
	Filters []GetVpcDhcpOptionsFilter `pulumi:"filters"`
	Tags    map[string]interface{}    `pulumi:"tags"`
}

A collection of arguments for invoking getVpcDhcpOptions.

type LookupVpcDhcpOptionsResult added in v1.19.0

type LookupVpcDhcpOptionsResult struct {
	// EC2 DHCP Options ID
	DhcpOptionsId string `pulumi:"dhcpOptionsId"`
	// The suffix domain name to used when resolving non Fully Qualified Domain Names. e.g. the `search` value in the `/etc/resolv.conf` file.
	DomainName string `pulumi:"domainName"`
	// List of name servers.
	DomainNameServers []string                  `pulumi:"domainNameServers"`
	Filters           []GetVpcDhcpOptionsFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of NETBIOS name servers.
	NetbiosNameServers []string `pulumi:"netbiosNameServers"`
	// The NetBIOS node type (1, 2, 4, or 8). For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
	NetbiosNodeType string `pulumi:"netbiosNodeType"`
	// List of NTP servers.
	NtpServers []string `pulumi:"ntpServers"`
	// The ID of the AWS account that owns the DHCP options set.
	OwnerId string `pulumi:"ownerId"`
	// A mapping of tags assigned to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getVpcDhcpOptions.

func LookupVpcDhcpOptions added in v0.14.2

func LookupVpcDhcpOptions(ctx *pulumi.Context, args *LookupVpcDhcpOptionsArgs, opts ...pulumi.InvokeOption) (*LookupVpcDhcpOptionsResult, error)

Retrieve information about an EC2 DHCP Options configuration.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/vpc_dhcp_options.html.markdown.

type LookupVpcEndpointArgs added in v1.19.0

type LookupVpcEndpointArgs struct {
	// Custom filter block as described below.
	Filters []GetVpcEndpointFilter `pulumi:"filters"`
	// The ID of the specific VPC Endpoint to retrieve.
	Id *string `pulumi:"id"`
	// The AWS service name of the specific VPC Endpoint to retrieve.
	ServiceName *string `pulumi:"serviceName"`
	// The state of the specific VPC Endpoint to retrieve.
	State *string `pulumi:"state"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the specific VPC Endpoint to retrieve.
	Tags map[string]interface{} `pulumi:"tags"`
	// The ID of the VPC in which the specific VPC Endpoint is used.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getVpcEndpoint.

type LookupVpcEndpointResult added in v1.19.0

type LookupVpcEndpointResult struct {
	// The list of CIDR blocks for the exposed AWS service. Applicable for endpoints of type `Gateway`.
	CidrBlocks []string `pulumi:"cidrBlocks"`
	// The DNS entries for the VPC Endpoint. Applicable for endpoints of type `Interface`. DNS blocks are documented below.
	DnsEntries []GetVpcEndpointDnsEntry `pulumi:"dnsEntries"`
	Filters    []GetVpcEndpointFilter   `pulumi:"filters"`
	Id         string                   `pulumi:"id"`
	// One or more network interfaces for the VPC Endpoint. Applicable for endpoints of type `Interface`.
	NetworkInterfaceIds []string `pulumi:"networkInterfaceIds"`
	// The ID of the AWS account that owns the VPC endpoint.
	OwnerId string `pulumi:"ownerId"`
	// The policy document associated with the VPC Endpoint. Applicable for endpoints of type `Gateway`.
	Policy string `pulumi:"policy"`
	// The prefix list ID of the exposed AWS service. Applicable for endpoints of type `Gateway`.
	PrefixListId string `pulumi:"prefixListId"`
	// Whether or not the VPC is associated with a private hosted zone - `true` or `false`. Applicable for endpoints of type `Interface`.
	PrivateDnsEnabled bool `pulumi:"privateDnsEnabled"`
	// Whether or not the VPC Endpoint is being managed by its service - `true` or `false`.
	RequesterManaged bool `pulumi:"requesterManaged"`
	// One or more route tables associated with the VPC Endpoint. Applicable for endpoints of type `Gateway`.
	RouteTableIds []string `pulumi:"routeTableIds"`
	// One or more security groups associated with the network interfaces. Applicable for endpoints of type `Interface`.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	ServiceName      string   `pulumi:"serviceName"`
	State            string   `pulumi:"state"`
	// One or more subnets in which the VPC Endpoint is located. Applicable for endpoints of type `Interface`.
	SubnetIds []string               `pulumi:"subnetIds"`
	Tags      map[string]interface{} `pulumi:"tags"`
	// The VPC Endpoint type, `Gateway` or `Interface`.
	VpcEndpointType string `pulumi:"vpcEndpointType"`
	VpcId           string `pulumi:"vpcId"`
}

A collection of values returned by getVpcEndpoint.

func LookupVpcEndpoint

func LookupVpcEndpoint(ctx *pulumi.Context, args *LookupVpcEndpointArgs, opts ...pulumi.InvokeOption) (*LookupVpcEndpointResult, error)

The VPC Endpoint data source provides details about a specific VPC endpoint.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/vpc_endpoint.html.markdown.

type LookupVpcEndpointServiceArgs added in v1.19.0

type LookupVpcEndpointServiceArgs struct {
	// The common name of an AWS service (e.g. `s3`).
	Service *string `pulumi:"service"`
	// The service name that can be specified when creating a VPC endpoint.
	ServiceName *string                `pulumi:"serviceName"`
	Tags        map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getVpcEndpointService.

type LookupVpcEndpointServiceResult added in v1.19.0

type LookupVpcEndpointServiceResult struct {
	// Whether or not VPC endpoint connection requests to the service must be accepted by the service owner - `true` or `false`.
	AcceptanceRequired bool `pulumi:"acceptanceRequired"`
	// The Availability Zones in which the service is available.
	AvailabilityZones []string `pulumi:"availabilityZones"`
	// The DNS names for the service.
	BaseEndpointDnsNames []string `pulumi:"baseEndpointDnsNames"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Whether or not the service manages its VPC endpoints - `true` or `false`.
	ManagesVpcEndpoints bool `pulumi:"managesVpcEndpoints"`
	// The AWS account ID of the service owner or `amazon`.
	Owner string `pulumi:"owner"`
	// The private DNS name for the service.
	PrivateDnsName string  `pulumi:"privateDnsName"`
	Service        *string `pulumi:"service"`
	// The ID of the endpoint service.
	ServiceId   string `pulumi:"serviceId"`
	ServiceName string `pulumi:"serviceName"`
	// The service type, `Gateway` or `Interface`.
	ServiceType string `pulumi:"serviceType"`
	// A mapping of tags assigned to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// Whether or not the service supports endpoint policies - `true` or `false`.
	VpcEndpointPolicySupported bool `pulumi:"vpcEndpointPolicySupported"`
}

A collection of values returned by getVpcEndpointService.

func LookupVpcEndpointService

func LookupVpcEndpointService(ctx *pulumi.Context, args *LookupVpcEndpointServiceArgs, opts ...pulumi.InvokeOption) (*LookupVpcEndpointServiceResult, error)

The VPC Endpoint Service data source details about a specific service that can be specified when creating a VPC endpoint within the region configured in the provider.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/vpc_endpoint_service.html.markdown.

type LookupVpcPeeringConnectionArgs added in v1.19.0

type LookupVpcPeeringConnectionArgs struct {
	// The CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Custom filter block as described below.
	Filters []GetVpcPeeringConnectionFilter `pulumi:"filters"`
	// The ID of the specific VPC Peering Connection to retrieve.
	Id *string `pulumi:"id"`
	// The AWS account ID of the owner of the requester VPC of the specific VPC Peering Connection to retrieve.
	OwnerId *string `pulumi:"ownerId"`
	// The CIDR block of the accepter VPC of the specific VPC Peering Connection to retrieve.
	PeerCidrBlock *string `pulumi:"peerCidrBlock"`
	// The AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connection to retrieve.
	PeerOwnerId *string `pulumi:"peerOwnerId"`
	// The region of the accepter VPC of the specific VPC Peering Connection to retrieve.
	PeerRegion *string `pulumi:"peerRegion"`
	// The ID of the accepter VPC of the specific VPC Peering Connection to retrieve.
	PeerVpcId *string `pulumi:"peerVpcId"`
	// The region of the requester VPC of the specific VPC Peering Connection to retrieve.
	Region *string `pulumi:"region"`
	// The status of the specific VPC Peering Connection to retrieve.
	Status *string `pulumi:"status"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired VPC Peering Connection.
	Tags map[string]interface{} `pulumi:"tags"`
	// The ID of the requester VPC of the specific VPC Peering Connection to retrieve.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getVpcPeeringConnection.

type LookupVpcPeeringConnectionResult added in v1.19.0

type LookupVpcPeeringConnectionResult struct {
	// A configuration block that describes [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options set for the accepter VPC.
	Accepter      map[string]bool                 `pulumi:"accepter"`
	CidrBlock     string                          `pulumi:"cidrBlock"`
	Filters       []GetVpcPeeringConnectionFilter `pulumi:"filters"`
	Id            string                          `pulumi:"id"`
	OwnerId       string                          `pulumi:"ownerId"`
	PeerCidrBlock string                          `pulumi:"peerCidrBlock"`
	PeerOwnerId   string                          `pulumi:"peerOwnerId"`
	PeerRegion    string                          `pulumi:"peerRegion"`
	PeerVpcId     string                          `pulumi:"peerVpcId"`
	Region        string                          `pulumi:"region"`
	// A configuration block that describes [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options set for the requester VPC.
	Requester map[string]bool        `pulumi:"requester"`
	Status    string                 `pulumi:"status"`
	Tags      map[string]interface{} `pulumi:"tags"`
	VpcId     string                 `pulumi:"vpcId"`
}

A collection of values returned by getVpcPeeringConnection.

func LookupVpcPeeringConnection

func LookupVpcPeeringConnection(ctx *pulumi.Context, args *LookupVpcPeeringConnectionArgs, opts ...pulumi.InvokeOption) (*LookupVpcPeeringConnectionResult, error)

The VPC Peering Connection data source provides details about a specific VPC peering connection.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/vpc_peering_connection.html.markdown.

type LookupVpcResult added in v1.19.0

type LookupVpcResult struct {
	// Amazon Resource Name (ARN) of VPC
	Arn string `pulumi:"arn"`
	// The CIDR block for the association.
	CidrBlock             string                       `pulumi:"cidrBlock"`
	CidrBlockAssociations []GetVpcCidrBlockAssociation `pulumi:"cidrBlockAssociations"`
	Default               bool                         `pulumi:"default"`
	DhcpOptionsId         string                       `pulumi:"dhcpOptionsId"`
	// Whether or not the VPC has DNS hostname support
	EnableDnsHostnames bool `pulumi:"enableDnsHostnames"`
	// Whether or not the VPC has DNS support
	EnableDnsSupport bool           `pulumi:"enableDnsSupport"`
	Filters          []GetVpcFilter `pulumi:"filters"`
	Id               string         `pulumi:"id"`
	// The allowed tenancy of instances launched into the
	// selected VPC. May be any of `"default"`, `"dedicated"`, or `"host"`.
	InstanceTenancy string `pulumi:"instanceTenancy"`
	// The association ID for the IPv6 CIDR block.
	Ipv6AssociationId string `pulumi:"ipv6AssociationId"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock string `pulumi:"ipv6CidrBlock"`
	// The ID of the main route table associated with this VPC.
	MainRouteTableId string `pulumi:"mainRouteTableId"`
	// The ID of the AWS account that owns the VPC.
	OwnerId string `pulumi:"ownerId"`
	// The State of the association.
	State string                 `pulumi:"state"`
	Tags  map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getVpc.

func LookupVpc

func LookupVpc(ctx *pulumi.Context, args *LookupVpcArgs, opts ...pulumi.InvokeOption) (*LookupVpcResult, error)

`ec2.Vpc` provides details about a specific VPC.

This resource can prove useful when a module accepts a vpc id as an input variable and needs to, for example, determine the CIDR block of that VPC.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/vpc.html.markdown.

type LookupVpnGatewayArgs added in v1.19.0

type LookupVpnGatewayArgs struct {
	// The Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to retrieve.
	AmazonSideAsn *string `pulumi:"amazonSideAsn"`
	// The ID of a VPC attached to the specific VPN Gateway to retrieve.
	AttachedVpcId *string `pulumi:"attachedVpcId"`
	// The Availability Zone of the specific VPN Gateway to retrieve.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// Custom filter block as described below.
	Filters []GetVpnGatewayFilter `pulumi:"filters"`
	// The ID of the specific VPN Gateway to retrieve.
	Id *string `pulumi:"id"`
	// The state of the specific VPN Gateway to retrieve.
	State *string `pulumi:"state"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the desired VPN Gateway.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getVpnGateway.

type LookupVpnGatewayResult added in v1.19.0

type LookupVpnGatewayResult struct {
	AmazonSideAsn    string                 `pulumi:"amazonSideAsn"`
	AttachedVpcId    string                 `pulumi:"attachedVpcId"`
	AvailabilityZone string                 `pulumi:"availabilityZone"`
	Filters          []GetVpnGatewayFilter  `pulumi:"filters"`
	Id               string                 `pulumi:"id"`
	State            string                 `pulumi:"state"`
	Tags             map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getVpnGateway.

func LookupVpnGateway

func LookupVpnGateway(ctx *pulumi.Context, args *LookupVpnGatewayArgs, opts ...pulumi.InvokeOption) (*LookupVpnGatewayResult, error)

The VPN Gateway data source provides details about a specific VPN gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/vpn_gateway.html.markdown.

type MainRouteTableAssociation

type MainRouteTableAssociation struct {
	pulumi.CustomResourceState

	// Used internally, see __Notes__ below
	OriginalRouteTableId pulumi.StringOutput `pulumi:"originalRouteTableId"`
	// The ID of the Route Table to set as the new
	// main route table for the target VPC
	RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
	// The ID of the VPC whose main route table should be set
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource for managing the main routing table of a VPC.

## Notes

On VPC creation, the AWS API always creates an initial Main Route Table. This resource records the ID of that Route Table under `originalRouteTableId`. The "Delete" action for a `mainRouteTableAssociation` consists of resetting this original table as the Main Route Table for the VPC. You'll see this additional Route Table in the AWS console; it must remain intact in order for the `mainRouteTableAssociation` delete to work properly.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/main_route_table_association.html.markdown.

func GetMainRouteTableAssociation

func GetMainRouteTableAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MainRouteTableAssociationState, opts ...pulumi.ResourceOption) (*MainRouteTableAssociation, error)

GetMainRouteTableAssociation gets an existing MainRouteTableAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMainRouteTableAssociation

func NewMainRouteTableAssociation(ctx *pulumi.Context,
	name string, args *MainRouteTableAssociationArgs, opts ...pulumi.ResourceOption) (*MainRouteTableAssociation, error)

NewMainRouteTableAssociation registers a new resource with the given unique name, arguments, and options.

type MainRouteTableAssociationArgs

type MainRouteTableAssociationArgs struct {
	// The ID of the Route Table to set as the new
	// main route table for the target VPC
	RouteTableId pulumi.StringInput
	// The ID of the VPC whose main route table should be set
	VpcId pulumi.StringInput
}

The set of arguments for constructing a MainRouteTableAssociation resource.

func (MainRouteTableAssociationArgs) ElementType added in v1.19.0

type MainRouteTableAssociationState

type MainRouteTableAssociationState struct {
	// Used internally, see __Notes__ below
	OriginalRouteTableId pulumi.StringPtrInput
	// The ID of the Route Table to set as the new
	// main route table for the target VPC
	RouteTableId pulumi.StringPtrInput
	// The ID of the VPC whose main route table should be set
	VpcId pulumi.StringPtrInput
}

func (MainRouteTableAssociationState) ElementType added in v1.19.0

type NatGateway

type NatGateway struct {
	pulumi.CustomResourceState

	// The Allocation ID of the Elastic IP address for the gateway.
	AllocationId pulumi.StringOutput `pulumi:"allocationId"`
	// The ENI ID of the network interface created by the NAT gateway.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// The private IP address of the NAT Gateway.
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// The public IP address of the NAT Gateway.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// The Subnet ID of the subnet in which to place the gateway.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a resource to create a VPC NAT Gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/nat_gateway.html.markdown.

func GetNatGateway

func GetNatGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NatGatewayState, opts ...pulumi.ResourceOption) (*NatGateway, error)

GetNatGateway gets an existing NatGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNatGateway

func NewNatGateway(ctx *pulumi.Context,
	name string, args *NatGatewayArgs, opts ...pulumi.ResourceOption) (*NatGateway, error)

NewNatGateway registers a new resource with the given unique name, arguments, and options.

type NatGatewayArgs

type NatGatewayArgs struct {
	// The Allocation ID of the Elastic IP address for the gateway.
	AllocationId pulumi.StringInput
	// The Subnet ID of the subnet in which to place the gateway.
	SubnetId pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a NatGateway resource.

func (NatGatewayArgs) ElementType added in v1.19.0

func (NatGatewayArgs) ElementType() reflect.Type

type NatGatewayState

type NatGatewayState struct {
	// The Allocation ID of the Elastic IP address for the gateway.
	AllocationId pulumi.StringPtrInput
	// The ENI ID of the network interface created by the NAT gateway.
	NetworkInterfaceId pulumi.StringPtrInput
	// The private IP address of the NAT Gateway.
	PrivateIp pulumi.StringPtrInput
	// The public IP address of the NAT Gateway.
	PublicIp pulumi.StringPtrInput
	// The Subnet ID of the subnet in which to place the gateway.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (NatGatewayState) ElementType added in v1.19.0

func (NatGatewayState) ElementType() reflect.Type

type NetworkAcl

type NetworkAcl struct {
	pulumi.CustomResourceState

	// Specifies an egress rule. Parameters defined below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Egress NetworkAclEgressArrayOutput `pulumi:"egress"`
	// Specifies an ingress rule. Parameters defined below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Ingress NetworkAclIngressArrayOutput `pulumi:"ingress"`
	// The ID of the AWS account that owns the network ACL.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A list of Subnet IDs to apply the ACL to
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The ID of the associated VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides an network ACL resource. You might set up network ACLs with rules similar to your security groups in order to add an additional layer of security to your VPC.

> **NOTE on Network ACLs and Network ACL Rules:** This provider currently provides both a standalone Network ACL Rule resource and a Network ACL resource with rules defined in-line. At this time you cannot use a Network ACL with in-line rules in conjunction with any Network ACL Rule resources. Doing so will cause a conflict of rule settings and will overwrite rules.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/network_acl.html.markdown.

func GetNetworkAcl

func GetNetworkAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkAclState, opts ...pulumi.ResourceOption) (*NetworkAcl, error)

GetNetworkAcl gets an existing NetworkAcl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkAcl

func NewNetworkAcl(ctx *pulumi.Context,
	name string, args *NetworkAclArgs, opts ...pulumi.ResourceOption) (*NetworkAcl, error)

NewNetworkAcl registers a new resource with the given unique name, arguments, and options.

type NetworkAclArgs

type NetworkAclArgs struct {
	// Specifies an egress rule. Parameters defined below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Egress NetworkAclEgressArrayInput
	// Specifies an ingress rule. Parameters defined below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Ingress NetworkAclIngressArrayInput
	// A list of Subnet IDs to apply the ACL to
	SubnetIds pulumi.StringArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The ID of the associated VPC.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a NetworkAcl resource.

func (NetworkAclArgs) ElementType added in v1.19.0

func (NetworkAclArgs) ElementType() reflect.Type

type NetworkAclEgress added in v1.19.0

type NetworkAclEgress struct {
	// The action to take.
	Action string `pulumi:"action"`
	// The CIDR block to match. This must be a
	// valid network mask.
	CidrBlock *string `pulumi:"cidrBlock"`
	// The from port to match.
	FromPort int `pulumi:"fromPort"`
	// The ICMP type code to be used. Default 0.
	IcmpCode *int `pulumi:"icmpCode"`
	// The ICMP type to be used. Default 0.
	IcmpType *int `pulumi:"icmpType"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
	// The protocol to match. If using the -1 'all'
	// protocol, you must specify a from and to port of 0.
	Protocol string `pulumi:"protocol"`
	// The rule number. Used for ordering.
	RuleNo int `pulumi:"ruleNo"`
	// The to port to match.
	ToPort int `pulumi:"toPort"`
}

type NetworkAclEgressArgs added in v1.19.0

type NetworkAclEgressArgs struct {
	// The action to take.
	Action pulumi.StringInput `pulumi:"action"`
	// The CIDR block to match. This must be a
	// valid network mask.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// The from port to match.
	FromPort pulumi.IntInput `pulumi:"fromPort"`
	// The ICMP type code to be used. Default 0.
	IcmpCode pulumi.IntPtrInput `pulumi:"icmpCode"`
	// The ICMP type to be used. Default 0.
	IcmpType pulumi.IntPtrInput `pulumi:"icmpType"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"`
	// The protocol to match. If using the -1 'all'
	// protocol, you must specify a from and to port of 0.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The rule number. Used for ordering.
	RuleNo pulumi.IntInput `pulumi:"ruleNo"`
	// The to port to match.
	ToPort pulumi.IntInput `pulumi:"toPort"`
}

func (NetworkAclEgressArgs) ElementType added in v1.19.0

func (NetworkAclEgressArgs) ElementType() reflect.Type

func (NetworkAclEgressArgs) ToNetworkAclEgressOutput added in v1.19.0

func (i NetworkAclEgressArgs) ToNetworkAclEgressOutput() NetworkAclEgressOutput

func (NetworkAclEgressArgs) ToNetworkAclEgressOutputWithContext added in v1.19.0

func (i NetworkAclEgressArgs) ToNetworkAclEgressOutputWithContext(ctx context.Context) NetworkAclEgressOutput

type NetworkAclEgressArray added in v1.19.0

type NetworkAclEgressArray []NetworkAclEgressInput

func (NetworkAclEgressArray) ElementType added in v1.19.0

func (NetworkAclEgressArray) ElementType() reflect.Type

func (NetworkAclEgressArray) ToNetworkAclEgressArrayOutput added in v1.19.0

func (i NetworkAclEgressArray) ToNetworkAclEgressArrayOutput() NetworkAclEgressArrayOutput

func (NetworkAclEgressArray) ToNetworkAclEgressArrayOutputWithContext added in v1.19.0

func (i NetworkAclEgressArray) ToNetworkAclEgressArrayOutputWithContext(ctx context.Context) NetworkAclEgressArrayOutput

type NetworkAclEgressArrayInput added in v1.19.0

type NetworkAclEgressArrayInput interface {
	pulumi.Input

	ToNetworkAclEgressArrayOutput() NetworkAclEgressArrayOutput
	ToNetworkAclEgressArrayOutputWithContext(context.Context) NetworkAclEgressArrayOutput
}

type NetworkAclEgressArrayOutput added in v1.19.0

type NetworkAclEgressArrayOutput struct{ *pulumi.OutputState }

func (NetworkAclEgressArrayOutput) ElementType added in v1.19.0

func (NetworkAclEgressArrayOutput) Index added in v1.19.0

func (NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutput added in v1.19.0

func (o NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutput() NetworkAclEgressArrayOutput

func (NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutputWithContext added in v1.19.0

func (o NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutputWithContext(ctx context.Context) NetworkAclEgressArrayOutput

type NetworkAclEgressInput added in v1.19.0

type NetworkAclEgressInput interface {
	pulumi.Input

	ToNetworkAclEgressOutput() NetworkAclEgressOutput
	ToNetworkAclEgressOutputWithContext(context.Context) NetworkAclEgressOutput
}

type NetworkAclEgressOutput added in v1.19.0

type NetworkAclEgressOutput struct{ *pulumi.OutputState }

func (NetworkAclEgressOutput) Action added in v1.19.0

The action to take.

func (NetworkAclEgressOutput) CidrBlock added in v1.19.0

The CIDR block to match. This must be a valid network mask.

func (NetworkAclEgressOutput) ElementType added in v1.19.0

func (NetworkAclEgressOutput) ElementType() reflect.Type

func (NetworkAclEgressOutput) FromPort added in v1.19.0

The from port to match.

func (NetworkAclEgressOutput) IcmpCode added in v1.19.0

The ICMP type code to be used. Default 0.

func (NetworkAclEgressOutput) IcmpType added in v1.19.0

The ICMP type to be used. Default 0.

func (NetworkAclEgressOutput) Ipv6CidrBlock added in v1.19.0

func (o NetworkAclEgressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput

The IPv6 CIDR block.

func (NetworkAclEgressOutput) Protocol added in v1.19.0

The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.

func (NetworkAclEgressOutput) RuleNo added in v1.19.0

The rule number. Used for ordering.

func (NetworkAclEgressOutput) ToNetworkAclEgressOutput added in v1.19.0

func (o NetworkAclEgressOutput) ToNetworkAclEgressOutput() NetworkAclEgressOutput

func (NetworkAclEgressOutput) ToNetworkAclEgressOutputWithContext added in v1.19.0

func (o NetworkAclEgressOutput) ToNetworkAclEgressOutputWithContext(ctx context.Context) NetworkAclEgressOutput

func (NetworkAclEgressOutput) ToPort added in v1.19.0

The to port to match.

type NetworkAclIngress added in v1.19.0

type NetworkAclIngress struct {
	// The action to take.
	Action string `pulumi:"action"`
	// The CIDR block to match. This must be a
	// valid network mask.
	CidrBlock *string `pulumi:"cidrBlock"`
	// The from port to match.
	FromPort int `pulumi:"fromPort"`
	// The ICMP type code to be used. Default 0.
	IcmpCode *int `pulumi:"icmpCode"`
	// The ICMP type to be used. Default 0.
	IcmpType *int `pulumi:"icmpType"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
	// The protocol to match. If using the -1 'all'
	// protocol, you must specify a from and to port of 0.
	Protocol string `pulumi:"protocol"`
	// The rule number. Used for ordering.
	RuleNo int `pulumi:"ruleNo"`
	// The to port to match.
	ToPort int `pulumi:"toPort"`
}

type NetworkAclIngressArgs added in v1.19.0

type NetworkAclIngressArgs struct {
	// The action to take.
	Action pulumi.StringInput `pulumi:"action"`
	// The CIDR block to match. This must be a
	// valid network mask.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// The from port to match.
	FromPort pulumi.IntInput `pulumi:"fromPort"`
	// The ICMP type code to be used. Default 0.
	IcmpCode pulumi.IntPtrInput `pulumi:"icmpCode"`
	// The ICMP type to be used. Default 0.
	IcmpType pulumi.IntPtrInput `pulumi:"icmpType"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"`
	// The protocol to match. If using the -1 'all'
	// protocol, you must specify a from and to port of 0.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The rule number. Used for ordering.
	RuleNo pulumi.IntInput `pulumi:"ruleNo"`
	// The to port to match.
	ToPort pulumi.IntInput `pulumi:"toPort"`
}

func (NetworkAclIngressArgs) ElementType added in v1.19.0

func (NetworkAclIngressArgs) ElementType() reflect.Type

func (NetworkAclIngressArgs) ToNetworkAclIngressOutput added in v1.19.0

func (i NetworkAclIngressArgs) ToNetworkAclIngressOutput() NetworkAclIngressOutput

func (NetworkAclIngressArgs) ToNetworkAclIngressOutputWithContext added in v1.19.0

func (i NetworkAclIngressArgs) ToNetworkAclIngressOutputWithContext(ctx context.Context) NetworkAclIngressOutput

type NetworkAclIngressArray added in v1.19.0

type NetworkAclIngressArray []NetworkAclIngressInput

func (NetworkAclIngressArray) ElementType added in v1.19.0

func (NetworkAclIngressArray) ElementType() reflect.Type

func (NetworkAclIngressArray) ToNetworkAclIngressArrayOutput added in v1.19.0

func (i NetworkAclIngressArray) ToNetworkAclIngressArrayOutput() NetworkAclIngressArrayOutput

func (NetworkAclIngressArray) ToNetworkAclIngressArrayOutputWithContext added in v1.19.0

func (i NetworkAclIngressArray) ToNetworkAclIngressArrayOutputWithContext(ctx context.Context) NetworkAclIngressArrayOutput

type NetworkAclIngressArrayInput added in v1.19.0

type NetworkAclIngressArrayInput interface {
	pulumi.Input

	ToNetworkAclIngressArrayOutput() NetworkAclIngressArrayOutput
	ToNetworkAclIngressArrayOutputWithContext(context.Context) NetworkAclIngressArrayOutput
}

type NetworkAclIngressArrayOutput added in v1.19.0

type NetworkAclIngressArrayOutput struct{ *pulumi.OutputState }

func (NetworkAclIngressArrayOutput) ElementType added in v1.19.0

func (NetworkAclIngressArrayOutput) Index added in v1.19.0

func (NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutput added in v1.19.0

func (o NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutput() NetworkAclIngressArrayOutput

func (NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutputWithContext added in v1.19.0

func (o NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutputWithContext(ctx context.Context) NetworkAclIngressArrayOutput

type NetworkAclIngressInput added in v1.19.0

type NetworkAclIngressInput interface {
	pulumi.Input

	ToNetworkAclIngressOutput() NetworkAclIngressOutput
	ToNetworkAclIngressOutputWithContext(context.Context) NetworkAclIngressOutput
}

type NetworkAclIngressOutput added in v1.19.0

type NetworkAclIngressOutput struct{ *pulumi.OutputState }

func (NetworkAclIngressOutput) Action added in v1.19.0

The action to take.

func (NetworkAclIngressOutput) CidrBlock added in v1.19.0

The CIDR block to match. This must be a valid network mask.

func (NetworkAclIngressOutput) ElementType added in v1.19.0

func (NetworkAclIngressOutput) ElementType() reflect.Type

func (NetworkAclIngressOutput) FromPort added in v1.19.0

The from port to match.

func (NetworkAclIngressOutput) IcmpCode added in v1.19.0

The ICMP type code to be used. Default 0.

func (NetworkAclIngressOutput) IcmpType added in v1.19.0

The ICMP type to be used. Default 0.

func (NetworkAclIngressOutput) Ipv6CidrBlock added in v1.19.0

The IPv6 CIDR block.

func (NetworkAclIngressOutput) Protocol added in v1.19.0

The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.

func (NetworkAclIngressOutput) RuleNo added in v1.19.0

The rule number. Used for ordering.

func (NetworkAclIngressOutput) ToNetworkAclIngressOutput added in v1.19.0

func (o NetworkAclIngressOutput) ToNetworkAclIngressOutput() NetworkAclIngressOutput

func (NetworkAclIngressOutput) ToNetworkAclIngressOutputWithContext added in v1.19.0

func (o NetworkAclIngressOutput) ToNetworkAclIngressOutputWithContext(ctx context.Context) NetworkAclIngressOutput

func (NetworkAclIngressOutput) ToPort added in v1.19.0

The to port to match.

type NetworkAclRule

type NetworkAclRule struct {
	pulumi.CustomResourceState

	// The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).
	CidrBlock pulumi.StringPtrOutput `pulumi:"cidrBlock"`
	// Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Default `false`.
	Egress pulumi.BoolPtrOutput `pulumi:"egress"`
	// The from port to match.
	FromPort pulumi.IntPtrOutput `pulumi:"fromPort"`
	// ICMP protocol: The ICMP code. Required if specifying ICMP for the protocol. e.g. -1
	IcmpCode pulumi.StringPtrOutput `pulumi:"icmpCode"`
	// ICMP protocol: The ICMP type. Required if specifying ICMP for the protocol. e.g. -1
	IcmpType pulumi.StringPtrOutput `pulumi:"icmpType"`
	// The IPv6 CIDR block to allow or deny.
	Ipv6CidrBlock pulumi.StringPtrOutput `pulumi:"ipv6CidrBlock"`
	// The ID of the network ACL.
	NetworkAclId pulumi.StringOutput `pulumi:"networkAclId"`
	// The protocol. A value of -1 means all protocols.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Indicates whether to allow or deny the traffic that matches the rule. Accepted values: `allow` | `deny`
	RuleAction pulumi.StringOutput `pulumi:"ruleAction"`
	// The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.
	RuleNumber pulumi.IntOutput `pulumi:"ruleNumber"`
	// The to port to match.
	ToPort pulumi.IntPtrOutput `pulumi:"toPort"`
}

Creates an entry (a rule) in a network ACL with the specified rule number.

> **NOTE on Network ACLs and Network ACL Rules:** This provider currently provides both a standalone Network ACL Rule resource and a Network ACL resource with rules defined in-line. At this time you cannot use a Network ACL with in-line rules in conjunction with any Network ACL Rule resources. Doing so will cause a conflict of rule settings and will overwrite rules.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/network_acl_rule.html.markdown.

func GetNetworkAclRule

func GetNetworkAclRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkAclRuleState, opts ...pulumi.ResourceOption) (*NetworkAclRule, error)

GetNetworkAclRule gets an existing NetworkAclRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkAclRule

func NewNetworkAclRule(ctx *pulumi.Context,
	name string, args *NetworkAclRuleArgs, opts ...pulumi.ResourceOption) (*NetworkAclRule, error)

NewNetworkAclRule registers a new resource with the given unique name, arguments, and options.

type NetworkAclRuleArgs

type NetworkAclRuleArgs struct {
	// The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).
	CidrBlock pulumi.StringPtrInput
	// Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Default `false`.
	Egress pulumi.BoolPtrInput
	// The from port to match.
	FromPort pulumi.IntPtrInput
	// ICMP protocol: The ICMP code. Required if specifying ICMP for the protocol. e.g. -1
	IcmpCode pulumi.StringPtrInput
	// ICMP protocol: The ICMP type. Required if specifying ICMP for the protocol. e.g. -1
	IcmpType pulumi.StringPtrInput
	// The IPv6 CIDR block to allow or deny.
	Ipv6CidrBlock pulumi.StringPtrInput
	// The ID of the network ACL.
	NetworkAclId pulumi.StringInput
	// The protocol. A value of -1 means all protocols.
	Protocol pulumi.StringInput
	// Indicates whether to allow or deny the traffic that matches the rule. Accepted values: `allow` | `deny`
	RuleAction pulumi.StringInput
	// The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.
	RuleNumber pulumi.IntInput
	// The to port to match.
	ToPort pulumi.IntPtrInput
}

The set of arguments for constructing a NetworkAclRule resource.

func (NetworkAclRuleArgs) ElementType added in v1.19.0

func (NetworkAclRuleArgs) ElementType() reflect.Type

type NetworkAclRuleState

type NetworkAclRuleState struct {
	// The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).
	CidrBlock pulumi.StringPtrInput
	// Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Default `false`.
	Egress pulumi.BoolPtrInput
	// The from port to match.
	FromPort pulumi.IntPtrInput
	// ICMP protocol: The ICMP code. Required if specifying ICMP for the protocol. e.g. -1
	IcmpCode pulumi.StringPtrInput
	// ICMP protocol: The ICMP type. Required if specifying ICMP for the protocol. e.g. -1
	IcmpType pulumi.StringPtrInput
	// The IPv6 CIDR block to allow or deny.
	Ipv6CidrBlock pulumi.StringPtrInput
	// The ID of the network ACL.
	NetworkAclId pulumi.StringPtrInput
	// The protocol. A value of -1 means all protocols.
	Protocol pulumi.StringPtrInput
	// Indicates whether to allow or deny the traffic that matches the rule. Accepted values: `allow` | `deny`
	RuleAction pulumi.StringPtrInput
	// The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.
	RuleNumber pulumi.IntPtrInput
	// The to port to match.
	ToPort pulumi.IntPtrInput
}

func (NetworkAclRuleState) ElementType added in v1.19.0

func (NetworkAclRuleState) ElementType() reflect.Type

type NetworkAclState

type NetworkAclState struct {
	// Specifies an egress rule. Parameters defined below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Egress NetworkAclEgressArrayInput
	// Specifies an ingress rule. Parameters defined below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Ingress NetworkAclIngressArrayInput
	// The ID of the AWS account that owns the network ACL.
	OwnerId pulumi.StringPtrInput
	// A list of Subnet IDs to apply the ACL to
	SubnetIds pulumi.StringArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The ID of the associated VPC.
	VpcId pulumi.StringPtrInput
}

func (NetworkAclState) ElementType added in v1.19.0

func (NetworkAclState) ElementType() reflect.Type

type NetworkInterface

type NetworkInterface struct {
	pulumi.CustomResourceState

	// Block to define the attachment of the ENI. Documented below.
	Attachments NetworkInterfaceAttachmentTypeArrayOutput `pulumi:"attachments"`
	// A description for the network interface.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The MAC address of the network interface.
	MacAddress pulumi.StringOutput `pulumi:"macAddress"`
	// The private DNS name of the network interface (IPv4).
	PrivateDnsName pulumi.StringOutput `pulumi:"privateDnsName"`
	PrivateIp      pulumi.StringOutput `pulumi:"privateIp"`
	// List of private IPs to assign to the ENI.
	PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"`
	// Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + private_ips_count, as a primary private IP will be assiged to an ENI by default.
	PrivateIpsCount pulumi.IntOutput `pulumi:"privateIpsCount"`
	// List of security group IDs to assign to the ENI.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// Whether to enable source destination checking for the ENI. Default true.
	SourceDestCheck pulumi.BoolPtrOutput `pulumi:"sourceDestCheck"`
	// Subnet ID to create the ENI in.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides an Elastic network interface (ENI) resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/network_interface.html.markdown.

func GetNetworkInterface

func GetNetworkInterface(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkInterfaceState, opts ...pulumi.ResourceOption) (*NetworkInterface, error)

GetNetworkInterface gets an existing NetworkInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkInterface

func NewNetworkInterface(ctx *pulumi.Context,
	name string, args *NetworkInterfaceArgs, opts ...pulumi.ResourceOption) (*NetworkInterface, error)

NewNetworkInterface registers a new resource with the given unique name, arguments, and options.

type NetworkInterfaceArgs

type NetworkInterfaceArgs struct {
	// Block to define the attachment of the ENI. Documented below.
	Attachments NetworkInterfaceAttachmentTypeArrayInput
	// A description for the network interface.
	Description pulumi.StringPtrInput
	PrivateIp   pulumi.StringPtrInput
	// List of private IPs to assign to the ENI.
	PrivateIps pulumi.StringArrayInput
	// Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + private_ips_count, as a primary private IP will be assiged to an ENI by default.
	PrivateIpsCount pulumi.IntPtrInput
	// List of security group IDs to assign to the ENI.
	SecurityGroups pulumi.StringArrayInput
	// Whether to enable source destination checking for the ENI. Default true.
	SourceDestCheck pulumi.BoolPtrInput
	// Subnet ID to create the ENI in.
	SubnetId pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a NetworkInterface resource.

func (NetworkInterfaceArgs) ElementType added in v1.19.0

func (NetworkInterfaceArgs) ElementType() reflect.Type

type NetworkInterfaceAttachment

type NetworkInterfaceAttachment struct {
	pulumi.CustomResourceState

	// The ENI Attachment ID.
	AttachmentId pulumi.StringOutput `pulumi:"attachmentId"`
	// Network interface index (int).
	DeviceIndex pulumi.IntOutput `pulumi:"deviceIndex"`
	// Instance ID to attach.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// ENI ID to attach.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// The status of the Network Interface Attachment.
	Status pulumi.StringOutput `pulumi:"status"`
}

Attach an Elastic network interface (ENI) resource with EC2 instance.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/network_interface_attachment.html.markdown.

func GetNetworkInterfaceAttachment

func GetNetworkInterfaceAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkInterfaceAttachmentState, opts ...pulumi.ResourceOption) (*NetworkInterfaceAttachment, error)

GetNetworkInterfaceAttachment gets an existing NetworkInterfaceAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkInterfaceAttachment

func NewNetworkInterfaceAttachment(ctx *pulumi.Context,
	name string, args *NetworkInterfaceAttachmentArgs, opts ...pulumi.ResourceOption) (*NetworkInterfaceAttachment, error)

NewNetworkInterfaceAttachment registers a new resource with the given unique name, arguments, and options.

type NetworkInterfaceAttachmentArgs

type NetworkInterfaceAttachmentArgs struct {
	// Network interface index (int).
	DeviceIndex pulumi.IntInput
	// Instance ID to attach.
	InstanceId pulumi.StringInput
	// ENI ID to attach.
	NetworkInterfaceId pulumi.StringInput
}

The set of arguments for constructing a NetworkInterfaceAttachment resource.

func (NetworkInterfaceAttachmentArgs) ElementType added in v1.19.0

type NetworkInterfaceAttachmentState

type NetworkInterfaceAttachmentState struct {
	// The ENI Attachment ID.
	AttachmentId pulumi.StringPtrInput
	// Network interface index (int).
	DeviceIndex pulumi.IntPtrInput
	// Instance ID to attach.
	InstanceId pulumi.StringPtrInput
	// ENI ID to attach.
	NetworkInterfaceId pulumi.StringPtrInput
	// The status of the Network Interface Attachment.
	Status pulumi.StringPtrInput
}

func (NetworkInterfaceAttachmentState) ElementType added in v1.19.0

type NetworkInterfaceAttachmentType added in v1.19.0

type NetworkInterfaceAttachmentType struct {
	AttachmentId *string `pulumi:"attachmentId"`
	DeviceIndex  int     `pulumi:"deviceIndex"`
	Instance     string  `pulumi:"instance"`
}

type NetworkInterfaceAttachmentTypeArgs added in v1.19.0

type NetworkInterfaceAttachmentTypeArgs struct {
	AttachmentId pulumi.StringPtrInput `pulumi:"attachmentId"`
	DeviceIndex  pulumi.IntInput       `pulumi:"deviceIndex"`
	Instance     pulumi.StringInput    `pulumi:"instance"`
}

func (NetworkInterfaceAttachmentTypeArgs) ElementType added in v1.19.0

func (NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutput added in v1.19.0

func (i NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutput() NetworkInterfaceAttachmentTypeOutput

func (NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutputWithContext added in v1.19.0

func (i NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeOutput

type NetworkInterfaceAttachmentTypeArray added in v1.19.0

type NetworkInterfaceAttachmentTypeArray []NetworkInterfaceAttachmentTypeInput

func (NetworkInterfaceAttachmentTypeArray) ElementType added in v1.19.0

func (NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutput added in v1.19.0

func (i NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutput() NetworkInterfaceAttachmentTypeArrayOutput

func (NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext added in v1.19.0

func (i NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeArrayOutput

type NetworkInterfaceAttachmentTypeArrayInput added in v1.19.0

type NetworkInterfaceAttachmentTypeArrayInput interface {
	pulumi.Input

	ToNetworkInterfaceAttachmentTypeArrayOutput() NetworkInterfaceAttachmentTypeArrayOutput
	ToNetworkInterfaceAttachmentTypeArrayOutputWithContext(context.Context) NetworkInterfaceAttachmentTypeArrayOutput
}

type NetworkInterfaceAttachmentTypeArrayOutput added in v1.19.0

type NetworkInterfaceAttachmentTypeArrayOutput struct{ *pulumi.OutputState }

func (NetworkInterfaceAttachmentTypeArrayOutput) ElementType added in v1.19.0

func (NetworkInterfaceAttachmentTypeArrayOutput) Index added in v1.19.0

func (NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutput added in v1.19.0

func (o NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutput() NetworkInterfaceAttachmentTypeArrayOutput

func (NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext added in v1.19.0

func (o NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeArrayOutput

type NetworkInterfaceAttachmentTypeInput added in v1.19.0

type NetworkInterfaceAttachmentTypeInput interface {
	pulumi.Input

	ToNetworkInterfaceAttachmentTypeOutput() NetworkInterfaceAttachmentTypeOutput
	ToNetworkInterfaceAttachmentTypeOutputWithContext(context.Context) NetworkInterfaceAttachmentTypeOutput
}

type NetworkInterfaceAttachmentTypeOutput added in v1.19.0

type NetworkInterfaceAttachmentTypeOutput struct{ *pulumi.OutputState }

func (NetworkInterfaceAttachmentTypeOutput) AttachmentId added in v1.19.0

func (NetworkInterfaceAttachmentTypeOutput) DeviceIndex added in v1.19.0

func (NetworkInterfaceAttachmentTypeOutput) ElementType added in v1.19.0

func (NetworkInterfaceAttachmentTypeOutput) Instance added in v1.19.0

func (NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutput added in v1.19.0

func (o NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutput() NetworkInterfaceAttachmentTypeOutput

func (NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutputWithContext added in v1.19.0

func (o NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeOutput

type NetworkInterfaceSecurityGroupAttachment

type NetworkInterfaceSecurityGroupAttachment struct {
	pulumi.CustomResourceState

	// The ID of the network interface to attach to.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// The ID of the security group.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
}

This resource attaches a security group to an Elastic Network Interface (ENI). It can be used to attach a security group to any existing ENI, be it a secondary ENI or one attached as the primary interface on an instance.

> **NOTE on instances, interfaces, and security groups:** This provider currently provides the capability to assign security groups via the [`ec2.Instance`]1 and the [`ec2.NetworkInterface`]2 resources. Using this resource in conjunction with security groups provided in-line in those resources will cause conflicts, and will lead to spurious diffs and undefined behavior - please use one or the other.

## Output Reference

There are no outputs for this resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/network_interface_sg_attachment.html.markdown.

func GetNetworkInterfaceSecurityGroupAttachment

func GetNetworkInterfaceSecurityGroupAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkInterfaceSecurityGroupAttachmentState, opts ...pulumi.ResourceOption) (*NetworkInterfaceSecurityGroupAttachment, error)

GetNetworkInterfaceSecurityGroupAttachment gets an existing NetworkInterfaceSecurityGroupAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkInterfaceSecurityGroupAttachment

func NewNetworkInterfaceSecurityGroupAttachment(ctx *pulumi.Context,
	name string, args *NetworkInterfaceSecurityGroupAttachmentArgs, opts ...pulumi.ResourceOption) (*NetworkInterfaceSecurityGroupAttachment, error)

NewNetworkInterfaceSecurityGroupAttachment registers a new resource with the given unique name, arguments, and options.

type NetworkInterfaceSecurityGroupAttachmentArgs

type NetworkInterfaceSecurityGroupAttachmentArgs struct {
	// The ID of the network interface to attach to.
	NetworkInterfaceId pulumi.StringInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringInput
}

The set of arguments for constructing a NetworkInterfaceSecurityGroupAttachment resource.

func (NetworkInterfaceSecurityGroupAttachmentArgs) ElementType added in v1.19.0

type NetworkInterfaceSecurityGroupAttachmentState

type NetworkInterfaceSecurityGroupAttachmentState struct {
	// The ID of the network interface to attach to.
	NetworkInterfaceId pulumi.StringPtrInput
	// The ID of the security group.
	SecurityGroupId pulumi.StringPtrInput
}

func (NetworkInterfaceSecurityGroupAttachmentState) ElementType added in v1.19.0

type NetworkInterfaceState

type NetworkInterfaceState struct {
	// Block to define the attachment of the ENI. Documented below.
	Attachments NetworkInterfaceAttachmentTypeArrayInput
	// A description for the network interface.
	Description pulumi.StringPtrInput
	// The MAC address of the network interface.
	MacAddress pulumi.StringPtrInput
	// The private DNS name of the network interface (IPv4).
	PrivateDnsName pulumi.StringPtrInput
	PrivateIp      pulumi.StringPtrInput
	// List of private IPs to assign to the ENI.
	PrivateIps pulumi.StringArrayInput
	// Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + private_ips_count, as a primary private IP will be assiged to an ENI by default.
	PrivateIpsCount pulumi.IntPtrInput
	// List of security group IDs to assign to the ENI.
	SecurityGroups pulumi.StringArrayInput
	// Whether to enable source destination checking for the ENI. Default true.
	SourceDestCheck pulumi.BoolPtrInput
	// Subnet ID to create the ENI in.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (NetworkInterfaceState) ElementType added in v1.19.0

func (NetworkInterfaceState) ElementType() reflect.Type

type PeeringConnectionOptions

type PeeringConnectionOptions struct {
	pulumi.CustomResourceState

	// An optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that accepts
	// the peering connection (a maximum of one).
	Accepter PeeringConnectionOptionsAccepterOutput `pulumi:"accepter"`
	// A optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that requests
	// the peering connection (a maximum of one).
	Requester PeeringConnectionOptionsRequesterOutput `pulumi:"requester"`
	// The ID of the requester VPC peering connection.
	VpcPeeringConnectionId pulumi.StringOutput `pulumi:"vpcPeeringConnectionId"`
}

Provides a resource to manage VPC peering connection options.

> **NOTE on VPC Peering Connections and VPC Peering Connection Options:** This provider provides both a standalone VPC Peering Connection Options and a VPC Peering Connection resource with `accepter` and `requester` attributes. Do not manage options for the same VPC peering connection in both a VPC Peering Connection resource and a VPC Peering Connection Options resource. Doing so will cause a conflict of options and will overwrite the options. Using a VPC Peering Connection Options resource decouples management of the connection options from management of the VPC Peering Connection and allows options to be set correctly in cross-region and cross-account scenarios.

Basic usage:

Basic cross-account usage:

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_peering_connection_options.html.markdown.

func GetPeeringConnectionOptions

func GetPeeringConnectionOptions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PeeringConnectionOptionsState, opts ...pulumi.ResourceOption) (*PeeringConnectionOptions, error)

GetPeeringConnectionOptions gets an existing PeeringConnectionOptions resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPeeringConnectionOptions

func NewPeeringConnectionOptions(ctx *pulumi.Context,
	name string, args *PeeringConnectionOptionsArgs, opts ...pulumi.ResourceOption) (*PeeringConnectionOptions, error)

NewPeeringConnectionOptions registers a new resource with the given unique name, arguments, and options.

type PeeringConnectionOptionsAccepter added in v1.19.0

type PeeringConnectionOptionsAccepter struct {
	// Allow a local linked EC2-Classic instance to communicate
	// with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection
	// to the remote VPC. This option is not supported for inter-region VPC peering.
	AllowClassicLinkToRemoteVpc *bool `pulumi:"allowClassicLinkToRemoteVpc"`
	// Allow a local VPC to resolve public DNS hostnames to
	// private IP addresses when queried from instances in the peer VPC.
	AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"`
	// Allow a local VPC to communicate with a linked EC2-Classic
	// instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink
	// connection. This option is not supported for inter-region VPC peering.
	AllowVpcToRemoteClassicLink *bool `pulumi:"allowVpcToRemoteClassicLink"`
}

type PeeringConnectionOptionsAccepterArgs added in v1.19.0

type PeeringConnectionOptionsAccepterArgs struct {
	// Allow a local linked EC2-Classic instance to communicate
	// with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection
	// to the remote VPC. This option is not supported for inter-region VPC peering.
	AllowClassicLinkToRemoteVpc pulumi.BoolPtrInput `pulumi:"allowClassicLinkToRemoteVpc"`
	// Allow a local VPC to resolve public DNS hostnames to
	// private IP addresses when queried from instances in the peer VPC.
	AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"`
	// Allow a local VPC to communicate with a linked EC2-Classic
	// instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink
	// connection. This option is not supported for inter-region VPC peering.
	AllowVpcToRemoteClassicLink pulumi.BoolPtrInput `pulumi:"allowVpcToRemoteClassicLink"`
}

func (PeeringConnectionOptionsAccepterArgs) ElementType added in v1.19.0

func (PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutput added in v1.19.0

func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutput() PeeringConnectionOptionsAccepterOutput

func (PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutputWithContext added in v1.19.0

func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterOutput

func (PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutput added in v1.19.0

func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput

func (PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutputWithContext added in v1.19.0

func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput

type PeeringConnectionOptionsAccepterInput added in v1.19.0

type PeeringConnectionOptionsAccepterInput interface {
	pulumi.Input

	ToPeeringConnectionOptionsAccepterOutput() PeeringConnectionOptionsAccepterOutput
	ToPeeringConnectionOptionsAccepterOutputWithContext(context.Context) PeeringConnectionOptionsAccepterOutput
}

type PeeringConnectionOptionsAccepterOutput added in v1.19.0

type PeeringConnectionOptionsAccepterOutput struct{ *pulumi.OutputState }

func (PeeringConnectionOptionsAccepterOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o PeeringConnectionOptionsAccepterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

func (PeeringConnectionOptionsAccepterOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o PeeringConnectionOptionsAccepterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

func (o PeeringConnectionOptionsAccepterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

func (PeeringConnectionOptionsAccepterOutput) ElementType added in v1.19.0

func (PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutput added in v1.19.0

func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutput() PeeringConnectionOptionsAccepterOutput

func (PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutputWithContext added in v1.19.0

func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterOutput

func (PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutput added in v1.19.0

func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput

func (PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext added in v1.19.0

func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput

type PeeringConnectionOptionsAccepterPtrInput added in v1.19.0

type PeeringConnectionOptionsAccepterPtrInput interface {
	pulumi.Input

	ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput
	ToPeeringConnectionOptionsAccepterPtrOutputWithContext(context.Context) PeeringConnectionOptionsAccepterPtrOutput
}

type PeeringConnectionOptionsAccepterPtrOutput added in v1.19.0

type PeeringConnectionOptionsAccepterPtrOutput struct{ *pulumi.OutputState }

func (PeeringConnectionOptionsAccepterPtrOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o PeeringConnectionOptionsAccepterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

func (PeeringConnectionOptionsAccepterPtrOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o PeeringConnectionOptionsAccepterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

func (o PeeringConnectionOptionsAccepterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

func (PeeringConnectionOptionsAccepterPtrOutput) Elem added in v1.19.0

func (PeeringConnectionOptionsAccepterPtrOutput) ElementType added in v1.19.0

func (PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutput added in v1.19.0

func (o PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput

func (PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext added in v1.19.0

func (o PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput

type PeeringConnectionOptionsArgs

type PeeringConnectionOptionsArgs struct {
	// An optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that accepts
	// the peering connection (a maximum of one).
	Accepter PeeringConnectionOptionsAccepterPtrInput
	// A optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that requests
	// the peering connection (a maximum of one).
	Requester PeeringConnectionOptionsRequesterPtrInput
	// The ID of the requester VPC peering connection.
	VpcPeeringConnectionId pulumi.StringInput
}

The set of arguments for constructing a PeeringConnectionOptions resource.

func (PeeringConnectionOptionsArgs) ElementType added in v1.19.0

type PeeringConnectionOptionsRequester added in v1.19.0

type PeeringConnectionOptionsRequester struct {
	// Allow a local linked EC2-Classic instance to communicate
	// with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection
	// to the remote VPC. This option is not supported for inter-region VPC peering.
	AllowClassicLinkToRemoteVpc *bool `pulumi:"allowClassicLinkToRemoteVpc"`
	// Allow a local VPC to resolve public DNS hostnames to
	// private IP addresses when queried from instances in the peer VPC.
	AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"`
	// Allow a local VPC to communicate with a linked EC2-Classic
	// instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink
	// connection. This option is not supported for inter-region VPC peering.
	AllowVpcToRemoteClassicLink *bool `pulumi:"allowVpcToRemoteClassicLink"`
}

type PeeringConnectionOptionsRequesterArgs added in v1.19.0

type PeeringConnectionOptionsRequesterArgs struct {
	// Allow a local linked EC2-Classic instance to communicate
	// with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection
	// to the remote VPC. This option is not supported for inter-region VPC peering.
	AllowClassicLinkToRemoteVpc pulumi.BoolPtrInput `pulumi:"allowClassicLinkToRemoteVpc"`
	// Allow a local VPC to resolve public DNS hostnames to
	// private IP addresses when queried from instances in the peer VPC.
	AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"`
	// Allow a local VPC to communicate with a linked EC2-Classic
	// instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink
	// connection. This option is not supported for inter-region VPC peering.
	AllowVpcToRemoteClassicLink pulumi.BoolPtrInput `pulumi:"allowVpcToRemoteClassicLink"`
}

func (PeeringConnectionOptionsRequesterArgs) ElementType added in v1.19.0

func (PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutput added in v1.19.0

func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutput() PeeringConnectionOptionsRequesterOutput

func (PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutputWithContext added in v1.19.0

func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterOutput

func (PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutput added in v1.19.0

func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput

func (PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutputWithContext added in v1.19.0

func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput

type PeeringConnectionOptionsRequesterInput added in v1.19.0

type PeeringConnectionOptionsRequesterInput interface {
	pulumi.Input

	ToPeeringConnectionOptionsRequesterOutput() PeeringConnectionOptionsRequesterOutput
	ToPeeringConnectionOptionsRequesterOutputWithContext(context.Context) PeeringConnectionOptionsRequesterOutput
}

type PeeringConnectionOptionsRequesterOutput added in v1.19.0

type PeeringConnectionOptionsRequesterOutput struct{ *pulumi.OutputState }

func (PeeringConnectionOptionsRequesterOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o PeeringConnectionOptionsRequesterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

func (PeeringConnectionOptionsRequesterOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o PeeringConnectionOptionsRequesterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

func (o PeeringConnectionOptionsRequesterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

func (PeeringConnectionOptionsRequesterOutput) ElementType added in v1.19.0

func (PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutput added in v1.19.0

func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutput() PeeringConnectionOptionsRequesterOutput

func (PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutputWithContext added in v1.19.0

func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterOutput

func (PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutput added in v1.19.0

func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput

func (PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext added in v1.19.0

func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput

type PeeringConnectionOptionsRequesterPtrInput added in v1.19.0

type PeeringConnectionOptionsRequesterPtrInput interface {
	pulumi.Input

	ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput
	ToPeeringConnectionOptionsRequesterPtrOutputWithContext(context.Context) PeeringConnectionOptionsRequesterPtrOutput
}

type PeeringConnectionOptionsRequesterPtrOutput added in v1.19.0

type PeeringConnectionOptionsRequesterPtrOutput struct{ *pulumi.OutputState }

func (PeeringConnectionOptionsRequesterPtrOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o PeeringConnectionOptionsRequesterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

func (PeeringConnectionOptionsRequesterPtrOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o PeeringConnectionOptionsRequesterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

func (o PeeringConnectionOptionsRequesterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

func (PeeringConnectionOptionsRequesterPtrOutput) Elem added in v1.19.0

func (PeeringConnectionOptionsRequesterPtrOutput) ElementType added in v1.19.0

func (PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutput added in v1.19.0

func (o PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput

func (PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext added in v1.19.0

func (o PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput

type PeeringConnectionOptionsState

type PeeringConnectionOptionsState struct {
	// An optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that accepts
	// the peering connection (a maximum of one).
	Accepter PeeringConnectionOptionsAccepterPtrInput
	// A optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that requests
	// the peering connection (a maximum of one).
	Requester PeeringConnectionOptionsRequesterPtrInput
	// The ID of the requester VPC peering connection.
	VpcPeeringConnectionId pulumi.StringPtrInput
}

func (PeeringConnectionOptionsState) ElementType added in v1.19.0

type PlacementGroup

type PlacementGroup struct {
	pulumi.CustomResourceState

	// The name of the placement group.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the placement group.
	PlacementGroupId pulumi.StringOutput `pulumi:"placementGroupId"`
	// The placement strategy.
	Strategy pulumi.StringOutput `pulumi:"strategy"`
	// Key-value mapping of resource tags.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides an EC2 placement group. Read more about placement groups in [AWS Docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/placement_group.html.markdown.

func GetPlacementGroup

func GetPlacementGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PlacementGroupState, opts ...pulumi.ResourceOption) (*PlacementGroup, error)

GetPlacementGroup gets an existing PlacementGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPlacementGroup

func NewPlacementGroup(ctx *pulumi.Context,
	name string, args *PlacementGroupArgs, opts ...pulumi.ResourceOption) (*PlacementGroup, error)

NewPlacementGroup registers a new resource with the given unique name, arguments, and options.

type PlacementGroupArgs

type PlacementGroupArgs struct {
	// The name of the placement group.
	Name pulumi.StringPtrInput
	// The placement strategy.
	Strategy pulumi.StringInput
	// Key-value mapping of resource tags.
	Tags pulumi.MapInput
}

The set of arguments for constructing a PlacementGroup resource.

func (PlacementGroupArgs) ElementType added in v1.19.0

func (PlacementGroupArgs) ElementType() reflect.Type

type PlacementGroupState

type PlacementGroupState struct {
	// The name of the placement group.
	Name pulumi.StringPtrInput
	// The ID of the placement group.
	PlacementGroupId pulumi.StringPtrInput
	// The placement strategy.
	Strategy pulumi.StringPtrInput
	// Key-value mapping of resource tags.
	Tags pulumi.MapInput
}

func (PlacementGroupState) ElementType added in v1.19.0

func (PlacementGroupState) ElementType() reflect.Type

type ProxyProtocolPolicy

type ProxyProtocolPolicy struct {
	pulumi.CustomResourceState

	// List of instance ports to which the policy
	// should be applied. This can be specified if the protocol is SSL or TCP.
	InstancePorts pulumi.StringArrayOutput `pulumi:"instancePorts"`
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringOutput `pulumi:"loadBalancer"`
}

Provides a proxy protocol policy, which allows an ELB to carry a client connection information to a backend.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/proxy_protocol_policy.html.markdown.

func GetProxyProtocolPolicy

func GetProxyProtocolPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProxyProtocolPolicyState, opts ...pulumi.ResourceOption) (*ProxyProtocolPolicy, error)

GetProxyProtocolPolicy gets an existing ProxyProtocolPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProxyProtocolPolicy

func NewProxyProtocolPolicy(ctx *pulumi.Context,
	name string, args *ProxyProtocolPolicyArgs, opts ...pulumi.ResourceOption) (*ProxyProtocolPolicy, error)

NewProxyProtocolPolicy registers a new resource with the given unique name, arguments, and options.

type ProxyProtocolPolicyArgs

type ProxyProtocolPolicyArgs struct {
	// List of instance ports to which the policy
	// should be applied. This can be specified if the protocol is SSL or TCP.
	InstancePorts pulumi.StringArrayInput
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringInput
}

The set of arguments for constructing a ProxyProtocolPolicy resource.

func (ProxyProtocolPolicyArgs) ElementType added in v1.19.0

func (ProxyProtocolPolicyArgs) ElementType() reflect.Type

type ProxyProtocolPolicyState

type ProxyProtocolPolicyState struct {
	// List of instance ports to which the policy
	// should be applied. This can be specified if the protocol is SSL or TCP.
	InstancePorts pulumi.StringArrayInput
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringPtrInput
}

func (ProxyProtocolPolicyState) ElementType added in v1.19.0

func (ProxyProtocolPolicyState) ElementType() reflect.Type

type Route

type Route struct {
	pulumi.CustomResourceState

	// The destination CIDR block.
	DestinationCidrBlock pulumi.StringPtrOutput `pulumi:"destinationCidrBlock"`
	// The destination IPv6 CIDR block.
	DestinationIpv6CidrBlock pulumi.StringPtrOutput `pulumi:"destinationIpv6CidrBlock"`
	DestinationPrefixListId  pulumi.StringOutput    `pulumi:"destinationPrefixListId"`
	// Identifier of a VPC Egress Only Internet Gateway.
	EgressOnlyGatewayId pulumi.StringOutput `pulumi:"egressOnlyGatewayId"`
	// Identifier of a VPC internet gateway or a virtual private gateway.
	GatewayId pulumi.StringOutput `pulumi:"gatewayId"`
	// Identifier of an EC2 instance.
	InstanceId      pulumi.StringOutput `pulumi:"instanceId"`
	InstanceOwnerId pulumi.StringOutput `pulumi:"instanceOwnerId"`
	// Identifier of a VPC NAT gateway.
	NatGatewayId pulumi.StringOutput `pulumi:"natGatewayId"`
	// Identifier of an EC2 network interface.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	Origin             pulumi.StringOutput `pulumi:"origin"`
	// The ID of the routing table.
	RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
	State        pulumi.StringOutput `pulumi:"state"`
	// Identifier of an EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrOutput `pulumi:"transitGatewayId"`
	// Identifier of a VPC peering connection.
	VpcPeeringConnectionId pulumi.StringPtrOutput `pulumi:"vpcPeeringConnectionId"`
}

Provides a resource to create a routing table entry (a route) in a VPC routing table.

> **NOTE on Route Tables and Routes:** This provider currently provides both a standalone Route resource and a Route Table resource with routes defined in-line. At this time you cannot use a Route Table with in-line routes in conjunction with any Route resources. Doing so will cause a conflict of rule settings and will overwrite rules.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/route.html.markdown.

func GetRoute

func GetRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error)

GetRoute gets an existing Route resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoute

func NewRoute(ctx *pulumi.Context,
	name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)

NewRoute registers a new resource with the given unique name, arguments, and options.

type RouteArgs

type RouteArgs struct {
	// The destination CIDR block.
	DestinationCidrBlock pulumi.StringPtrInput
	// The destination IPv6 CIDR block.
	DestinationIpv6CidrBlock pulumi.StringPtrInput
	// Identifier of a VPC Egress Only Internet Gateway.
	EgressOnlyGatewayId pulumi.StringPtrInput
	// Identifier of a VPC internet gateway or a virtual private gateway.
	GatewayId pulumi.StringPtrInput
	// Identifier of an EC2 instance.
	InstanceId pulumi.StringPtrInput
	// Identifier of a VPC NAT gateway.
	NatGatewayId pulumi.StringPtrInput
	// Identifier of an EC2 network interface.
	NetworkInterfaceId pulumi.StringPtrInput
	// The ID of the routing table.
	RouteTableId pulumi.StringInput
	// Identifier of an EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
	// Identifier of a VPC peering connection.
	VpcPeeringConnectionId pulumi.StringPtrInput
}

The set of arguments for constructing a Route resource.

func (RouteArgs) ElementType added in v1.19.0

func (RouteArgs) ElementType() reflect.Type

type RouteState

type RouteState struct {
	// The destination CIDR block.
	DestinationCidrBlock pulumi.StringPtrInput
	// The destination IPv6 CIDR block.
	DestinationIpv6CidrBlock pulumi.StringPtrInput
	DestinationPrefixListId  pulumi.StringPtrInput
	// Identifier of a VPC Egress Only Internet Gateway.
	EgressOnlyGatewayId pulumi.StringPtrInput
	// Identifier of a VPC internet gateway or a virtual private gateway.
	GatewayId pulumi.StringPtrInput
	// Identifier of an EC2 instance.
	InstanceId      pulumi.StringPtrInput
	InstanceOwnerId pulumi.StringPtrInput
	// Identifier of a VPC NAT gateway.
	NatGatewayId pulumi.StringPtrInput
	// Identifier of an EC2 network interface.
	NetworkInterfaceId pulumi.StringPtrInput
	Origin             pulumi.StringPtrInput
	// The ID of the routing table.
	RouteTableId pulumi.StringPtrInput
	State        pulumi.StringPtrInput
	// Identifier of an EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
	// Identifier of a VPC peering connection.
	VpcPeeringConnectionId pulumi.StringPtrInput
}

func (RouteState) ElementType added in v1.19.0

func (RouteState) ElementType() reflect.Type

type RouteTable

type RouteTable struct {
	pulumi.CustomResourceState

	// The ID of the AWS account that owns the route table.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A list of virtual gateways for propagation.
	PropagatingVgws pulumi.StringArrayOutput `pulumi:"propagatingVgws"`
	// A list of route objects. Their keys are documented below. This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Routes RouteTableRouteArrayOutput `pulumi:"routes"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The VPC ID.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to create a VPC routing table.

> **NOTE on Route Tables and Routes:** This provider currently provides both a standalone Route resource and a Route Table resource with routes defined in-line. At this time you cannot use a Route Table with in-line routes in conjunction with any Route resources. Doing so will cause a conflict of rule settings and will overwrite rules.

> **NOTE on `gatewayId` and `natGatewayId`:** The AWS API is very forgiving with these two attributes and the `ec2.RouteTable` resource can be created with a NAT ID specified as a Gateway ID attribute. This _will_ lead to a permanent diff between your configuration and statefile, as the API returns the correct parameters in the returned route table. If you're experiencing constant diffs in your `ec2.RouteTable` resources, the first thing to check is whether or not you're specifying a NAT ID instead of a Gateway ID, or vice-versa.

> **NOTE on `propagatingVgws` and the `ec2.VpnGatewayRoutePropagation` resource:** If the `propagatingVgws` argument is present, it's not supported to _also_ define route propagations using `ec2.VpnGatewayRoutePropagation`, since this resource will delete any propagating gateways not explicitly listed in `propagatingVgws`. Omit this argument when defining route propagation using the separate resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/route_table.html.markdown.

func GetRouteTable

func GetRouteTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteTableState, opts ...pulumi.ResourceOption) (*RouteTable, error)

GetRouteTable gets an existing RouteTable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteTable

func NewRouteTable(ctx *pulumi.Context,
	name string, args *RouteTableArgs, opts ...pulumi.ResourceOption) (*RouteTable, error)

NewRouteTable registers a new resource with the given unique name, arguments, and options.

type RouteTableArgs

type RouteTableArgs struct {
	// A list of virtual gateways for propagation.
	PropagatingVgws pulumi.StringArrayInput
	// A list of route objects. Their keys are documented below. This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Routes RouteTableRouteArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a RouteTable resource.

func (RouteTableArgs) ElementType added in v1.19.0

func (RouteTableArgs) ElementType() reflect.Type

type RouteTableAssociation

type RouteTableAssociation struct {
	pulumi.CustomResourceState

	// The gateway ID to create an association. Conflicts with `subnetId`.
	GatewayId pulumi.StringPtrOutput `pulumi:"gatewayId"`
	// The ID of the routing table to associate with.
	RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
	// The subnet ID to create an association. Conflicts with `gatewayId`.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
}

Provides a resource to create an association between a route table and a subnet or a route table and an internet gateway or virtual private gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/route_table_association.html.markdown.

func GetRouteTableAssociation

func GetRouteTableAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteTableAssociationState, opts ...pulumi.ResourceOption) (*RouteTableAssociation, error)

GetRouteTableAssociation gets an existing RouteTableAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteTableAssociation

func NewRouteTableAssociation(ctx *pulumi.Context,
	name string, args *RouteTableAssociationArgs, opts ...pulumi.ResourceOption) (*RouteTableAssociation, error)

NewRouteTableAssociation registers a new resource with the given unique name, arguments, and options.

type RouteTableAssociationArgs

type RouteTableAssociationArgs struct {
	// The gateway ID to create an association. Conflicts with `subnetId`.
	GatewayId pulumi.StringPtrInput
	// The ID of the routing table to associate with.
	RouteTableId pulumi.StringInput
	// The subnet ID to create an association. Conflicts with `gatewayId`.
	SubnetId pulumi.StringPtrInput
}

The set of arguments for constructing a RouteTableAssociation resource.

func (RouteTableAssociationArgs) ElementType added in v1.19.0

func (RouteTableAssociationArgs) ElementType() reflect.Type

type RouteTableAssociationState

type RouteTableAssociationState struct {
	// The gateway ID to create an association. Conflicts with `subnetId`.
	GatewayId pulumi.StringPtrInput
	// The ID of the routing table to associate with.
	RouteTableId pulumi.StringPtrInput
	// The subnet ID to create an association. Conflicts with `gatewayId`.
	SubnetId pulumi.StringPtrInput
}

func (RouteTableAssociationState) ElementType added in v1.19.0

func (RouteTableAssociationState) ElementType() reflect.Type

type RouteTableRoute added in v1.19.0

type RouteTableRoute struct {
	// The CIDR block of the route.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Identifier of a VPC Egress Only Internet Gateway.
	EgressOnlyGatewayId *string `pulumi:"egressOnlyGatewayId"`
	// Identifier of a VPC internet gateway or a virtual private gateway.
	GatewayId *string `pulumi:"gatewayId"`
	// Identifier of an EC2 instance.
	InstanceId *string `pulumi:"instanceId"`
	// The Ipv6 CIDR block of the route.
	Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
	// Identifier of a VPC NAT gateway.
	NatGatewayId *string `pulumi:"natGatewayId"`
	// Identifier of an EC2 network interface.
	NetworkInterfaceId *string `pulumi:"networkInterfaceId"`
	// Identifier of an EC2 Transit Gateway.
	TransitGatewayId *string `pulumi:"transitGatewayId"`
	// Identifier of a VPC peering connection.
	VpcPeeringConnectionId *string `pulumi:"vpcPeeringConnectionId"`
}

type RouteTableRouteArgs added in v1.19.0

type RouteTableRouteArgs struct {
	// The CIDR block of the route.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// Identifier of a VPC Egress Only Internet Gateway.
	EgressOnlyGatewayId pulumi.StringPtrInput `pulumi:"egressOnlyGatewayId"`
	// Identifier of a VPC internet gateway or a virtual private gateway.
	GatewayId pulumi.StringPtrInput `pulumi:"gatewayId"`
	// Identifier of an EC2 instance.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The Ipv6 CIDR block of the route.
	Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"`
	// Identifier of a VPC NAT gateway.
	NatGatewayId pulumi.StringPtrInput `pulumi:"natGatewayId"`
	// Identifier of an EC2 network interface.
	NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"`
	// Identifier of an EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput `pulumi:"transitGatewayId"`
	// Identifier of a VPC peering connection.
	VpcPeeringConnectionId pulumi.StringPtrInput `pulumi:"vpcPeeringConnectionId"`
}

func (RouteTableRouteArgs) ElementType added in v1.19.0

func (RouteTableRouteArgs) ElementType() reflect.Type

func (RouteTableRouteArgs) ToRouteTableRouteOutput added in v1.19.0

func (i RouteTableRouteArgs) ToRouteTableRouteOutput() RouteTableRouteOutput

func (RouteTableRouteArgs) ToRouteTableRouteOutputWithContext added in v1.19.0

func (i RouteTableRouteArgs) ToRouteTableRouteOutputWithContext(ctx context.Context) RouteTableRouteOutput

type RouteTableRouteArray added in v1.19.0

type RouteTableRouteArray []RouteTableRouteInput

func (RouteTableRouteArray) ElementType added in v1.19.0

func (RouteTableRouteArray) ElementType() reflect.Type

func (RouteTableRouteArray) ToRouteTableRouteArrayOutput added in v1.19.0

func (i RouteTableRouteArray) ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput

func (RouteTableRouteArray) ToRouteTableRouteArrayOutputWithContext added in v1.19.0

func (i RouteTableRouteArray) ToRouteTableRouteArrayOutputWithContext(ctx context.Context) RouteTableRouteArrayOutput

type RouteTableRouteArrayInput added in v1.19.0

type RouteTableRouteArrayInput interface {
	pulumi.Input

	ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput
	ToRouteTableRouteArrayOutputWithContext(context.Context) RouteTableRouteArrayOutput
}

type RouteTableRouteArrayOutput added in v1.19.0

type RouteTableRouteArrayOutput struct{ *pulumi.OutputState }

func (RouteTableRouteArrayOutput) ElementType added in v1.19.0

func (RouteTableRouteArrayOutput) ElementType() reflect.Type

func (RouteTableRouteArrayOutput) Index added in v1.19.0

func (RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutput added in v1.19.0

func (o RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput

func (RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutputWithContext added in v1.19.0

func (o RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutputWithContext(ctx context.Context) RouteTableRouteArrayOutput

type RouteTableRouteInput added in v1.19.0

type RouteTableRouteInput interface {
	pulumi.Input

	ToRouteTableRouteOutput() RouteTableRouteOutput
	ToRouteTableRouteOutputWithContext(context.Context) RouteTableRouteOutput
}

type RouteTableRouteOutput added in v1.19.0

type RouteTableRouteOutput struct{ *pulumi.OutputState }

func (RouteTableRouteOutput) CidrBlock added in v1.19.0

The CIDR block of the route.

func (RouteTableRouteOutput) EgressOnlyGatewayId added in v1.19.0

func (o RouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringPtrOutput

Identifier of a VPC Egress Only Internet Gateway.

func (RouteTableRouteOutput) ElementType added in v1.19.0

func (RouteTableRouteOutput) ElementType() reflect.Type

func (RouteTableRouteOutput) GatewayId added in v1.19.0

Identifier of a VPC internet gateway or a virtual private gateway.

func (RouteTableRouteOutput) InstanceId added in v1.19.0

Identifier of an EC2 instance.

func (RouteTableRouteOutput) Ipv6CidrBlock added in v1.19.0

func (o RouteTableRouteOutput) Ipv6CidrBlock() pulumi.StringPtrOutput

The Ipv6 CIDR block of the route.

func (RouteTableRouteOutput) NatGatewayId added in v1.19.0

func (o RouteTableRouteOutput) NatGatewayId() pulumi.StringPtrOutput

Identifier of a VPC NAT gateway.

func (RouteTableRouteOutput) NetworkInterfaceId added in v1.19.0

func (o RouteTableRouteOutput) NetworkInterfaceId() pulumi.StringPtrOutput

Identifier of an EC2 network interface.

func (RouteTableRouteOutput) ToRouteTableRouteOutput added in v1.19.0

func (o RouteTableRouteOutput) ToRouteTableRouteOutput() RouteTableRouteOutput

func (RouteTableRouteOutput) ToRouteTableRouteOutputWithContext added in v1.19.0

func (o RouteTableRouteOutput) ToRouteTableRouteOutputWithContext(ctx context.Context) RouteTableRouteOutput

func (RouteTableRouteOutput) TransitGatewayId added in v1.19.0

func (o RouteTableRouteOutput) TransitGatewayId() pulumi.StringPtrOutput

Identifier of an EC2 Transit Gateway.

func (RouteTableRouteOutput) VpcPeeringConnectionId added in v1.19.0

func (o RouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringPtrOutput

Identifier of a VPC peering connection.

type RouteTableState

type RouteTableState struct {
	// The ID of the AWS account that owns the route table.
	OwnerId pulumi.StringPtrInput
	// A list of virtual gateways for propagation.
	PropagatingVgws pulumi.StringArrayInput
	// A list of route objects. Their keys are documented below. This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Routes RouteTableRouteArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID.
	VpcId pulumi.StringPtrInput
}

func (RouteTableState) ElementType added in v1.19.0

func (RouteTableState) ElementType() reflect.Type

type SecurityGroup

type SecurityGroup struct {
	pulumi.CustomResourceState

	// The ARN of the security group
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The security group description. Defaults to
	// "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS
	// `GroupDescription` attribute, for which there is no Update API. If you'd like
	// to classify your security groups in a way that can be updated, use `tags`.
	Description pulumi.StringOutput `pulumi:"description"`
	// Can be specified multiple times for each
	// egress rule. Each egress block supports fields documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Egress SecurityGroupEgressArrayOutput `pulumi:"egress"`
	// Can be specified multiple times for each
	// ingress rule. Each ingress block supports fields documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Ingress SecurityGroupIngressArrayOutput `pulumi:"ingress"`
	// The name of the security group. If omitted, this provider will
	// assign a random, unique name
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// The owner ID.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// Instruct this provider to revoke all of the
	// Security Groups attached ingress and egress rules before deleting the rule
	// itself. This is normally not needed, however certain AWS services such as
	// Elastic Map Reduce may automatically add required rules to security groups used
	// with the service, and those rules may contain a cyclic dependency that prevent
	// the security groups from being destroyed without removing the dependency first.
	// Default `false`
	RevokeRulesOnDelete pulumi.BoolPtrOutput `pulumi:"revokeRulesOnDelete"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The VPC ID.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/security_group.html.markdown.

func GetSecurityGroup

func GetSecurityGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityGroupState, opts ...pulumi.ResourceOption) (*SecurityGroup, error)

GetSecurityGroup gets an existing SecurityGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecurityGroup

func NewSecurityGroup(ctx *pulumi.Context,
	name string, args *SecurityGroupArgs, opts ...pulumi.ResourceOption) (*SecurityGroup, error)

NewSecurityGroup registers a new resource with the given unique name, arguments, and options.

type SecurityGroupArgs

type SecurityGroupArgs struct {
	// The security group description. Defaults to
	// "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS
	// `GroupDescription` attribute, for which there is no Update API. If you'd like
	// to classify your security groups in a way that can be updated, use `tags`.
	Description pulumi.StringPtrInput
	// Can be specified multiple times for each
	// egress rule. Each egress block supports fields documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Egress SecurityGroupEgressArrayInput
	// Can be specified multiple times for each
	// ingress rule. Each ingress block supports fields documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Ingress SecurityGroupIngressArrayInput
	// The name of the security group. If omitted, this provider will
	// assign a random, unique name
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Instruct this provider to revoke all of the
	// Security Groups attached ingress and egress rules before deleting the rule
	// itself. This is normally not needed, however certain AWS services such as
	// Elastic Map Reduce may automatically add required rules to security groups used
	// with the service, and those rules may contain a cyclic dependency that prevent
	// the security groups from being destroyed without removing the dependency first.
	// Default `false`
	RevokeRulesOnDelete pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a SecurityGroup resource.

func (SecurityGroupArgs) ElementType added in v1.19.0

func (SecurityGroupArgs) ElementType() reflect.Type

type SecurityGroupEgress added in v1.19.0

type SecurityGroupEgress struct {
	CidrBlocks []string `pulumi:"cidrBlocks"`
	// The security group description. Defaults to
	// "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS
	// `GroupDescription` attribute, for which there is no Update API. If you'd like
	// to classify your security groups in a way that can be updated, use `tags`.
	Description    *string  `pulumi:"description"`
	FromPort       int      `pulumi:"fromPort"`
	Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"`
	PrefixListIds  []string `pulumi:"prefixListIds"`
	Protocol       string   `pulumi:"protocol"`
	SecurityGroups []string `pulumi:"securityGroups"`
	Self           *bool    `pulumi:"self"`
	ToPort         int      `pulumi:"toPort"`
}

type SecurityGroupEgressArgs added in v1.19.0

type SecurityGroupEgressArgs struct {
	CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
	// The security group description. Defaults to
	// "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS
	// `GroupDescription` attribute, for which there is no Update API. If you'd like
	// to classify your security groups in a way that can be updated, use `tags`.
	Description    pulumi.StringPtrInput   `pulumi:"description"`
	FromPort       pulumi.IntInput         `pulumi:"fromPort"`
	Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"`
	PrefixListIds  pulumi.StringArrayInput `pulumi:"prefixListIds"`
	Protocol       pulumi.StringInput      `pulumi:"protocol"`
	SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
	Self           pulumi.BoolPtrInput     `pulumi:"self"`
	ToPort         pulumi.IntInput         `pulumi:"toPort"`
}

func (SecurityGroupEgressArgs) ElementType added in v1.19.0

func (SecurityGroupEgressArgs) ElementType() reflect.Type

func (SecurityGroupEgressArgs) ToSecurityGroupEgressOutput added in v1.19.0

func (i SecurityGroupEgressArgs) ToSecurityGroupEgressOutput() SecurityGroupEgressOutput

func (SecurityGroupEgressArgs) ToSecurityGroupEgressOutputWithContext added in v1.19.0

func (i SecurityGroupEgressArgs) ToSecurityGroupEgressOutputWithContext(ctx context.Context) SecurityGroupEgressOutput

type SecurityGroupEgressArray added in v1.19.0

type SecurityGroupEgressArray []SecurityGroupEgressInput

func (SecurityGroupEgressArray) ElementType added in v1.19.0

func (SecurityGroupEgressArray) ElementType() reflect.Type

func (SecurityGroupEgressArray) ToSecurityGroupEgressArrayOutput added in v1.19.0

func (i SecurityGroupEgressArray) ToSecurityGroupEgressArrayOutput() SecurityGroupEgressArrayOutput

func (SecurityGroupEgressArray) ToSecurityGroupEgressArrayOutputWithContext added in v1.19.0

func (i SecurityGroupEgressArray) ToSecurityGroupEgressArrayOutputWithContext(ctx context.Context) SecurityGroupEgressArrayOutput

type SecurityGroupEgressArrayInput added in v1.19.0

type SecurityGroupEgressArrayInput interface {
	pulumi.Input

	ToSecurityGroupEgressArrayOutput() SecurityGroupEgressArrayOutput
	ToSecurityGroupEgressArrayOutputWithContext(context.Context) SecurityGroupEgressArrayOutput
}

type SecurityGroupEgressArrayOutput added in v1.19.0

type SecurityGroupEgressArrayOutput struct{ *pulumi.OutputState }

func (SecurityGroupEgressArrayOutput) ElementType added in v1.19.0

func (SecurityGroupEgressArrayOutput) Index added in v1.19.0

func (SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutput added in v1.19.0

func (o SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutput() SecurityGroupEgressArrayOutput

func (SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutputWithContext added in v1.19.0

func (o SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutputWithContext(ctx context.Context) SecurityGroupEgressArrayOutput

type SecurityGroupEgressInput added in v1.19.0

type SecurityGroupEgressInput interface {
	pulumi.Input

	ToSecurityGroupEgressOutput() SecurityGroupEgressOutput
	ToSecurityGroupEgressOutputWithContext(context.Context) SecurityGroupEgressOutput
}

type SecurityGroupEgressOutput added in v1.19.0

type SecurityGroupEgressOutput struct{ *pulumi.OutputState }

func (SecurityGroupEgressOutput) CidrBlocks added in v1.19.0

func (SecurityGroupEgressOutput) Description added in v1.19.0

The security group description. Defaults to "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS `GroupDescription` attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use `tags`.

func (SecurityGroupEgressOutput) ElementType added in v1.19.0

func (SecurityGroupEgressOutput) ElementType() reflect.Type

func (SecurityGroupEgressOutput) FromPort added in v1.19.0

func (SecurityGroupEgressOutput) Ipv6CidrBlocks added in v1.19.0

func (SecurityGroupEgressOutput) PrefixListIds added in v1.19.0

func (SecurityGroupEgressOutput) Protocol added in v1.19.0

func (SecurityGroupEgressOutput) SecurityGroups added in v1.19.0

func (SecurityGroupEgressOutput) Self added in v1.19.0

func (SecurityGroupEgressOutput) ToPort added in v1.19.0

func (SecurityGroupEgressOutput) ToSecurityGroupEgressOutput added in v1.19.0

func (o SecurityGroupEgressOutput) ToSecurityGroupEgressOutput() SecurityGroupEgressOutput

func (SecurityGroupEgressOutput) ToSecurityGroupEgressOutputWithContext added in v1.19.0

func (o SecurityGroupEgressOutput) ToSecurityGroupEgressOutputWithContext(ctx context.Context) SecurityGroupEgressOutput

type SecurityGroupIngress added in v1.19.0

type SecurityGroupIngress struct {
	CidrBlocks []string `pulumi:"cidrBlocks"`
	// The security group description. Defaults to
	// "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS
	// `GroupDescription` attribute, for which there is no Update API. If you'd like
	// to classify your security groups in a way that can be updated, use `tags`.
	Description    *string  `pulumi:"description"`
	FromPort       int      `pulumi:"fromPort"`
	Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"`
	PrefixListIds  []string `pulumi:"prefixListIds"`
	Protocol       string   `pulumi:"protocol"`
	SecurityGroups []string `pulumi:"securityGroups"`
	Self           *bool    `pulumi:"self"`
	ToPort         int      `pulumi:"toPort"`
}

type SecurityGroupIngressArgs added in v1.19.0

type SecurityGroupIngressArgs struct {
	CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
	// The security group description. Defaults to
	// "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS
	// `GroupDescription` attribute, for which there is no Update API. If you'd like
	// to classify your security groups in a way that can be updated, use `tags`.
	Description    pulumi.StringPtrInput   `pulumi:"description"`
	FromPort       pulumi.IntInput         `pulumi:"fromPort"`
	Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"`
	PrefixListIds  pulumi.StringArrayInput `pulumi:"prefixListIds"`
	Protocol       pulumi.StringInput      `pulumi:"protocol"`
	SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
	Self           pulumi.BoolPtrInput     `pulumi:"self"`
	ToPort         pulumi.IntInput         `pulumi:"toPort"`
}

func (SecurityGroupIngressArgs) ElementType added in v1.19.0

func (SecurityGroupIngressArgs) ElementType() reflect.Type

func (SecurityGroupIngressArgs) ToSecurityGroupIngressOutput added in v1.19.0

func (i SecurityGroupIngressArgs) ToSecurityGroupIngressOutput() SecurityGroupIngressOutput

func (SecurityGroupIngressArgs) ToSecurityGroupIngressOutputWithContext added in v1.19.0

func (i SecurityGroupIngressArgs) ToSecurityGroupIngressOutputWithContext(ctx context.Context) SecurityGroupIngressOutput

type SecurityGroupIngressArray added in v1.19.0

type SecurityGroupIngressArray []SecurityGroupIngressInput

func (SecurityGroupIngressArray) ElementType added in v1.19.0

func (SecurityGroupIngressArray) ElementType() reflect.Type

func (SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutput added in v1.19.0

func (i SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput

func (SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutputWithContext added in v1.19.0

func (i SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutputWithContext(ctx context.Context) SecurityGroupIngressArrayOutput

type SecurityGroupIngressArrayInput added in v1.19.0

type SecurityGroupIngressArrayInput interface {
	pulumi.Input

	ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput
	ToSecurityGroupIngressArrayOutputWithContext(context.Context) SecurityGroupIngressArrayOutput
}

type SecurityGroupIngressArrayOutput added in v1.19.0

type SecurityGroupIngressArrayOutput struct{ *pulumi.OutputState }

func (SecurityGroupIngressArrayOutput) ElementType added in v1.19.0

func (SecurityGroupIngressArrayOutput) Index added in v1.19.0

func (SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutput added in v1.19.0

func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput

func (SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutputWithContext added in v1.19.0

func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutputWithContext(ctx context.Context) SecurityGroupIngressArrayOutput

type SecurityGroupIngressInput added in v1.19.0

type SecurityGroupIngressInput interface {
	pulumi.Input

	ToSecurityGroupIngressOutput() SecurityGroupIngressOutput
	ToSecurityGroupIngressOutputWithContext(context.Context) SecurityGroupIngressOutput
}

type SecurityGroupIngressOutput added in v1.19.0

type SecurityGroupIngressOutput struct{ *pulumi.OutputState }

func (SecurityGroupIngressOutput) CidrBlocks added in v1.19.0

func (SecurityGroupIngressOutput) Description added in v1.19.0

The security group description. Defaults to "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS `GroupDescription` attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use `tags`.

func (SecurityGroupIngressOutput) ElementType added in v1.19.0

func (SecurityGroupIngressOutput) ElementType() reflect.Type

func (SecurityGroupIngressOutput) FromPort added in v1.19.0

func (SecurityGroupIngressOutput) Ipv6CidrBlocks added in v1.19.0

func (SecurityGroupIngressOutput) PrefixListIds added in v1.19.0

func (SecurityGroupIngressOutput) Protocol added in v1.19.0

func (SecurityGroupIngressOutput) SecurityGroups added in v1.19.0

func (SecurityGroupIngressOutput) Self added in v1.19.0

func (SecurityGroupIngressOutput) ToPort added in v1.19.0

func (SecurityGroupIngressOutput) ToSecurityGroupIngressOutput added in v1.19.0

func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutput() SecurityGroupIngressOutput

func (SecurityGroupIngressOutput) ToSecurityGroupIngressOutputWithContext added in v1.19.0

func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutputWithContext(ctx context.Context) SecurityGroupIngressOutput

type SecurityGroupRule

type SecurityGroupRule struct {
	pulumi.CustomResourceState

	// List of CIDR blocks. Cannot be specified with `sourceSecurityGroupId`.
	CidrBlocks pulumi.StringArrayOutput `pulumi:"cidrBlocks"`
	// Description of the rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The start port (or ICMP type number if protocol is "icmp" or "icmpv6").
	FromPort pulumi.IntOutput `pulumi:"fromPort"`
	// List of IPv6 CIDR blocks.
	Ipv6CidrBlocks pulumi.StringArrayOutput `pulumi:"ipv6CidrBlocks"`
	// List of prefix list IDs (for allowing access to VPC endpoints).
	// Only valid with `egress`.
	PrefixListIds pulumi.StringArrayOutput `pulumi:"prefixListIds"`
	// The protocol. If not icmp, icmpv6, tcp, udp, or all use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// The security group to apply this rule to.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// If true, the security group itself will be added as
	// a source to this ingress rule. Cannot be specified with `sourceSecurityGroupId`.
	Self pulumi.BoolPtrOutput `pulumi:"self"`
	// The security group id to allow access to/from,
	// depending on the `type`. Cannot be specified with `cidrBlocks` and `self`.
	SourceSecurityGroupId pulumi.StringOutput `pulumi:"sourceSecurityGroupId"`
	// The end port (or ICMP code if protocol is "icmp").
	ToPort pulumi.IntOutput `pulumi:"toPort"`
	// The type of rule being created. Valid options are `ingress` (inbound)
	// or `egress` (outbound).
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a security group rule resource. Represents a single `ingress` or `egress` group rule, which can be added to external Security Groups.

> **NOTE on Security Groups and Security Group Rules:** This provider currently provides both a standalone Security Group Rule resource (a single `ingress` or `egress` rule), and a Security Group resource with `ingress` and `egress` rules defined in-line. At this time you cannot use a Security Group with in-line rules in conjunction with any Security Group Rule resources. Doing so will cause a conflict of rule settings and will overwrite rules.

> **NOTE:** Setting `protocol = "all"` or `protocol = -1` with `fromPort` and `toPort` will result in the EC2 API creating a security group rule with all ports open. This API behavior cannot be controlled by this provider and may generate warnings in the future.

> **NOTE:** Referencing Security Groups across VPC peering has certain restrictions. More information is available in the [VPC Peering User Guide](https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/security_group_rule.html.markdown.

func GetSecurityGroupRule

func GetSecurityGroupRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityGroupRuleState, opts ...pulumi.ResourceOption) (*SecurityGroupRule, error)

GetSecurityGroupRule gets an existing SecurityGroupRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecurityGroupRule

func NewSecurityGroupRule(ctx *pulumi.Context,
	name string, args *SecurityGroupRuleArgs, opts ...pulumi.ResourceOption) (*SecurityGroupRule, error)

NewSecurityGroupRule registers a new resource with the given unique name, arguments, and options.

type SecurityGroupRuleArgs

type SecurityGroupRuleArgs struct {
	// List of CIDR blocks. Cannot be specified with `sourceSecurityGroupId`.
	CidrBlocks pulumi.StringArrayInput
	// Description of the rule.
	Description pulumi.StringPtrInput
	// The start port (or ICMP type number if protocol is "icmp" or "icmpv6").
	FromPort pulumi.IntInput
	// List of IPv6 CIDR blocks.
	Ipv6CidrBlocks pulumi.StringArrayInput
	// List of prefix list IDs (for allowing access to VPC endpoints).
	// Only valid with `egress`.
	PrefixListIds pulumi.StringArrayInput
	// The protocol. If not icmp, icmpv6, tcp, udp, or all use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)
	Protocol pulumi.StringInput
	// The security group to apply this rule to.
	SecurityGroupId pulumi.StringInput
	// If true, the security group itself will be added as
	// a source to this ingress rule. Cannot be specified with `sourceSecurityGroupId`.
	Self pulumi.BoolPtrInput
	// The security group id to allow access to/from,
	// depending on the `type`. Cannot be specified with `cidrBlocks` and `self`.
	SourceSecurityGroupId pulumi.StringPtrInput
	// The end port (or ICMP code if protocol is "icmp").
	ToPort pulumi.IntInput
	// The type of rule being created. Valid options are `ingress` (inbound)
	// or `egress` (outbound).
	Type pulumi.StringInput
}

The set of arguments for constructing a SecurityGroupRule resource.

func (SecurityGroupRuleArgs) ElementType added in v1.19.0

func (SecurityGroupRuleArgs) ElementType() reflect.Type

type SecurityGroupRuleState

type SecurityGroupRuleState struct {
	// List of CIDR blocks. Cannot be specified with `sourceSecurityGroupId`.
	CidrBlocks pulumi.StringArrayInput
	// Description of the rule.
	Description pulumi.StringPtrInput
	// The start port (or ICMP type number if protocol is "icmp" or "icmpv6").
	FromPort pulumi.IntPtrInput
	// List of IPv6 CIDR blocks.
	Ipv6CidrBlocks pulumi.StringArrayInput
	// List of prefix list IDs (for allowing access to VPC endpoints).
	// Only valid with `egress`.
	PrefixListIds pulumi.StringArrayInput
	// The protocol. If not icmp, icmpv6, tcp, udp, or all use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)
	Protocol pulumi.StringPtrInput
	// The security group to apply this rule to.
	SecurityGroupId pulumi.StringPtrInput
	// If true, the security group itself will be added as
	// a source to this ingress rule. Cannot be specified with `sourceSecurityGroupId`.
	Self pulumi.BoolPtrInput
	// The security group id to allow access to/from,
	// depending on the `type`. Cannot be specified with `cidrBlocks` and `self`.
	SourceSecurityGroupId pulumi.StringPtrInput
	// The end port (or ICMP code if protocol is "icmp").
	ToPort pulumi.IntPtrInput
	// The type of rule being created. Valid options are `ingress` (inbound)
	// or `egress` (outbound).
	Type pulumi.StringPtrInput
}

func (SecurityGroupRuleState) ElementType added in v1.19.0

func (SecurityGroupRuleState) ElementType() reflect.Type

type SecurityGroupState

type SecurityGroupState struct {
	// The ARN of the security group
	Arn pulumi.StringPtrInput
	// The security group description. Defaults to
	// "Managed by Pulumi". Cannot be "". __NOTE__: This field maps to the AWS
	// `GroupDescription` attribute, for which there is no Update API. If you'd like
	// to classify your security groups in a way that can be updated, use `tags`.
	Description pulumi.StringPtrInput
	// Can be specified multiple times for each
	// egress rule. Each egress block supports fields documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Egress SecurityGroupEgressArrayInput
	// Can be specified multiple times for each
	// ingress rule. Each ingress block supports fields documented below.
	// This argument is processed in [attribute-as-blocks mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html).
	Ingress SecurityGroupIngressArrayInput
	// The name of the security group. If omitted, this provider will
	// assign a random, unique name
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// The owner ID.
	OwnerId pulumi.StringPtrInput
	// Instruct this provider to revoke all of the
	// Security Groups attached ingress and egress rules before deleting the rule
	// itself. This is normally not needed, however certain AWS services such as
	// Elastic Map Reduce may automatically add required rules to security groups used
	// with the service, and those rules may contain a cyclic dependency that prevent
	// the security groups from being destroyed without removing the dependency first.
	// Default `false`
	RevokeRulesOnDelete pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID.
	VpcId pulumi.StringPtrInput
}

func (SecurityGroupState) ElementType added in v1.19.0

func (SecurityGroupState) ElementType() reflect.Type

type SnapshotCreateVolumePermission

type SnapshotCreateVolumePermission struct {
	pulumi.CustomResourceState

	// An AWS Account ID to add create volume permissions
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// A snapshot ID
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
}

Adds permission to create volumes off of a given EBS Snapshot.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/snapshot_create_volume_permission.html.markdown.

func GetSnapshotCreateVolumePermission

func GetSnapshotCreateVolumePermission(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotCreateVolumePermissionState, opts ...pulumi.ResourceOption) (*SnapshotCreateVolumePermission, error)

GetSnapshotCreateVolumePermission gets an existing SnapshotCreateVolumePermission resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSnapshotCreateVolumePermission

func NewSnapshotCreateVolumePermission(ctx *pulumi.Context,
	name string, args *SnapshotCreateVolumePermissionArgs, opts ...pulumi.ResourceOption) (*SnapshotCreateVolumePermission, error)

NewSnapshotCreateVolumePermission registers a new resource with the given unique name, arguments, and options.

type SnapshotCreateVolumePermissionArgs

type SnapshotCreateVolumePermissionArgs struct {
	// An AWS Account ID to add create volume permissions
	AccountId pulumi.StringInput
	// A snapshot ID
	SnapshotId pulumi.StringInput
}

The set of arguments for constructing a SnapshotCreateVolumePermission resource.

func (SnapshotCreateVolumePermissionArgs) ElementType added in v1.19.0

type SnapshotCreateVolumePermissionState

type SnapshotCreateVolumePermissionState struct {
	// An AWS Account ID to add create volume permissions
	AccountId pulumi.StringPtrInput
	// A snapshot ID
	SnapshotId pulumi.StringPtrInput
}

func (SnapshotCreateVolumePermissionState) ElementType added in v1.19.0

type SpotDatafeedSubscription

type SpotDatafeedSubscription struct {
	pulumi.CustomResourceState

	// The Amazon S3 bucket in which to store the Spot instance data feed.
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// Path of folder inside bucket to place spot pricing data.
	Prefix pulumi.StringPtrOutput `pulumi:"prefix"`
}

> **Note:** There is only a single subscription allowed per account.

To help you understand the charges for your Spot instances, Amazon EC2 provides a data feed that describes your Spot instance usage and pricing. This data feed is sent to an Amazon S3 bucket that you specify when you subscribe to the data feed.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/spot_datafeed_subscription.html.markdown.

func GetSpotDatafeedSubscription

func GetSpotDatafeedSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpotDatafeedSubscriptionState, opts ...pulumi.ResourceOption) (*SpotDatafeedSubscription, error)

GetSpotDatafeedSubscription gets an existing SpotDatafeedSubscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSpotDatafeedSubscription

func NewSpotDatafeedSubscription(ctx *pulumi.Context,
	name string, args *SpotDatafeedSubscriptionArgs, opts ...pulumi.ResourceOption) (*SpotDatafeedSubscription, error)

NewSpotDatafeedSubscription registers a new resource with the given unique name, arguments, and options.

type SpotDatafeedSubscriptionArgs

type SpotDatafeedSubscriptionArgs struct {
	// The Amazon S3 bucket in which to store the Spot instance data feed.
	Bucket pulumi.StringInput
	// Path of folder inside bucket to place spot pricing data.
	Prefix pulumi.StringPtrInput
}

The set of arguments for constructing a SpotDatafeedSubscription resource.

func (SpotDatafeedSubscriptionArgs) ElementType added in v1.19.0

type SpotDatafeedSubscriptionState

type SpotDatafeedSubscriptionState struct {
	// The Amazon S3 bucket in which to store the Spot instance data feed.
	Bucket pulumi.StringPtrInput
	// Path of folder inside bucket to place spot pricing data.
	Prefix pulumi.StringPtrInput
}

func (SpotDatafeedSubscriptionState) ElementType added in v1.19.0

type SpotFleetRequest

type SpotFleetRequest struct {
	pulumi.CustomResourceState

	// Indicates how to allocate the target capacity across
	// the Spot pools specified by the Spot fleet request. The default is
	// `lowestPrice`.
	AllocationStrategy pulumi.StringPtrOutput `pulumi:"allocationStrategy"`
	ClientToken        pulumi.StringOutput    `pulumi:"clientToken"`
	// Indicates whether running Spot
	// instances should be terminated if the target capacity of the Spot fleet
	// request is decreased below the current size of the Spot fleet.
	ExcessCapacityTerminationPolicy pulumi.StringPtrOutput `pulumi:"excessCapacityTerminationPolicy"`
	// The type of fleet request. Indicates whether the Spot Fleet only requests the target
	// capacity or also attempts to maintain it. Default is `maintain`.
	FleetType pulumi.StringPtrOutput `pulumi:"fleetType"`
	// Grants the Spot fleet permission to terminate
	// Spot instances on your behalf when you cancel its Spot fleet request using
	// CancelSpotFleetRequests or when the Spot fleet request expires, if you set
	// terminateInstancesWithExpiration.
	IamFleetRole pulumi.StringOutput `pulumi:"iamFleetRole"`
	// Indicates whether a Spot
	// instance stops or terminates when it is interrupted. Default is
	// `terminate`.
	InstanceInterruptionBehaviour pulumi.StringPtrOutput `pulumi:"instanceInterruptionBehaviour"`
	//
	// The number of Spot pools across which to allocate your target Spot capacity.
	// Valid only when `allocationStrategy` is set to `lowestPrice`. Spot Fleet selects
	// the cheapest Spot pools and evenly allocates your target Spot capacity across
	// the number of Spot pools that you specify.
	InstancePoolsToUseCount pulumi.IntPtrOutput `pulumi:"instancePoolsToUseCount"`
	// Used to define the launch configuration of the
	// spot-fleet request. Can be specified multiple times to define different bids
	// across different markets and instance types.
	LaunchSpecifications SpotFleetRequestLaunchSpecificationArrayOutput `pulumi:"launchSpecifications"`
	// A list of elastic load balancer names to add to the Spot fleet.
	LoadBalancers pulumi.StringArrayOutput `pulumi:"loadBalancers"`
	// Indicates whether Spot fleet should replace unhealthy instances. Default `false`.
	ReplaceUnhealthyInstances pulumi.BoolPtrOutput `pulumi:"replaceUnhealthyInstances"`
	// The maximum bid price per unit hour.
	SpotPrice pulumi.StringPtrOutput `pulumi:"spotPrice"`
	// The state of the Spot fleet request.
	SpotRequestState pulumi.StringOutput `pulumi:"spotRequestState"`
	// The number of units to request. You can choose to set the
	// target capacity in terms of instances or a performance characteristic that is
	// important to your application workload, such as vCPUs, memory, or I/O.
	TargetCapacity pulumi.IntOutput `pulumi:"targetCapacity"`
	// A list of `alb.TargetGroup` ARNs, for use with Application Load Balancing.
	TargetGroupArns pulumi.StringArrayOutput `pulumi:"targetGroupArns"`
	// Indicates whether running Spot
	// instances should be terminated when the Spot fleet request expires.
	TerminateInstancesWithExpiration pulumi.BoolPtrOutput `pulumi:"terminateInstancesWithExpiration"`
	// The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
	ValidFrom pulumi.StringPtrOutput `pulumi:"validFrom"`
	// The end date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. Defaults to 24 hours.
	ValidUntil pulumi.StringPtrOutput `pulumi:"validUntil"`
	// If set, this provider will
	// wait for the Spot Request to be fulfilled, and will throw an error if the
	// timeout of 10m is reached.
	WaitForFulfillment pulumi.BoolPtrOutput `pulumi:"waitForFulfillment"`
}

Provides an EC2 Spot Fleet Request resource. This allows a fleet of Spot instances to be requested on the Spot market.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/spot_fleet_request.html.markdown.

func GetSpotFleetRequest

func GetSpotFleetRequest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpotFleetRequestState, opts ...pulumi.ResourceOption) (*SpotFleetRequest, error)

GetSpotFleetRequest gets an existing SpotFleetRequest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSpotFleetRequest

func NewSpotFleetRequest(ctx *pulumi.Context,
	name string, args *SpotFleetRequestArgs, opts ...pulumi.ResourceOption) (*SpotFleetRequest, error)

NewSpotFleetRequest registers a new resource with the given unique name, arguments, and options.

type SpotFleetRequestArgs

type SpotFleetRequestArgs struct {
	// Indicates how to allocate the target capacity across
	// the Spot pools specified by the Spot fleet request. The default is
	// `lowestPrice`.
	AllocationStrategy pulumi.StringPtrInput
	// Indicates whether running Spot
	// instances should be terminated if the target capacity of the Spot fleet
	// request is decreased below the current size of the Spot fleet.
	ExcessCapacityTerminationPolicy pulumi.StringPtrInput
	// The type of fleet request. Indicates whether the Spot Fleet only requests the target
	// capacity or also attempts to maintain it. Default is `maintain`.
	FleetType pulumi.StringPtrInput
	// Grants the Spot fleet permission to terminate
	// Spot instances on your behalf when you cancel its Spot fleet request using
	// CancelSpotFleetRequests or when the Spot fleet request expires, if you set
	// terminateInstancesWithExpiration.
	IamFleetRole pulumi.StringInput
	// Indicates whether a Spot
	// instance stops or terminates when it is interrupted. Default is
	// `terminate`.
	InstanceInterruptionBehaviour pulumi.StringPtrInput
	//
	// The number of Spot pools across which to allocate your target Spot capacity.
	// Valid only when `allocationStrategy` is set to `lowestPrice`. Spot Fleet selects
	// the cheapest Spot pools and evenly allocates your target Spot capacity across
	// the number of Spot pools that you specify.
	InstancePoolsToUseCount pulumi.IntPtrInput
	// Used to define the launch configuration of the
	// spot-fleet request. Can be specified multiple times to define different bids
	// across different markets and instance types.
	LaunchSpecifications SpotFleetRequestLaunchSpecificationArrayInput
	// A list of elastic load balancer names to add to the Spot fleet.
	LoadBalancers pulumi.StringArrayInput
	// Indicates whether Spot fleet should replace unhealthy instances. Default `false`.
	ReplaceUnhealthyInstances pulumi.BoolPtrInput
	// The maximum bid price per unit hour.
	SpotPrice pulumi.StringPtrInput
	// The number of units to request. You can choose to set the
	// target capacity in terms of instances or a performance characteristic that is
	// important to your application workload, such as vCPUs, memory, or I/O.
	TargetCapacity pulumi.IntInput
	// A list of `alb.TargetGroup` ARNs, for use with Application Load Balancing.
	TargetGroupArns pulumi.StringArrayInput
	// Indicates whether running Spot
	// instances should be terminated when the Spot fleet request expires.
	TerminateInstancesWithExpiration pulumi.BoolPtrInput
	// The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
	ValidFrom pulumi.StringPtrInput
	// The end date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. Defaults to 24 hours.
	ValidUntil pulumi.StringPtrInput
	// If set, this provider will
	// wait for the Spot Request to be fulfilled, and will throw an error if the
	// timeout of 10m is reached.
	WaitForFulfillment pulumi.BoolPtrInput
}

The set of arguments for constructing a SpotFleetRequest resource.

func (SpotFleetRequestArgs) ElementType added in v1.19.0

func (SpotFleetRequestArgs) ElementType() reflect.Type

type SpotFleetRequestLaunchSpecification added in v1.19.0

type SpotFleetRequestLaunchSpecification struct {
	Ami                      string                                                    `pulumi:"ami"`
	AssociatePublicIpAddress *bool                                                     `pulumi:"associatePublicIpAddress"`
	AvailabilityZone         *string                                                   `pulumi:"availabilityZone"`
	EbsBlockDevices          []SpotFleetRequestLaunchSpecificationEbsBlockDevice       `pulumi:"ebsBlockDevices"`
	EbsOptimized             *bool                                                     `pulumi:"ebsOptimized"`
	EphemeralBlockDevices    []SpotFleetRequestLaunchSpecificationEphemeralBlockDevice `pulumi:"ephemeralBlockDevices"`
	IamInstanceProfile       *string                                                   `pulumi:"iamInstanceProfile"`
	IamInstanceProfileArn    *string                                                   `pulumi:"iamInstanceProfileArn"`
	InstanceType             string                                                    `pulumi:"instanceType"`
	KeyName                  *string                                                   `pulumi:"keyName"`
	Monitoring               *bool                                                     `pulumi:"monitoring"`
	PlacementGroup           *string                                                   `pulumi:"placementGroup"`
	PlacementTenancy         *string                                                   `pulumi:"placementTenancy"`
	RootBlockDevices         []SpotFleetRequestLaunchSpecificationRootBlockDevice      `pulumi:"rootBlockDevices"`
	// The maximum bid price per unit hour.
	SpotPrice *string `pulumi:"spotPrice"`
	SubnetId  *string `pulumi:"subnetId"`
	// A mapping of tags to assign to the resource.
	Tags                map[string]interface{} `pulumi:"tags"`
	UserData            *string                `pulumi:"userData"`
	VpcSecurityGroupIds []string               `pulumi:"vpcSecurityGroupIds"`
	WeightedCapacity    *string                `pulumi:"weightedCapacity"`
}

type SpotFleetRequestLaunchSpecificationArgs added in v1.19.0

type SpotFleetRequestLaunchSpecificationArgs struct {
	Ami                      pulumi.StringInput                                                `pulumi:"ami"`
	AssociatePublicIpAddress pulumi.BoolPtrInput                                               `pulumi:"associatePublicIpAddress"`
	AvailabilityZone         pulumi.StringPtrInput                                             `pulumi:"availabilityZone"`
	EbsBlockDevices          SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput       `pulumi:"ebsBlockDevices"`
	EbsOptimized             pulumi.BoolPtrInput                                               `pulumi:"ebsOptimized"`
	EphemeralBlockDevices    SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput `pulumi:"ephemeralBlockDevices"`
	IamInstanceProfile       pulumi.StringPtrInput                                             `pulumi:"iamInstanceProfile"`
	IamInstanceProfileArn    pulumi.StringPtrInput                                             `pulumi:"iamInstanceProfileArn"`
	InstanceType             pulumi.StringInput                                                `pulumi:"instanceType"`
	KeyName                  pulumi.StringPtrInput                                             `pulumi:"keyName"`
	Monitoring               pulumi.BoolPtrInput                                               `pulumi:"monitoring"`
	PlacementGroup           pulumi.StringPtrInput                                             `pulumi:"placementGroup"`
	PlacementTenancy         pulumi.StringPtrInput                                             `pulumi:"placementTenancy"`
	RootBlockDevices         SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput      `pulumi:"rootBlockDevices"`
	// The maximum bid price per unit hour.
	SpotPrice pulumi.StringPtrInput `pulumi:"spotPrice"`
	SubnetId  pulumi.StringPtrInput `pulumi:"subnetId"`
	// A mapping of tags to assign to the resource.
	Tags                pulumi.MapInput         `pulumi:"tags"`
	UserData            pulumi.StringPtrInput   `pulumi:"userData"`
	VpcSecurityGroupIds pulumi.StringArrayInput `pulumi:"vpcSecurityGroupIds"`
	WeightedCapacity    pulumi.StringPtrInput   `pulumi:"weightedCapacity"`
}

func (SpotFleetRequestLaunchSpecificationArgs) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutput added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutput() SpotFleetRequestLaunchSpecificationOutput

func (SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutputWithContext added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationOutput

type SpotFleetRequestLaunchSpecificationArray added in v1.19.0

type SpotFleetRequestLaunchSpecificationArray []SpotFleetRequestLaunchSpecificationInput

func (SpotFleetRequestLaunchSpecificationArray) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutput added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutput() SpotFleetRequestLaunchSpecificationArrayOutput

func (SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationArrayOutput

type SpotFleetRequestLaunchSpecificationArrayInput added in v1.19.0

type SpotFleetRequestLaunchSpecificationArrayInput interface {
	pulumi.Input

	ToSpotFleetRequestLaunchSpecificationArrayOutput() SpotFleetRequestLaunchSpecificationArrayOutput
	ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationArrayOutput
}

type SpotFleetRequestLaunchSpecificationArrayOutput added in v1.19.0

type SpotFleetRequestLaunchSpecificationArrayOutput struct{ *pulumi.OutputState }

func (SpotFleetRequestLaunchSpecificationArrayOutput) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationArrayOutput) Index added in v1.19.0

func (SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutput added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutput() SpotFleetRequestLaunchSpecificationArrayOutput

func (SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationArrayOutput

type SpotFleetRequestLaunchSpecificationEbsBlockDevice added in v1.19.0

type SpotFleetRequestLaunchSpecificationEbsBlockDevice struct {
	DeleteOnTermination *bool   `pulumi:"deleteOnTermination"`
	DeviceName          string  `pulumi:"deviceName"`
	Encrypted           *bool   `pulumi:"encrypted"`
	Iops                *int    `pulumi:"iops"`
	KmsKeyId            *string `pulumi:"kmsKeyId"`
	SnapshotId          *string `pulumi:"snapshotId"`
	VolumeSize          *int    `pulumi:"volumeSize"`
	VolumeType          *string `pulumi:"volumeType"`
}

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs added in v1.19.0

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs struct {
	DeleteOnTermination pulumi.BoolPtrInput   `pulumi:"deleteOnTermination"`
	DeviceName          pulumi.StringInput    `pulumi:"deviceName"`
	Encrypted           pulumi.BoolPtrInput   `pulumi:"encrypted"`
	Iops                pulumi.IntPtrInput    `pulumi:"iops"`
	KmsKeyId            pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	SnapshotId          pulumi.StringPtrInput `pulumi:"snapshotId"`
	VolumeSize          pulumi.IntPtrInput    `pulumi:"volumeSize"`
	VolumeType          pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray added in v1.19.0

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray []SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput added in v1.19.0

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
	ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
}

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput added in v1.19.0

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput added in v1.19.0

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput interface {
	pulumi.Input

	ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
	ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
}

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput added in v1.19.0

type SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) DeviceName added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Encrypted added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Iops added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) KmsKeyId added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) SnapshotId added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) VolumeSize added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) VolumeType added in v1.19.0

type SpotFleetRequestLaunchSpecificationEphemeralBlockDevice added in v1.19.0

type SpotFleetRequestLaunchSpecificationEphemeralBlockDevice struct {
	DeviceName  string `pulumi:"deviceName"`
	VirtualName string `pulumi:"virtualName"`
}

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs added in v1.19.0

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs struct {
	DeviceName  pulumi.StringInput `pulumi:"deviceName"`
	VirtualName pulumi.StringInput `pulumi:"virtualName"`
}

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray added in v1.19.0

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray []SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput added in v1.19.0

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
	ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
}

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput added in v1.19.0

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput added in v1.19.0

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
	ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
}

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput added in v1.19.0

type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput

func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

type SpotFleetRequestLaunchSpecificationInput added in v1.19.0

type SpotFleetRequestLaunchSpecificationInput interface {
	pulumi.Input

	ToSpotFleetRequestLaunchSpecificationOutput() SpotFleetRequestLaunchSpecificationOutput
	ToSpotFleetRequestLaunchSpecificationOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationOutput
}

type SpotFleetRequestLaunchSpecificationOutput added in v1.19.0

type SpotFleetRequestLaunchSpecificationOutput struct{ *pulumi.OutputState }

func (SpotFleetRequestLaunchSpecificationOutput) Ami added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) AssociatePublicIpAddress added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationOutput) AssociatePublicIpAddress() pulumi.BoolPtrOutput

func (SpotFleetRequestLaunchSpecificationOutput) AvailabilityZone added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) EbsBlockDevices added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) EbsOptimized added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) EphemeralBlockDevices added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfile added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfileArn added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) InstanceType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) KeyName added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) Monitoring added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) PlacementGroup added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) PlacementTenancy added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) RootBlockDevices added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) SpotPrice added in v1.19.0

The maximum bid price per unit hour.

func (SpotFleetRequestLaunchSpecificationOutput) SubnetId added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) Tags added in v1.19.0

A mapping of tags to assign to the resource.

func (SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutput added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutput() SpotFleetRequestLaunchSpecificationOutput

func (SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutputWithContext added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationOutput

func (SpotFleetRequestLaunchSpecificationOutput) UserData added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) VpcSecurityGroupIds added in v1.19.0

func (SpotFleetRequestLaunchSpecificationOutput) WeightedCapacity added in v1.19.0

type SpotFleetRequestLaunchSpecificationRootBlockDevice added in v1.19.0

type SpotFleetRequestLaunchSpecificationRootBlockDevice struct {
	DeleteOnTermination *bool   `pulumi:"deleteOnTermination"`
	Encrypted           *bool   `pulumi:"encrypted"`
	Iops                *int    `pulumi:"iops"`
	KmsKeyId            *string `pulumi:"kmsKeyId"`
	VolumeSize          *int    `pulumi:"volumeSize"`
	VolumeType          *string `pulumi:"volumeType"`
}

type SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs added in v1.19.0

type SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs struct {
	DeleteOnTermination pulumi.BoolPtrInput   `pulumi:"deleteOnTermination"`
	Encrypted           pulumi.BoolPtrInput   `pulumi:"encrypted"`
	Iops                pulumi.IntPtrInput    `pulumi:"iops"`
	KmsKeyId            pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	VolumeSize          pulumi.IntPtrInput    `pulumi:"volumeSize"`
	VolumeType          pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput

type SpotFleetRequestLaunchSpecificationRootBlockDeviceArray added in v1.19.0

type SpotFleetRequestLaunchSpecificationRootBlockDeviceArray []SpotFleetRequestLaunchSpecificationRootBlockDeviceInput

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext added in v1.19.0

func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput

type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput added in v1.19.0

type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput interface {
	pulumi.Input

	ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
	ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
}

type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput added in v1.19.0

type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) Index added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput

type SpotFleetRequestLaunchSpecificationRootBlockDeviceInput added in v1.19.0

type SpotFleetRequestLaunchSpecificationRootBlockDeviceInput interface {
	pulumi.Input

	ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
	ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
}

type SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput added in v1.19.0

type SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput struct{ *pulumi.OutputState }

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) DeleteOnTermination added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ElementType added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Encrypted added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Iops added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) KmsKeyId added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext added in v1.19.0

func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) VolumeSize added in v1.19.0

func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) VolumeType added in v1.19.0

type SpotFleetRequestState

type SpotFleetRequestState struct {
	// Indicates how to allocate the target capacity across
	// the Spot pools specified by the Spot fleet request. The default is
	// `lowestPrice`.
	AllocationStrategy pulumi.StringPtrInput
	ClientToken        pulumi.StringPtrInput
	// Indicates whether running Spot
	// instances should be terminated if the target capacity of the Spot fleet
	// request is decreased below the current size of the Spot fleet.
	ExcessCapacityTerminationPolicy pulumi.StringPtrInput
	// The type of fleet request. Indicates whether the Spot Fleet only requests the target
	// capacity or also attempts to maintain it. Default is `maintain`.
	FleetType pulumi.StringPtrInput
	// Grants the Spot fleet permission to terminate
	// Spot instances on your behalf when you cancel its Spot fleet request using
	// CancelSpotFleetRequests or when the Spot fleet request expires, if you set
	// terminateInstancesWithExpiration.
	IamFleetRole pulumi.StringPtrInput
	// Indicates whether a Spot
	// instance stops or terminates when it is interrupted. Default is
	// `terminate`.
	InstanceInterruptionBehaviour pulumi.StringPtrInput
	//
	// The number of Spot pools across which to allocate your target Spot capacity.
	// Valid only when `allocationStrategy` is set to `lowestPrice`. Spot Fleet selects
	// the cheapest Spot pools and evenly allocates your target Spot capacity across
	// the number of Spot pools that you specify.
	InstancePoolsToUseCount pulumi.IntPtrInput
	// Used to define the launch configuration of the
	// spot-fleet request. Can be specified multiple times to define different bids
	// across different markets and instance types.
	LaunchSpecifications SpotFleetRequestLaunchSpecificationArrayInput
	// A list of elastic load balancer names to add to the Spot fleet.
	LoadBalancers pulumi.StringArrayInput
	// Indicates whether Spot fleet should replace unhealthy instances. Default `false`.
	ReplaceUnhealthyInstances pulumi.BoolPtrInput
	// The maximum bid price per unit hour.
	SpotPrice pulumi.StringPtrInput
	// The state of the Spot fleet request.
	SpotRequestState pulumi.StringPtrInput
	// The number of units to request. You can choose to set the
	// target capacity in terms of instances or a performance characteristic that is
	// important to your application workload, such as vCPUs, memory, or I/O.
	TargetCapacity pulumi.IntPtrInput
	// A list of `alb.TargetGroup` ARNs, for use with Application Load Balancing.
	TargetGroupArns pulumi.StringArrayInput
	// Indicates whether running Spot
	// instances should be terminated when the Spot fleet request expires.
	TerminateInstancesWithExpiration pulumi.BoolPtrInput
	// The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
	ValidFrom pulumi.StringPtrInput
	// The end date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. Defaults to 24 hours.
	ValidUntil pulumi.StringPtrInput
	// If set, this provider will
	// wait for the Spot Request to be fulfilled, and will throw an error if the
	// timeout of 10m is reached.
	WaitForFulfillment pulumi.BoolPtrInput
}

func (SpotFleetRequestState) ElementType added in v1.19.0

func (SpotFleetRequestState) ElementType() reflect.Type

type SpotInstanceRequest

type SpotInstanceRequest struct {
	pulumi.CustomResourceState

	// The AMI to use for the instance.
	Ami pulumi.StringOutput `pulumi:"ami"`
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Associate a public ip address with an instance in a VPC.  Boolean value.
	AssociatePublicIpAddress pulumi.BoolOutput `pulumi:"associatePublicIpAddress"`
	// The AZ to start the instance in.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// The required duration for the Spot instances, in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
	// The duration period starts as soon as your Spot instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates.
	// Note that you can't specify an Availability Zone group or a launch group if you specify a duration.
	BlockDurationMinutes pulumi.IntPtrOutput `pulumi:"blockDurationMinutes"`
	// Sets the number of CPU cores for an instance. This option is
	// only supported on creation of instance type that support CPU Options
	// [CPU Cores and Threads Per CPU Core Per Instance Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#cpu-options-supported-instances-values) - specifying this option for unsupported instance types will return an error from the EC2 API.
	CpuCoreCount pulumi.IntOutput `pulumi:"cpuCoreCount"`
	// If set to to 1, hyperthreading is disabled on the launched instance. Defaults to 2 if not set. See [Optimizing CPU Options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) for more information.
	CpuThreadsPerCore pulumi.IntOutput `pulumi:"cpuThreadsPerCore"`
	// Customize the credit specification of the instance. See Credit Specification below for more details.
	CreditSpecification SpotInstanceRequestCreditSpecificationPtrOutput `pulumi:"creditSpecification"`
	// If true, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrOutput `pulumi:"disableApiTermination"`
	// Additional EBS block devices to attach to the
	// instance.  Block device configurations only apply on resource creation. See Block Devices below for details on attributes and drift detection.
	EbsBlockDevices SpotInstanceRequestEbsBlockDeviceArrayOutput `pulumi:"ebsBlockDevices"`
	// If true, the launched EC2 instance will be EBS-optimized.
	// Note that if this is not set on an instance type that is optimized by default then
	// this will show as disabled but if the instance type is optimized by default then
	// there is no need to set this and there is no effect to disabling it.
	// See the [EBS Optimized section](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) of the AWS User Guide for more information.
	EbsOptimized pulumi.BoolPtrOutput `pulumi:"ebsOptimized"`
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices SpotInstanceRequestEphemeralBlockDeviceArrayOutput `pulumi:"ephemeralBlockDevices"`
	// If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the `passwordData` attribute. See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	GetPasswordData pulumi.BoolPtrOutput `pulumi:"getPasswordData"`
	// The Id of a dedicated host that the instance will be assigned to. Use when an instance is to be launched on a specific dedicated host.
	HostId pulumi.StringOutput `pulumi:"hostId"`
	// The IAM Instance Profile to
	// launch the instance with. Specified as the name of the Instance Profile. Ensure your credentials have the correct permission to assign the instance profile according to the [EC2 documentation](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html#roles-usingrole-ec2instance-permissions), notably `iam:PassRole`.
	// * `ipv6AddressCount`- (Optional) A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
	IamInstanceProfile pulumi.StringPtrOutput `pulumi:"iamInstanceProfile"`
	// Shutdown behavior for the
	// instance. Amazon defaults this to `stop` for EBS-backed instances and
	// `terminate` for instance-store instances. Cannot be set on instance-store
	// instances. See [Shutdown Behavior](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingInstanceInitiatedShutdownBehavior) for more information.
	InstanceInitiatedShutdownBehavior pulumi.StringPtrOutput `pulumi:"instanceInitiatedShutdownBehavior"`
	// Indicates whether a Spot instance stops or terminates when it is interrupted. Default is `terminate` as this is the current AWS behaviour.
	InstanceInterruptionBehaviour pulumi.StringPtrOutput `pulumi:"instanceInterruptionBehaviour"`
	InstanceState                 pulumi.StringOutput    `pulumi:"instanceState"`
	// The type of instance to start. Updates to this field will trigger a stop/start of the EC2 instance.
	InstanceType     pulumi.StringOutput `pulumi:"instanceType"`
	Ipv6AddressCount pulumi.IntOutput    `pulumi:"ipv6AddressCount"`
	// Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface
	Ipv6Addresses pulumi.StringArrayOutput `pulumi:"ipv6Addresses"`
	// The key name of the Key Pair to use for the instance; which can be managed using the `ec2.KeyPair` resource.
	KeyName pulumi.StringOutput `pulumi:"keyName"`
	// A launch group is a group of spot instances that launch together and terminate together.
	// If left empty instances are launched and terminated individually.
	LaunchGroup pulumi.StringPtrOutput `pulumi:"launchGroup"`
	// If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0)
	Monitoring pulumi.BoolPtrOutput `pulumi:"monitoring"`
	// Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
	NetworkInterfaces SpotInstanceRequestNetworkInterfaceArrayOutput `pulumi:"networkInterfaces"`
	PasswordData      pulumi.StringOutput                            `pulumi:"passwordData"`
	// The Placement Group to start the instance in.
	PlacementGroup            pulumi.StringOutput `pulumi:"placementGroup"`
	PrimaryNetworkInterfaceId pulumi.StringOutput `pulumi:"primaryNetworkInterfaceId"`
	// The private DNS name assigned to the instance. Can only be
	// used inside the Amazon EC2, and only available if you've enabled DNS hostnames
	// for your VPC
	PrivateDns pulumi.StringOutput `pulumi:"privateDns"`
	// Private IP address to associate with the
	// instance in a VPC.
	PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
	// The public DNS name assigned to the instance. For EC2-VPC, this
	// is only available if you've enabled DNS hostnames for your VPC
	PublicDns pulumi.StringOutput `pulumi:"publicDns"`
	// The public IP address assigned to the instance, if applicable.
	PublicIp pulumi.StringOutput `pulumi:"publicIp"`
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice SpotInstanceRequestRootBlockDeviceOutput `pulumi:"rootBlockDevice"`
	// A list of security group names (EC2-Classic) or IDs (default VPC) to associate with.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// Controls if traffic is routed to the instance when
	// the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
	SourceDestCheck pulumi.BoolPtrOutput `pulumi:"sourceDestCheck"`
	// The current [bid
	// status](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html)
	// of the Spot Instance Request.
	// * `spotRequestState` The current [request
	// state](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#creating-spot-request-status)
	// of the Spot Instance Request.
	SpotBidStatus pulumi.StringOutput `pulumi:"spotBidStatus"`
	// The Instance ID (if any) that is currently fulfilling
	// the Spot Instance request.
	SpotInstanceId pulumi.StringOutput `pulumi:"spotInstanceId"`
	// The maximum price to request on the spot market.
	SpotPrice        pulumi.StringPtrOutput `pulumi:"spotPrice"`
	SpotRequestState pulumi.StringOutput    `pulumi:"spotRequestState"`
	// If set to `one-time`, after
	// the instance is terminated, the spot request will be closed.
	SpotType pulumi.StringPtrOutput `pulumi:"spotType"`
	// The VPC Subnet ID to launch in.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the import-instance command.
	Tenancy pulumi.StringOutput `pulumi:"tenancy"`
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrOutput `pulumi:"userDataBase64"`
	// The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
	ValidFrom pulumi.StringOutput `pulumi:"validFrom"`
	// The end date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. The default end date is 7 days from the current date.
	ValidUntil pulumi.StringOutput `pulumi:"validUntil"`
	// A mapping of tags to assign to the devices created by the instance at launch time.
	VolumeTags pulumi.MapOutput `pulumi:"volumeTags"`
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"`
	// If set, this provider will
	// wait for the Spot Request to be fulfilled, and will throw an error if the
	// timeout of 10m is reached.
	WaitForFulfillment pulumi.BoolPtrOutput `pulumi:"waitForFulfillment"`
}

Provides an EC2 Spot Instance Request resource. This allows instances to be requested on the spot market.

By default this provider creates Spot Instance Requests with a `persistent` type, which means that for the duration of their lifetime, AWS will launch an instance with the configured details if and when the spot market will accept the requested price.

On destruction, this provider will make an attempt to terminate the associated Spot Instance if there is one present.

Spot Instances requests with a `one-time` type will close the spot request when the instance is terminated either by the request being below the current spot price availability or by a user.

> **NOTE:** Because their behavior depends on the live status of the spot market, Spot Instance Requests have a unique lifecycle that makes them behave differently than other resources. Most importantly: there is __no guarantee__ that a Spot Instance exists to fulfill the request at any given point in time. See the [AWS Spot Instance documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html) for more information.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/spot_instance_request.html.markdown.

func GetSpotInstanceRequest

func GetSpotInstanceRequest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpotInstanceRequestState, opts ...pulumi.ResourceOption) (*SpotInstanceRequest, error)

GetSpotInstanceRequest gets an existing SpotInstanceRequest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSpotInstanceRequest

func NewSpotInstanceRequest(ctx *pulumi.Context,
	name string, args *SpotInstanceRequestArgs, opts ...pulumi.ResourceOption) (*SpotInstanceRequest, error)

NewSpotInstanceRequest registers a new resource with the given unique name, arguments, and options.

type SpotInstanceRequestArgs

type SpotInstanceRequestArgs struct {
	// The AMI to use for the instance.
	Ami pulumi.StringInput
	// Associate a public ip address with an instance in a VPC.  Boolean value.
	AssociatePublicIpAddress pulumi.BoolPtrInput
	// The AZ to start the instance in.
	AvailabilityZone pulumi.StringPtrInput
	// The required duration for the Spot instances, in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
	// The duration period starts as soon as your Spot instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates.
	// Note that you can't specify an Availability Zone group or a launch group if you specify a duration.
	BlockDurationMinutes pulumi.IntPtrInput
	// Sets the number of CPU cores for an instance. This option is
	// only supported on creation of instance type that support CPU Options
	// [CPU Cores and Threads Per CPU Core Per Instance Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#cpu-options-supported-instances-values) - specifying this option for unsupported instance types will return an error from the EC2 API.
	CpuCoreCount pulumi.IntPtrInput
	// If set to to 1, hyperthreading is disabled on the launched instance. Defaults to 2 if not set. See [Optimizing CPU Options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) for more information.
	CpuThreadsPerCore pulumi.IntPtrInput
	// Customize the credit specification of the instance. See Credit Specification below for more details.
	CreditSpecification SpotInstanceRequestCreditSpecificationPtrInput
	// If true, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrInput
	// Additional EBS block devices to attach to the
	// instance.  Block device configurations only apply on resource creation. See Block Devices below for details on attributes and drift detection.
	EbsBlockDevices SpotInstanceRequestEbsBlockDeviceArrayInput
	// If true, the launched EC2 instance will be EBS-optimized.
	// Note that if this is not set on an instance type that is optimized by default then
	// this will show as disabled but if the instance type is optimized by default then
	// there is no need to set this and there is no effect to disabling it.
	// See the [EBS Optimized section](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) of the AWS User Guide for more information.
	EbsOptimized pulumi.BoolPtrInput
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices SpotInstanceRequestEphemeralBlockDeviceArrayInput
	// If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the `passwordData` attribute. See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	GetPasswordData pulumi.BoolPtrInput
	// The Id of a dedicated host that the instance will be assigned to. Use when an instance is to be launched on a specific dedicated host.
	HostId pulumi.StringPtrInput
	// The IAM Instance Profile to
	// launch the instance with. Specified as the name of the Instance Profile. Ensure your credentials have the correct permission to assign the instance profile according to the [EC2 documentation](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html#roles-usingrole-ec2instance-permissions), notably `iam:PassRole`.
	// * `ipv6AddressCount`- (Optional) A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
	IamInstanceProfile pulumi.StringPtrInput
	// Shutdown behavior for the
	// instance. Amazon defaults this to `stop` for EBS-backed instances and
	// `terminate` for instance-store instances. Cannot be set on instance-store
	// instances. See [Shutdown Behavior](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingInstanceInitiatedShutdownBehavior) for more information.
	InstanceInitiatedShutdownBehavior pulumi.StringPtrInput
	// Indicates whether a Spot instance stops or terminates when it is interrupted. Default is `terminate` as this is the current AWS behaviour.
	InstanceInterruptionBehaviour pulumi.StringPtrInput
	// The type of instance to start. Updates to this field will trigger a stop/start of the EC2 instance.
	InstanceType     pulumi.StringInput
	Ipv6AddressCount pulumi.IntPtrInput
	// Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface
	Ipv6Addresses pulumi.StringArrayInput
	// The key name of the Key Pair to use for the instance; which can be managed using the `ec2.KeyPair` resource.
	KeyName pulumi.StringPtrInput
	// A launch group is a group of spot instances that launch together and terminate together.
	// If left empty instances are launched and terminated individually.
	LaunchGroup pulumi.StringPtrInput
	// If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0)
	Monitoring pulumi.BoolPtrInput
	// Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
	NetworkInterfaces SpotInstanceRequestNetworkInterfaceArrayInput
	// The Placement Group to start the instance in.
	PlacementGroup pulumi.StringPtrInput
	// Private IP address to associate with the
	// instance in a VPC.
	PrivateIp pulumi.StringPtrInput
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice SpotInstanceRequestRootBlockDevicePtrInput
	// A list of security group names (EC2-Classic) or IDs (default VPC) to associate with.
	SecurityGroups pulumi.StringArrayInput
	// Controls if traffic is routed to the instance when
	// the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
	SourceDestCheck pulumi.BoolPtrInput
	// The maximum price to request on the spot market.
	SpotPrice pulumi.StringPtrInput
	// If set to `one-time`, after
	// the instance is terminated, the spot request will be closed.
	SpotType pulumi.StringPtrInput
	// The VPC Subnet ID to launch in.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the import-instance command.
	Tenancy pulumi.StringPtrInput
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrInput
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrInput
	// The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
	ValidFrom pulumi.StringPtrInput
	// The end date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. The default end date is 7 days from the current date.
	ValidUntil pulumi.StringPtrInput
	// A mapping of tags to assign to the devices created by the instance at launch time.
	VolumeTags pulumi.MapInput
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayInput
	// If set, this provider will
	// wait for the Spot Request to be fulfilled, and will throw an error if the
	// timeout of 10m is reached.
	WaitForFulfillment pulumi.BoolPtrInput
}

The set of arguments for constructing a SpotInstanceRequest resource.

func (SpotInstanceRequestArgs) ElementType added in v1.19.0

func (SpotInstanceRequestArgs) ElementType() reflect.Type

type SpotInstanceRequestCreditSpecification added in v1.19.0

type SpotInstanceRequestCreditSpecification struct {
	CpuCredits *string `pulumi:"cpuCredits"`
}

type SpotInstanceRequestCreditSpecificationArgs added in v1.19.0

type SpotInstanceRequestCreditSpecificationArgs struct {
	CpuCredits pulumi.StringPtrInput `pulumi:"cpuCredits"`
}

func (SpotInstanceRequestCreditSpecificationArgs) ElementType added in v1.19.0

func (SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutput added in v1.19.0

func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutput() SpotInstanceRequestCreditSpecificationOutput

func (SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutputWithContext added in v1.19.0

func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationOutput

func (SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutput added in v1.19.0

func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput

func (SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext added in v1.19.0

func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput

type SpotInstanceRequestCreditSpecificationInput added in v1.19.0

type SpotInstanceRequestCreditSpecificationInput interface {
	pulumi.Input

	ToSpotInstanceRequestCreditSpecificationOutput() SpotInstanceRequestCreditSpecificationOutput
	ToSpotInstanceRequestCreditSpecificationOutputWithContext(context.Context) SpotInstanceRequestCreditSpecificationOutput
}

type SpotInstanceRequestCreditSpecificationOutput added in v1.19.0

type SpotInstanceRequestCreditSpecificationOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestCreditSpecificationOutput) CpuCredits added in v1.19.0

func (SpotInstanceRequestCreditSpecificationOutput) ElementType added in v1.19.0

func (SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutput added in v1.19.0

func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutput() SpotInstanceRequestCreditSpecificationOutput

func (SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutputWithContext added in v1.19.0

func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationOutput

func (SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput added in v1.19.0

func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput

func (SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext added in v1.19.0

func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput

type SpotInstanceRequestCreditSpecificationPtrInput added in v1.19.0

type SpotInstanceRequestCreditSpecificationPtrInput interface {
	pulumi.Input

	ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput
	ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(context.Context) SpotInstanceRequestCreditSpecificationPtrOutput
}

type SpotInstanceRequestCreditSpecificationPtrOutput added in v1.19.0

type SpotInstanceRequestCreditSpecificationPtrOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestCreditSpecificationPtrOutput) CpuCredits added in v1.19.0

func (SpotInstanceRequestCreditSpecificationPtrOutput) Elem added in v1.19.0

func (SpotInstanceRequestCreditSpecificationPtrOutput) ElementType added in v1.19.0

func (SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput added in v1.19.0

func (o SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput

func (SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext added in v1.19.0

func (o SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput

type SpotInstanceRequestEbsBlockDevice added in v1.19.0

type SpotInstanceRequestEbsBlockDevice struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
	// The name of the block device to mount on the instance.
	DeviceName string `pulumi:"deviceName"`
	// Enables [EBS
	// encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
	// on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.
	Encrypted *bool `pulumi:"encrypted"`
	// The amount of provisioned
	// [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html).
	// This must be set with a `volumeType` of `"io1"`.
	Iops *int `pulumi:"iops"`
	// Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The Snapshot ID to mount.
	SnapshotId *string `pulumi:"snapshotId"`
	VolumeId   *string `pulumi:"volumeId"`
	// The size of the volume in gibibytes (GiB).
	VolumeSize *int `pulumi:"volumeSize"`
	// The type of volume. Can be `"standard"`, `"gp2"`,
	// or `"io1"`. (Default: `"standard"`).
	VolumeType *string `pulumi:"volumeType"`
}

type SpotInstanceRequestEbsBlockDeviceArgs added in v1.19.0

type SpotInstanceRequestEbsBlockDeviceArgs struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
	// The name of the block device to mount on the instance.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// Enables [EBS
	// encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
	// on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.
	Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
	// The amount of provisioned
	// [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html).
	// This must be set with a `volumeType` of `"io1"`.
	Iops pulumi.IntPtrInput `pulumi:"iops"`
	// Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The Snapshot ID to mount.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
	VolumeId   pulumi.StringPtrInput `pulumi:"volumeId"`
	// The size of the volume in gibibytes (GiB).
	VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
	// The type of volume. Can be `"standard"`, `"gp2"`,
	// or `"io1"`. (Default: `"standard"`).
	VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (SpotInstanceRequestEbsBlockDeviceArgs) ElementType added in v1.19.0

func (SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutput added in v1.19.0

func (i SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutput() SpotInstanceRequestEbsBlockDeviceOutput

func (SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext added in v1.19.0

func (i SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceOutput

type SpotInstanceRequestEbsBlockDeviceArray added in v1.19.0

type SpotInstanceRequestEbsBlockDeviceArray []SpotInstanceRequestEbsBlockDeviceInput

func (SpotInstanceRequestEbsBlockDeviceArray) ElementType added in v1.19.0

func (SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutput added in v1.19.0

func (i SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutput() SpotInstanceRequestEbsBlockDeviceArrayOutput

func (SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (i SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceArrayOutput

type SpotInstanceRequestEbsBlockDeviceArrayInput added in v1.19.0

type SpotInstanceRequestEbsBlockDeviceArrayInput interface {
	pulumi.Input

	ToSpotInstanceRequestEbsBlockDeviceArrayOutput() SpotInstanceRequestEbsBlockDeviceArrayOutput
	ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext(context.Context) SpotInstanceRequestEbsBlockDeviceArrayOutput
}

type SpotInstanceRequestEbsBlockDeviceArrayOutput added in v1.19.0

type SpotInstanceRequestEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestEbsBlockDeviceArrayOutput) ElementType added in v1.19.0

func (SpotInstanceRequestEbsBlockDeviceArrayOutput) Index added in v1.19.0

func (SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutput added in v1.19.0

func (o SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutput() SpotInstanceRequestEbsBlockDeviceArrayOutput

func (SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext added in v1.19.0

func (o SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceArrayOutput

type SpotInstanceRequestEbsBlockDeviceInput added in v1.19.0

type SpotInstanceRequestEbsBlockDeviceInput interface {
	pulumi.Input

	ToSpotInstanceRequestEbsBlockDeviceOutput() SpotInstanceRequestEbsBlockDeviceOutput
	ToSpotInstanceRequestEbsBlockDeviceOutputWithContext(context.Context) SpotInstanceRequestEbsBlockDeviceOutput
}

type SpotInstanceRequestEbsBlockDeviceOutput added in v1.19.0

type SpotInstanceRequestEbsBlockDeviceOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestEbsBlockDeviceOutput) DeleteOnTermination added in v1.19.0

Whether the volume should be destroyed on instance termination (Default: `true`).

func (SpotInstanceRequestEbsBlockDeviceOutput) DeviceName added in v1.19.0

The name of the block device to mount on the instance.

func (SpotInstanceRequestEbsBlockDeviceOutput) ElementType added in v1.19.0

func (SpotInstanceRequestEbsBlockDeviceOutput) Encrypted added in v1.19.0

Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.

func (SpotInstanceRequestEbsBlockDeviceOutput) Iops added in v1.19.0

The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.

func (SpotInstanceRequestEbsBlockDeviceOutput) KmsKeyId added in v1.19.0

Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.

func (SpotInstanceRequestEbsBlockDeviceOutput) SnapshotId added in v1.19.0

The Snapshot ID to mount.

func (SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutput added in v1.19.0

func (o SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutput() SpotInstanceRequestEbsBlockDeviceOutput

func (SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext added in v1.19.0

func (o SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceOutput

func (SpotInstanceRequestEbsBlockDeviceOutput) VolumeId added in v1.19.0

func (SpotInstanceRequestEbsBlockDeviceOutput) VolumeSize added in v1.19.0

The size of the volume in gibibytes (GiB).

func (SpotInstanceRequestEbsBlockDeviceOutput) VolumeType added in v1.19.0

The type of volume. Can be `"standard"`, `"gp2"`, or `"io1"`. (Default: `"standard"`).

type SpotInstanceRequestEphemeralBlockDevice added in v1.19.0

type SpotInstanceRequestEphemeralBlockDevice struct {
	// The name of the block device to mount on the instance.
	DeviceName string `pulumi:"deviceName"`
	// Suppresses the specified device included in the AMI's block device mapping.
	NoDevice *bool `pulumi:"noDevice"`
	// The [Instance Store Device
	// Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames)
	// (e.g. `"ephemeral0"`).
	VirtualName *string `pulumi:"virtualName"`
}

type SpotInstanceRequestEphemeralBlockDeviceArgs added in v1.19.0

type SpotInstanceRequestEphemeralBlockDeviceArgs struct {
	// The name of the block device to mount on the instance.
	DeviceName pulumi.StringInput `pulumi:"deviceName"`
	// Suppresses the specified device included in the AMI's block device mapping.
	NoDevice pulumi.BoolPtrInput `pulumi:"noDevice"`
	// The [Instance Store Device
	// Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames)
	// (e.g. `"ephemeral0"`).
	VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}

func (SpotInstanceRequestEphemeralBlockDeviceArgs) ElementType added in v1.19.0

func (SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutput added in v1.19.0

func (i SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutput() SpotInstanceRequestEphemeralBlockDeviceOutput

func (SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (i SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceOutput

type SpotInstanceRequestEphemeralBlockDeviceArray added in v1.19.0

type SpotInstanceRequestEphemeralBlockDeviceArray []SpotInstanceRequestEphemeralBlockDeviceInput

func (SpotInstanceRequestEphemeralBlockDeviceArray) ElementType added in v1.19.0

func (SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput added in v1.19.0

func (i SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput() SpotInstanceRequestEphemeralBlockDeviceArrayOutput

func (SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (i SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceArrayOutput

type SpotInstanceRequestEphemeralBlockDeviceArrayInput added in v1.19.0

type SpotInstanceRequestEphemeralBlockDeviceArrayInput interface {
	pulumi.Input

	ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput() SpotInstanceRequestEphemeralBlockDeviceArrayOutput
	ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext(context.Context) SpotInstanceRequestEphemeralBlockDeviceArrayOutput
}

type SpotInstanceRequestEphemeralBlockDeviceArrayOutput added in v1.19.0

type SpotInstanceRequestEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ElementType added in v1.19.0

func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) Index added in v1.19.0

func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput added in v1.19.0

func (o SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput() SpotInstanceRequestEphemeralBlockDeviceArrayOutput

func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext added in v1.19.0

func (o SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceArrayOutput

type SpotInstanceRequestEphemeralBlockDeviceInput added in v1.19.0

type SpotInstanceRequestEphemeralBlockDeviceInput interface {
	pulumi.Input

	ToSpotInstanceRequestEphemeralBlockDeviceOutput() SpotInstanceRequestEphemeralBlockDeviceOutput
	ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext(context.Context) SpotInstanceRequestEphemeralBlockDeviceOutput
}

type SpotInstanceRequestEphemeralBlockDeviceOutput added in v1.19.0

type SpotInstanceRequestEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestEphemeralBlockDeviceOutput) DeviceName added in v1.19.0

The name of the block device to mount on the instance.

func (SpotInstanceRequestEphemeralBlockDeviceOutput) ElementType added in v1.19.0

func (SpotInstanceRequestEphemeralBlockDeviceOutput) NoDevice added in v1.19.0

Suppresses the specified device included in the AMI's block device mapping.

func (SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutput added in v1.19.0

func (o SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutput() SpotInstanceRequestEphemeralBlockDeviceOutput

func (SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext added in v1.19.0

func (o SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceOutput

func (SpotInstanceRequestEphemeralBlockDeviceOutput) VirtualName added in v1.19.0

The [Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g. `"ephemeral0"`).

type SpotInstanceRequestNetworkInterface added in v1.19.0

type SpotInstanceRequestNetworkInterface struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination *bool  `pulumi:"deleteOnTermination"`
	DeviceIndex         int    `pulumi:"deviceIndex"`
	NetworkInterfaceId  string `pulumi:"networkInterfaceId"`
}

type SpotInstanceRequestNetworkInterfaceArgs added in v1.19.0

type SpotInstanceRequestNetworkInterfaceArgs struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
	DeviceIndex         pulumi.IntInput     `pulumi:"deviceIndex"`
	NetworkInterfaceId  pulumi.StringInput  `pulumi:"networkInterfaceId"`
}

func (SpotInstanceRequestNetworkInterfaceArgs) ElementType added in v1.19.0

func (SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutput added in v1.19.0

func (i SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutput() SpotInstanceRequestNetworkInterfaceOutput

func (SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutputWithContext added in v1.19.0

func (i SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceOutput

type SpotInstanceRequestNetworkInterfaceArray added in v1.19.0

type SpotInstanceRequestNetworkInterfaceArray []SpotInstanceRequestNetworkInterfaceInput

func (SpotInstanceRequestNetworkInterfaceArray) ElementType added in v1.19.0

func (SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutput added in v1.19.0

func (i SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutput() SpotInstanceRequestNetworkInterfaceArrayOutput

func (SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext added in v1.19.0

func (i SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceArrayOutput

type SpotInstanceRequestNetworkInterfaceArrayInput added in v1.19.0

type SpotInstanceRequestNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToSpotInstanceRequestNetworkInterfaceArrayOutput() SpotInstanceRequestNetworkInterfaceArrayOutput
	ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext(context.Context) SpotInstanceRequestNetworkInterfaceArrayOutput
}

type SpotInstanceRequestNetworkInterfaceArrayOutput added in v1.19.0

type SpotInstanceRequestNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestNetworkInterfaceArrayOutput) ElementType added in v1.19.0

func (SpotInstanceRequestNetworkInterfaceArrayOutput) Index added in v1.19.0

func (SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutput added in v1.19.0

func (o SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutput() SpotInstanceRequestNetworkInterfaceArrayOutput

func (SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext added in v1.19.0

func (o SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceArrayOutput

type SpotInstanceRequestNetworkInterfaceInput added in v1.19.0

type SpotInstanceRequestNetworkInterfaceInput interface {
	pulumi.Input

	ToSpotInstanceRequestNetworkInterfaceOutput() SpotInstanceRequestNetworkInterfaceOutput
	ToSpotInstanceRequestNetworkInterfaceOutputWithContext(context.Context) SpotInstanceRequestNetworkInterfaceOutput
}

type SpotInstanceRequestNetworkInterfaceOutput added in v1.19.0

type SpotInstanceRequestNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestNetworkInterfaceOutput) DeleteOnTermination added in v1.19.0

Whether the volume should be destroyed on instance termination (Default: `true`).

func (SpotInstanceRequestNetworkInterfaceOutput) DeviceIndex added in v1.19.0

func (SpotInstanceRequestNetworkInterfaceOutput) ElementType added in v1.19.0

func (SpotInstanceRequestNetworkInterfaceOutput) NetworkInterfaceId added in v1.19.0

func (SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutput added in v1.19.0

func (o SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutput() SpotInstanceRequestNetworkInterfaceOutput

func (SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutputWithContext added in v1.19.0

func (o SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceOutput

type SpotInstanceRequestRootBlockDevice added in v1.19.0

type SpotInstanceRequestRootBlockDevice struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
	// Enables [EBS
	// encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
	// on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.
	Encrypted *bool `pulumi:"encrypted"`
	// The amount of provisioned
	// [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html).
	// This must be set with a `volumeType` of `"io1"`.
	Iops *int `pulumi:"iops"`
	// Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	VolumeId *string `pulumi:"volumeId"`
	// The size of the volume in gibibytes (GiB).
	VolumeSize *int `pulumi:"volumeSize"`
	// The type of volume. Can be `"standard"`, `"gp2"`,
	// or `"io1"`. (Default: `"standard"`).
	VolumeType *string `pulumi:"volumeType"`
}

type SpotInstanceRequestRootBlockDeviceArgs added in v1.19.0

type SpotInstanceRequestRootBlockDeviceArgs struct {
	// Whether the volume should be destroyed
	// on instance termination (Default: `true`).
	DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
	// Enables [EBS
	// encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
	// on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.
	Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
	// The amount of provisioned
	// [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html).
	// This must be set with a `volumeType` of `"io1"`.
	Iops pulumi.IntPtrInput `pulumi:"iops"`
	// Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
	// The size of the volume in gibibytes (GiB).
	VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
	// The type of volume. Can be `"standard"`, `"gp2"`,
	// or `"io1"`. (Default: `"standard"`).
	VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (SpotInstanceRequestRootBlockDeviceArgs) ElementType added in v1.19.0

func (SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutput added in v1.19.0

func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutput() SpotInstanceRequestRootBlockDeviceOutput

func (SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutputWithContext added in v1.19.0

func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDeviceOutput

func (SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutput added in v1.19.0

func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput

func (SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext added in v1.19.0

func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput

type SpotInstanceRequestRootBlockDeviceInput added in v1.19.0

type SpotInstanceRequestRootBlockDeviceInput interface {
	pulumi.Input

	ToSpotInstanceRequestRootBlockDeviceOutput() SpotInstanceRequestRootBlockDeviceOutput
	ToSpotInstanceRequestRootBlockDeviceOutputWithContext(context.Context) SpotInstanceRequestRootBlockDeviceOutput
}

type SpotInstanceRequestRootBlockDeviceOutput added in v1.19.0

type SpotInstanceRequestRootBlockDeviceOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestRootBlockDeviceOutput) DeleteOnTermination added in v1.19.0

Whether the volume should be destroyed on instance termination (Default: `true`).

func (SpotInstanceRequestRootBlockDeviceOutput) ElementType added in v1.19.0

func (SpotInstanceRequestRootBlockDeviceOutput) Encrypted added in v1.19.0

Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.

func (SpotInstanceRequestRootBlockDeviceOutput) Iops added in v1.19.0

The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.

func (SpotInstanceRequestRootBlockDeviceOutput) KmsKeyId added in v1.19.0

Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.

func (SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutput added in v1.19.0

func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutput() SpotInstanceRequestRootBlockDeviceOutput

func (SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutputWithContext added in v1.19.0

func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDeviceOutput

func (SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput added in v1.19.0

func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput

func (SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext added in v1.19.0

func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput

func (SpotInstanceRequestRootBlockDeviceOutput) VolumeId added in v1.19.0

func (SpotInstanceRequestRootBlockDeviceOutput) VolumeSize added in v1.19.0

The size of the volume in gibibytes (GiB).

func (SpotInstanceRequestRootBlockDeviceOutput) VolumeType added in v1.19.0

The type of volume. Can be `"standard"`, `"gp2"`, or `"io1"`. (Default: `"standard"`).

type SpotInstanceRequestRootBlockDevicePtrInput added in v1.19.0

type SpotInstanceRequestRootBlockDevicePtrInput interface {
	pulumi.Input

	ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput
	ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(context.Context) SpotInstanceRequestRootBlockDevicePtrOutput
}

type SpotInstanceRequestRootBlockDevicePtrOutput added in v1.19.0

type SpotInstanceRequestRootBlockDevicePtrOutput struct{ *pulumi.OutputState }

func (SpotInstanceRequestRootBlockDevicePtrOutput) DeleteOnTermination added in v1.19.0

Whether the volume should be destroyed on instance termination (Default: `true`).

func (SpotInstanceRequestRootBlockDevicePtrOutput) Elem added in v1.19.0

func (SpotInstanceRequestRootBlockDevicePtrOutput) ElementType added in v1.19.0

func (SpotInstanceRequestRootBlockDevicePtrOutput) Encrypted added in v1.19.0

Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume (Default: `false`). Cannot be used with `snapshotId`. Must be configured to perform drift detection.

func (SpotInstanceRequestRootBlockDevicePtrOutput) Iops added in v1.19.0

The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.

func (SpotInstanceRequestRootBlockDevicePtrOutput) KmsKeyId added in v1.19.0

Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.

func (SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput added in v1.19.0

func (o SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput

func (SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext added in v1.19.0

func (o SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput

func (SpotInstanceRequestRootBlockDevicePtrOutput) VolumeId added in v1.19.0

func (SpotInstanceRequestRootBlockDevicePtrOutput) VolumeSize added in v1.19.0

The size of the volume in gibibytes (GiB).

func (SpotInstanceRequestRootBlockDevicePtrOutput) VolumeType added in v1.19.0

The type of volume. Can be `"standard"`, `"gp2"`, or `"io1"`. (Default: `"standard"`).

type SpotInstanceRequestState

type SpotInstanceRequestState struct {
	// The AMI to use for the instance.
	Ami pulumi.StringPtrInput
	Arn pulumi.StringPtrInput
	// Associate a public ip address with an instance in a VPC.  Boolean value.
	AssociatePublicIpAddress pulumi.BoolPtrInput
	// The AZ to start the instance in.
	AvailabilityZone pulumi.StringPtrInput
	// The required duration for the Spot instances, in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
	// The duration period starts as soon as your Spot instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates.
	// Note that you can't specify an Availability Zone group or a launch group if you specify a duration.
	BlockDurationMinutes pulumi.IntPtrInput
	// Sets the number of CPU cores for an instance. This option is
	// only supported on creation of instance type that support CPU Options
	// [CPU Cores and Threads Per CPU Core Per Instance Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#cpu-options-supported-instances-values) - specifying this option for unsupported instance types will return an error from the EC2 API.
	CpuCoreCount pulumi.IntPtrInput
	// If set to to 1, hyperthreading is disabled on the launched instance. Defaults to 2 if not set. See [Optimizing CPU Options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) for more information.
	CpuThreadsPerCore pulumi.IntPtrInput
	// Customize the credit specification of the instance. See Credit Specification below for more details.
	CreditSpecification SpotInstanceRequestCreditSpecificationPtrInput
	// If true, enables [EC2 Instance
	// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination)
	DisableApiTermination pulumi.BoolPtrInput
	// Additional EBS block devices to attach to the
	// instance.  Block device configurations only apply on resource creation. See Block Devices below for details on attributes and drift detection.
	EbsBlockDevices SpotInstanceRequestEbsBlockDeviceArrayInput
	// If true, the launched EC2 instance will be EBS-optimized.
	// Note that if this is not set on an instance type that is optimized by default then
	// this will show as disabled but if the instance type is optimized by default then
	// there is no need to set this and there is no effect to disabling it.
	// See the [EBS Optimized section](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) of the AWS User Guide for more information.
	EbsOptimized pulumi.BoolPtrInput
	// Customize Ephemeral (also known as
	// "Instance Store") volumes on the instance. See Block Devices below for details.
	EphemeralBlockDevices SpotInstanceRequestEphemeralBlockDeviceArrayInput
	// If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the `passwordData` attribute. See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
	GetPasswordData pulumi.BoolPtrInput
	// The Id of a dedicated host that the instance will be assigned to. Use when an instance is to be launched on a specific dedicated host.
	HostId pulumi.StringPtrInput
	// The IAM Instance Profile to
	// launch the instance with. Specified as the name of the Instance Profile. Ensure your credentials have the correct permission to assign the instance profile according to the [EC2 documentation](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html#roles-usingrole-ec2instance-permissions), notably `iam:PassRole`.
	// * `ipv6AddressCount`- (Optional) A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
	IamInstanceProfile pulumi.StringPtrInput
	// Shutdown behavior for the
	// instance. Amazon defaults this to `stop` for EBS-backed instances and
	// `terminate` for instance-store instances. Cannot be set on instance-store
	// instances. See [Shutdown Behavior](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingInstanceInitiatedShutdownBehavior) for more information.
	InstanceInitiatedShutdownBehavior pulumi.StringPtrInput
	// Indicates whether a Spot instance stops or terminates when it is interrupted. Default is `terminate` as this is the current AWS behaviour.
	InstanceInterruptionBehaviour pulumi.StringPtrInput
	InstanceState                 pulumi.StringPtrInput
	// The type of instance to start. Updates to this field will trigger a stop/start of the EC2 instance.
	InstanceType     pulumi.StringPtrInput
	Ipv6AddressCount pulumi.IntPtrInput
	// Specify one or more IPv6 addresses from the range of the subnet to associate with the primary network interface
	Ipv6Addresses pulumi.StringArrayInput
	// The key name of the Key Pair to use for the instance; which can be managed using the `ec2.KeyPair` resource.
	KeyName pulumi.StringPtrInput
	// A launch group is a group of spot instances that launch together and terminate together.
	// If left empty instances are launched and terminated individually.
	LaunchGroup pulumi.StringPtrInput
	// If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0)
	Monitoring pulumi.BoolPtrInput
	// Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
	NetworkInterfaces SpotInstanceRequestNetworkInterfaceArrayInput
	PasswordData      pulumi.StringPtrInput
	// The Placement Group to start the instance in.
	PlacementGroup            pulumi.StringPtrInput
	PrimaryNetworkInterfaceId pulumi.StringPtrInput
	// The private DNS name assigned to the instance. Can only be
	// used inside the Amazon EC2, and only available if you've enabled DNS hostnames
	// for your VPC
	PrivateDns pulumi.StringPtrInput
	// Private IP address to associate with the
	// instance in a VPC.
	PrivateIp pulumi.StringPtrInput
	// The public DNS name assigned to the instance. For EC2-VPC, this
	// is only available if you've enabled DNS hostnames for your VPC
	PublicDns pulumi.StringPtrInput
	// The public IP address assigned to the instance, if applicable.
	PublicIp pulumi.StringPtrInput
	// Customize details about the root block
	// device of the instance. See Block Devices below for details.
	RootBlockDevice SpotInstanceRequestRootBlockDevicePtrInput
	// A list of security group names (EC2-Classic) or IDs (default VPC) to associate with.
	SecurityGroups pulumi.StringArrayInput
	// Controls if traffic is routed to the instance when
	// the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
	SourceDestCheck pulumi.BoolPtrInput
	// The current [bid
	// status](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html)
	// of the Spot Instance Request.
	// * `spotRequestState` The current [request
	// state](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#creating-spot-request-status)
	// of the Spot Instance Request.
	SpotBidStatus pulumi.StringPtrInput
	// The Instance ID (if any) that is currently fulfilling
	// the Spot Instance request.
	SpotInstanceId pulumi.StringPtrInput
	// The maximum price to request on the spot market.
	SpotPrice        pulumi.StringPtrInput
	SpotRequestState pulumi.StringPtrInput
	// If set to `one-time`, after
	// the instance is terminated, the spot request will be closed.
	SpotType pulumi.StringPtrInput
	// The VPC Subnet ID to launch in.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the import-instance command.
	Tenancy pulumi.StringPtrInput
	// The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead.
	UserData pulumi.StringPtrInput
	// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
	UserDataBase64 pulumi.StringPtrInput
	// The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
	ValidFrom pulumi.StringPtrInput
	// The end date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. The default end date is 7 days from the current date.
	ValidUntil pulumi.StringPtrInput
	// A mapping of tags to assign to the devices created by the instance at launch time.
	VolumeTags pulumi.MapInput
	// A list of security group IDs to associate with.
	VpcSecurityGroupIds pulumi.StringArrayInput
	// If set, this provider will
	// wait for the Spot Request to be fulfilled, and will throw an error if the
	// timeout of 10m is reached.
	WaitForFulfillment pulumi.BoolPtrInput
}

func (SpotInstanceRequestState) ElementType added in v1.19.0

func (SpotInstanceRequestState) ElementType() reflect.Type

type Subnet

type Subnet struct {
	pulumi.CustomResourceState

	// The ARN of the subnet.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Specify true to indicate
	// that network interfaces created in the specified subnet should be
	// assigned an IPv6 address. Default is `false`
	AssignIpv6AddressOnCreation pulumi.BoolPtrOutput `pulumi:"assignIpv6AddressOnCreation"`
	// The AZ for the subnet.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// The AZ ID of the subnet.
	AvailabilityZoneId pulumi.StringOutput `pulumi:"availabilityZoneId"`
	// The CIDR block for the subnet.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The IPv6 network range for the subnet,
	// in CIDR notation. The subnet size must use a /64 prefix length.
	Ipv6CidrBlock pulumi.StringOutput `pulumi:"ipv6CidrBlock"`
	// The association ID for the IPv6 CIDR block.
	Ipv6CidrBlockAssociationId pulumi.StringOutput `pulumi:"ipv6CidrBlockAssociationId"`
	// Specify true to indicate
	// that instances launched into the subnet should be assigned
	// a public IP address. Default is `false`.
	MapPublicIpOnLaunch pulumi.BoolPtrOutput `pulumi:"mapPublicIpOnLaunch"`
	// The ID of the AWS account that owns the subnet.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The VPC ID.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/subnet.html.markdown.

func GetSubnet

func GetSubnet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubnetState, opts ...pulumi.ResourceOption) (*Subnet, error)

GetSubnet gets an existing Subnet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSubnet

func NewSubnet(ctx *pulumi.Context,
	name string, args *SubnetArgs, opts ...pulumi.ResourceOption) (*Subnet, error)

NewSubnet registers a new resource with the given unique name, arguments, and options.

type SubnetArgs

type SubnetArgs struct {
	// Specify true to indicate
	// that network interfaces created in the specified subnet should be
	// assigned an IPv6 address. Default is `false`
	AssignIpv6AddressOnCreation pulumi.BoolPtrInput
	// The AZ for the subnet.
	AvailabilityZone pulumi.StringPtrInput
	// The AZ ID of the subnet.
	AvailabilityZoneId pulumi.StringPtrInput
	// The CIDR block for the subnet.
	CidrBlock pulumi.StringInput
	// The IPv6 network range for the subnet,
	// in CIDR notation. The subnet size must use a /64 prefix length.
	Ipv6CidrBlock pulumi.StringPtrInput
	// Specify true to indicate
	// that instances launched into the subnet should be assigned
	// a public IP address. Default is `false`.
	MapPublicIpOnLaunch pulumi.BoolPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Subnet resource.

func (SubnetArgs) ElementType added in v1.19.0

func (SubnetArgs) ElementType() reflect.Type

type SubnetState

type SubnetState struct {
	// The ARN of the subnet.
	Arn pulumi.StringPtrInput
	// Specify true to indicate
	// that network interfaces created in the specified subnet should be
	// assigned an IPv6 address. Default is `false`
	AssignIpv6AddressOnCreation pulumi.BoolPtrInput
	// The AZ for the subnet.
	AvailabilityZone pulumi.StringPtrInput
	// The AZ ID of the subnet.
	AvailabilityZoneId pulumi.StringPtrInput
	// The CIDR block for the subnet.
	CidrBlock pulumi.StringPtrInput
	// The IPv6 network range for the subnet,
	// in CIDR notation. The subnet size must use a /64 prefix length.
	Ipv6CidrBlock pulumi.StringPtrInput
	// The association ID for the IPv6 CIDR block.
	Ipv6CidrBlockAssociationId pulumi.StringPtrInput
	// Specify true to indicate
	// that instances launched into the subnet should be assigned
	// a public IP address. Default is `false`.
	MapPublicIpOnLaunch pulumi.BoolPtrInput
	// The ID of the AWS account that owns the subnet.
	OwnerId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID.
	VpcId pulumi.StringPtrInput
}

func (SubnetState) ElementType added in v1.19.0

func (SubnetState) ElementType() reflect.Type

type VolumeAttachment

type VolumeAttachment struct {
	pulumi.CustomResourceState

	// The device name to expose to the instance (for
	// example, `/dev/sdh` or `xvdh`).  See [Device Naming on Linux Instances][1] and [Device Naming on Windows Instances][2] for more information.
	DeviceName pulumi.StringOutput `pulumi:"deviceName"`
	// Set to `true` if you want to force the
	// volume to detach. Useful if previous attempts failed, but use this option only
	// as a last resort, as this can result in **data loss**. See
	// [Detaching an Amazon EBS Volume from an Instance][3] for more information.
	ForceDetach pulumi.BoolPtrOutput `pulumi:"forceDetach"`
	// ID of the Instance to attach to
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Set this to true if you do not wish
	// to detach the volume from the instance to which it is attached at destroy
	// time, and instead just remove the attachment from this provider state. This is
	// useful when destroying an instance which has volumes created by some other
	// means attached.
	SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"`
	// ID of the Volume to be attached
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
}

Provides an AWS EBS Volume Attachment as a top level resource, to attach and detach volumes from AWS Instances.

> **NOTE on EBS block devices:** If you use `ebsBlockDevice` on an `ec2.Instance`, this provider will assume management over the full set of non-root EBS block devices for the instance, and treats additional block devices as drift. For this reason, `ebsBlockDevice` cannot be mixed with external `ebs.Volume` + `awsEbsVolumeAttachment` resources for a given instance.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/volume_attachment.html.markdown.

func GetVolumeAttachment

func GetVolumeAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeAttachmentState, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)

GetVolumeAttachment gets an existing VolumeAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVolumeAttachment

func NewVolumeAttachment(ctx *pulumi.Context,
	name string, args *VolumeAttachmentArgs, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)

NewVolumeAttachment registers a new resource with the given unique name, arguments, and options.

type VolumeAttachmentArgs

type VolumeAttachmentArgs struct {
	// The device name to expose to the instance (for
	// example, `/dev/sdh` or `xvdh`).  See [Device Naming on Linux Instances][1] and [Device Naming on Windows Instances][2] for more information.
	DeviceName pulumi.StringInput
	// Set to `true` if you want to force the
	// volume to detach. Useful if previous attempts failed, but use this option only
	// as a last resort, as this can result in **data loss**. See
	// [Detaching an Amazon EBS Volume from an Instance][3] for more information.
	ForceDetach pulumi.BoolPtrInput
	// ID of the Instance to attach to
	InstanceId pulumi.StringInput
	// Set this to true if you do not wish
	// to detach the volume from the instance to which it is attached at destroy
	// time, and instead just remove the attachment from this provider state. This is
	// useful when destroying an instance which has volumes created by some other
	// means attached.
	SkipDestroy pulumi.BoolPtrInput
	// ID of the Volume to be attached
	VolumeId pulumi.StringInput
}

The set of arguments for constructing a VolumeAttachment resource.

func (VolumeAttachmentArgs) ElementType added in v1.19.0

func (VolumeAttachmentArgs) ElementType() reflect.Type

type VolumeAttachmentState

type VolumeAttachmentState struct {
	// The device name to expose to the instance (for
	// example, `/dev/sdh` or `xvdh`).  See [Device Naming on Linux Instances][1] and [Device Naming on Windows Instances][2] for more information.
	DeviceName pulumi.StringPtrInput
	// Set to `true` if you want to force the
	// volume to detach. Useful if previous attempts failed, but use this option only
	// as a last resort, as this can result in **data loss**. See
	// [Detaching an Amazon EBS Volume from an Instance][3] for more information.
	ForceDetach pulumi.BoolPtrInput
	// ID of the Instance to attach to
	InstanceId pulumi.StringPtrInput
	// Set this to true if you do not wish
	// to detach the volume from the instance to which it is attached at destroy
	// time, and instead just remove the attachment from this provider state. This is
	// useful when destroying an instance which has volumes created by some other
	// means attached.
	SkipDestroy pulumi.BoolPtrInput
	// ID of the Volume to be attached
	VolumeId pulumi.StringPtrInput
}

func (VolumeAttachmentState) ElementType added in v1.19.0

func (VolumeAttachmentState) ElementType() reflect.Type

type Vpc

type Vpc struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of VPC
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Requests an Amazon-provided IPv6 CIDR
	// block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or
	// the size of the CIDR block. Default is `false`.
	AssignGeneratedIpv6CidrBlock pulumi.BoolPtrOutput `pulumi:"assignGeneratedIpv6CidrBlock"`
	// The CIDR block for the VPC.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The ID of the network ACL created by default on VPC creation
	DefaultNetworkAclId pulumi.StringOutput `pulumi:"defaultNetworkAclId"`
	// The ID of the route table created by default on VPC creation
	DefaultRouteTableId pulumi.StringOutput `pulumi:"defaultRouteTableId"`
	// The ID of the security group created by default on VPC creation
	DefaultSecurityGroupId pulumi.StringOutput `pulumi:"defaultSecurityGroupId"`
	DhcpOptionsId          pulumi.StringOutput `pulumi:"dhcpOptionsId"`
	// A boolean flag to enable/disable ClassicLink
	// for the VPC. Only valid in regions and accounts that support EC2 Classic.
	// See the [ClassicLink documentation][1] for more information. Defaults false.
	EnableClassiclink pulumi.BoolOutput `pulumi:"enableClassiclink"`
	// A boolean flag to enable/disable ClassicLink DNS Support for the VPC.
	// Only valid in regions and accounts that support EC2 Classic.
	EnableClassiclinkDnsSupport pulumi.BoolOutput `pulumi:"enableClassiclinkDnsSupport"`
	// A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
	EnableDnsHostnames pulumi.BoolOutput `pulumi:"enableDnsHostnames"`
	// A boolean flag to enable/disable DNS support in the VPC. Defaults true.
	EnableDnsSupport pulumi.BoolPtrOutput `pulumi:"enableDnsSupport"`
	// A tenancy option for instances launched into the VPC
	InstanceTenancy pulumi.StringPtrOutput `pulumi:"instanceTenancy"`
	// The association ID for the IPv6 CIDR block.
	Ipv6AssociationId pulumi.StringOutput `pulumi:"ipv6AssociationId"`
	// The IPv6 CIDR block.
	Ipv6CidrBlock pulumi.StringOutput `pulumi:"ipv6CidrBlock"`
	// The ID of the main route table associated with
	// this VPC. Note that you can change a VPC's main route table by using an
	// [`ec2.MainRouteTableAssociation`](https://www.terraform.io/docs/providers/aws/r/main_route_table_association.html).
	MainRouteTableId pulumi.StringOutput `pulumi:"mainRouteTableId"`
	// The ID of the AWS account that owns the VPC.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a VPC resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc.html.markdown.

func GetVpc

func GetVpc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcState, opts ...pulumi.ResourceOption) (*Vpc, error)

GetVpc gets an existing Vpc resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpc

func NewVpc(ctx *pulumi.Context,
	name string, args *VpcArgs, opts ...pulumi.ResourceOption) (*Vpc, error)

NewVpc registers a new resource with the given unique name, arguments, and options.

type VpcArgs

type VpcArgs struct {
	// Requests an Amazon-provided IPv6 CIDR
	// block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or
	// the size of the CIDR block. Default is `false`.
	AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput
	// The CIDR block for the VPC.
	CidrBlock pulumi.StringInput
	// A boolean flag to enable/disable ClassicLink
	// for the VPC. Only valid in regions and accounts that support EC2 Classic.
	// See the [ClassicLink documentation][1] for more information. Defaults false.
	EnableClassiclink pulumi.BoolPtrInput
	// A boolean flag to enable/disable ClassicLink DNS Support for the VPC.
	// Only valid in regions and accounts that support EC2 Classic.
	EnableClassiclinkDnsSupport pulumi.BoolPtrInput
	// A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
	EnableDnsHostnames pulumi.BoolPtrInput
	// A boolean flag to enable/disable DNS support in the VPC. Defaults true.
	EnableDnsSupport pulumi.BoolPtrInput
	// A tenancy option for instances launched into the VPC
	InstanceTenancy pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Vpc resource.

func (VpcArgs) ElementType added in v1.19.0

func (VpcArgs) ElementType() reflect.Type

type VpcDhcpOptions

type VpcDhcpOptions struct {
	pulumi.CustomResourceState

	// the suffix domain name to use by default when resolving non Fully Qualified Domain Names. In other words, this is what ends up being the `search` value in the `/etc/resolv.conf` file.
	DomainName pulumi.StringPtrOutput `pulumi:"domainName"`
	// List of name servers to configure in `/etc/resolv.conf`. If you want to use the default AWS nameservers you should set this to `AmazonProvidedDNS`.
	DomainNameServers pulumi.StringArrayOutput `pulumi:"domainNameServers"`
	// List of NETBIOS name servers.
	NetbiosNameServers pulumi.StringArrayOutput `pulumi:"netbiosNameServers"`
	// The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
	NetbiosNodeType pulumi.StringPtrOutput `pulumi:"netbiosNodeType"`
	// List of NTP servers to configure.
	NtpServers pulumi.StringArrayOutput `pulumi:"ntpServers"`
	// The ID of the AWS account that owns the DHCP options set.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a VPC DHCP Options resource.

## Remarks

* Notice that all arguments are optional but you have to specify at least one argument. * `domainNameServers`, `netbiosNameServers`, `ntpServers` are limited by AWS to maximum four servers only. * To actually use the DHCP Options Set you need to associate it to a VPC using [`ec2.VpcDhcpOptionsAssociation`](https://www.terraform.io/docs/providers/aws/r/vpc_dhcp_options_association.html). * If you delete a DHCP Options Set, all VPCs using it will be associated to AWS's `default` DHCP Option Set. * In most cases unless you're configuring your own DNS you'll want to set `domainNameServers` to `AmazonProvidedDNS`.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_dhcp_options.html.markdown.

func GetVpcDhcpOptions

func GetVpcDhcpOptions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcDhcpOptionsState, opts ...pulumi.ResourceOption) (*VpcDhcpOptions, error)

GetVpcDhcpOptions gets an existing VpcDhcpOptions resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcDhcpOptions

func NewVpcDhcpOptions(ctx *pulumi.Context,
	name string, args *VpcDhcpOptionsArgs, opts ...pulumi.ResourceOption) (*VpcDhcpOptions, error)

NewVpcDhcpOptions registers a new resource with the given unique name, arguments, and options.

type VpcDhcpOptionsArgs

type VpcDhcpOptionsArgs struct {
	// the suffix domain name to use by default when resolving non Fully Qualified Domain Names. In other words, this is what ends up being the `search` value in the `/etc/resolv.conf` file.
	DomainName pulumi.StringPtrInput
	// List of name servers to configure in `/etc/resolv.conf`. If you want to use the default AWS nameservers you should set this to `AmazonProvidedDNS`.
	DomainNameServers pulumi.StringArrayInput
	// List of NETBIOS name servers.
	NetbiosNameServers pulumi.StringArrayInput
	// The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
	NetbiosNodeType pulumi.StringPtrInput
	// List of NTP servers to configure.
	NtpServers pulumi.StringArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a VpcDhcpOptions resource.

func (VpcDhcpOptionsArgs) ElementType added in v1.19.0

func (VpcDhcpOptionsArgs) ElementType() reflect.Type

type VpcDhcpOptionsAssociation

type VpcDhcpOptionsAssociation struct {
	pulumi.CustomResourceState

	// The ID of the DHCP Options Set to associate to the VPC.
	DhcpOptionsId pulumi.StringOutput `pulumi:"dhcpOptionsId"`
	// The ID of the VPC to which we would like to associate a DHCP Options Set.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a VPC DHCP Options Association resource.

## Remarks

* You can only associate one DHCP Options Set to a given VPC ID. * Removing the DHCP Options Association automatically sets AWS's `default` DHCP Options Set to the VPC.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_dhcp_options_association.html.markdown.

func GetVpcDhcpOptionsAssociation

func GetVpcDhcpOptionsAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcDhcpOptionsAssociationState, opts ...pulumi.ResourceOption) (*VpcDhcpOptionsAssociation, error)

GetVpcDhcpOptionsAssociation gets an existing VpcDhcpOptionsAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcDhcpOptionsAssociation

func NewVpcDhcpOptionsAssociation(ctx *pulumi.Context,
	name string, args *VpcDhcpOptionsAssociationArgs, opts ...pulumi.ResourceOption) (*VpcDhcpOptionsAssociation, error)

NewVpcDhcpOptionsAssociation registers a new resource with the given unique name, arguments, and options.

type VpcDhcpOptionsAssociationArgs

type VpcDhcpOptionsAssociationArgs struct {
	// The ID of the DHCP Options Set to associate to the VPC.
	DhcpOptionsId pulumi.StringInput
	// The ID of the VPC to which we would like to associate a DHCP Options Set.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VpcDhcpOptionsAssociation resource.

func (VpcDhcpOptionsAssociationArgs) ElementType added in v1.19.0

type VpcDhcpOptionsAssociationState

type VpcDhcpOptionsAssociationState struct {
	// The ID of the DHCP Options Set to associate to the VPC.
	DhcpOptionsId pulumi.StringPtrInput
	// The ID of the VPC to which we would like to associate a DHCP Options Set.
	VpcId pulumi.StringPtrInput
}

func (VpcDhcpOptionsAssociationState) ElementType added in v1.19.0

type VpcDhcpOptionsState

type VpcDhcpOptionsState struct {
	// the suffix domain name to use by default when resolving non Fully Qualified Domain Names. In other words, this is what ends up being the `search` value in the `/etc/resolv.conf` file.
	DomainName pulumi.StringPtrInput
	// List of name servers to configure in `/etc/resolv.conf`. If you want to use the default AWS nameservers you should set this to `AmazonProvidedDNS`.
	DomainNameServers pulumi.StringArrayInput
	// List of NETBIOS name servers.
	NetbiosNameServers pulumi.StringArrayInput
	// The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
	NetbiosNodeType pulumi.StringPtrInput
	// List of NTP servers to configure.
	NtpServers pulumi.StringArrayInput
	// The ID of the AWS account that owns the DHCP options set.
	OwnerId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (VpcDhcpOptionsState) ElementType added in v1.19.0

func (VpcDhcpOptionsState) ElementType() reflect.Type

type VpcEndpoint

type VpcEndpoint struct {
	pulumi.CustomResourceState

	// Accept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).
	AutoAccept pulumi.BoolPtrOutput `pulumi:"autoAccept"`
	// The list of CIDR blocks for the exposed AWS service. Applicable for endpoints of type `Gateway`.
	CidrBlocks pulumi.StringArrayOutput `pulumi:"cidrBlocks"`
	// The DNS entries for the VPC Endpoint. Applicable for endpoints of type `Interface`. DNS blocks are documented below.
	DnsEntries VpcEndpointDnsEntryArrayOutput `pulumi:"dnsEntries"`
	// One or more network interfaces for the VPC Endpoint. Applicable for endpoints of type `Interface`.
	NetworkInterfaceIds pulumi.StringArrayOutput `pulumi:"networkInterfaceIds"`
	// The ID of the AWS account that owns the VPC endpoint.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	Policy  pulumi.StringOutput `pulumi:"policy"`
	// The prefix list ID of the exposed AWS service. Applicable for endpoints of type `Gateway`.
	PrefixListId pulumi.StringOutput `pulumi:"prefixListId"`
	// Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type `Interface`.
	// Defaults to `false`.
	PrivateDnsEnabled pulumi.BoolPtrOutput `pulumi:"privateDnsEnabled"`
	// Whether or not the VPC Endpoint is being managed by its service - `true` or `false`.
	RequesterManaged pulumi.BoolOutput `pulumi:"requesterManaged"`
	// One or more route table IDs. Applicable for endpoints of type `Gateway`.
	RouteTableIds pulumi.StringArrayOutput `pulumi:"routeTableIds"`
	// The ID of one or more security groups to associate with the network interface. Required for endpoints of type `Interface`.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// The service name, in the form `com.amazonaws.region.service` for AWS services.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// The state of the VPC endpoint.
	State pulumi.StringOutput `pulumi:"state"`
	// The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `Interface`.
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The VPC endpoint type, `Gateway` or `Interface`. Defaults to `Gateway`.
	VpcEndpointType pulumi.StringPtrOutput `pulumi:"vpcEndpointType"`
	// The ID of the VPC in which the endpoint will be used.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a VPC Endpoint resource.

> **NOTE on VPC Endpoints and VPC Endpoint Associations:** This provider provides both standalone VPC Endpoint Associations for Route Tables - (an association between a VPC endpoint and a single `routeTableId`) and Subnets - (an association between a VPC endpoint and a single `subnetId`) and a VPC Endpoint resource with `routeTableIds` and `subnetIds` attributes. Do not use the same resource ID in both a VPC Endpoint resource and a VPC Endpoint Association resource. Doing so will cause a conflict of associations and will overwrite the association.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_endpoint.html.markdown.

func GetVpcEndpoint

func GetVpcEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcEndpointState, opts ...pulumi.ResourceOption) (*VpcEndpoint, error)

GetVpcEndpoint gets an existing VpcEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcEndpoint

func NewVpcEndpoint(ctx *pulumi.Context,
	name string, args *VpcEndpointArgs, opts ...pulumi.ResourceOption) (*VpcEndpoint, error)

NewVpcEndpoint registers a new resource with the given unique name, arguments, and options.

type VpcEndpointArgs

type VpcEndpointArgs struct {
	// Accept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).
	AutoAccept pulumi.BoolPtrInput
	Policy     pulumi.StringPtrInput
	// Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type `Interface`.
	// Defaults to `false`.
	PrivateDnsEnabled pulumi.BoolPtrInput
	// One or more route table IDs. Applicable for endpoints of type `Gateway`.
	RouteTableIds pulumi.StringArrayInput
	// The ID of one or more security groups to associate with the network interface. Required for endpoints of type `Interface`.
	SecurityGroupIds pulumi.StringArrayInput
	// The service name, in the form `com.amazonaws.region.service` for AWS services.
	ServiceName pulumi.StringInput
	// The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `Interface`.
	SubnetIds pulumi.StringArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC endpoint type, `Gateway` or `Interface`. Defaults to `Gateway`.
	VpcEndpointType pulumi.StringPtrInput
	// The ID of the VPC in which the endpoint will be used.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VpcEndpoint resource.

func (VpcEndpointArgs) ElementType added in v1.19.0

func (VpcEndpointArgs) ElementType() reflect.Type

type VpcEndpointConnectionNotification

type VpcEndpointConnectionNotification struct {
	pulumi.CustomResourceState

	// One or more endpoint [events](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVpcEndpointConnectionNotification.html#API_CreateVpcEndpointConnectionNotification_RequestParameters) for which to receive notifications.
	ConnectionEvents pulumi.StringArrayOutput `pulumi:"connectionEvents"`
	// The ARN of the SNS topic for the notifications.
	ConnectionNotificationArn pulumi.StringOutput `pulumi:"connectionNotificationArn"`
	// The type of notification.
	NotificationType pulumi.StringOutput `pulumi:"notificationType"`
	// The state of the notification.
	State pulumi.StringOutput `pulumi:"state"`
	// The ID of the VPC Endpoint to receive notifications for.
	VpcEndpointId pulumi.StringPtrOutput `pulumi:"vpcEndpointId"`
	// The ID of the VPC Endpoint Service to receive notifications for.
	VpcEndpointServiceId pulumi.StringPtrOutput `pulumi:"vpcEndpointServiceId"`
}

Provides a VPC Endpoint connection notification resource. Connection notifications notify subscribers of VPC Endpoint events.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_endpoint_connection_notification.html.markdown.

func GetVpcEndpointConnectionNotification

func GetVpcEndpointConnectionNotification(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcEndpointConnectionNotificationState, opts ...pulumi.ResourceOption) (*VpcEndpointConnectionNotification, error)

GetVpcEndpointConnectionNotification gets an existing VpcEndpointConnectionNotification resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcEndpointConnectionNotification

func NewVpcEndpointConnectionNotification(ctx *pulumi.Context,
	name string, args *VpcEndpointConnectionNotificationArgs, opts ...pulumi.ResourceOption) (*VpcEndpointConnectionNotification, error)

NewVpcEndpointConnectionNotification registers a new resource with the given unique name, arguments, and options.

type VpcEndpointConnectionNotificationArgs

type VpcEndpointConnectionNotificationArgs struct {
	// One or more endpoint [events](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVpcEndpointConnectionNotification.html#API_CreateVpcEndpointConnectionNotification_RequestParameters) for which to receive notifications.
	ConnectionEvents pulumi.StringArrayInput
	// The ARN of the SNS topic for the notifications.
	ConnectionNotificationArn pulumi.StringInput
	// The ID of the VPC Endpoint to receive notifications for.
	VpcEndpointId pulumi.StringPtrInput
	// The ID of the VPC Endpoint Service to receive notifications for.
	VpcEndpointServiceId pulumi.StringPtrInput
}

The set of arguments for constructing a VpcEndpointConnectionNotification resource.

func (VpcEndpointConnectionNotificationArgs) ElementType added in v1.19.0

type VpcEndpointConnectionNotificationState

type VpcEndpointConnectionNotificationState struct {
	// One or more endpoint [events](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVpcEndpointConnectionNotification.html#API_CreateVpcEndpointConnectionNotification_RequestParameters) for which to receive notifications.
	ConnectionEvents pulumi.StringArrayInput
	// The ARN of the SNS topic for the notifications.
	ConnectionNotificationArn pulumi.StringPtrInput
	// The type of notification.
	NotificationType pulumi.StringPtrInput
	// The state of the notification.
	State pulumi.StringPtrInput
	// The ID of the VPC Endpoint to receive notifications for.
	VpcEndpointId pulumi.StringPtrInput
	// The ID of the VPC Endpoint Service to receive notifications for.
	VpcEndpointServiceId pulumi.StringPtrInput
}

func (VpcEndpointConnectionNotificationState) ElementType added in v1.19.0

type VpcEndpointDnsEntry added in v1.19.0

type VpcEndpointDnsEntry struct {
	// The DNS name.
	DnsName *string `pulumi:"dnsName"`
	// The ID of the private hosted zone.
	HostedZoneId *string `pulumi:"hostedZoneId"`
}

type VpcEndpointDnsEntryArgs added in v1.19.0

type VpcEndpointDnsEntryArgs struct {
	// The DNS name.
	DnsName pulumi.StringPtrInput `pulumi:"dnsName"`
	// The ID of the private hosted zone.
	HostedZoneId pulumi.StringPtrInput `pulumi:"hostedZoneId"`
}

func (VpcEndpointDnsEntryArgs) ElementType added in v1.19.0

func (VpcEndpointDnsEntryArgs) ElementType() reflect.Type

func (VpcEndpointDnsEntryArgs) ToVpcEndpointDnsEntryOutput added in v1.19.0

func (i VpcEndpointDnsEntryArgs) ToVpcEndpointDnsEntryOutput() VpcEndpointDnsEntryOutput

func (VpcEndpointDnsEntryArgs) ToVpcEndpointDnsEntryOutputWithContext added in v1.19.0

func (i VpcEndpointDnsEntryArgs) ToVpcEndpointDnsEntryOutputWithContext(ctx context.Context) VpcEndpointDnsEntryOutput

type VpcEndpointDnsEntryArray added in v1.19.0

type VpcEndpointDnsEntryArray []VpcEndpointDnsEntryInput

func (VpcEndpointDnsEntryArray) ElementType added in v1.19.0

func (VpcEndpointDnsEntryArray) ElementType() reflect.Type

func (VpcEndpointDnsEntryArray) ToVpcEndpointDnsEntryArrayOutput added in v1.19.0

func (i VpcEndpointDnsEntryArray) ToVpcEndpointDnsEntryArrayOutput() VpcEndpointDnsEntryArrayOutput

func (VpcEndpointDnsEntryArray) ToVpcEndpointDnsEntryArrayOutputWithContext added in v1.19.0

func (i VpcEndpointDnsEntryArray) ToVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) VpcEndpointDnsEntryArrayOutput

type VpcEndpointDnsEntryArrayInput added in v1.19.0

type VpcEndpointDnsEntryArrayInput interface {
	pulumi.Input

	ToVpcEndpointDnsEntryArrayOutput() VpcEndpointDnsEntryArrayOutput
	ToVpcEndpointDnsEntryArrayOutputWithContext(context.Context) VpcEndpointDnsEntryArrayOutput
}

type VpcEndpointDnsEntryArrayOutput added in v1.19.0

type VpcEndpointDnsEntryArrayOutput struct{ *pulumi.OutputState }

func (VpcEndpointDnsEntryArrayOutput) ElementType added in v1.19.0

func (VpcEndpointDnsEntryArrayOutput) Index added in v1.19.0

func (VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutput added in v1.19.0

func (o VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutput() VpcEndpointDnsEntryArrayOutput

func (VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutputWithContext added in v1.19.0

func (o VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) VpcEndpointDnsEntryArrayOutput

type VpcEndpointDnsEntryInput added in v1.19.0

type VpcEndpointDnsEntryInput interface {
	pulumi.Input

	ToVpcEndpointDnsEntryOutput() VpcEndpointDnsEntryOutput
	ToVpcEndpointDnsEntryOutputWithContext(context.Context) VpcEndpointDnsEntryOutput
}

type VpcEndpointDnsEntryOutput added in v1.19.0

type VpcEndpointDnsEntryOutput struct{ *pulumi.OutputState }

func (VpcEndpointDnsEntryOutput) DnsName added in v1.19.0

The DNS name.

func (VpcEndpointDnsEntryOutput) ElementType added in v1.19.0

func (VpcEndpointDnsEntryOutput) ElementType() reflect.Type

func (VpcEndpointDnsEntryOutput) HostedZoneId added in v1.19.0

The ID of the private hosted zone.

func (VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutput added in v1.19.0

func (o VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutput() VpcEndpointDnsEntryOutput

func (VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutputWithContext added in v1.19.0

func (o VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutputWithContext(ctx context.Context) VpcEndpointDnsEntryOutput

type VpcEndpointRouteTableAssociation

type VpcEndpointRouteTableAssociation struct {
	pulumi.CustomResourceState

	// Identifier of the EC2 Route Table to be associated with the VPC Endpoint.
	RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
	// Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.
	VpcEndpointId pulumi.StringOutput `pulumi:"vpcEndpointId"`
}

Manages a VPC Endpoint Route Table Association

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_endpoint_route_table_association.html.markdown.

func GetVpcEndpointRouteTableAssociation

func GetVpcEndpointRouteTableAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcEndpointRouteTableAssociationState, opts ...pulumi.ResourceOption) (*VpcEndpointRouteTableAssociation, error)

GetVpcEndpointRouteTableAssociation gets an existing VpcEndpointRouteTableAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcEndpointRouteTableAssociation

func NewVpcEndpointRouteTableAssociation(ctx *pulumi.Context,
	name string, args *VpcEndpointRouteTableAssociationArgs, opts ...pulumi.ResourceOption) (*VpcEndpointRouteTableAssociation, error)

NewVpcEndpointRouteTableAssociation registers a new resource with the given unique name, arguments, and options.

type VpcEndpointRouteTableAssociationArgs

type VpcEndpointRouteTableAssociationArgs struct {
	// Identifier of the EC2 Route Table to be associated with the VPC Endpoint.
	RouteTableId pulumi.StringInput
	// Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.
	VpcEndpointId pulumi.StringInput
}

The set of arguments for constructing a VpcEndpointRouteTableAssociation resource.

func (VpcEndpointRouteTableAssociationArgs) ElementType added in v1.19.0

type VpcEndpointRouteTableAssociationState

type VpcEndpointRouteTableAssociationState struct {
	// Identifier of the EC2 Route Table to be associated with the VPC Endpoint.
	RouteTableId pulumi.StringPtrInput
	// Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.
	VpcEndpointId pulumi.StringPtrInput
}

func (VpcEndpointRouteTableAssociationState) ElementType added in v1.19.0

type VpcEndpointService

type VpcEndpointService struct {
	pulumi.CustomResourceState

	// Whether or not VPC endpoint connection requests to the service must be accepted by the service owner - `true` or `false`.
	AcceptanceRequired pulumi.BoolOutput `pulumi:"acceptanceRequired"`
	// The ARNs of one or more principals allowed to discover the endpoint service.
	AllowedPrincipals pulumi.StringArrayOutput `pulumi:"allowedPrincipals"`
	// The Availability Zones in which the service is available.
	AvailabilityZones pulumi.StringArrayOutput `pulumi:"availabilityZones"`
	// The DNS names for the service.
	BaseEndpointDnsNames pulumi.StringArrayOutput `pulumi:"baseEndpointDnsNames"`
	// Whether or not the service manages its VPC endpoints - `true` or `false`.
	ManagesVpcEndpoints pulumi.BoolOutput `pulumi:"managesVpcEndpoints"`
	// The ARNs of one or more Network Load Balancers for the endpoint service.
	NetworkLoadBalancerArns pulumi.StringArrayOutput `pulumi:"networkLoadBalancerArns"`
	// The private DNS name for the service.
	PrivateDnsName pulumi.StringOutput `pulumi:"privateDnsName"`
	// The service name.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// The service type, `Gateway` or `Interface`.
	ServiceType pulumi.StringOutput `pulumi:"serviceType"`
	// The state of the VPC endpoint service.
	State pulumi.StringOutput `pulumi:"state"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a VPC Endpoint Service resource. Service consumers can create an _Interface_ VPC Endpoint to connect to the service.

> **NOTE on VPC Endpoint Services and VPC Endpoint Service Allowed Principals:** This provider provides both a standalone VPC Endpoint Service Allowed Principal resource and a VPC Endpoint Service resource with an `allowedPrincipals` attribute. Do not use the same principal ARN in both a VPC Endpoint Service resource and a VPC Endpoint Service Allowed Principal resource. Doing so will cause a conflict and will overwrite the association.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_endpoint_service.html.markdown.

func GetVpcEndpointService

func GetVpcEndpointService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcEndpointServiceState, opts ...pulumi.ResourceOption) (*VpcEndpointService, error)

GetVpcEndpointService gets an existing VpcEndpointService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcEndpointService

func NewVpcEndpointService(ctx *pulumi.Context,
	name string, args *VpcEndpointServiceArgs, opts ...pulumi.ResourceOption) (*VpcEndpointService, error)

NewVpcEndpointService registers a new resource with the given unique name, arguments, and options.

type VpcEndpointServiceAllowedPrinciple

type VpcEndpointServiceAllowedPrinciple struct {
	pulumi.CustomResourceState

	// The ARN of the principal to allow permissions.
	PrincipalArn pulumi.StringOutput `pulumi:"principalArn"`
	// The ID of the VPC endpoint service to allow permission.
	VpcEndpointServiceId pulumi.StringOutput `pulumi:"vpcEndpointServiceId"`
}

Provides a resource to allow a principal to discover a VPC endpoint service.

> **NOTE on VPC Endpoint Services and VPC Endpoint Service Allowed Principals:** This provider provides both a standalone VPC Endpoint Service Allowed Principal resource and a VPC Endpoint Service resource with an `allowedPrincipals` attribute. Do not use the same principal ARN in both a VPC Endpoint Service resource and a VPC Endpoint Service Allowed Principal resource. Doing so will cause a conflict and will overwrite the association.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_endpoint_service_allowed_principal.html.markdown.

func GetVpcEndpointServiceAllowedPrinciple

func GetVpcEndpointServiceAllowedPrinciple(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcEndpointServiceAllowedPrincipleState, opts ...pulumi.ResourceOption) (*VpcEndpointServiceAllowedPrinciple, error)

GetVpcEndpointServiceAllowedPrinciple gets an existing VpcEndpointServiceAllowedPrinciple resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcEndpointServiceAllowedPrinciple

func NewVpcEndpointServiceAllowedPrinciple(ctx *pulumi.Context,
	name string, args *VpcEndpointServiceAllowedPrincipleArgs, opts ...pulumi.ResourceOption) (*VpcEndpointServiceAllowedPrinciple, error)

NewVpcEndpointServiceAllowedPrinciple registers a new resource with the given unique name, arguments, and options.

type VpcEndpointServiceAllowedPrincipleArgs

type VpcEndpointServiceAllowedPrincipleArgs struct {
	// The ARN of the principal to allow permissions.
	PrincipalArn pulumi.StringInput
	// The ID of the VPC endpoint service to allow permission.
	VpcEndpointServiceId pulumi.StringInput
}

The set of arguments for constructing a VpcEndpointServiceAllowedPrinciple resource.

func (VpcEndpointServiceAllowedPrincipleArgs) ElementType added in v1.19.0

type VpcEndpointServiceAllowedPrincipleState

type VpcEndpointServiceAllowedPrincipleState struct {
	// The ARN of the principal to allow permissions.
	PrincipalArn pulumi.StringPtrInput
	// The ID of the VPC endpoint service to allow permission.
	VpcEndpointServiceId pulumi.StringPtrInput
}

func (VpcEndpointServiceAllowedPrincipleState) ElementType added in v1.19.0

type VpcEndpointServiceArgs

type VpcEndpointServiceArgs struct {
	// Whether or not VPC endpoint connection requests to the service must be accepted by the service owner - `true` or `false`.
	AcceptanceRequired pulumi.BoolInput
	// The ARNs of one or more principals allowed to discover the endpoint service.
	AllowedPrincipals pulumi.StringArrayInput
	// The ARNs of one or more Network Load Balancers for the endpoint service.
	NetworkLoadBalancerArns pulumi.StringArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a VpcEndpointService resource.

func (VpcEndpointServiceArgs) ElementType added in v1.19.0

func (VpcEndpointServiceArgs) ElementType() reflect.Type

type VpcEndpointServiceState

type VpcEndpointServiceState struct {
	// Whether or not VPC endpoint connection requests to the service must be accepted by the service owner - `true` or `false`.
	AcceptanceRequired pulumi.BoolPtrInput
	// The ARNs of one or more principals allowed to discover the endpoint service.
	AllowedPrincipals pulumi.StringArrayInput
	// The Availability Zones in which the service is available.
	AvailabilityZones pulumi.StringArrayInput
	// The DNS names for the service.
	BaseEndpointDnsNames pulumi.StringArrayInput
	// Whether or not the service manages its VPC endpoints - `true` or `false`.
	ManagesVpcEndpoints pulumi.BoolPtrInput
	// The ARNs of one or more Network Load Balancers for the endpoint service.
	NetworkLoadBalancerArns pulumi.StringArrayInput
	// The private DNS name for the service.
	PrivateDnsName pulumi.StringPtrInput
	// The service name.
	ServiceName pulumi.StringPtrInput
	// The service type, `Gateway` or `Interface`.
	ServiceType pulumi.StringPtrInput
	// The state of the VPC endpoint service.
	State pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (VpcEndpointServiceState) ElementType added in v1.19.0

func (VpcEndpointServiceState) ElementType() reflect.Type

type VpcEndpointState

type VpcEndpointState struct {
	// Accept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).
	AutoAccept pulumi.BoolPtrInput
	// The list of CIDR blocks for the exposed AWS service. Applicable for endpoints of type `Gateway`.
	CidrBlocks pulumi.StringArrayInput
	// The DNS entries for the VPC Endpoint. Applicable for endpoints of type `Interface`. DNS blocks are documented below.
	DnsEntries VpcEndpointDnsEntryArrayInput
	// One or more network interfaces for the VPC Endpoint. Applicable for endpoints of type `Interface`.
	NetworkInterfaceIds pulumi.StringArrayInput
	// The ID of the AWS account that owns the VPC endpoint.
	OwnerId pulumi.StringPtrInput
	Policy  pulumi.StringPtrInput
	// The prefix list ID of the exposed AWS service. Applicable for endpoints of type `Gateway`.
	PrefixListId pulumi.StringPtrInput
	// Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type `Interface`.
	// Defaults to `false`.
	PrivateDnsEnabled pulumi.BoolPtrInput
	// Whether or not the VPC Endpoint is being managed by its service - `true` or `false`.
	RequesterManaged pulumi.BoolPtrInput
	// One or more route table IDs. Applicable for endpoints of type `Gateway`.
	RouteTableIds pulumi.StringArrayInput
	// The ID of one or more security groups to associate with the network interface. Required for endpoints of type `Interface`.
	SecurityGroupIds pulumi.StringArrayInput
	// The service name, in the form `com.amazonaws.region.service` for AWS services.
	ServiceName pulumi.StringPtrInput
	// The state of the VPC endpoint.
	State pulumi.StringPtrInput
	// The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `Interface`.
	SubnetIds pulumi.StringArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC endpoint type, `Gateway` or `Interface`. Defaults to `Gateway`.
	VpcEndpointType pulumi.StringPtrInput
	// The ID of the VPC in which the endpoint will be used.
	VpcId pulumi.StringPtrInput
}

func (VpcEndpointState) ElementType added in v1.19.0

func (VpcEndpointState) ElementType() reflect.Type

type VpcEndpointSubnetAssociation

type VpcEndpointSubnetAssociation struct {
	pulumi.CustomResourceState

	// The ID of the subnet to be associated with the VPC endpoint.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The ID of the VPC endpoint with which the subnet will be associated.
	VpcEndpointId pulumi.StringOutput `pulumi:"vpcEndpointId"`
}

Provides a resource to create an association between a VPC endpoint and a subnet.

> **NOTE on VPC Endpoints and VPC Endpoint Subnet Associations:** This provider provides both a standalone VPC Endpoint Subnet Association (an association between a VPC endpoint and a single `subnetId`) and a VPC Endpoint resource with a `subnetIds` attribute. Do not use the same subnet ID in both a VPC Endpoint resource and a VPC Endpoint Subnet Association resource. Doing so will cause a conflict of associations and will overwrite the association.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_endpoint_subnet_association.html.markdown.

func GetVpcEndpointSubnetAssociation

func GetVpcEndpointSubnetAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcEndpointSubnetAssociationState, opts ...pulumi.ResourceOption) (*VpcEndpointSubnetAssociation, error)

GetVpcEndpointSubnetAssociation gets an existing VpcEndpointSubnetAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcEndpointSubnetAssociation

func NewVpcEndpointSubnetAssociation(ctx *pulumi.Context,
	name string, args *VpcEndpointSubnetAssociationArgs, opts ...pulumi.ResourceOption) (*VpcEndpointSubnetAssociation, error)

NewVpcEndpointSubnetAssociation registers a new resource with the given unique name, arguments, and options.

type VpcEndpointSubnetAssociationArgs

type VpcEndpointSubnetAssociationArgs struct {
	// The ID of the subnet to be associated with the VPC endpoint.
	SubnetId pulumi.StringInput
	// The ID of the VPC endpoint with which the subnet will be associated.
	VpcEndpointId pulumi.StringInput
}

The set of arguments for constructing a VpcEndpointSubnetAssociation resource.

func (VpcEndpointSubnetAssociationArgs) ElementType added in v1.19.0

type VpcEndpointSubnetAssociationState

type VpcEndpointSubnetAssociationState struct {
	// The ID of the subnet to be associated with the VPC endpoint.
	SubnetId pulumi.StringPtrInput
	// The ID of the VPC endpoint with which the subnet will be associated.
	VpcEndpointId pulumi.StringPtrInput
}

func (VpcEndpointSubnetAssociationState) ElementType added in v1.19.0

type VpcIpv4CidrBlockAssociation added in v0.14.2

type VpcIpv4CidrBlockAssociation struct {
	pulumi.CustomResourceState

	// The additional IPv4 CIDR block to associate with the VPC.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The ID of the VPC to make the association with.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to associate additional IPv4 CIDR blocks with a VPC.

When a VPC is created, a primary IPv4 CIDR block for the VPC must be specified. The `ec2.VpcIpv4CidrBlockAssociation` resource allows further IPv4 CIDR blocks to be added to the VPC.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_ipv4_cidr_block_association.html.markdown.

func GetVpcIpv4CidrBlockAssociation added in v0.14.2

func GetVpcIpv4CidrBlockAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcIpv4CidrBlockAssociationState, opts ...pulumi.ResourceOption) (*VpcIpv4CidrBlockAssociation, error)

GetVpcIpv4CidrBlockAssociation gets an existing VpcIpv4CidrBlockAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcIpv4CidrBlockAssociation added in v0.14.2

func NewVpcIpv4CidrBlockAssociation(ctx *pulumi.Context,
	name string, args *VpcIpv4CidrBlockAssociationArgs, opts ...pulumi.ResourceOption) (*VpcIpv4CidrBlockAssociation, error)

NewVpcIpv4CidrBlockAssociation registers a new resource with the given unique name, arguments, and options.

type VpcIpv4CidrBlockAssociationArgs added in v0.14.2

type VpcIpv4CidrBlockAssociationArgs struct {
	// The additional IPv4 CIDR block to associate with the VPC.
	CidrBlock pulumi.StringInput
	// The ID of the VPC to make the association with.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VpcIpv4CidrBlockAssociation resource.

func (VpcIpv4CidrBlockAssociationArgs) ElementType added in v1.19.0

type VpcIpv4CidrBlockAssociationState added in v0.14.2

type VpcIpv4CidrBlockAssociationState struct {
	// The additional IPv4 CIDR block to associate with the VPC.
	CidrBlock pulumi.StringPtrInput
	// The ID of the VPC to make the association with.
	VpcId pulumi.StringPtrInput
}

func (VpcIpv4CidrBlockAssociationState) ElementType added in v1.19.0

type VpcPeeringConnection

type VpcPeeringConnection struct {
	pulumi.CustomResourceState

	// The status of the VPC Peering Connection request.
	AcceptStatus pulumi.StringOutput `pulumi:"acceptStatus"`
	// An optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that accepts
	// the peering connection (a maximum of one).
	Accepter VpcPeeringConnectionAccepterTypeOutput `pulumi:"accepter"`
	// Accept the peering (both VPCs need to be in the same AWS account).
	AutoAccept pulumi.BoolPtrOutput `pulumi:"autoAccept"`
	// The AWS account ID of the owner of the peer VPC.
	// Defaults to the account ID the [AWS provider][1] is currently connected to.
	PeerOwnerId pulumi.StringOutput `pulumi:"peerOwnerId"`
	// The region of the accepter VPC of the [VPC Peering Connection]. `autoAccept` must be `false`,
	// and use the `ec2.VpcPeeringConnectionAccepter` to manage the accepter side.
	PeerRegion pulumi.StringOutput `pulumi:"peerRegion"`
	// The ID of the VPC with which you are creating the VPC Peering Connection.
	PeerVpcId pulumi.StringOutput `pulumi:"peerVpcId"`
	// A optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that requests
	// the peering connection (a maximum of one).
	Requester VpcPeeringConnectionRequesterOutput `pulumi:"requester"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The ID of the requester VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to manage a VPC peering connection.

> **NOTE on VPC Peering Connections and VPC Peering Connection Options:** This provider provides both a standalone VPC Peering Connection Options and a VPC Peering Connection resource with `accepter` and `requester` attributes. Do not manage options for the same VPC peering connection in both a VPC Peering Connection resource and a VPC Peering Connection Options resource. Doing so will cause a conflict of options and will overwrite the options. Using a VPC Peering Connection Options resource decouples management of the connection options from management of the VPC Peering Connection and allows options to be set correctly in cross-account scenarios.

> **Note:** For cross-account (requester's AWS account differs from the accepter's AWS account) or inter-region VPC Peering Connections use the `ec2.VpcPeeringConnection` resource to manage the requester's side of the connection and use the `ec2.VpcPeeringConnectionAccepter` resource to manage the accepter's side of the connection.

## Notes

If both VPCs are not in the same AWS account do not enable the `autoAccept` attribute. The accepter can manage its side of the connection using the `ec2.VpcPeeringConnectionAccepter` resource or accept the connection manually using the AWS Management Console, AWS CLI, through SDKs, etc.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_peering_connection.html.markdown.

func GetVpcPeeringConnection

func GetVpcPeeringConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcPeeringConnectionState, opts ...pulumi.ResourceOption) (*VpcPeeringConnection, error)

GetVpcPeeringConnection gets an existing VpcPeeringConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcPeeringConnection

func NewVpcPeeringConnection(ctx *pulumi.Context,
	name string, args *VpcPeeringConnectionArgs, opts ...pulumi.ResourceOption) (*VpcPeeringConnection, error)

NewVpcPeeringConnection registers a new resource with the given unique name, arguments, and options.

type VpcPeeringConnectionAccepter

type VpcPeeringConnectionAccepter struct {
	pulumi.CustomResourceState

	// The status of the VPC Peering Connection request.
	AcceptStatus pulumi.StringOutput `pulumi:"acceptStatus"`
	// A configuration block that describes [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options set for the accepter VPC.
	Accepter VpcPeeringConnectionAccepterAccepterOutput `pulumi:"accepter"`
	// Whether or not to accept the peering request. Defaults to `false`.
	AutoAccept pulumi.BoolPtrOutput `pulumi:"autoAccept"`
	// The AWS account ID of the owner of the requester VPC.
	PeerOwnerId pulumi.StringOutput `pulumi:"peerOwnerId"`
	// The region of the accepter VPC.
	PeerRegion pulumi.StringOutput `pulumi:"peerRegion"`
	// The ID of the requester VPC.
	PeerVpcId pulumi.StringOutput `pulumi:"peerVpcId"`
	// A configuration block that describes [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options set for the requester VPC.
	Requester VpcPeeringConnectionAccepterRequesterOutput `pulumi:"requester"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The ID of the accepter VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The VPC Peering Connection ID to manage.
	VpcPeeringConnectionId pulumi.StringOutput `pulumi:"vpcPeeringConnectionId"`
}

Provides a resource to manage the accepter's side of a VPC Peering Connection.

When a cross-account (requester's AWS account differs from the accepter's AWS account) or an inter-region VPC Peering Connection is created, a VPC Peering Connection resource is automatically created in the accepter's account. The requester can use the `ec2.VpcPeeringConnection` resource to manage its side of the connection and the accepter can use the `ec2.VpcPeeringConnectionAccepter` resource to "adopt" its side of the connection into management.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpc_peering_connection_accepter.html.markdown.

func GetVpcPeeringConnectionAccepter

func GetVpcPeeringConnectionAccepter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcPeeringConnectionAccepterState, opts ...pulumi.ResourceOption) (*VpcPeeringConnectionAccepter, error)

GetVpcPeeringConnectionAccepter gets an existing VpcPeeringConnectionAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcPeeringConnectionAccepter

func NewVpcPeeringConnectionAccepter(ctx *pulumi.Context,
	name string, args *VpcPeeringConnectionAccepterArgs, opts ...pulumi.ResourceOption) (*VpcPeeringConnectionAccepter, error)

NewVpcPeeringConnectionAccepter registers a new resource with the given unique name, arguments, and options.

type VpcPeeringConnectionAccepterAccepter added in v1.19.0

type VpcPeeringConnectionAccepterAccepter struct {
	// Indicates whether a local ClassicLink connection can communicate
	// with the peer VPC over the VPC Peering Connection.
	AllowClassicLinkToRemoteVpc *bool `pulumi:"allowClassicLinkToRemoteVpc"`
	// Indicates whether a local VPC can resolve public DNS hostnames to
	// private IP addresses when queried from instances in a peer VPC.
	AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"`
	// Indicates whether a local VPC can communicate with a ClassicLink
	// connection in the peer VPC over the VPC Peering Connection.
	AllowVpcToRemoteClassicLink *bool `pulumi:"allowVpcToRemoteClassicLink"`
}

type VpcPeeringConnectionAccepterAccepterArgs added in v1.19.0

type VpcPeeringConnectionAccepterAccepterArgs struct {
	// Indicates whether a local ClassicLink connection can communicate
	// with the peer VPC over the VPC Peering Connection.
	AllowClassicLinkToRemoteVpc pulumi.BoolPtrInput `pulumi:"allowClassicLinkToRemoteVpc"`
	// Indicates whether a local VPC can resolve public DNS hostnames to
	// private IP addresses when queried from instances in a peer VPC.
	AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"`
	// Indicates whether a local VPC can communicate with a ClassicLink
	// connection in the peer VPC over the VPC Peering Connection.
	AllowVpcToRemoteClassicLink pulumi.BoolPtrInput `pulumi:"allowVpcToRemoteClassicLink"`
}

func (VpcPeeringConnectionAccepterAccepterArgs) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutput added in v1.19.0

func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutput() VpcPeeringConnectionAccepterAccepterOutput

func (VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutputWithContext added in v1.19.0

func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterOutput

func (VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutput added in v1.19.0

func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput

func (VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext added in v1.19.0

func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput

type VpcPeeringConnectionAccepterAccepterInput added in v1.19.0

type VpcPeeringConnectionAccepterAccepterInput interface {
	pulumi.Input

	ToVpcPeeringConnectionAccepterAccepterOutput() VpcPeeringConnectionAccepterAccepterOutput
	ToVpcPeeringConnectionAccepterAccepterOutputWithContext(context.Context) VpcPeeringConnectionAccepterAccepterOutput
}

type VpcPeeringConnectionAccepterAccepterOutput added in v1.19.0

type VpcPeeringConnectionAccepterAccepterOutput struct{ *pulumi.OutputState }

func (VpcPeeringConnectionAccepterAccepterOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC Peering Connection.

func (VpcPeeringConnectionAccepterAccepterOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.

func (o VpcPeeringConnectionAccepterAccepterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC Peering Connection.

func (VpcPeeringConnectionAccepterAccepterOutput) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutput() VpcPeeringConnectionAccepterAccepterOutput

func (VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterOutput

func (VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput

func (VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput

type VpcPeeringConnectionAccepterAccepterPtrInput added in v1.19.0

type VpcPeeringConnectionAccepterAccepterPtrInput interface {
	pulumi.Input

	ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput
	ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput
}

type VpcPeeringConnectionAccepterAccepterPtrOutput added in v1.19.0

type VpcPeeringConnectionAccepterAccepterPtrOutput struct{ *pulumi.OutputState }

func (VpcPeeringConnectionAccepterAccepterPtrOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC Peering Connection.

func (VpcPeeringConnectionAccepterAccepterPtrOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.

func (o VpcPeeringConnectionAccepterAccepterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC Peering Connection.

func (VpcPeeringConnectionAccepterAccepterPtrOutput) Elem added in v1.19.0

func (VpcPeeringConnectionAccepterAccepterPtrOutput) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput

func (VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput

type VpcPeeringConnectionAccepterArgs

type VpcPeeringConnectionAccepterArgs struct {
	// A configuration block that describes [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options set for the accepter VPC.
	Accepter VpcPeeringConnectionAccepterAccepterPtrInput
	// Whether or not to accept the peering request. Defaults to `false`.
	AutoAccept pulumi.BoolPtrInput
	// A configuration block that describes [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options set for the requester VPC.
	Requester VpcPeeringConnectionAccepterRequesterPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC Peering Connection ID to manage.
	VpcPeeringConnectionId pulumi.StringInput
}

The set of arguments for constructing a VpcPeeringConnectionAccepter resource.

func (VpcPeeringConnectionAccepterArgs) ElementType added in v1.19.0

type VpcPeeringConnectionAccepterRequester added in v1.19.0

type VpcPeeringConnectionAccepterRequester struct {
	// Indicates whether a local ClassicLink connection can communicate
	// with the peer VPC over the VPC Peering Connection.
	AllowClassicLinkToRemoteVpc *bool `pulumi:"allowClassicLinkToRemoteVpc"`
	// Indicates whether a local VPC can resolve public DNS hostnames to
	// private IP addresses when queried from instances in a peer VPC.
	AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"`
	// Indicates whether a local VPC can communicate with a ClassicLink
	// connection in the peer VPC over the VPC Peering Connection.
	AllowVpcToRemoteClassicLink *bool `pulumi:"allowVpcToRemoteClassicLink"`
}

type VpcPeeringConnectionAccepterRequesterArgs added in v1.19.0

type VpcPeeringConnectionAccepterRequesterArgs struct {
	// Indicates whether a local ClassicLink connection can communicate
	// with the peer VPC over the VPC Peering Connection.
	AllowClassicLinkToRemoteVpc pulumi.BoolPtrInput `pulumi:"allowClassicLinkToRemoteVpc"`
	// Indicates whether a local VPC can resolve public DNS hostnames to
	// private IP addresses when queried from instances in a peer VPC.
	AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"`
	// Indicates whether a local VPC can communicate with a ClassicLink
	// connection in the peer VPC over the VPC Peering Connection.
	AllowVpcToRemoteClassicLink pulumi.BoolPtrInput `pulumi:"allowVpcToRemoteClassicLink"`
}

func (VpcPeeringConnectionAccepterRequesterArgs) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutput added in v1.19.0

func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutput() VpcPeeringConnectionAccepterRequesterOutput

func (VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutputWithContext added in v1.19.0

func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterOutput

func (VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutput added in v1.19.0

func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput

func (VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext added in v1.19.0

func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput

type VpcPeeringConnectionAccepterRequesterInput added in v1.19.0

type VpcPeeringConnectionAccepterRequesterInput interface {
	pulumi.Input

	ToVpcPeeringConnectionAccepterRequesterOutput() VpcPeeringConnectionAccepterRequesterOutput
	ToVpcPeeringConnectionAccepterRequesterOutputWithContext(context.Context) VpcPeeringConnectionAccepterRequesterOutput
}

type VpcPeeringConnectionAccepterRequesterOutput added in v1.19.0

type VpcPeeringConnectionAccepterRequesterOutput struct{ *pulumi.OutputState }

func (VpcPeeringConnectionAccepterRequesterOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o VpcPeeringConnectionAccepterRequesterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC Peering Connection.

func (VpcPeeringConnectionAccepterRequesterOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o VpcPeeringConnectionAccepterRequesterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.

func (o VpcPeeringConnectionAccepterRequesterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC Peering Connection.

func (VpcPeeringConnectionAccepterRequesterOutput) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutput() VpcPeeringConnectionAccepterRequesterOutput

func (VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterOutput

func (VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput

func (VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput

type VpcPeeringConnectionAccepterRequesterPtrInput added in v1.19.0

type VpcPeeringConnectionAccepterRequesterPtrInput interface {
	pulumi.Input

	ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput
	ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput
}

type VpcPeeringConnectionAccepterRequesterPtrOutput added in v1.19.0

type VpcPeeringConnectionAccepterRequesterPtrOutput struct{ *pulumi.OutputState }

func (VpcPeeringConnectionAccepterRequesterPtrOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC Peering Connection.

func (VpcPeeringConnectionAccepterRequesterPtrOutput) AllowRemoteVpcDnsResolution added in v1.19.0

Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.

Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC Peering Connection.

func (VpcPeeringConnectionAccepterRequesterPtrOutput) Elem added in v1.19.0

func (VpcPeeringConnectionAccepterRequesterPtrOutput) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput

func (VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput

type VpcPeeringConnectionAccepterState

type VpcPeeringConnectionAccepterState struct {
	// The status of the VPC Peering Connection request.
	AcceptStatus pulumi.StringPtrInput
	// A configuration block that describes [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options set for the accepter VPC.
	Accepter VpcPeeringConnectionAccepterAccepterPtrInput
	// Whether or not to accept the peering request. Defaults to `false`.
	AutoAccept pulumi.BoolPtrInput
	// The AWS account ID of the owner of the requester VPC.
	PeerOwnerId pulumi.StringPtrInput
	// The region of the accepter VPC.
	PeerRegion pulumi.StringPtrInput
	// The ID of the requester VPC.
	PeerVpcId pulumi.StringPtrInput
	// A configuration block that describes [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options set for the requester VPC.
	Requester VpcPeeringConnectionAccepterRequesterPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The ID of the accepter VPC.
	VpcId pulumi.StringPtrInput
	// The VPC Peering Connection ID to manage.
	VpcPeeringConnectionId pulumi.StringPtrInput
}

func (VpcPeeringConnectionAccepterState) ElementType added in v1.19.0

type VpcPeeringConnectionAccepterType added in v1.19.0

type VpcPeeringConnectionAccepterType struct {
	// Allow a local linked EC2-Classic instance to communicate
	// with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection
	// to the remote VPC.
	AllowClassicLinkToRemoteVpc *bool `pulumi:"allowClassicLinkToRemoteVpc"`
	// Allow a local VPC to resolve public DNS hostnames to
	// private IP addresses when queried from instances in the peer VPC. This is
	// [not supported](https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html) for
	// inter-region VPC peering.
	AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"`
	// Allow a local VPC to communicate with a linked EC2-Classic
	// instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink
	// connection.
	AllowVpcToRemoteClassicLink *bool `pulumi:"allowVpcToRemoteClassicLink"`
}

type VpcPeeringConnectionAccepterTypeArgs added in v1.19.0

type VpcPeeringConnectionAccepterTypeArgs struct {
	// Allow a local linked EC2-Classic instance to communicate
	// with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection
	// to the remote VPC.
	AllowClassicLinkToRemoteVpc pulumi.BoolPtrInput `pulumi:"allowClassicLinkToRemoteVpc"`
	// Allow a local VPC to resolve public DNS hostnames to
	// private IP addresses when queried from instances in the peer VPC. This is
	// [not supported](https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html) for
	// inter-region VPC peering.
	AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"`
	// Allow a local VPC to communicate with a linked EC2-Classic
	// instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink
	// connection.
	AllowVpcToRemoteClassicLink pulumi.BoolPtrInput `pulumi:"allowVpcToRemoteClassicLink"`
}

func (VpcPeeringConnectionAccepterTypeArgs) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutput added in v1.19.0

func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutput() VpcPeeringConnectionAccepterTypeOutput

func (VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutputWithContext added in v1.19.0

func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypeOutput

func (VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutput added in v1.19.0

func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput

func (VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext added in v1.19.0

func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput

type VpcPeeringConnectionAccepterTypeInput added in v1.19.0

type VpcPeeringConnectionAccepterTypeInput interface {
	pulumi.Input

	ToVpcPeeringConnectionAccepterTypeOutput() VpcPeeringConnectionAccepterTypeOutput
	ToVpcPeeringConnectionAccepterTypeOutputWithContext(context.Context) VpcPeeringConnectionAccepterTypeOutput
}

type VpcPeeringConnectionAccepterTypeOutput added in v1.19.0

type VpcPeeringConnectionAccepterTypeOutput struct{ *pulumi.OutputState }

func (VpcPeeringConnectionAccepterTypeOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o VpcPeeringConnectionAccepterTypeOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC.

func (VpcPeeringConnectionAccepterTypeOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o VpcPeeringConnectionAccepterTypeOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. This is [not supported](https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html) for inter-region VPC peering.

func (o VpcPeeringConnectionAccepterTypeOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection.

func (VpcPeeringConnectionAccepterTypeOutput) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutput() VpcPeeringConnectionAccepterTypeOutput

func (VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypeOutput

func (VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput

func (VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput

type VpcPeeringConnectionAccepterTypePtrInput added in v1.19.0

type VpcPeeringConnectionAccepterTypePtrInput interface {
	pulumi.Input

	ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput
	ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(context.Context) VpcPeeringConnectionAccepterTypePtrOutput
}

type VpcPeeringConnectionAccepterTypePtrOutput added in v1.19.0

type VpcPeeringConnectionAccepterTypePtrOutput struct{ *pulumi.OutputState }

func (VpcPeeringConnectionAccepterTypePtrOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o VpcPeeringConnectionAccepterTypePtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC.

func (VpcPeeringConnectionAccepterTypePtrOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o VpcPeeringConnectionAccepterTypePtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. This is [not supported](https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html) for inter-region VPC peering.

func (o VpcPeeringConnectionAccepterTypePtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection.

func (VpcPeeringConnectionAccepterTypePtrOutput) Elem added in v1.19.0

func (VpcPeeringConnectionAccepterTypePtrOutput) ElementType added in v1.19.0

func (VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutput added in v1.19.0

func (o VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput

func (VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput

type VpcPeeringConnectionArgs

type VpcPeeringConnectionArgs struct {
	// An optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that accepts
	// the peering connection (a maximum of one).
	Accepter VpcPeeringConnectionAccepterTypePtrInput
	// Accept the peering (both VPCs need to be in the same AWS account).
	AutoAccept pulumi.BoolPtrInput
	// The AWS account ID of the owner of the peer VPC.
	// Defaults to the account ID the [AWS provider][1] is currently connected to.
	PeerOwnerId pulumi.StringPtrInput
	// The region of the accepter VPC of the [VPC Peering Connection]. `autoAccept` must be `false`,
	// and use the `ec2.VpcPeeringConnectionAccepter` to manage the accepter side.
	PeerRegion pulumi.StringPtrInput
	// The ID of the VPC with which you are creating the VPC Peering Connection.
	PeerVpcId pulumi.StringInput
	// A optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that requests
	// the peering connection (a maximum of one).
	Requester VpcPeeringConnectionRequesterPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The ID of the requester VPC.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VpcPeeringConnection resource.

func (VpcPeeringConnectionArgs) ElementType added in v1.19.0

func (VpcPeeringConnectionArgs) ElementType() reflect.Type

type VpcPeeringConnectionRequester added in v1.19.0

type VpcPeeringConnectionRequester struct {
	// Allow a local linked EC2-Classic instance to communicate
	// with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection
	// to the remote VPC.
	AllowClassicLinkToRemoteVpc *bool `pulumi:"allowClassicLinkToRemoteVpc"`
	// Allow a local VPC to resolve public DNS hostnames to
	// private IP addresses when queried from instances in the peer VPC. This is
	// [not supported](https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html) for
	// inter-region VPC peering.
	AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"`
	// Allow a local VPC to communicate with a linked EC2-Classic
	// instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink
	// connection.
	AllowVpcToRemoteClassicLink *bool `pulumi:"allowVpcToRemoteClassicLink"`
}

type VpcPeeringConnectionRequesterArgs added in v1.19.0

type VpcPeeringConnectionRequesterArgs struct {
	// Allow a local linked EC2-Classic instance to communicate
	// with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection
	// to the remote VPC.
	AllowClassicLinkToRemoteVpc pulumi.BoolPtrInput `pulumi:"allowClassicLinkToRemoteVpc"`
	// Allow a local VPC to resolve public DNS hostnames to
	// private IP addresses when queried from instances in the peer VPC. This is
	// [not supported](https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html) for
	// inter-region VPC peering.
	AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"`
	// Allow a local VPC to communicate with a linked EC2-Classic
	// instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink
	// connection.
	AllowVpcToRemoteClassicLink pulumi.BoolPtrInput `pulumi:"allowVpcToRemoteClassicLink"`
}

func (VpcPeeringConnectionRequesterArgs) ElementType added in v1.19.0

func (VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutput added in v1.19.0

func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutput() VpcPeeringConnectionRequesterOutput

func (VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutputWithContext added in v1.19.0

func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterOutput

func (VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutput added in v1.19.0

func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput

func (VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutputWithContext added in v1.19.0

func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterPtrOutput

type VpcPeeringConnectionRequesterInput added in v1.19.0

type VpcPeeringConnectionRequesterInput interface {
	pulumi.Input

	ToVpcPeeringConnectionRequesterOutput() VpcPeeringConnectionRequesterOutput
	ToVpcPeeringConnectionRequesterOutputWithContext(context.Context) VpcPeeringConnectionRequesterOutput
}

type VpcPeeringConnectionRequesterOutput added in v1.19.0

type VpcPeeringConnectionRequesterOutput struct{ *pulumi.OutputState }

func (VpcPeeringConnectionRequesterOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o VpcPeeringConnectionRequesterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC.

func (VpcPeeringConnectionRequesterOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o VpcPeeringConnectionRequesterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. This is [not supported](https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html) for inter-region VPC peering.

func (o VpcPeeringConnectionRequesterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection.

func (VpcPeeringConnectionRequesterOutput) ElementType added in v1.19.0

func (VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutput added in v1.19.0

func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutput() VpcPeeringConnectionRequesterOutput

func (VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterOutput

func (VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutput added in v1.19.0

func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput

func (VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterPtrOutput

type VpcPeeringConnectionRequesterPtrInput added in v1.19.0

type VpcPeeringConnectionRequesterPtrInput interface {
	pulumi.Input

	ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput
	ToVpcPeeringConnectionRequesterPtrOutputWithContext(context.Context) VpcPeeringConnectionRequesterPtrOutput
}

type VpcPeeringConnectionRequesterPtrOutput added in v1.19.0

type VpcPeeringConnectionRequesterPtrOutput struct{ *pulumi.OutputState }

func (VpcPeeringConnectionRequesterPtrOutput) AllowClassicLinkToRemoteVpc added in v1.19.0

func (o VpcPeeringConnectionRequesterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC.

func (VpcPeeringConnectionRequesterPtrOutput) AllowRemoteVpcDnsResolution added in v1.19.0

func (o VpcPeeringConnectionRequesterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. This is [not supported](https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html) for inter-region VPC peering.

func (o VpcPeeringConnectionRequesterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection.

func (VpcPeeringConnectionRequesterPtrOutput) Elem added in v1.19.0

func (VpcPeeringConnectionRequesterPtrOutput) ElementType added in v1.19.0

func (VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutput added in v1.19.0

func (o VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput

func (VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext added in v1.19.0

func (o VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterPtrOutput

type VpcPeeringConnectionState

type VpcPeeringConnectionState struct {
	// The status of the VPC Peering Connection request.
	AcceptStatus pulumi.StringPtrInput
	// An optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that accepts
	// the peering connection (a maximum of one).
	Accepter VpcPeeringConnectionAccepterTypePtrInput
	// Accept the peering (both VPCs need to be in the same AWS account).
	AutoAccept pulumi.BoolPtrInput
	// The AWS account ID of the owner of the peer VPC.
	// Defaults to the account ID the [AWS provider][1] is currently connected to.
	PeerOwnerId pulumi.StringPtrInput
	// The region of the accepter VPC of the [VPC Peering Connection]. `autoAccept` must be `false`,
	// and use the `ec2.VpcPeeringConnectionAccepter` to manage the accepter side.
	PeerRegion pulumi.StringPtrInput
	// The ID of the VPC with which you are creating the VPC Peering Connection.
	PeerVpcId pulumi.StringPtrInput
	// A optional configuration block that allows for [VPC Peering Connection]
	// (http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide) options to be set for the VPC that requests
	// the peering connection (a maximum of one).
	Requester VpcPeeringConnectionRequesterPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The ID of the requester VPC.
	VpcId pulumi.StringPtrInput
}

func (VpcPeeringConnectionState) ElementType added in v1.19.0

func (VpcPeeringConnectionState) ElementType() reflect.Type

type VpcState

type VpcState struct {
	// Amazon Resource Name (ARN) of VPC
	Arn pulumi.StringPtrInput
	// Requests an Amazon-provided IPv6 CIDR
	// block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or
	// the size of the CIDR block. Default is `false`.
	AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput
	// The CIDR block for the VPC.
	CidrBlock pulumi.StringPtrInput
	// The ID of the network ACL created by default on VPC creation
	DefaultNetworkAclId pulumi.StringPtrInput
	// The ID of the route table created by default on VPC creation
	DefaultRouteTableId pulumi.StringPtrInput
	// The ID of the security group created by default on VPC creation
	DefaultSecurityGroupId pulumi.StringPtrInput
	DhcpOptionsId          pulumi.StringPtrInput
	// A boolean flag to enable/disable ClassicLink
	// for the VPC. Only valid in regions and accounts that support EC2 Classic.
	// See the [ClassicLink documentation][1] for more information. Defaults false.
	EnableClassiclink pulumi.BoolPtrInput
	// A boolean flag to enable/disable ClassicLink DNS Support for the VPC.
	// Only valid in regions and accounts that support EC2 Classic.
	EnableClassiclinkDnsSupport pulumi.BoolPtrInput
	// A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
	EnableDnsHostnames pulumi.BoolPtrInput
	// A boolean flag to enable/disable DNS support in the VPC. Defaults true.
	EnableDnsSupport pulumi.BoolPtrInput
	// A tenancy option for instances launched into the VPC
	InstanceTenancy pulumi.StringPtrInput
	// The association ID for the IPv6 CIDR block.
	Ipv6AssociationId pulumi.StringPtrInput
	// The IPv6 CIDR block.
	Ipv6CidrBlock pulumi.StringPtrInput
	// The ID of the main route table associated with
	// this VPC. Note that you can change a VPC's main route table by using an
	// [`ec2.MainRouteTableAssociation`](https://www.terraform.io/docs/providers/aws/r/main_route_table_association.html).
	MainRouteTableId pulumi.StringPtrInput
	// The ID of the AWS account that owns the VPC.
	OwnerId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (VpcState) ElementType added in v1.19.0

func (VpcState) ElementType() reflect.Type

type VpnConnection

type VpnConnection struct {
	pulumi.CustomResourceState

	// The configuration information for the VPN connection's customer gateway (in the native XML format).
	CustomerGatewayConfiguration pulumi.StringOutput `pulumi:"customerGatewayConfiguration"`
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringOutput               `pulumi:"customerGatewayId"`
	Routes            VpnConnectionRouteTypeArrayOutput `pulumi:"routes"`
	// Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don't support BGP.
	StaticRoutesOnly pulumi.BoolOutput `pulumi:"staticRoutesOnly"`
	// Tags to apply to the connection.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID.
	TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
	// The ID of the EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrOutput `pulumi:"transitGatewayId"`
	// The public IP address of the first VPN tunnel.
	Tunnel1Address pulumi.StringOutput `pulumi:"tunnel1Address"`
	// The bgp asn number of the first VPN tunnel.
	Tunnel1BgpAsn pulumi.StringOutput `pulumi:"tunnel1BgpAsn"`
	// The bgp holdtime of the first VPN tunnel.
	Tunnel1BgpHoldtime pulumi.IntOutput `pulumi:"tunnel1BgpHoldtime"`
	// The RFC 6890 link-local address of the first VPN tunnel (Customer Gateway Side).
	Tunnel1CgwInsideAddress pulumi.StringOutput `pulumi:"tunnel1CgwInsideAddress"`
	// The CIDR block of the inside IP addresses for the first VPN tunnel.
	Tunnel1InsideCidr pulumi.StringOutput `pulumi:"tunnel1InsideCidr"`
	// The preshared key of the first VPN tunnel.
	Tunnel1PresharedKey pulumi.StringOutput `pulumi:"tunnel1PresharedKey"`
	// The RFC 6890 link-local address of the first VPN tunnel (VPN Gateway Side).
	Tunnel1VgwInsideAddress pulumi.StringOutput `pulumi:"tunnel1VgwInsideAddress"`
	// The public IP address of the second VPN tunnel.
	Tunnel2Address pulumi.StringOutput `pulumi:"tunnel2Address"`
	// The bgp asn number of the second VPN tunnel.
	Tunnel2BgpAsn pulumi.StringOutput `pulumi:"tunnel2BgpAsn"`
	// The bgp holdtime of the second VPN tunnel.
	Tunnel2BgpHoldtime pulumi.IntOutput `pulumi:"tunnel2BgpHoldtime"`
	// The RFC 6890 link-local address of the second VPN tunnel (Customer Gateway Side).
	Tunnel2CgwInsideAddress pulumi.StringOutput `pulumi:"tunnel2CgwInsideAddress"`
	// The CIDR block of the inside IP addresses for the second VPN tunnel.
	Tunnel2InsideCidr pulumi.StringOutput `pulumi:"tunnel2InsideCidr"`
	// The preshared key of the second VPN tunnel.
	Tunnel2PresharedKey pulumi.StringOutput `pulumi:"tunnel2PresharedKey"`
	// The RFC 6890 link-local address of the second VPN tunnel (VPN Gateway Side).
	Tunnel2VgwInsideAddress pulumi.StringOutput `pulumi:"tunnel2VgwInsideAddress"`
	// The type of VPN connection. The only type AWS supports at this time is "ipsec.1".
	Type           pulumi.StringOutput                  `pulumi:"type"`
	VgwTelemetries VpnConnectionVgwTelemetryArrayOutput `pulumi:"vgwTelemetries"`
	// The ID of the Virtual Private Gateway.
	VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"`
}

Manages an EC2 VPN connection. These objects can be connected to customer gateways, and allow you to establish tunnels between your network and Amazon.

> **Note:** All arguments including `tunnel1PresharedKey` and `tunnel2PresharedKey` will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).

> **Note:** The CIDR blocks in the arguments `tunnel1InsideCidr` and `tunnel2InsideCidr` must have a prefix of /30 and be a part of a specific range. [Read more about this in the AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_VpnTunnelOptionsSpecification.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpn_connection.html.markdown.

func GetVpnConnection

func GetVpnConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpnConnectionState, opts ...pulumi.ResourceOption) (*VpnConnection, error)

GetVpnConnection gets an existing VpnConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpnConnection

func NewVpnConnection(ctx *pulumi.Context,
	name string, args *VpnConnectionArgs, opts ...pulumi.ResourceOption) (*VpnConnection, error)

NewVpnConnection registers a new resource with the given unique name, arguments, and options.

type VpnConnectionArgs

type VpnConnectionArgs struct {
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringInput
	// Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don't support BGP.
	StaticRoutesOnly pulumi.BoolPtrInput
	// Tags to apply to the connection.
	Tags pulumi.MapInput
	// The ID of the EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
	// The CIDR block of the inside IP addresses for the first VPN tunnel.
	Tunnel1InsideCidr pulumi.StringPtrInput
	// The preshared key of the first VPN tunnel.
	Tunnel1PresharedKey pulumi.StringPtrInput
	// The CIDR block of the inside IP addresses for the second VPN tunnel.
	Tunnel2InsideCidr pulumi.StringPtrInput
	// The preshared key of the second VPN tunnel.
	Tunnel2PresharedKey pulumi.StringPtrInput
	// The type of VPN connection. The only type AWS supports at this time is "ipsec.1".
	Type pulumi.StringInput
	// The ID of the Virtual Private Gateway.
	VpnGatewayId pulumi.StringPtrInput
}

The set of arguments for constructing a VpnConnection resource.

func (VpnConnectionArgs) ElementType added in v1.19.0

func (VpnConnectionArgs) ElementType() reflect.Type

type VpnConnectionRoute

type VpnConnectionRoute struct {
	pulumi.CustomResourceState

	// The CIDR block associated with the local subnet of the customer network.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// The ID of the VPN connection.
	VpnConnectionId pulumi.StringOutput `pulumi:"vpnConnectionId"`
}

Provides a static route between a VPN connection and a customer gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpn_connection_route.html.markdown.

func GetVpnConnectionRoute

func GetVpnConnectionRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpnConnectionRouteState, opts ...pulumi.ResourceOption) (*VpnConnectionRoute, error)

GetVpnConnectionRoute gets an existing VpnConnectionRoute resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpnConnectionRoute

func NewVpnConnectionRoute(ctx *pulumi.Context,
	name string, args *VpnConnectionRouteArgs, opts ...pulumi.ResourceOption) (*VpnConnectionRoute, error)

NewVpnConnectionRoute registers a new resource with the given unique name, arguments, and options.

type VpnConnectionRouteArgs

type VpnConnectionRouteArgs struct {
	// The CIDR block associated with the local subnet of the customer network.
	DestinationCidrBlock pulumi.StringInput
	// The ID of the VPN connection.
	VpnConnectionId pulumi.StringInput
}

The set of arguments for constructing a VpnConnectionRoute resource.

func (VpnConnectionRouteArgs) ElementType added in v1.19.0

func (VpnConnectionRouteArgs) ElementType() reflect.Type

type VpnConnectionRouteState

type VpnConnectionRouteState struct {
	// The CIDR block associated with the local subnet of the customer network.
	DestinationCidrBlock pulumi.StringPtrInput
	// The ID of the VPN connection.
	VpnConnectionId pulumi.StringPtrInput
}

func (VpnConnectionRouteState) ElementType added in v1.19.0

func (VpnConnectionRouteState) ElementType() reflect.Type

type VpnConnectionRouteType added in v1.19.0

type VpnConnectionRouteType struct {
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	Source               *string `pulumi:"source"`
	State                *string `pulumi:"state"`
}

type VpnConnectionRouteTypeArgs added in v1.19.0

type VpnConnectionRouteTypeArgs struct {
	DestinationCidrBlock pulumi.StringPtrInput `pulumi:"destinationCidrBlock"`
	Source               pulumi.StringPtrInput `pulumi:"source"`
	State                pulumi.StringPtrInput `pulumi:"state"`
}

func (VpnConnectionRouteTypeArgs) ElementType added in v1.19.0

func (VpnConnectionRouteTypeArgs) ElementType() reflect.Type

func (VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutput added in v1.19.0

func (i VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput

func (VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutputWithContext added in v1.19.0

func (i VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutputWithContext(ctx context.Context) VpnConnectionRouteTypeOutput

type VpnConnectionRouteTypeArray added in v1.19.0

type VpnConnectionRouteTypeArray []VpnConnectionRouteTypeInput

func (VpnConnectionRouteTypeArray) ElementType added in v1.19.0

func (VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutput added in v1.19.0

func (i VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput

func (VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutputWithContext added in v1.19.0

func (i VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) VpnConnectionRouteTypeArrayOutput

type VpnConnectionRouteTypeArrayInput added in v1.19.0

type VpnConnectionRouteTypeArrayInput interface {
	pulumi.Input

	ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput
	ToVpnConnectionRouteTypeArrayOutputWithContext(context.Context) VpnConnectionRouteTypeArrayOutput
}

type VpnConnectionRouteTypeArrayOutput added in v1.19.0

type VpnConnectionRouteTypeArrayOutput struct{ *pulumi.OutputState }

func (VpnConnectionRouteTypeArrayOutput) ElementType added in v1.19.0

func (VpnConnectionRouteTypeArrayOutput) Index added in v1.19.0

func (VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutput added in v1.19.0

func (o VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput

func (VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutputWithContext added in v1.19.0

func (o VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) VpnConnectionRouteTypeArrayOutput

type VpnConnectionRouteTypeInput added in v1.19.0

type VpnConnectionRouteTypeInput interface {
	pulumi.Input

	ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput
	ToVpnConnectionRouteTypeOutputWithContext(context.Context) VpnConnectionRouteTypeOutput
}

type VpnConnectionRouteTypeOutput added in v1.19.0

type VpnConnectionRouteTypeOutput struct{ *pulumi.OutputState }

func (VpnConnectionRouteTypeOutput) DestinationCidrBlock added in v1.19.0

func (o VpnConnectionRouteTypeOutput) DestinationCidrBlock() pulumi.StringPtrOutput

func (VpnConnectionRouteTypeOutput) ElementType added in v1.19.0

func (VpnConnectionRouteTypeOutput) Source added in v1.19.0

func (VpnConnectionRouteTypeOutput) State added in v1.19.0

func (VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutput added in v1.19.0

func (o VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput

func (VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutputWithContext added in v1.19.0

func (o VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutputWithContext(ctx context.Context) VpnConnectionRouteTypeOutput

type VpnConnectionState

type VpnConnectionState struct {
	// The configuration information for the VPN connection's customer gateway (in the native XML format).
	CustomerGatewayConfiguration pulumi.StringPtrInput
	// The ID of the customer gateway.
	CustomerGatewayId pulumi.StringPtrInput
	Routes            VpnConnectionRouteTypeArrayInput
	// Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don't support BGP.
	StaticRoutesOnly pulumi.BoolPtrInput
	// Tags to apply to the connection.
	Tags pulumi.MapInput
	// When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// The ID of the EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
	// The public IP address of the first VPN tunnel.
	Tunnel1Address pulumi.StringPtrInput
	// The bgp asn number of the first VPN tunnel.
	Tunnel1BgpAsn pulumi.StringPtrInput
	// The bgp holdtime of the first VPN tunnel.
	Tunnel1BgpHoldtime pulumi.IntPtrInput
	// The RFC 6890 link-local address of the first VPN tunnel (Customer Gateway Side).
	Tunnel1CgwInsideAddress pulumi.StringPtrInput
	// The CIDR block of the inside IP addresses for the first VPN tunnel.
	Tunnel1InsideCidr pulumi.StringPtrInput
	// The preshared key of the first VPN tunnel.
	Tunnel1PresharedKey pulumi.StringPtrInput
	// The RFC 6890 link-local address of the first VPN tunnel (VPN Gateway Side).
	Tunnel1VgwInsideAddress pulumi.StringPtrInput
	// The public IP address of the second VPN tunnel.
	Tunnel2Address pulumi.StringPtrInput
	// The bgp asn number of the second VPN tunnel.
	Tunnel2BgpAsn pulumi.StringPtrInput
	// The bgp holdtime of the second VPN tunnel.
	Tunnel2BgpHoldtime pulumi.IntPtrInput
	// The RFC 6890 link-local address of the second VPN tunnel (Customer Gateway Side).
	Tunnel2CgwInsideAddress pulumi.StringPtrInput
	// The CIDR block of the inside IP addresses for the second VPN tunnel.
	Tunnel2InsideCidr pulumi.StringPtrInput
	// The preshared key of the second VPN tunnel.
	Tunnel2PresharedKey pulumi.StringPtrInput
	// The RFC 6890 link-local address of the second VPN tunnel (VPN Gateway Side).
	Tunnel2VgwInsideAddress pulumi.StringPtrInput
	// The type of VPN connection. The only type AWS supports at this time is "ipsec.1".
	Type           pulumi.StringPtrInput
	VgwTelemetries VpnConnectionVgwTelemetryArrayInput
	// The ID of the Virtual Private Gateway.
	VpnGatewayId pulumi.StringPtrInput
}

func (VpnConnectionState) ElementType added in v1.19.0

func (VpnConnectionState) ElementType() reflect.Type

type VpnConnectionVgwTelemetry added in v1.19.0

type VpnConnectionVgwTelemetry struct {
	AcceptedRouteCount *int    `pulumi:"acceptedRouteCount"`
	LastStatusChange   *string `pulumi:"lastStatusChange"`
	OutsideIpAddress   *string `pulumi:"outsideIpAddress"`
	Status             *string `pulumi:"status"`
	StatusMessage      *string `pulumi:"statusMessage"`
}

type VpnConnectionVgwTelemetryArgs added in v1.19.0

type VpnConnectionVgwTelemetryArgs struct {
	AcceptedRouteCount pulumi.IntPtrInput    `pulumi:"acceptedRouteCount"`
	LastStatusChange   pulumi.StringPtrInput `pulumi:"lastStatusChange"`
	OutsideIpAddress   pulumi.StringPtrInput `pulumi:"outsideIpAddress"`
	Status             pulumi.StringPtrInput `pulumi:"status"`
	StatusMessage      pulumi.StringPtrInput `pulumi:"statusMessage"`
}

func (VpnConnectionVgwTelemetryArgs) ElementType added in v1.19.0

func (VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutput added in v1.19.0

func (i VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput

func (VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutputWithContext added in v1.19.0

func (i VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryOutput

type VpnConnectionVgwTelemetryArray added in v1.19.0

type VpnConnectionVgwTelemetryArray []VpnConnectionVgwTelemetryInput

func (VpnConnectionVgwTelemetryArray) ElementType added in v1.19.0

func (VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutput added in v1.19.0

func (i VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput

func (VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutputWithContext added in v1.19.0

func (i VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryArrayOutput

type VpnConnectionVgwTelemetryArrayInput added in v1.19.0

type VpnConnectionVgwTelemetryArrayInput interface {
	pulumi.Input

	ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput
	ToVpnConnectionVgwTelemetryArrayOutputWithContext(context.Context) VpnConnectionVgwTelemetryArrayOutput
}

type VpnConnectionVgwTelemetryArrayOutput added in v1.19.0

type VpnConnectionVgwTelemetryArrayOutput struct{ *pulumi.OutputState }

func (VpnConnectionVgwTelemetryArrayOutput) ElementType added in v1.19.0

func (VpnConnectionVgwTelemetryArrayOutput) Index added in v1.19.0

func (VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutput added in v1.19.0

func (o VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput

func (VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutputWithContext added in v1.19.0

func (o VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryArrayOutput

type VpnConnectionVgwTelemetryInput added in v1.19.0

type VpnConnectionVgwTelemetryInput interface {
	pulumi.Input

	ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput
	ToVpnConnectionVgwTelemetryOutputWithContext(context.Context) VpnConnectionVgwTelemetryOutput
}

type VpnConnectionVgwTelemetryOutput added in v1.19.0

type VpnConnectionVgwTelemetryOutput struct{ *pulumi.OutputState }

func (VpnConnectionVgwTelemetryOutput) AcceptedRouteCount added in v1.19.0

func (o VpnConnectionVgwTelemetryOutput) AcceptedRouteCount() pulumi.IntPtrOutput

func (VpnConnectionVgwTelemetryOutput) ElementType added in v1.19.0

func (VpnConnectionVgwTelemetryOutput) LastStatusChange added in v1.19.0

func (VpnConnectionVgwTelemetryOutput) OutsideIpAddress added in v1.19.0

func (VpnConnectionVgwTelemetryOutput) Status added in v1.19.0

func (VpnConnectionVgwTelemetryOutput) StatusMessage added in v1.19.0

func (VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutput added in v1.19.0

func (o VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput

func (VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutputWithContext added in v1.19.0

func (o VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryOutput

type VpnGateway

type VpnGateway struct {
	pulumi.CustomResourceState

	// The Autonomous System Number (ASN) for the Amazon side of the gateway. If you don't specify an ASN, the virtual private gateway is created with the default ASN.
	AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"`
	// The Availability Zone for the virtual private gateway.
	AvailabilityZone pulumi.StringPtrOutput `pulumi:"availabilityZone"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The VPC ID to create in.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides a resource to create a VPC VPN Gateway.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpn_gateway.html.markdown.

func GetVpnGateway

func GetVpnGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpnGatewayState, opts ...pulumi.ResourceOption) (*VpnGateway, error)

GetVpnGateway gets an existing VpnGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpnGateway

func NewVpnGateway(ctx *pulumi.Context,
	name string, args *VpnGatewayArgs, opts ...pulumi.ResourceOption) (*VpnGateway, error)

NewVpnGateway registers a new resource with the given unique name, arguments, and options.

type VpnGatewayArgs

type VpnGatewayArgs struct {
	// The Autonomous System Number (ASN) for the Amazon side of the gateway. If you don't specify an ASN, the virtual private gateway is created with the default ASN.
	AmazonSideAsn pulumi.StringPtrInput
	// The Availability Zone for the virtual private gateway.
	AvailabilityZone pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID to create in.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a VpnGateway resource.

func (VpnGatewayArgs) ElementType added in v1.19.0

func (VpnGatewayArgs) ElementType() reflect.Type

type VpnGatewayAttachment

type VpnGatewayAttachment struct {
	pulumi.CustomResourceState

	// The ID of the VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The ID of the Virtual Private Gateway.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
}

Provides a Virtual Private Gateway attachment resource, allowing for an existing hardware VPN gateway to be attached and/or detached from a VPC.

> **Note:** The `ec2.VpnGateway` resource can also automatically attach the Virtual Private Gateway it creates to an existing VPC by setting the `vpcId` attribute accordingly.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpn_gateway_attachment.html.markdown.

func GetVpnGatewayAttachment

func GetVpnGatewayAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpnGatewayAttachmentState, opts ...pulumi.ResourceOption) (*VpnGatewayAttachment, error)

GetVpnGatewayAttachment gets an existing VpnGatewayAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpnGatewayAttachment

func NewVpnGatewayAttachment(ctx *pulumi.Context,
	name string, args *VpnGatewayAttachmentArgs, opts ...pulumi.ResourceOption) (*VpnGatewayAttachment, error)

NewVpnGatewayAttachment registers a new resource with the given unique name, arguments, and options.

type VpnGatewayAttachmentArgs

type VpnGatewayAttachmentArgs struct {
	// The ID of the VPC.
	VpcId pulumi.StringInput
	// The ID of the Virtual Private Gateway.
	VpnGatewayId pulumi.StringInput
}

The set of arguments for constructing a VpnGatewayAttachment resource.

func (VpnGatewayAttachmentArgs) ElementType added in v1.19.0

func (VpnGatewayAttachmentArgs) ElementType() reflect.Type

type VpnGatewayAttachmentState

type VpnGatewayAttachmentState struct {
	// The ID of the VPC.
	VpcId pulumi.StringPtrInput
	// The ID of the Virtual Private Gateway.
	VpnGatewayId pulumi.StringPtrInput
}

func (VpnGatewayAttachmentState) ElementType added in v1.19.0

func (VpnGatewayAttachmentState) ElementType() reflect.Type

type VpnGatewayRoutePropagation

type VpnGatewayRoutePropagation struct {
	pulumi.CustomResourceState

	// The id of the `ec2.RouteTable` to propagate routes into.
	RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
	// The id of the `ec2.VpnGateway` to propagate routes from.
	VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"`
}

Requests automatic route propagation between a VPN gateway and a route table.

> **Note:** This resource should not be used with a route table that has the `propagatingVgws` argument set. If that argument is set, any route propagation not explicitly listed in its value will be removed.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/vpn_gateway_route_propagation.html.markdown.

func GetVpnGatewayRoutePropagation

func GetVpnGatewayRoutePropagation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpnGatewayRoutePropagationState, opts ...pulumi.ResourceOption) (*VpnGatewayRoutePropagation, error)

GetVpnGatewayRoutePropagation gets an existing VpnGatewayRoutePropagation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpnGatewayRoutePropagation

func NewVpnGatewayRoutePropagation(ctx *pulumi.Context,
	name string, args *VpnGatewayRoutePropagationArgs, opts ...pulumi.ResourceOption) (*VpnGatewayRoutePropagation, error)

NewVpnGatewayRoutePropagation registers a new resource with the given unique name, arguments, and options.

type VpnGatewayRoutePropagationArgs

type VpnGatewayRoutePropagationArgs struct {
	// The id of the `ec2.RouteTable` to propagate routes into.
	RouteTableId pulumi.StringInput
	// The id of the `ec2.VpnGateway` to propagate routes from.
	VpnGatewayId pulumi.StringInput
}

The set of arguments for constructing a VpnGatewayRoutePropagation resource.

func (VpnGatewayRoutePropagationArgs) ElementType added in v1.19.0

type VpnGatewayRoutePropagationState

type VpnGatewayRoutePropagationState struct {
	// The id of the `ec2.RouteTable` to propagate routes into.
	RouteTableId pulumi.StringPtrInput
	// The id of the `ec2.VpnGateway` to propagate routes from.
	VpnGatewayId pulumi.StringPtrInput
}

func (VpnGatewayRoutePropagationState) ElementType added in v1.19.0

type VpnGatewayState

type VpnGatewayState struct {
	// The Autonomous System Number (ASN) for the Amazon side of the gateway. If you don't specify an ASN, the virtual private gateway is created with the default ASN.
	AmazonSideAsn pulumi.StringPtrInput
	// The Availability Zone for the virtual private gateway.
	AvailabilityZone pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The VPC ID to create in.
	VpcId pulumi.StringPtrInput
}

func (VpnGatewayState) ElementType added in v1.19.0

func (VpnGatewayState) ElementType() reflect.Type

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL