Documentation
¶
Index ¶
- Constants
- func PkgVersion() (semver.Version, error)
- type Ami
- type AmiArgs
- type AmiArray
- type AmiArrayInput
- type AmiArrayOutput
- type AmiCopy
- type AmiCopyArgs
- type AmiCopyArray
- type AmiCopyArrayInput
- type AmiCopyArrayOutput
- type AmiCopyEbsBlockDevice
- type AmiCopyEbsBlockDeviceArgs
- type AmiCopyEbsBlockDeviceArray
- func (AmiCopyEbsBlockDeviceArray) ElementType() reflect.Type
- func (i AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutput() AmiCopyEbsBlockDeviceArrayOutput
- func (i AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceArrayOutput
- type AmiCopyEbsBlockDeviceArrayInput
- type AmiCopyEbsBlockDeviceArrayOutput
- func (AmiCopyEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o AmiCopyEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiCopyEbsBlockDeviceOutput
- func (o AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutput() AmiCopyEbsBlockDeviceArrayOutput
- func (o AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceArrayOutput
- type AmiCopyEbsBlockDeviceInput
- type AmiCopyEbsBlockDeviceOutput
- func (o AmiCopyEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o AmiCopyEbsBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
- func (AmiCopyEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o AmiCopyEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o AmiCopyEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o AmiCopyEbsBlockDeviceOutput) OutpostArn() pulumi.StringPtrOutput
- func (o AmiCopyEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
- func (o AmiCopyEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutput() AmiCopyEbsBlockDeviceOutput
- func (o AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceOutput
- func (o AmiCopyEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o AmiCopyEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type AmiCopyEphemeralBlockDevice
- type AmiCopyEphemeralBlockDeviceArgs
- func (AmiCopyEphemeralBlockDeviceArgs) ElementType() reflect.Type
- func (i AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutput() AmiCopyEphemeralBlockDeviceOutput
- func (i AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceOutput
- type AmiCopyEphemeralBlockDeviceArray
- func (AmiCopyEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutput() AmiCopyEphemeralBlockDeviceArrayOutput
- func (i AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceArrayOutput
- type AmiCopyEphemeralBlockDeviceArrayInput
- type AmiCopyEphemeralBlockDeviceArrayOutput
- func (AmiCopyEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o AmiCopyEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiCopyEphemeralBlockDeviceOutput
- func (o AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutput() AmiCopyEphemeralBlockDeviceArrayOutput
- func (o AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceArrayOutput
- type AmiCopyEphemeralBlockDeviceInput
- type AmiCopyEphemeralBlockDeviceOutput
- func (o AmiCopyEphemeralBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
- func (AmiCopyEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutput() AmiCopyEphemeralBlockDeviceOutput
- func (o AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceOutput
- func (o AmiCopyEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
- type AmiCopyInput
- type AmiCopyMap
- type AmiCopyMapInput
- type AmiCopyMapOutput
- type AmiCopyOutput
- type AmiCopyState
- type AmiEbsBlockDevice
- type AmiEbsBlockDeviceArgs
- type AmiEbsBlockDeviceArray
- type AmiEbsBlockDeviceArrayInput
- type AmiEbsBlockDeviceArrayOutput
- func (AmiEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o AmiEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiEbsBlockDeviceOutput
- func (o AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutput() AmiEbsBlockDeviceArrayOutput
- func (o AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEbsBlockDeviceArrayOutput
- type AmiEbsBlockDeviceInput
- type AmiEbsBlockDeviceOutput
- func (o AmiEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o AmiEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (AmiEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o AmiEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o AmiEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o AmiEbsBlockDeviceOutput) OutpostArn() pulumi.StringPtrOutput
- func (o AmiEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
- func (o AmiEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutput() AmiEbsBlockDeviceOutput
- func (o AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutputWithContext(ctx context.Context) AmiEbsBlockDeviceOutput
- func (o AmiEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o AmiEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type AmiEphemeralBlockDevice
- type AmiEphemeralBlockDeviceArgs
- type AmiEphemeralBlockDeviceArray
- func (AmiEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutput() AmiEphemeralBlockDeviceArrayOutput
- func (i AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceArrayOutput
- type AmiEphemeralBlockDeviceArrayInput
- type AmiEphemeralBlockDeviceArrayOutput
- func (AmiEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o AmiEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiEphemeralBlockDeviceOutput
- func (o AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutput() AmiEphemeralBlockDeviceArrayOutput
- func (o AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceArrayOutput
- type AmiEphemeralBlockDeviceInput
- type AmiEphemeralBlockDeviceOutput
- func (o AmiEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (AmiEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutput() AmiEphemeralBlockDeviceOutput
- func (o AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceOutput
- func (o AmiEphemeralBlockDeviceOutput) VirtualName() pulumi.StringOutput
- type AmiFromInstance
- type AmiFromInstanceArgs
- type AmiFromInstanceArray
- type AmiFromInstanceArrayInput
- type AmiFromInstanceArrayOutput
- func (AmiFromInstanceArrayOutput) ElementType() reflect.Type
- func (o AmiFromInstanceArrayOutput) Index(i pulumi.IntInput) AmiFromInstanceOutput
- func (o AmiFromInstanceArrayOutput) ToAmiFromInstanceArrayOutput() AmiFromInstanceArrayOutput
- func (o AmiFromInstanceArrayOutput) ToAmiFromInstanceArrayOutputWithContext(ctx context.Context) AmiFromInstanceArrayOutput
- type AmiFromInstanceEbsBlockDevice
- type AmiFromInstanceEbsBlockDeviceArgs
- func (AmiFromInstanceEbsBlockDeviceArgs) ElementType() reflect.Type
- func (i AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutput() AmiFromInstanceEbsBlockDeviceOutput
- func (i AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceOutput
- type AmiFromInstanceEbsBlockDeviceArray
- func (AmiFromInstanceEbsBlockDeviceArray) ElementType() reflect.Type
- func (i AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutput() AmiFromInstanceEbsBlockDeviceArrayOutput
- func (i AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceArrayOutput
- type AmiFromInstanceEbsBlockDeviceArrayInput
- type AmiFromInstanceEbsBlockDeviceArrayOutput
- func (AmiFromInstanceEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o AmiFromInstanceEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiFromInstanceEbsBlockDeviceOutput
- func (o AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutput() AmiFromInstanceEbsBlockDeviceArrayOutput
- func (o AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceArrayOutput
- type AmiFromInstanceEbsBlockDeviceInput
- type AmiFromInstanceEbsBlockDeviceOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
- func (AmiFromInstanceEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o AmiFromInstanceEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) OutpostArn() pulumi.StringPtrOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutput() AmiFromInstanceEbsBlockDeviceOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o AmiFromInstanceEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type AmiFromInstanceEphemeralBlockDevice
- type AmiFromInstanceEphemeralBlockDeviceArgs
- func (AmiFromInstanceEphemeralBlockDeviceArgs) ElementType() reflect.Type
- func (i AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutput() AmiFromInstanceEphemeralBlockDeviceOutput
- func (i AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceOutput
- type AmiFromInstanceEphemeralBlockDeviceArray
- func (AmiFromInstanceEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput() AmiFromInstanceEphemeralBlockDeviceArrayOutput
- func (i AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceArrayOutput
- type AmiFromInstanceEphemeralBlockDeviceArrayInput
- type AmiFromInstanceEphemeralBlockDeviceArrayOutput
- func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o AmiFromInstanceEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiFromInstanceEphemeralBlockDeviceOutput
- func (o AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput() AmiFromInstanceEphemeralBlockDeviceArrayOutput
- func (o AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceArrayOutput
- type AmiFromInstanceEphemeralBlockDeviceInput
- type AmiFromInstanceEphemeralBlockDeviceOutput
- func (o AmiFromInstanceEphemeralBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
- func (AmiFromInstanceEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutput() AmiFromInstanceEphemeralBlockDeviceOutput
- func (o AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceOutput
- func (o AmiFromInstanceEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
- type AmiFromInstanceInput
- type AmiFromInstanceMap
- type AmiFromInstanceMapInput
- type AmiFromInstanceMapOutput
- func (AmiFromInstanceMapOutput) ElementType() reflect.Type
- func (o AmiFromInstanceMapOutput) MapIndex(k pulumi.StringInput) AmiFromInstanceOutput
- func (o AmiFromInstanceMapOutput) ToAmiFromInstanceMapOutput() AmiFromInstanceMapOutput
- func (o AmiFromInstanceMapOutput) ToAmiFromInstanceMapOutputWithContext(ctx context.Context) AmiFromInstanceMapOutput
- type AmiFromInstanceOutput
- type AmiFromInstanceState
- type AmiInput
- type AmiLaunchPermission
- type AmiLaunchPermissionArgs
- type AmiLaunchPermissionArray
- type AmiLaunchPermissionArrayInput
- type AmiLaunchPermissionArrayOutput
- func (AmiLaunchPermissionArrayOutput) ElementType() reflect.Type
- func (o AmiLaunchPermissionArrayOutput) Index(i pulumi.IntInput) AmiLaunchPermissionOutput
- func (o AmiLaunchPermissionArrayOutput) ToAmiLaunchPermissionArrayOutput() AmiLaunchPermissionArrayOutput
- func (o AmiLaunchPermissionArrayOutput) ToAmiLaunchPermissionArrayOutputWithContext(ctx context.Context) AmiLaunchPermissionArrayOutput
- type AmiLaunchPermissionInput
- type AmiLaunchPermissionMap
- type AmiLaunchPermissionMapInput
- type AmiLaunchPermissionMapOutput
- func (AmiLaunchPermissionMapOutput) ElementType() reflect.Type
- func (o AmiLaunchPermissionMapOutput) MapIndex(k pulumi.StringInput) AmiLaunchPermissionOutput
- func (o AmiLaunchPermissionMapOutput) ToAmiLaunchPermissionMapOutput() AmiLaunchPermissionMapOutput
- func (o AmiLaunchPermissionMapOutput) ToAmiLaunchPermissionMapOutputWithContext(ctx context.Context) AmiLaunchPermissionMapOutput
- type AmiLaunchPermissionOutput
- type AmiLaunchPermissionState
- type AmiMap
- type AmiMapInput
- type AmiMapOutput
- type AmiOutput
- type AmiState
- type AvailabilityZoneGroup
- type AvailabilityZoneGroupArgs
- type AvailabilityZoneGroupArray
- func (AvailabilityZoneGroupArray) ElementType() reflect.Type
- func (i AvailabilityZoneGroupArray) ToAvailabilityZoneGroupArrayOutput() AvailabilityZoneGroupArrayOutput
- func (i AvailabilityZoneGroupArray) ToAvailabilityZoneGroupArrayOutputWithContext(ctx context.Context) AvailabilityZoneGroupArrayOutput
- type AvailabilityZoneGroupArrayInput
- type AvailabilityZoneGroupArrayOutput
- func (AvailabilityZoneGroupArrayOutput) ElementType() reflect.Type
- func (o AvailabilityZoneGroupArrayOutput) Index(i pulumi.IntInput) AvailabilityZoneGroupOutput
- func (o AvailabilityZoneGroupArrayOutput) ToAvailabilityZoneGroupArrayOutput() AvailabilityZoneGroupArrayOutput
- func (o AvailabilityZoneGroupArrayOutput) ToAvailabilityZoneGroupArrayOutputWithContext(ctx context.Context) AvailabilityZoneGroupArrayOutput
- type AvailabilityZoneGroupInput
- type AvailabilityZoneGroupMap
- type AvailabilityZoneGroupMapInput
- type AvailabilityZoneGroupMapOutput
- func (AvailabilityZoneGroupMapOutput) ElementType() reflect.Type
- func (o AvailabilityZoneGroupMapOutput) MapIndex(k pulumi.StringInput) AvailabilityZoneGroupOutput
- func (o AvailabilityZoneGroupMapOutput) ToAvailabilityZoneGroupMapOutput() AvailabilityZoneGroupMapOutput
- func (o AvailabilityZoneGroupMapOutput) ToAvailabilityZoneGroupMapOutputWithContext(ctx context.Context) AvailabilityZoneGroupMapOutput
- type AvailabilityZoneGroupOutput
- type AvailabilityZoneGroupState
- type CapacityReservation
- type CapacityReservationArgs
- type CapacityReservationArray
- type CapacityReservationArrayInput
- type CapacityReservationArrayOutput
- func (CapacityReservationArrayOutput) ElementType() reflect.Type
- func (o CapacityReservationArrayOutput) Index(i pulumi.IntInput) CapacityReservationOutput
- func (o CapacityReservationArrayOutput) ToCapacityReservationArrayOutput() CapacityReservationArrayOutput
- func (o CapacityReservationArrayOutput) ToCapacityReservationArrayOutputWithContext(ctx context.Context) CapacityReservationArrayOutput
- type CapacityReservationInput
- type CapacityReservationMap
- type CapacityReservationMapInput
- type CapacityReservationMapOutput
- func (CapacityReservationMapOutput) ElementType() reflect.Type
- func (o CapacityReservationMapOutput) MapIndex(k pulumi.StringInput) CapacityReservationOutput
- func (o CapacityReservationMapOutput) ToCapacityReservationMapOutput() CapacityReservationMapOutput
- func (o CapacityReservationMapOutput) ToCapacityReservationMapOutputWithContext(ctx context.Context) CapacityReservationMapOutput
- type CapacityReservationOutput
- type CapacityReservationState
- type CarrierGateway
- type CarrierGatewayArgs
- type CarrierGatewayArray
- type CarrierGatewayArrayInput
- type CarrierGatewayArrayOutput
- func (CarrierGatewayArrayOutput) ElementType() reflect.Type
- func (o CarrierGatewayArrayOutput) Index(i pulumi.IntInput) CarrierGatewayOutput
- func (o CarrierGatewayArrayOutput) ToCarrierGatewayArrayOutput() CarrierGatewayArrayOutput
- func (o CarrierGatewayArrayOutput) ToCarrierGatewayArrayOutputWithContext(ctx context.Context) CarrierGatewayArrayOutput
- type CarrierGatewayInput
- type CarrierGatewayMap
- type CarrierGatewayMapInput
- type CarrierGatewayMapOutput
- func (CarrierGatewayMapOutput) ElementType() reflect.Type
- func (o CarrierGatewayMapOutput) MapIndex(k pulumi.StringInput) CarrierGatewayOutput
- func (o CarrierGatewayMapOutput) ToCarrierGatewayMapOutput() CarrierGatewayMapOutput
- func (o CarrierGatewayMapOutput) ToCarrierGatewayMapOutputWithContext(ctx context.Context) CarrierGatewayMapOutput
- type CarrierGatewayOutput
- type CarrierGatewayState
- type CustomerGateway
- type CustomerGatewayArgs
- type CustomerGatewayArray
- type CustomerGatewayArrayInput
- type CustomerGatewayArrayOutput
- func (CustomerGatewayArrayOutput) ElementType() reflect.Type
- func (o CustomerGatewayArrayOutput) Index(i pulumi.IntInput) CustomerGatewayOutput
- func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput
- func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewayArrayOutput
- type CustomerGatewayInput
- type CustomerGatewayMap
- type CustomerGatewayMapInput
- type CustomerGatewayMapOutput
- func (CustomerGatewayMapOutput) ElementType() reflect.Type
- func (o CustomerGatewayMapOutput) MapIndex(k pulumi.StringInput) CustomerGatewayOutput
- func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput
- func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext(ctx context.Context) CustomerGatewayMapOutput
- type CustomerGatewayOutput
- type CustomerGatewayState
- type DedicatedHost
- type DedicatedHostArgs
- type DedicatedHostArray
- type DedicatedHostArrayInput
- type DedicatedHostArrayOutput
- func (DedicatedHostArrayOutput) ElementType() reflect.Type
- func (o DedicatedHostArrayOutput) Index(i pulumi.IntInput) DedicatedHostOutput
- func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
- func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
- type DedicatedHostInput
- type DedicatedHostMap
- type DedicatedHostMapInput
- type DedicatedHostMapOutput
- func (DedicatedHostMapOutput) ElementType() reflect.Type
- func (o DedicatedHostMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostOutput
- func (o DedicatedHostMapOutput) ToDedicatedHostMapOutput() DedicatedHostMapOutput
- func (o DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
- type DedicatedHostOutput
- type DedicatedHostState
- type DefaultNetworkAcl
- type DefaultNetworkAclArgs
- type DefaultNetworkAclArray
- type DefaultNetworkAclArrayInput
- type DefaultNetworkAclArrayOutput
- func (DefaultNetworkAclArrayOutput) ElementType() reflect.Type
- func (o DefaultNetworkAclArrayOutput) Index(i pulumi.IntInput) DefaultNetworkAclOutput
- func (o DefaultNetworkAclArrayOutput) ToDefaultNetworkAclArrayOutput() DefaultNetworkAclArrayOutput
- func (o DefaultNetworkAclArrayOutput) ToDefaultNetworkAclArrayOutputWithContext(ctx context.Context) DefaultNetworkAclArrayOutput
- type DefaultNetworkAclEgress
- type DefaultNetworkAclEgressArgs
- type DefaultNetworkAclEgressArray
- func (DefaultNetworkAclEgressArray) ElementType() reflect.Type
- func (i DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutput() DefaultNetworkAclEgressArrayOutput
- func (i DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclEgressArrayOutput
- type DefaultNetworkAclEgressArrayInput
- type DefaultNetworkAclEgressArrayOutput
- func (DefaultNetworkAclEgressArrayOutput) ElementType() reflect.Type
- func (o DefaultNetworkAclEgressArrayOutput) Index(i pulumi.IntInput) DefaultNetworkAclEgressOutput
- func (o DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutput() DefaultNetworkAclEgressArrayOutput
- func (o DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclEgressArrayOutput
- type DefaultNetworkAclEgressInput
- type DefaultNetworkAclEgressOutput
- func (o DefaultNetworkAclEgressOutput) Action() pulumi.StringOutput
- func (o DefaultNetworkAclEgressOutput) CidrBlock() pulumi.StringPtrOutput
- func (DefaultNetworkAclEgressOutput) ElementType() reflect.Type
- func (o DefaultNetworkAclEgressOutput) FromPort() pulumi.IntOutput
- func (o DefaultNetworkAclEgressOutput) IcmpCode() pulumi.IntPtrOutput
- func (o DefaultNetworkAclEgressOutput) IcmpType() pulumi.IntPtrOutput
- func (o DefaultNetworkAclEgressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
- func (o DefaultNetworkAclEgressOutput) Protocol() pulumi.StringOutput
- func (o DefaultNetworkAclEgressOutput) RuleNo() pulumi.IntOutput
- func (o DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutput() DefaultNetworkAclEgressOutput
- func (o DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutputWithContext(ctx context.Context) DefaultNetworkAclEgressOutput
- func (o DefaultNetworkAclEgressOutput) ToPort() pulumi.IntOutput
- type DefaultNetworkAclIngress
- type DefaultNetworkAclIngressArgs
- func (DefaultNetworkAclIngressArgs) ElementType() reflect.Type
- func (i DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutput() DefaultNetworkAclIngressOutput
- func (i DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutputWithContext(ctx context.Context) DefaultNetworkAclIngressOutput
- type DefaultNetworkAclIngressArray
- func (DefaultNetworkAclIngressArray) ElementType() reflect.Type
- func (i DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutput() DefaultNetworkAclIngressArrayOutput
- func (i DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclIngressArrayOutput
- type DefaultNetworkAclIngressArrayInput
- type DefaultNetworkAclIngressArrayOutput
- func (DefaultNetworkAclIngressArrayOutput) ElementType() reflect.Type
- func (o DefaultNetworkAclIngressArrayOutput) Index(i pulumi.IntInput) DefaultNetworkAclIngressOutput
- func (o DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutput() DefaultNetworkAclIngressArrayOutput
- func (o DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclIngressArrayOutput
- type DefaultNetworkAclIngressInput
- type DefaultNetworkAclIngressOutput
- func (o DefaultNetworkAclIngressOutput) Action() pulumi.StringOutput
- func (o DefaultNetworkAclIngressOutput) CidrBlock() pulumi.StringPtrOutput
- func (DefaultNetworkAclIngressOutput) ElementType() reflect.Type
- func (o DefaultNetworkAclIngressOutput) FromPort() pulumi.IntOutput
- func (o DefaultNetworkAclIngressOutput) IcmpCode() pulumi.IntPtrOutput
- func (o DefaultNetworkAclIngressOutput) IcmpType() pulumi.IntPtrOutput
- func (o DefaultNetworkAclIngressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
- func (o DefaultNetworkAclIngressOutput) Protocol() pulumi.StringOutput
- func (o DefaultNetworkAclIngressOutput) RuleNo() pulumi.IntOutput
- func (o DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutput() DefaultNetworkAclIngressOutput
- func (o DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutputWithContext(ctx context.Context) DefaultNetworkAclIngressOutput
- func (o DefaultNetworkAclIngressOutput) ToPort() pulumi.IntOutput
- type DefaultNetworkAclInput
- type DefaultNetworkAclMap
- type DefaultNetworkAclMapInput
- type DefaultNetworkAclMapOutput
- func (DefaultNetworkAclMapOutput) ElementType() reflect.Type
- func (o DefaultNetworkAclMapOutput) MapIndex(k pulumi.StringInput) DefaultNetworkAclOutput
- func (o DefaultNetworkAclMapOutput) ToDefaultNetworkAclMapOutput() DefaultNetworkAclMapOutput
- func (o DefaultNetworkAclMapOutput) ToDefaultNetworkAclMapOutputWithContext(ctx context.Context) DefaultNetworkAclMapOutput
- type DefaultNetworkAclOutput
- type DefaultNetworkAclState
- type DefaultRouteTable
- type DefaultRouteTableArgs
- type DefaultRouteTableArray
- type DefaultRouteTableArrayInput
- type DefaultRouteTableArrayOutput
- func (DefaultRouteTableArrayOutput) ElementType() reflect.Type
- func (o DefaultRouteTableArrayOutput) Index(i pulumi.IntInput) DefaultRouteTableOutput
- func (o DefaultRouteTableArrayOutput) ToDefaultRouteTableArrayOutput() DefaultRouteTableArrayOutput
- func (o DefaultRouteTableArrayOutput) ToDefaultRouteTableArrayOutputWithContext(ctx context.Context) DefaultRouteTableArrayOutput
- type DefaultRouteTableInput
- type DefaultRouteTableMap
- type DefaultRouteTableMapInput
- type DefaultRouteTableMapOutput
- func (DefaultRouteTableMapOutput) ElementType() reflect.Type
- func (o DefaultRouteTableMapOutput) MapIndex(k pulumi.StringInput) DefaultRouteTableOutput
- func (o DefaultRouteTableMapOutput) ToDefaultRouteTableMapOutput() DefaultRouteTableMapOutput
- func (o DefaultRouteTableMapOutput) ToDefaultRouteTableMapOutputWithContext(ctx context.Context) DefaultRouteTableMapOutput
- type DefaultRouteTableOutput
- type DefaultRouteTableRoute
- type DefaultRouteTableRouteArgs
- type DefaultRouteTableRouteArray
- func (DefaultRouteTableRouteArray) ElementType() reflect.Type
- func (i DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutput() DefaultRouteTableRouteArrayOutput
- func (i DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutputWithContext(ctx context.Context) DefaultRouteTableRouteArrayOutput
- type DefaultRouteTableRouteArrayInput
- type DefaultRouteTableRouteArrayOutput
- func (DefaultRouteTableRouteArrayOutput) ElementType() reflect.Type
- func (o DefaultRouteTableRouteArrayOutput) Index(i pulumi.IntInput) DefaultRouteTableRouteOutput
- func (o DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutput() DefaultRouteTableRouteArrayOutput
- func (o DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutputWithContext(ctx context.Context) DefaultRouteTableRouteArrayOutput
- type DefaultRouteTableRouteInput
- type DefaultRouteTableRouteOutput
- func (o DefaultRouteTableRouteOutput) CidrBlock() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) DestinationPrefixListId() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringPtrOutput
- func (DefaultRouteTableRouteOutput) ElementType() reflect.Type
- func (o DefaultRouteTableRouteOutput) GatewayId() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) InstanceId() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) NatGatewayId() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) NetworkInterfaceId() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutput() DefaultRouteTableRouteOutput
- func (o DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutputWithContext(ctx context.Context) DefaultRouteTableRouteOutput
- func (o DefaultRouteTableRouteOutput) TransitGatewayId() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) VpcEndpointId() pulumi.StringPtrOutput
- func (o DefaultRouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringPtrOutput
- type DefaultRouteTableState
- type DefaultSecurityGroup
- type DefaultSecurityGroupArgs
- type DefaultSecurityGroupArray
- type DefaultSecurityGroupArrayInput
- type DefaultSecurityGroupArrayOutput
- func (DefaultSecurityGroupArrayOutput) ElementType() reflect.Type
- func (o DefaultSecurityGroupArrayOutput) Index(i pulumi.IntInput) DefaultSecurityGroupOutput
- func (o DefaultSecurityGroupArrayOutput) ToDefaultSecurityGroupArrayOutput() DefaultSecurityGroupArrayOutput
- func (o DefaultSecurityGroupArrayOutput) ToDefaultSecurityGroupArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupArrayOutput
- type DefaultSecurityGroupEgress
- type DefaultSecurityGroupEgressArgs
- func (DefaultSecurityGroupEgressArgs) ElementType() reflect.Type
- func (i DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutput() DefaultSecurityGroupEgressOutput
- func (i DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressOutput
- type DefaultSecurityGroupEgressArray
- func (DefaultSecurityGroupEgressArray) ElementType() reflect.Type
- func (i DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutput() DefaultSecurityGroupEgressArrayOutput
- func (i DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressArrayOutput
- type DefaultSecurityGroupEgressArrayInput
- type DefaultSecurityGroupEgressArrayOutput
- func (DefaultSecurityGroupEgressArrayOutput) ElementType() reflect.Type
- func (o DefaultSecurityGroupEgressArrayOutput) Index(i pulumi.IntInput) DefaultSecurityGroupEgressOutput
- func (o DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutput() DefaultSecurityGroupEgressArrayOutput
- func (o DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressArrayOutput
- type DefaultSecurityGroupEgressInput
- type DefaultSecurityGroupEgressOutput
- func (o DefaultSecurityGroupEgressOutput) CidrBlocks() pulumi.StringArrayOutput
- func (o DefaultSecurityGroupEgressOutput) Description() pulumi.StringPtrOutput
- func (DefaultSecurityGroupEgressOutput) ElementType() reflect.Type
- func (o DefaultSecurityGroupEgressOutput) FromPort() pulumi.IntOutput
- func (o DefaultSecurityGroupEgressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput
- func (o DefaultSecurityGroupEgressOutput) PrefixListIds() pulumi.StringArrayOutput
- func (o DefaultSecurityGroupEgressOutput) Protocol() pulumi.StringOutput
- func (o DefaultSecurityGroupEgressOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o DefaultSecurityGroupEgressOutput) Self() pulumi.BoolPtrOutput
- func (o DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutput() DefaultSecurityGroupEgressOutput
- func (o DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressOutput
- func (o DefaultSecurityGroupEgressOutput) ToPort() pulumi.IntOutput
- type DefaultSecurityGroupIngress
- type DefaultSecurityGroupIngressArgs
- func (DefaultSecurityGroupIngressArgs) ElementType() reflect.Type
- func (i DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutput() DefaultSecurityGroupIngressOutput
- func (i DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressOutput
- type DefaultSecurityGroupIngressArray
- func (DefaultSecurityGroupIngressArray) ElementType() reflect.Type
- func (i DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutput() DefaultSecurityGroupIngressArrayOutput
- func (i DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressArrayOutput
- type DefaultSecurityGroupIngressArrayInput
- type DefaultSecurityGroupIngressArrayOutput
- func (DefaultSecurityGroupIngressArrayOutput) ElementType() reflect.Type
- func (o DefaultSecurityGroupIngressArrayOutput) Index(i pulumi.IntInput) DefaultSecurityGroupIngressOutput
- func (o DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutput() DefaultSecurityGroupIngressArrayOutput
- func (o DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressArrayOutput
- type DefaultSecurityGroupIngressInput
- type DefaultSecurityGroupIngressOutput
- func (o DefaultSecurityGroupIngressOutput) CidrBlocks() pulumi.StringArrayOutput
- func (o DefaultSecurityGroupIngressOutput) Description() pulumi.StringPtrOutput
- func (DefaultSecurityGroupIngressOutput) ElementType() reflect.Type
- func (o DefaultSecurityGroupIngressOutput) FromPort() pulumi.IntOutput
- func (o DefaultSecurityGroupIngressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput
- func (o DefaultSecurityGroupIngressOutput) PrefixListIds() pulumi.StringArrayOutput
- func (o DefaultSecurityGroupIngressOutput) Protocol() pulumi.StringOutput
- func (o DefaultSecurityGroupIngressOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o DefaultSecurityGroupIngressOutput) Self() pulumi.BoolPtrOutput
- func (o DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutput() DefaultSecurityGroupIngressOutput
- func (o DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressOutput
- func (o DefaultSecurityGroupIngressOutput) ToPort() pulumi.IntOutput
- type DefaultSecurityGroupInput
- type DefaultSecurityGroupMap
- type DefaultSecurityGroupMapInput
- type DefaultSecurityGroupMapOutput
- func (DefaultSecurityGroupMapOutput) ElementType() reflect.Type
- func (o DefaultSecurityGroupMapOutput) MapIndex(k pulumi.StringInput) DefaultSecurityGroupOutput
- func (o DefaultSecurityGroupMapOutput) ToDefaultSecurityGroupMapOutput() DefaultSecurityGroupMapOutput
- func (o DefaultSecurityGroupMapOutput) ToDefaultSecurityGroupMapOutputWithContext(ctx context.Context) DefaultSecurityGroupMapOutput
- type DefaultSecurityGroupOutput
- type DefaultSecurityGroupState
- type DefaultSubnet
- type DefaultSubnetArgs
- type DefaultSubnetArray
- type DefaultSubnetArrayInput
- type DefaultSubnetArrayOutput
- func (DefaultSubnetArrayOutput) ElementType() reflect.Type
- func (o DefaultSubnetArrayOutput) Index(i pulumi.IntInput) DefaultSubnetOutput
- func (o DefaultSubnetArrayOutput) ToDefaultSubnetArrayOutput() DefaultSubnetArrayOutput
- func (o DefaultSubnetArrayOutput) ToDefaultSubnetArrayOutputWithContext(ctx context.Context) DefaultSubnetArrayOutput
- type DefaultSubnetInput
- type DefaultSubnetMap
- type DefaultSubnetMapInput
- type DefaultSubnetMapOutput
- func (DefaultSubnetMapOutput) ElementType() reflect.Type
- func (o DefaultSubnetMapOutput) MapIndex(k pulumi.StringInput) DefaultSubnetOutput
- func (o DefaultSubnetMapOutput) ToDefaultSubnetMapOutput() DefaultSubnetMapOutput
- func (o DefaultSubnetMapOutput) ToDefaultSubnetMapOutputWithContext(ctx context.Context) DefaultSubnetMapOutput
- type DefaultSubnetOutput
- type DefaultSubnetState
- type DefaultVpc
- type DefaultVpcArgs
- type DefaultVpcArray
- type DefaultVpcArrayInput
- type DefaultVpcArrayOutput
- func (DefaultVpcArrayOutput) ElementType() reflect.Type
- func (o DefaultVpcArrayOutput) Index(i pulumi.IntInput) DefaultVpcOutput
- func (o DefaultVpcArrayOutput) ToDefaultVpcArrayOutput() DefaultVpcArrayOutput
- func (o DefaultVpcArrayOutput) ToDefaultVpcArrayOutputWithContext(ctx context.Context) DefaultVpcArrayOutput
- type DefaultVpcDhcpOptions
- type DefaultVpcDhcpOptionsArgs
- type DefaultVpcDhcpOptionsArray
- func (DefaultVpcDhcpOptionsArray) ElementType() reflect.Type
- func (i DefaultVpcDhcpOptionsArray) ToDefaultVpcDhcpOptionsArrayOutput() DefaultVpcDhcpOptionsArrayOutput
- func (i DefaultVpcDhcpOptionsArray) ToDefaultVpcDhcpOptionsArrayOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsArrayOutput
- type DefaultVpcDhcpOptionsArrayInput
- type DefaultVpcDhcpOptionsArrayOutput
- func (DefaultVpcDhcpOptionsArrayOutput) ElementType() reflect.Type
- func (o DefaultVpcDhcpOptionsArrayOutput) Index(i pulumi.IntInput) DefaultVpcDhcpOptionsOutput
- func (o DefaultVpcDhcpOptionsArrayOutput) ToDefaultVpcDhcpOptionsArrayOutput() DefaultVpcDhcpOptionsArrayOutput
- func (o DefaultVpcDhcpOptionsArrayOutput) ToDefaultVpcDhcpOptionsArrayOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsArrayOutput
- type DefaultVpcDhcpOptionsInput
- type DefaultVpcDhcpOptionsMap
- type DefaultVpcDhcpOptionsMapInput
- type DefaultVpcDhcpOptionsMapOutput
- func (DefaultVpcDhcpOptionsMapOutput) ElementType() reflect.Type
- func (o DefaultVpcDhcpOptionsMapOutput) MapIndex(k pulumi.StringInput) DefaultVpcDhcpOptionsOutput
- func (o DefaultVpcDhcpOptionsMapOutput) ToDefaultVpcDhcpOptionsMapOutput() DefaultVpcDhcpOptionsMapOutput
- func (o DefaultVpcDhcpOptionsMapOutput) ToDefaultVpcDhcpOptionsMapOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsMapOutput
- type DefaultVpcDhcpOptionsOutput
- type DefaultVpcDhcpOptionsState
- type DefaultVpcInput
- type DefaultVpcMap
- type DefaultVpcMapInput
- type DefaultVpcMapOutput
- func (DefaultVpcMapOutput) ElementType() reflect.Type
- func (o DefaultVpcMapOutput) MapIndex(k pulumi.StringInput) DefaultVpcOutput
- func (o DefaultVpcMapOutput) ToDefaultVpcMapOutput() DefaultVpcMapOutput
- func (o DefaultVpcMapOutput) ToDefaultVpcMapOutputWithContext(ctx context.Context) DefaultVpcMapOutput
- type DefaultVpcOutput
- type DefaultVpcState
- type EgressOnlyInternetGateway
- type EgressOnlyInternetGatewayArgs
- type EgressOnlyInternetGatewayArray
- func (EgressOnlyInternetGatewayArray) ElementType() reflect.Type
- func (i EgressOnlyInternetGatewayArray) ToEgressOnlyInternetGatewayArrayOutput() EgressOnlyInternetGatewayArrayOutput
- func (i EgressOnlyInternetGatewayArray) ToEgressOnlyInternetGatewayArrayOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayArrayOutput
- type EgressOnlyInternetGatewayArrayInput
- type EgressOnlyInternetGatewayArrayOutput
- func (EgressOnlyInternetGatewayArrayOutput) ElementType() reflect.Type
- func (o EgressOnlyInternetGatewayArrayOutput) Index(i pulumi.IntInput) EgressOnlyInternetGatewayOutput
- func (o EgressOnlyInternetGatewayArrayOutput) ToEgressOnlyInternetGatewayArrayOutput() EgressOnlyInternetGatewayArrayOutput
- func (o EgressOnlyInternetGatewayArrayOutput) ToEgressOnlyInternetGatewayArrayOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayArrayOutput
- type EgressOnlyInternetGatewayInput
- type EgressOnlyInternetGatewayMap
- func (EgressOnlyInternetGatewayMap) ElementType() reflect.Type
- func (i EgressOnlyInternetGatewayMap) ToEgressOnlyInternetGatewayMapOutput() EgressOnlyInternetGatewayMapOutput
- func (i EgressOnlyInternetGatewayMap) ToEgressOnlyInternetGatewayMapOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayMapOutput
- type EgressOnlyInternetGatewayMapInput
- type EgressOnlyInternetGatewayMapOutput
- func (EgressOnlyInternetGatewayMapOutput) ElementType() reflect.Type
- func (o EgressOnlyInternetGatewayMapOutput) MapIndex(k pulumi.StringInput) EgressOnlyInternetGatewayOutput
- func (o EgressOnlyInternetGatewayMapOutput) ToEgressOnlyInternetGatewayMapOutput() EgressOnlyInternetGatewayMapOutput
- func (o EgressOnlyInternetGatewayMapOutput) ToEgressOnlyInternetGatewayMapOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayMapOutput
- type EgressOnlyInternetGatewayOutput
- func (EgressOnlyInternetGatewayOutput) ElementType() reflect.Type
- func (o EgressOnlyInternetGatewayOutput) ToEgressOnlyInternetGatewayOutput() EgressOnlyInternetGatewayOutput
- func (o EgressOnlyInternetGatewayOutput) ToEgressOnlyInternetGatewayOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayOutput
- type EgressOnlyInternetGatewayState
- type Eip
- type EipArgs
- type EipArray
- type EipArrayInput
- type EipArrayOutput
- type EipAssociation
- type EipAssociationArgs
- type EipAssociationArray
- type EipAssociationArrayInput
- type EipAssociationArrayOutput
- func (EipAssociationArrayOutput) ElementType() reflect.Type
- func (o EipAssociationArrayOutput) Index(i pulumi.IntInput) EipAssociationOutput
- func (o EipAssociationArrayOutput) ToEipAssociationArrayOutput() EipAssociationArrayOutput
- func (o EipAssociationArrayOutput) ToEipAssociationArrayOutputWithContext(ctx context.Context) EipAssociationArrayOutput
- type EipAssociationInput
- type EipAssociationMap
- type EipAssociationMapInput
- type EipAssociationMapOutput
- func (EipAssociationMapOutput) ElementType() reflect.Type
- func (o EipAssociationMapOutput) MapIndex(k pulumi.StringInput) EipAssociationOutput
- func (o EipAssociationMapOutput) ToEipAssociationMapOutput() EipAssociationMapOutput
- func (o EipAssociationMapOutput) ToEipAssociationMapOutputWithContext(ctx context.Context) EipAssociationMapOutput
- type EipAssociationOutput
- type EipAssociationState
- type EipInput
- type EipMap
- type EipMapInput
- type EipMapOutput
- type EipOutput
- type EipState
- type Fleet
- type FleetArgs
- type FleetArray
- type FleetArrayInput
- type FleetArrayOutput
- type FleetInput
- type FleetLaunchTemplateConfig
- type FleetLaunchTemplateConfigArgs
- func (FleetLaunchTemplateConfigArgs) ElementType() reflect.Type
- func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutput() FleetLaunchTemplateConfigOutput
- func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOutput
- func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput
- func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput
- type FleetLaunchTemplateConfigInput
- type FleetLaunchTemplateConfigLaunchTemplateSpecification
- type FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs
- func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ElementType() reflect.Type
- func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
- func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
- type FleetLaunchTemplateConfigLaunchTemplateSpecificationInput
- type FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ElementType() reflect.Type
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) Version() pulumi.StringOutput
- type FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrInput
- type FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) Elem() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ElementType() reflect.Type
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
- func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) Version() pulumi.StringPtrOutput
- type FleetLaunchTemplateConfigOutput
- func (FleetLaunchTemplateConfigOutput) ElementType() reflect.Type
- func (o FleetLaunchTemplateConfigOutput) LaunchTemplateSpecification() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (o FleetLaunchTemplateConfigOutput) Overrides() FleetLaunchTemplateConfigOverrideArrayOutput
- func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutput() FleetLaunchTemplateConfigOutput
- func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOutput
- func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput
- func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput
- type FleetLaunchTemplateConfigOverride
- type FleetLaunchTemplateConfigOverrideArgs
- func (FleetLaunchTemplateConfigOverrideArgs) ElementType() reflect.Type
- func (i FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutput() FleetLaunchTemplateConfigOverrideOutput
- func (i FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideOutput
- type FleetLaunchTemplateConfigOverrideArray
- func (FleetLaunchTemplateConfigOverrideArray) ElementType() reflect.Type
- func (i FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutput() FleetLaunchTemplateConfigOverrideArrayOutput
- func (i FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideArrayOutput
- type FleetLaunchTemplateConfigOverrideArrayInput
- type FleetLaunchTemplateConfigOverrideArrayOutput
- func (FleetLaunchTemplateConfigOverrideArrayOutput) ElementType() reflect.Type
- func (o FleetLaunchTemplateConfigOverrideArrayOutput) Index(i pulumi.IntInput) FleetLaunchTemplateConfigOverrideOutput
- func (o FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutput() FleetLaunchTemplateConfigOverrideArrayOutput
- func (o FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideArrayOutput
- type FleetLaunchTemplateConfigOverrideInput
- type FleetLaunchTemplateConfigOverrideOutput
- func (o FleetLaunchTemplateConfigOverrideOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (FleetLaunchTemplateConfigOverrideOutput) ElementType() reflect.Type
- func (o FleetLaunchTemplateConfigOverrideOutput) InstanceType() pulumi.StringPtrOutput
- func (o FleetLaunchTemplateConfigOverrideOutput) MaxPrice() pulumi.StringPtrOutput
- func (o FleetLaunchTemplateConfigOverrideOutput) Priority() pulumi.Float64PtrOutput
- func (o FleetLaunchTemplateConfigOverrideOutput) SubnetId() pulumi.StringPtrOutput
- func (o FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutput() FleetLaunchTemplateConfigOverrideOutput
- func (o FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideOutput
- func (o FleetLaunchTemplateConfigOverrideOutput) WeightedCapacity() pulumi.Float64PtrOutput
- type FleetLaunchTemplateConfigPtrInput
- type FleetLaunchTemplateConfigPtrOutput
- func (o FleetLaunchTemplateConfigPtrOutput) Elem() FleetLaunchTemplateConfigOutput
- func (FleetLaunchTemplateConfigPtrOutput) ElementType() reflect.Type
- func (o FleetLaunchTemplateConfigPtrOutput) LaunchTemplateSpecification() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
- func (o FleetLaunchTemplateConfigPtrOutput) Overrides() FleetLaunchTemplateConfigOverrideArrayOutput
- func (o FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput
- func (o FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput
- type FleetMap
- type FleetMapInput
- type FleetMapOutput
- type FleetOnDemandOptions
- type FleetOnDemandOptionsArgs
- func (FleetOnDemandOptionsArgs) ElementType() reflect.Type
- func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutput() FleetOnDemandOptionsOutput
- func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutputWithContext(ctx context.Context) FleetOnDemandOptionsOutput
- func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput
- func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput
- type FleetOnDemandOptionsInput
- type FleetOnDemandOptionsOutput
- func (o FleetOnDemandOptionsOutput) AllocationStrategy() pulumi.StringPtrOutput
- func (FleetOnDemandOptionsOutput) ElementType() reflect.Type
- func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutput() FleetOnDemandOptionsOutput
- func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutputWithContext(ctx context.Context) FleetOnDemandOptionsOutput
- func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput
- func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput
- type FleetOnDemandOptionsPtrInput
- type FleetOnDemandOptionsPtrOutput
- func (o FleetOnDemandOptionsPtrOutput) AllocationStrategy() pulumi.StringPtrOutput
- func (o FleetOnDemandOptionsPtrOutput) Elem() FleetOnDemandOptionsOutput
- func (FleetOnDemandOptionsPtrOutput) ElementType() reflect.Type
- func (o FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput
- func (o FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput
- type FleetOutput
- type FleetSpotOptions
- type FleetSpotOptionsArgs
- func (FleetSpotOptionsArgs) ElementType() reflect.Type
- func (i FleetSpotOptionsArgs) ToFleetSpotOptionsOutput() FleetSpotOptionsOutput
- func (i FleetSpotOptionsArgs) ToFleetSpotOptionsOutputWithContext(ctx context.Context) FleetSpotOptionsOutput
- func (i FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput
- func (i FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput
- type FleetSpotOptionsInput
- type FleetSpotOptionsMaintenanceStrategies
- type FleetSpotOptionsMaintenanceStrategiesArgs
- func (FleetSpotOptionsMaintenanceStrategiesArgs) ElementType() reflect.Type
- func (i FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesOutput() FleetSpotOptionsMaintenanceStrategiesOutput
- func (i FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesOutput
- func (i FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput() FleetSpotOptionsMaintenanceStrategiesPtrOutput
- func (i FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesPtrOutput
- type FleetSpotOptionsMaintenanceStrategiesCapacityRebalance
- type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs
- func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ElementType() reflect.Type
- func (i FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
- func (i FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
- func (i FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- func (i FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceInput
- type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
- func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ElementType() reflect.Type
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ReplacementStrategy() pulumi.StringPtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- type FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrInput
- type FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) Elem() FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
- func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ElementType() reflect.Type
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ReplacementStrategy() pulumi.StringPtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- type FleetSpotOptionsMaintenanceStrategiesInput
- type FleetSpotOptionsMaintenanceStrategiesOutput
- func (o FleetSpotOptionsMaintenanceStrategiesOutput) CapacityRebalance() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- func (FleetSpotOptionsMaintenanceStrategiesOutput) ElementType() reflect.Type
- func (o FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesOutput() FleetSpotOptionsMaintenanceStrategiesOutput
- func (o FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesOutput
- func (o FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput() FleetSpotOptionsMaintenanceStrategiesPtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesPtrOutput
- type FleetSpotOptionsMaintenanceStrategiesPtrInput
- type FleetSpotOptionsMaintenanceStrategiesPtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesPtrOutput) CapacityRebalance() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesPtrOutput) Elem() FleetSpotOptionsMaintenanceStrategiesOutput
- func (FleetSpotOptionsMaintenanceStrategiesPtrOutput) ElementType() reflect.Type
- func (o FleetSpotOptionsMaintenanceStrategiesPtrOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput() FleetSpotOptionsMaintenanceStrategiesPtrOutput
- func (o FleetSpotOptionsMaintenanceStrategiesPtrOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesPtrOutput
- type FleetSpotOptionsOutput
- func (o FleetSpotOptionsOutput) AllocationStrategy() pulumi.StringPtrOutput
- func (FleetSpotOptionsOutput) ElementType() reflect.Type
- func (o FleetSpotOptionsOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput
- func (o FleetSpotOptionsOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput
- func (o FleetSpotOptionsOutput) MaintenanceStrategies() FleetSpotOptionsMaintenanceStrategiesPtrOutput
- func (o FleetSpotOptionsOutput) ToFleetSpotOptionsOutput() FleetSpotOptionsOutput
- func (o FleetSpotOptionsOutput) ToFleetSpotOptionsOutputWithContext(ctx context.Context) FleetSpotOptionsOutput
- func (o FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput
- func (o FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput
- type FleetSpotOptionsPtrInput
- type FleetSpotOptionsPtrOutput
- func (o FleetSpotOptionsPtrOutput) AllocationStrategy() pulumi.StringPtrOutput
- func (o FleetSpotOptionsPtrOutput) Elem() FleetSpotOptionsOutput
- func (FleetSpotOptionsPtrOutput) ElementType() reflect.Type
- func (o FleetSpotOptionsPtrOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput
- func (o FleetSpotOptionsPtrOutput) InstancePoolsToUseCount() pulumi.IntPtrOutput
- func (o FleetSpotOptionsPtrOutput) MaintenanceStrategies() FleetSpotOptionsMaintenanceStrategiesPtrOutput
- func (o FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput
- func (o FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput
- type FleetState
- type FleetTargetCapacitySpecification
- type FleetTargetCapacitySpecificationArgs
- func (FleetTargetCapacitySpecificationArgs) ElementType() reflect.Type
- func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutput() FleetTargetCapacitySpecificationOutput
- func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationOutput
- func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput
- func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput
- type FleetTargetCapacitySpecificationInput
- type FleetTargetCapacitySpecificationOutput
- func (o FleetTargetCapacitySpecificationOutput) DefaultTargetCapacityType() pulumi.StringOutput
- func (FleetTargetCapacitySpecificationOutput) ElementType() reflect.Type
- func (o FleetTargetCapacitySpecificationOutput) OnDemandTargetCapacity() pulumi.IntPtrOutput
- func (o FleetTargetCapacitySpecificationOutput) SpotTargetCapacity() pulumi.IntPtrOutput
- func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutput() FleetTargetCapacitySpecificationOutput
- func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationOutput
- func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput
- func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput
- func (o FleetTargetCapacitySpecificationOutput) TotalTargetCapacity() pulumi.IntOutput
- type FleetTargetCapacitySpecificationPtrInput
- type FleetTargetCapacitySpecificationPtrOutput
- func (o FleetTargetCapacitySpecificationPtrOutput) DefaultTargetCapacityType() pulumi.StringPtrOutput
- func (o FleetTargetCapacitySpecificationPtrOutput) Elem() FleetTargetCapacitySpecificationOutput
- func (FleetTargetCapacitySpecificationPtrOutput) ElementType() reflect.Type
- func (o FleetTargetCapacitySpecificationPtrOutput) OnDemandTargetCapacity() pulumi.IntPtrOutput
- func (o FleetTargetCapacitySpecificationPtrOutput) SpotTargetCapacity() pulumi.IntPtrOutput
- func (o FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput
- func (o FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput
- func (o FleetTargetCapacitySpecificationPtrOutput) TotalTargetCapacity() pulumi.IntPtrOutput
- type FlowLog
- type FlowLogArgs
- type FlowLogArray
- type FlowLogArrayInput
- type FlowLogArrayOutput
- type FlowLogDestinationOptions
- type FlowLogDestinationOptionsArgs
- func (FlowLogDestinationOptionsArgs) ElementType() reflect.Type
- func (i FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsOutput() FlowLogDestinationOptionsOutput
- func (i FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsOutputWithContext(ctx context.Context) FlowLogDestinationOptionsOutput
- func (i FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsPtrOutput() FlowLogDestinationOptionsPtrOutput
- func (i FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsPtrOutputWithContext(ctx context.Context) FlowLogDestinationOptionsPtrOutput
- type FlowLogDestinationOptionsInput
- type FlowLogDestinationOptionsOutput
- func (FlowLogDestinationOptionsOutput) ElementType() reflect.Type
- func (o FlowLogDestinationOptionsOutput) FileFormat() pulumi.StringPtrOutput
- func (o FlowLogDestinationOptionsOutput) HiveCompatiblePartitions() pulumi.BoolPtrOutput
- func (o FlowLogDestinationOptionsOutput) PerHourPartition() pulumi.BoolPtrOutput
- func (o FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsOutput() FlowLogDestinationOptionsOutput
- func (o FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsOutputWithContext(ctx context.Context) FlowLogDestinationOptionsOutput
- func (o FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsPtrOutput() FlowLogDestinationOptionsPtrOutput
- func (o FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsPtrOutputWithContext(ctx context.Context) FlowLogDestinationOptionsPtrOutput
- type FlowLogDestinationOptionsPtrInput
- type FlowLogDestinationOptionsPtrOutput
- func (o FlowLogDestinationOptionsPtrOutput) Elem() FlowLogDestinationOptionsOutput
- func (FlowLogDestinationOptionsPtrOutput) ElementType() reflect.Type
- func (o FlowLogDestinationOptionsPtrOutput) FileFormat() pulumi.StringPtrOutput
- func (o FlowLogDestinationOptionsPtrOutput) HiveCompatiblePartitions() pulumi.BoolPtrOutput
- func (o FlowLogDestinationOptionsPtrOutput) PerHourPartition() pulumi.BoolPtrOutput
- func (o FlowLogDestinationOptionsPtrOutput) ToFlowLogDestinationOptionsPtrOutput() FlowLogDestinationOptionsPtrOutput
- func (o FlowLogDestinationOptionsPtrOutput) ToFlowLogDestinationOptionsPtrOutputWithContext(ctx context.Context) FlowLogDestinationOptionsPtrOutput
- type FlowLogInput
- type FlowLogMap
- type FlowLogMapInput
- type FlowLogMapOutput
- type FlowLogOutput
- type FlowLogState
- type GetAmiBlockDeviceMapping
- type GetAmiBlockDeviceMappingArgs
- func (GetAmiBlockDeviceMappingArgs) ElementType() reflect.Type
- func (i GetAmiBlockDeviceMappingArgs) ToGetAmiBlockDeviceMappingOutput() GetAmiBlockDeviceMappingOutput
- func (i GetAmiBlockDeviceMappingArgs) ToGetAmiBlockDeviceMappingOutputWithContext(ctx context.Context) GetAmiBlockDeviceMappingOutput
- type GetAmiBlockDeviceMappingArray
- func (GetAmiBlockDeviceMappingArray) ElementType() reflect.Type
- func (i GetAmiBlockDeviceMappingArray) ToGetAmiBlockDeviceMappingArrayOutput() GetAmiBlockDeviceMappingArrayOutput
- func (i GetAmiBlockDeviceMappingArray) ToGetAmiBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetAmiBlockDeviceMappingArrayOutput
- type GetAmiBlockDeviceMappingArrayInput
- type GetAmiBlockDeviceMappingArrayOutput
- func (GetAmiBlockDeviceMappingArrayOutput) ElementType() reflect.Type
- func (o GetAmiBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) GetAmiBlockDeviceMappingOutput
- func (o GetAmiBlockDeviceMappingArrayOutput) ToGetAmiBlockDeviceMappingArrayOutput() GetAmiBlockDeviceMappingArrayOutput
- func (o GetAmiBlockDeviceMappingArrayOutput) ToGetAmiBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetAmiBlockDeviceMappingArrayOutput
- type GetAmiBlockDeviceMappingInput
- type GetAmiBlockDeviceMappingOutput
- func (o GetAmiBlockDeviceMappingOutput) DeviceName() pulumi.StringOutput
- func (o GetAmiBlockDeviceMappingOutput) Ebs() pulumi.StringMapOutput
- func (GetAmiBlockDeviceMappingOutput) ElementType() reflect.Type
- func (o GetAmiBlockDeviceMappingOutput) NoDevice() pulumi.StringOutput
- func (o GetAmiBlockDeviceMappingOutput) ToGetAmiBlockDeviceMappingOutput() GetAmiBlockDeviceMappingOutput
- func (o GetAmiBlockDeviceMappingOutput) ToGetAmiBlockDeviceMappingOutputWithContext(ctx context.Context) GetAmiBlockDeviceMappingOutput
- func (o GetAmiBlockDeviceMappingOutput) VirtualName() pulumi.StringOutput
- type GetAmiFilter
- type GetAmiFilterArgs
- type GetAmiFilterArray
- type GetAmiFilterArrayInput
- type GetAmiFilterArrayOutput
- func (GetAmiFilterArrayOutput) ElementType() reflect.Type
- func (o GetAmiFilterArrayOutput) Index(i pulumi.IntInput) GetAmiFilterOutput
- func (o GetAmiFilterArrayOutput) ToGetAmiFilterArrayOutput() GetAmiFilterArrayOutput
- func (o GetAmiFilterArrayOutput) ToGetAmiFilterArrayOutputWithContext(ctx context.Context) GetAmiFilterArrayOutput
- type GetAmiFilterInput
- type GetAmiFilterOutput
- func (GetAmiFilterOutput) ElementType() reflect.Type
- func (o GetAmiFilterOutput) Name() pulumi.StringOutput
- func (o GetAmiFilterOutput) ToGetAmiFilterOutput() GetAmiFilterOutput
- func (o GetAmiFilterOutput) ToGetAmiFilterOutputWithContext(ctx context.Context) GetAmiFilterOutput
- func (o GetAmiFilterOutput) Values() pulumi.StringArrayOutput
- type GetAmiIdsArgs
- type GetAmiIdsFilter
- type GetAmiIdsFilterArgs
- type GetAmiIdsFilterArray
- type GetAmiIdsFilterArrayInput
- type GetAmiIdsFilterArrayOutput
- func (GetAmiIdsFilterArrayOutput) ElementType() reflect.Type
- func (o GetAmiIdsFilterArrayOutput) Index(i pulumi.IntInput) GetAmiIdsFilterOutput
- func (o GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutput() GetAmiIdsFilterArrayOutput
- func (o GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutputWithContext(ctx context.Context) GetAmiIdsFilterArrayOutput
- type GetAmiIdsFilterInput
- type GetAmiIdsFilterOutput
- func (GetAmiIdsFilterOutput) ElementType() reflect.Type
- func (o GetAmiIdsFilterOutput) Name() pulumi.StringOutput
- func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutput() GetAmiIdsFilterOutput
- func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutputWithContext(ctx context.Context) GetAmiIdsFilterOutput
- func (o GetAmiIdsFilterOutput) Values() pulumi.StringArrayOutput
- type GetAmiIdsOutputArgs
- type GetAmiIdsResult
- type GetAmiIdsResultOutput
- func (GetAmiIdsResultOutput) ElementType() reflect.Type
- func (o GetAmiIdsResultOutput) ExecutableUsers() pulumi.StringArrayOutput
- func (o GetAmiIdsResultOutput) Filters() GetAmiIdsFilterArrayOutput
- func (o GetAmiIdsResultOutput) Id() pulumi.StringOutput
- func (o GetAmiIdsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAmiIdsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAmiIdsResultOutput) Owners() pulumi.StringArrayOutput
- func (o GetAmiIdsResultOutput) SortAscending() pulumi.BoolPtrOutput
- func (o GetAmiIdsResultOutput) ToGetAmiIdsResultOutput() GetAmiIdsResultOutput
- func (o GetAmiIdsResultOutput) ToGetAmiIdsResultOutputWithContext(ctx context.Context) GetAmiIdsResultOutput
- type GetAmiProductCode
- type GetAmiProductCodeArgs
- type GetAmiProductCodeArray
- type GetAmiProductCodeArrayInput
- type GetAmiProductCodeArrayOutput
- func (GetAmiProductCodeArrayOutput) ElementType() reflect.Type
- func (o GetAmiProductCodeArrayOutput) Index(i pulumi.IntInput) GetAmiProductCodeOutput
- func (o GetAmiProductCodeArrayOutput) ToGetAmiProductCodeArrayOutput() GetAmiProductCodeArrayOutput
- func (o GetAmiProductCodeArrayOutput) ToGetAmiProductCodeArrayOutputWithContext(ctx context.Context) GetAmiProductCodeArrayOutput
- type GetAmiProductCodeInput
- type GetAmiProductCodeOutput
- func (GetAmiProductCodeOutput) ElementType() reflect.Type
- func (o GetAmiProductCodeOutput) ProductCodeId() pulumi.StringOutput
- func (o GetAmiProductCodeOutput) ProductCodeType() pulumi.StringOutput
- func (o GetAmiProductCodeOutput) ToGetAmiProductCodeOutput() GetAmiProductCodeOutput
- func (o GetAmiProductCodeOutput) ToGetAmiProductCodeOutputWithContext(ctx context.Context) GetAmiProductCodeOutput
- type GetCoipPoolArgs
- type GetCoipPoolFilter
- type GetCoipPoolFilterArgs
- type GetCoipPoolFilterArray
- type GetCoipPoolFilterArrayInput
- type GetCoipPoolFilterArrayOutput
- func (GetCoipPoolFilterArrayOutput) ElementType() reflect.Type
- func (o GetCoipPoolFilterArrayOutput) Index(i pulumi.IntInput) GetCoipPoolFilterOutput
- func (o GetCoipPoolFilterArrayOutput) ToGetCoipPoolFilterArrayOutput() GetCoipPoolFilterArrayOutput
- func (o GetCoipPoolFilterArrayOutput) ToGetCoipPoolFilterArrayOutputWithContext(ctx context.Context) GetCoipPoolFilterArrayOutput
- type GetCoipPoolFilterInput
- type GetCoipPoolFilterOutput
- func (GetCoipPoolFilterOutput) ElementType() reflect.Type
- func (o GetCoipPoolFilterOutput) Name() pulumi.StringOutput
- func (o GetCoipPoolFilterOutput) ToGetCoipPoolFilterOutput() GetCoipPoolFilterOutput
- func (o GetCoipPoolFilterOutput) ToGetCoipPoolFilterOutputWithContext(ctx context.Context) GetCoipPoolFilterOutput
- func (o GetCoipPoolFilterOutput) Values() pulumi.StringArrayOutput
- type GetCoipPoolOutputArgs
- type GetCoipPoolResult
- type GetCoipPoolResultOutput
- func (o GetCoipPoolResultOutput) Arn() pulumi.StringOutput
- func (GetCoipPoolResultOutput) ElementType() reflect.Type
- func (o GetCoipPoolResultOutput) Filters() GetCoipPoolFilterArrayOutput
- func (o GetCoipPoolResultOutput) Id() pulumi.StringOutput
- func (o GetCoipPoolResultOutput) LocalGatewayRouteTableId() pulumi.StringOutput
- func (o GetCoipPoolResultOutput) PoolCidrs() pulumi.StringArrayOutput
- func (o GetCoipPoolResultOutput) PoolId() pulumi.StringOutput
- func (o GetCoipPoolResultOutput) Tags() pulumi.StringMapOutput
- func (o GetCoipPoolResultOutput) ToGetCoipPoolResultOutput() GetCoipPoolResultOutput
- func (o GetCoipPoolResultOutput) ToGetCoipPoolResultOutputWithContext(ctx context.Context) GetCoipPoolResultOutput
- type GetCoipPoolsArgs
- type GetCoipPoolsFilter
- type GetCoipPoolsFilterArgs
- type GetCoipPoolsFilterArray
- type GetCoipPoolsFilterArrayInput
- type GetCoipPoolsFilterArrayOutput
- func (GetCoipPoolsFilterArrayOutput) ElementType() reflect.Type
- func (o GetCoipPoolsFilterArrayOutput) Index(i pulumi.IntInput) GetCoipPoolsFilterOutput
- func (o GetCoipPoolsFilterArrayOutput) ToGetCoipPoolsFilterArrayOutput() GetCoipPoolsFilterArrayOutput
- func (o GetCoipPoolsFilterArrayOutput) ToGetCoipPoolsFilterArrayOutputWithContext(ctx context.Context) GetCoipPoolsFilterArrayOutput
- type GetCoipPoolsFilterInput
- type GetCoipPoolsFilterOutput
- func (GetCoipPoolsFilterOutput) ElementType() reflect.Type
- func (o GetCoipPoolsFilterOutput) Name() pulumi.StringOutput
- func (o GetCoipPoolsFilterOutput) ToGetCoipPoolsFilterOutput() GetCoipPoolsFilterOutput
- func (o GetCoipPoolsFilterOutput) ToGetCoipPoolsFilterOutputWithContext(ctx context.Context) GetCoipPoolsFilterOutput
- func (o GetCoipPoolsFilterOutput) Values() pulumi.StringArrayOutput
- type GetCoipPoolsOutputArgs
- type GetCoipPoolsResult
- type GetCoipPoolsResultOutput
- func (GetCoipPoolsResultOutput) ElementType() reflect.Type
- func (o GetCoipPoolsResultOutput) Filters() GetCoipPoolsFilterArrayOutput
- func (o GetCoipPoolsResultOutput) Id() pulumi.StringOutput
- func (o GetCoipPoolsResultOutput) PoolIds() pulumi.StringArrayOutput
- func (o GetCoipPoolsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetCoipPoolsResultOutput) ToGetCoipPoolsResultOutput() GetCoipPoolsResultOutput
- func (o GetCoipPoolsResultOutput) ToGetCoipPoolsResultOutputWithContext(ctx context.Context) GetCoipPoolsResultOutput
- type GetCustomerGatewayFilter
- type GetCustomerGatewayFilterArgs
- func (GetCustomerGatewayFilterArgs) ElementType() reflect.Type
- func (i GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutput() GetCustomerGatewayFilterOutput
- func (i GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutputWithContext(ctx context.Context) GetCustomerGatewayFilterOutput
- type GetCustomerGatewayFilterArray
- func (GetCustomerGatewayFilterArray) ElementType() reflect.Type
- func (i GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutput() GetCustomerGatewayFilterArrayOutput
- func (i GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutputWithContext(ctx context.Context) GetCustomerGatewayFilterArrayOutput
- type GetCustomerGatewayFilterArrayInput
- type GetCustomerGatewayFilterArrayOutput
- func (GetCustomerGatewayFilterArrayOutput) ElementType() reflect.Type
- func (o GetCustomerGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetCustomerGatewayFilterOutput
- func (o GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutput() GetCustomerGatewayFilterArrayOutput
- func (o GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutputWithContext(ctx context.Context) GetCustomerGatewayFilterArrayOutput
- type GetCustomerGatewayFilterInput
- type GetCustomerGatewayFilterOutput
- func (GetCustomerGatewayFilterOutput) ElementType() reflect.Type
- func (o GetCustomerGatewayFilterOutput) Name() pulumi.StringOutput
- func (o GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutput() GetCustomerGatewayFilterOutput
- func (o GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutputWithContext(ctx context.Context) GetCustomerGatewayFilterOutput
- func (o GetCustomerGatewayFilterOutput) Values() pulumi.StringArrayOutput
- type GetDedicatedHostFilter
- type GetDedicatedHostFilterArgs
- type GetDedicatedHostFilterArray
- func (GetDedicatedHostFilterArray) ElementType() reflect.Type
- func (i GetDedicatedHostFilterArray) ToGetDedicatedHostFilterArrayOutput() GetDedicatedHostFilterArrayOutput
- func (i GetDedicatedHostFilterArray) ToGetDedicatedHostFilterArrayOutputWithContext(ctx context.Context) GetDedicatedHostFilterArrayOutput
- type GetDedicatedHostFilterArrayInput
- type GetDedicatedHostFilterArrayOutput
- func (GetDedicatedHostFilterArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostFilterArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostFilterOutput
- func (o GetDedicatedHostFilterArrayOutput) ToGetDedicatedHostFilterArrayOutput() GetDedicatedHostFilterArrayOutput
- func (o GetDedicatedHostFilterArrayOutput) ToGetDedicatedHostFilterArrayOutputWithContext(ctx context.Context) GetDedicatedHostFilterArrayOutput
- type GetDedicatedHostFilterInput
- type GetDedicatedHostFilterOutput
- func (GetDedicatedHostFilterOutput) ElementType() reflect.Type
- func (o GetDedicatedHostFilterOutput) Name() pulumi.StringOutput
- func (o GetDedicatedHostFilterOutput) ToGetDedicatedHostFilterOutput() GetDedicatedHostFilterOutput
- func (o GetDedicatedHostFilterOutput) ToGetDedicatedHostFilterOutputWithContext(ctx context.Context) GetDedicatedHostFilterOutput
- func (o GetDedicatedHostFilterOutput) Values() pulumi.StringArrayOutput
- type GetEipsArgs
- type GetEipsFilter
- type GetEipsFilterArgs
- type GetEipsFilterArray
- type GetEipsFilterArrayInput
- type GetEipsFilterArrayOutput
- func (GetEipsFilterArrayOutput) ElementType() reflect.Type
- func (o GetEipsFilterArrayOutput) Index(i pulumi.IntInput) GetEipsFilterOutput
- func (o GetEipsFilterArrayOutput) ToGetEipsFilterArrayOutput() GetEipsFilterArrayOutput
- func (o GetEipsFilterArrayOutput) ToGetEipsFilterArrayOutputWithContext(ctx context.Context) GetEipsFilterArrayOutput
- type GetEipsFilterInput
- type GetEipsFilterOutput
- func (GetEipsFilterOutput) ElementType() reflect.Type
- func (o GetEipsFilterOutput) Name() pulumi.StringOutput
- func (o GetEipsFilterOutput) ToGetEipsFilterOutput() GetEipsFilterOutput
- func (o GetEipsFilterOutput) ToGetEipsFilterOutputWithContext(ctx context.Context) GetEipsFilterOutput
- func (o GetEipsFilterOutput) Values() pulumi.StringArrayOutput
- type GetEipsOutputArgs
- type GetEipsResult
- type GetEipsResultOutput
- func (o GetEipsResultOutput) AllocationIds() pulumi.StringArrayOutput
- func (GetEipsResultOutput) ElementType() reflect.Type
- func (o GetEipsResultOutput) Filters() GetEipsFilterArrayOutput
- func (o GetEipsResultOutput) Id() pulumi.StringOutput
- func (o GetEipsResultOutput) PublicIps() pulumi.StringArrayOutput
- func (o GetEipsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetEipsResultOutput) ToGetEipsResultOutput() GetEipsResultOutput
- func (o GetEipsResultOutput) ToGetEipsResultOutputWithContext(ctx context.Context) GetEipsResultOutput
- type GetElasticIpArgs
- type GetElasticIpFilter
- type GetElasticIpFilterArgs
- type GetElasticIpFilterArray
- type GetElasticIpFilterArrayInput
- type GetElasticIpFilterArrayOutput
- func (GetElasticIpFilterArrayOutput) ElementType() reflect.Type
- func (o GetElasticIpFilterArrayOutput) Index(i pulumi.IntInput) GetElasticIpFilterOutput
- func (o GetElasticIpFilterArrayOutput) ToGetElasticIpFilterArrayOutput() GetElasticIpFilterArrayOutput
- func (o GetElasticIpFilterArrayOutput) ToGetElasticIpFilterArrayOutputWithContext(ctx context.Context) GetElasticIpFilterArrayOutput
- type GetElasticIpFilterInput
- type GetElasticIpFilterOutput
- func (GetElasticIpFilterOutput) ElementType() reflect.Type
- func (o GetElasticIpFilterOutput) Name() pulumi.StringOutput
- func (o GetElasticIpFilterOutput) ToGetElasticIpFilterOutput() GetElasticIpFilterOutput
- func (o GetElasticIpFilterOutput) ToGetElasticIpFilterOutputWithContext(ctx context.Context) GetElasticIpFilterOutput
- func (o GetElasticIpFilterOutput) Values() pulumi.StringArrayOutput
- type GetElasticIpOutputArgs
- type GetElasticIpResult
- type GetElasticIpResultOutput
- func (o GetElasticIpResultOutput) AssociationId() pulumi.StringOutput
- func (o GetElasticIpResultOutput) CarrierIp() pulumi.StringOutput
- func (o GetElasticIpResultOutput) CustomerOwnedIp() pulumi.StringOutput
- func (o GetElasticIpResultOutput) CustomerOwnedIpv4Pool() pulumi.StringOutput
- func (o GetElasticIpResultOutput) Domain() pulumi.StringOutput
- func (GetElasticIpResultOutput) ElementType() reflect.Type
- func (o GetElasticIpResultOutput) Filters() GetElasticIpFilterArrayOutput
- func (o GetElasticIpResultOutput) Id() pulumi.StringOutput
- func (o GetElasticIpResultOutput) InstanceId() pulumi.StringOutput
- func (o GetElasticIpResultOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o GetElasticIpResultOutput) NetworkInterfaceOwnerId() pulumi.StringOutput
- func (o GetElasticIpResultOutput) PrivateDns() pulumi.StringOutput
- func (o GetElasticIpResultOutput) PrivateIp() pulumi.StringOutput
- func (o GetElasticIpResultOutput) PublicDns() pulumi.StringOutput
- func (o GetElasticIpResultOutput) PublicIp() pulumi.StringOutput
- func (o GetElasticIpResultOutput) PublicIpv4Pool() pulumi.StringOutput
- func (o GetElasticIpResultOutput) Tags() pulumi.StringMapOutput
- func (o GetElasticIpResultOutput) ToGetElasticIpResultOutput() GetElasticIpResultOutput
- func (o GetElasticIpResultOutput) ToGetElasticIpResultOutputWithContext(ctx context.Context) GetElasticIpResultOutput
- type GetInstanceCreditSpecification
- type GetInstanceCreditSpecificationArgs
- func (GetInstanceCreditSpecificationArgs) ElementType() reflect.Type
- func (i GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutput() GetInstanceCreditSpecificationOutput
- func (i GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationOutput
- type GetInstanceCreditSpecificationArray
- func (GetInstanceCreditSpecificationArray) ElementType() reflect.Type
- func (i GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutput() GetInstanceCreditSpecificationArrayOutput
- func (i GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationArrayOutput
- type GetInstanceCreditSpecificationArrayInput
- type GetInstanceCreditSpecificationArrayOutput
- func (GetInstanceCreditSpecificationArrayOutput) ElementType() reflect.Type
- func (o GetInstanceCreditSpecificationArrayOutput) Index(i pulumi.IntInput) GetInstanceCreditSpecificationOutput
- func (o GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutput() GetInstanceCreditSpecificationArrayOutput
- func (o GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationArrayOutput
- type GetInstanceCreditSpecificationInput
- type GetInstanceCreditSpecificationOutput
- func (o GetInstanceCreditSpecificationOutput) CpuCredits() pulumi.StringOutput
- func (GetInstanceCreditSpecificationOutput) ElementType() reflect.Type
- func (o GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutput() GetInstanceCreditSpecificationOutput
- func (o GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationOutput
- type GetInstanceEbsBlockDevice
- type GetInstanceEbsBlockDeviceArgs
- func (GetInstanceEbsBlockDeviceArgs) ElementType() reflect.Type
- func (i GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutput() GetInstanceEbsBlockDeviceOutput
- func (i GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceOutput
- type GetInstanceEbsBlockDeviceArray
- func (GetInstanceEbsBlockDeviceArray) ElementType() reflect.Type
- func (i GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutput() GetInstanceEbsBlockDeviceArrayOutput
- func (i GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceArrayOutput
- type GetInstanceEbsBlockDeviceArrayInput
- type GetInstanceEbsBlockDeviceArrayOutput
- func (GetInstanceEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o GetInstanceEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) GetInstanceEbsBlockDeviceOutput
- func (o GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutput() GetInstanceEbsBlockDeviceArrayOutput
- func (o GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceArrayOutput
- type GetInstanceEbsBlockDeviceInput
- type GetInstanceEbsBlockDeviceOutput
- func (o GetInstanceEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput
- func (o GetInstanceEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (GetInstanceEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o GetInstanceEbsBlockDeviceOutput) Encrypted() pulumi.BoolOutput
- func (o GetInstanceEbsBlockDeviceOutput) Iops() pulumi.IntOutput
- func (o GetInstanceEbsBlockDeviceOutput) KmsKeyId() pulumi.StringOutput
- func (o GetInstanceEbsBlockDeviceOutput) SnapshotId() pulumi.StringOutput
- func (o GetInstanceEbsBlockDeviceOutput) Tags() pulumi.StringMapOutput
- func (o GetInstanceEbsBlockDeviceOutput) Throughput() pulumi.IntOutput
- func (o GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutput() GetInstanceEbsBlockDeviceOutput
- func (o GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceOutput
- func (o GetInstanceEbsBlockDeviceOutput) VolumeId() pulumi.StringOutput
- func (o GetInstanceEbsBlockDeviceOutput) VolumeSize() pulumi.IntOutput
- func (o GetInstanceEbsBlockDeviceOutput) VolumeType() pulumi.StringOutput
- type GetInstanceEnclaveOption
- type GetInstanceEnclaveOptionArgs
- func (GetInstanceEnclaveOptionArgs) ElementType() reflect.Type
- func (i GetInstanceEnclaveOptionArgs) ToGetInstanceEnclaveOptionOutput() GetInstanceEnclaveOptionOutput
- func (i GetInstanceEnclaveOptionArgs) ToGetInstanceEnclaveOptionOutputWithContext(ctx context.Context) GetInstanceEnclaveOptionOutput
- type GetInstanceEnclaveOptionArray
- func (GetInstanceEnclaveOptionArray) ElementType() reflect.Type
- func (i GetInstanceEnclaveOptionArray) ToGetInstanceEnclaveOptionArrayOutput() GetInstanceEnclaveOptionArrayOutput
- func (i GetInstanceEnclaveOptionArray) ToGetInstanceEnclaveOptionArrayOutputWithContext(ctx context.Context) GetInstanceEnclaveOptionArrayOutput
- type GetInstanceEnclaveOptionArrayInput
- type GetInstanceEnclaveOptionArrayOutput
- func (GetInstanceEnclaveOptionArrayOutput) ElementType() reflect.Type
- func (o GetInstanceEnclaveOptionArrayOutput) Index(i pulumi.IntInput) GetInstanceEnclaveOptionOutput
- func (o GetInstanceEnclaveOptionArrayOutput) ToGetInstanceEnclaveOptionArrayOutput() GetInstanceEnclaveOptionArrayOutput
- func (o GetInstanceEnclaveOptionArrayOutput) ToGetInstanceEnclaveOptionArrayOutputWithContext(ctx context.Context) GetInstanceEnclaveOptionArrayOutput
- type GetInstanceEnclaveOptionInput
- type GetInstanceEnclaveOptionOutput
- func (GetInstanceEnclaveOptionOutput) ElementType() reflect.Type
- func (o GetInstanceEnclaveOptionOutput) Enabled() pulumi.BoolOutput
- func (o GetInstanceEnclaveOptionOutput) ToGetInstanceEnclaveOptionOutput() GetInstanceEnclaveOptionOutput
- func (o GetInstanceEnclaveOptionOutput) ToGetInstanceEnclaveOptionOutputWithContext(ctx context.Context) GetInstanceEnclaveOptionOutput
- type GetInstanceEphemeralBlockDevice
- type GetInstanceEphemeralBlockDeviceArgs
- func (GetInstanceEphemeralBlockDeviceArgs) ElementType() reflect.Type
- func (i GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutput() GetInstanceEphemeralBlockDeviceOutput
- func (i GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceOutput
- type GetInstanceEphemeralBlockDeviceArray
- func (GetInstanceEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutput() GetInstanceEphemeralBlockDeviceArrayOutput
- func (i GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceArrayOutput
- type GetInstanceEphemeralBlockDeviceArrayInput
- type GetInstanceEphemeralBlockDeviceArrayOutput
- func (GetInstanceEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o GetInstanceEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) GetInstanceEphemeralBlockDeviceOutput
- func (o GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutput() GetInstanceEphemeralBlockDeviceArrayOutput
- func (o GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceArrayOutput
- type GetInstanceEphemeralBlockDeviceInput
- type GetInstanceEphemeralBlockDeviceOutput
- func (o GetInstanceEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (GetInstanceEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o GetInstanceEphemeralBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
- func (o GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutput() GetInstanceEphemeralBlockDeviceOutput
- func (o GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceOutput
- func (o GetInstanceEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
- type GetInstanceFilter
- type GetInstanceFilterArgs
- type GetInstanceFilterArray
- type GetInstanceFilterArrayInput
- type GetInstanceFilterArrayOutput
- func (GetInstanceFilterArrayOutput) ElementType() reflect.Type
- func (o GetInstanceFilterArrayOutput) Index(i pulumi.IntInput) GetInstanceFilterOutput
- func (o GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput
- func (o GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutputWithContext(ctx context.Context) GetInstanceFilterArrayOutput
- type GetInstanceFilterInput
- type GetInstanceFilterOutput
- func (GetInstanceFilterOutput) ElementType() reflect.Type
- func (o GetInstanceFilterOutput) Name() pulumi.StringOutput
- func (o GetInstanceFilterOutput) ToGetInstanceFilterOutput() GetInstanceFilterOutput
- func (o GetInstanceFilterOutput) ToGetInstanceFilterOutputWithContext(ctx context.Context) GetInstanceFilterOutput
- func (o GetInstanceFilterOutput) Values() pulumi.StringArrayOutput
- type GetInstanceMetadataOption
- type GetInstanceMetadataOptionArgs
- func (GetInstanceMetadataOptionArgs) ElementType() reflect.Type
- func (i GetInstanceMetadataOptionArgs) ToGetInstanceMetadataOptionOutput() GetInstanceMetadataOptionOutput
- func (i GetInstanceMetadataOptionArgs) ToGetInstanceMetadataOptionOutputWithContext(ctx context.Context) GetInstanceMetadataOptionOutput
- type GetInstanceMetadataOptionArray
- func (GetInstanceMetadataOptionArray) ElementType() reflect.Type
- func (i GetInstanceMetadataOptionArray) ToGetInstanceMetadataOptionArrayOutput() GetInstanceMetadataOptionArrayOutput
- func (i GetInstanceMetadataOptionArray) ToGetInstanceMetadataOptionArrayOutputWithContext(ctx context.Context) GetInstanceMetadataOptionArrayOutput
- type GetInstanceMetadataOptionArrayInput
- type GetInstanceMetadataOptionArrayOutput
- func (GetInstanceMetadataOptionArrayOutput) ElementType() reflect.Type
- func (o GetInstanceMetadataOptionArrayOutput) Index(i pulumi.IntInput) GetInstanceMetadataOptionOutput
- func (o GetInstanceMetadataOptionArrayOutput) ToGetInstanceMetadataOptionArrayOutput() GetInstanceMetadataOptionArrayOutput
- func (o GetInstanceMetadataOptionArrayOutput) ToGetInstanceMetadataOptionArrayOutputWithContext(ctx context.Context) GetInstanceMetadataOptionArrayOutput
- type GetInstanceMetadataOptionInput
- type GetInstanceMetadataOptionOutput
- func (GetInstanceMetadataOptionOutput) ElementType() reflect.Type
- func (o GetInstanceMetadataOptionOutput) HttpEndpoint() pulumi.StringOutput
- func (o GetInstanceMetadataOptionOutput) HttpPutResponseHopLimit() pulumi.IntOutput
- func (o GetInstanceMetadataOptionOutput) HttpTokens() pulumi.StringOutput
- func (o GetInstanceMetadataOptionOutput) InstanceMetadataTags() pulumi.StringOutput
- func (o GetInstanceMetadataOptionOutput) ToGetInstanceMetadataOptionOutput() GetInstanceMetadataOptionOutput
- func (o GetInstanceMetadataOptionOutput) ToGetInstanceMetadataOptionOutputWithContext(ctx context.Context) GetInstanceMetadataOptionOutput
- type GetInstanceRootBlockDevice
- type GetInstanceRootBlockDeviceArgs
- func (GetInstanceRootBlockDeviceArgs) ElementType() reflect.Type
- func (i GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutput() GetInstanceRootBlockDeviceOutput
- func (i GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceOutput
- type GetInstanceRootBlockDeviceArray
- func (GetInstanceRootBlockDeviceArray) ElementType() reflect.Type
- func (i GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutput() GetInstanceRootBlockDeviceArrayOutput
- func (i GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceArrayOutput
- type GetInstanceRootBlockDeviceArrayInput
- type GetInstanceRootBlockDeviceArrayOutput
- func (GetInstanceRootBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o GetInstanceRootBlockDeviceArrayOutput) Index(i pulumi.IntInput) GetInstanceRootBlockDeviceOutput
- func (o GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutput() GetInstanceRootBlockDeviceArrayOutput
- func (o GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceArrayOutput
- type GetInstanceRootBlockDeviceInput
- type GetInstanceRootBlockDeviceOutput
- func (o GetInstanceRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput
- func (o GetInstanceRootBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (GetInstanceRootBlockDeviceOutput) ElementType() reflect.Type
- func (o GetInstanceRootBlockDeviceOutput) Encrypted() pulumi.BoolOutput
- func (o GetInstanceRootBlockDeviceOutput) Iops() pulumi.IntOutput
- func (o GetInstanceRootBlockDeviceOutput) KmsKeyId() pulumi.StringOutput
- func (o GetInstanceRootBlockDeviceOutput) Tags() pulumi.StringMapOutput
- func (o GetInstanceRootBlockDeviceOutput) Throughput() pulumi.IntOutput
- func (o GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutput() GetInstanceRootBlockDeviceOutput
- func (o GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceOutput
- func (o GetInstanceRootBlockDeviceOutput) VolumeId() pulumi.StringOutput
- func (o GetInstanceRootBlockDeviceOutput) VolumeSize() pulumi.IntOutput
- func (o GetInstanceRootBlockDeviceOutput) VolumeType() pulumi.StringOutput
- type GetInstanceTypeArgs
- type GetInstanceTypeFpga
- type GetInstanceTypeFpgaArgs
- type GetInstanceTypeFpgaArray
- type GetInstanceTypeFpgaArrayInput
- type GetInstanceTypeFpgaArrayOutput
- func (GetInstanceTypeFpgaArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypeFpgaArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeFpgaOutput
- func (o GetInstanceTypeFpgaArrayOutput) ToGetInstanceTypeFpgaArrayOutput() GetInstanceTypeFpgaArrayOutput
- func (o GetInstanceTypeFpgaArrayOutput) ToGetInstanceTypeFpgaArrayOutputWithContext(ctx context.Context) GetInstanceTypeFpgaArrayOutput
- type GetInstanceTypeFpgaInput
- type GetInstanceTypeFpgaOutput
- func (o GetInstanceTypeFpgaOutput) Count() pulumi.IntOutput
- func (GetInstanceTypeFpgaOutput) ElementType() reflect.Type
- func (o GetInstanceTypeFpgaOutput) Manufacturer() pulumi.StringOutput
- func (o GetInstanceTypeFpgaOutput) MemorySize() pulumi.IntOutput
- func (o GetInstanceTypeFpgaOutput) Name() pulumi.StringOutput
- func (o GetInstanceTypeFpgaOutput) ToGetInstanceTypeFpgaOutput() GetInstanceTypeFpgaOutput
- func (o GetInstanceTypeFpgaOutput) ToGetInstanceTypeFpgaOutputWithContext(ctx context.Context) GetInstanceTypeFpgaOutput
- type GetInstanceTypeGpus
- type GetInstanceTypeGpusArgs
- type GetInstanceTypeGpusArray
- type GetInstanceTypeGpusArrayInput
- type GetInstanceTypeGpusArrayOutput
- func (GetInstanceTypeGpusArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypeGpusArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeGpusOutput
- func (o GetInstanceTypeGpusArrayOutput) ToGetInstanceTypeGpusArrayOutput() GetInstanceTypeGpusArrayOutput
- func (o GetInstanceTypeGpusArrayOutput) ToGetInstanceTypeGpusArrayOutputWithContext(ctx context.Context) GetInstanceTypeGpusArrayOutput
- type GetInstanceTypeGpusInput
- type GetInstanceTypeGpusOutput
- func (o GetInstanceTypeGpusOutput) Count() pulumi.IntOutput
- func (GetInstanceTypeGpusOutput) ElementType() reflect.Type
- func (o GetInstanceTypeGpusOutput) Manufacturer() pulumi.StringOutput
- func (o GetInstanceTypeGpusOutput) MemorySize() pulumi.IntOutput
- func (o GetInstanceTypeGpusOutput) Name() pulumi.StringOutput
- func (o GetInstanceTypeGpusOutput) ToGetInstanceTypeGpusOutput() GetInstanceTypeGpusOutput
- func (o GetInstanceTypeGpusOutput) ToGetInstanceTypeGpusOutputWithContext(ctx context.Context) GetInstanceTypeGpusOutput
- type GetInstanceTypeInferenceAccelerator
- type GetInstanceTypeInferenceAcceleratorArgs
- func (GetInstanceTypeInferenceAcceleratorArgs) ElementType() reflect.Type
- func (i GetInstanceTypeInferenceAcceleratorArgs) ToGetInstanceTypeInferenceAcceleratorOutput() GetInstanceTypeInferenceAcceleratorOutput
- func (i GetInstanceTypeInferenceAcceleratorArgs) ToGetInstanceTypeInferenceAcceleratorOutputWithContext(ctx context.Context) GetInstanceTypeInferenceAcceleratorOutput
- type GetInstanceTypeInferenceAcceleratorArray
- func (GetInstanceTypeInferenceAcceleratorArray) ElementType() reflect.Type
- func (i GetInstanceTypeInferenceAcceleratorArray) ToGetInstanceTypeInferenceAcceleratorArrayOutput() GetInstanceTypeInferenceAcceleratorArrayOutput
- func (i GetInstanceTypeInferenceAcceleratorArray) ToGetInstanceTypeInferenceAcceleratorArrayOutputWithContext(ctx context.Context) GetInstanceTypeInferenceAcceleratorArrayOutput
- type GetInstanceTypeInferenceAcceleratorArrayInput
- type GetInstanceTypeInferenceAcceleratorArrayOutput
- func (GetInstanceTypeInferenceAcceleratorArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypeInferenceAcceleratorArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeInferenceAcceleratorOutput
- func (o GetInstanceTypeInferenceAcceleratorArrayOutput) ToGetInstanceTypeInferenceAcceleratorArrayOutput() GetInstanceTypeInferenceAcceleratorArrayOutput
- func (o GetInstanceTypeInferenceAcceleratorArrayOutput) ToGetInstanceTypeInferenceAcceleratorArrayOutputWithContext(ctx context.Context) GetInstanceTypeInferenceAcceleratorArrayOutput
- type GetInstanceTypeInferenceAcceleratorInput
- type GetInstanceTypeInferenceAcceleratorOutput
- func (o GetInstanceTypeInferenceAcceleratorOutput) Count() pulumi.IntOutput
- func (GetInstanceTypeInferenceAcceleratorOutput) ElementType() reflect.Type
- func (o GetInstanceTypeInferenceAcceleratorOutput) Manufacturer() pulumi.StringOutput
- func (o GetInstanceTypeInferenceAcceleratorOutput) Name() pulumi.StringOutput
- func (o GetInstanceTypeInferenceAcceleratorOutput) ToGetInstanceTypeInferenceAcceleratorOutput() GetInstanceTypeInferenceAcceleratorOutput
- func (o GetInstanceTypeInferenceAcceleratorOutput) ToGetInstanceTypeInferenceAcceleratorOutputWithContext(ctx context.Context) GetInstanceTypeInferenceAcceleratorOutput
- type GetInstanceTypeInstanceDisk
- type GetInstanceTypeInstanceDiskArgs
- func (GetInstanceTypeInstanceDiskArgs) ElementType() reflect.Type
- func (i GetInstanceTypeInstanceDiskArgs) ToGetInstanceTypeInstanceDiskOutput() GetInstanceTypeInstanceDiskOutput
- func (i GetInstanceTypeInstanceDiskArgs) ToGetInstanceTypeInstanceDiskOutputWithContext(ctx context.Context) GetInstanceTypeInstanceDiskOutput
- type GetInstanceTypeInstanceDiskArray
- func (GetInstanceTypeInstanceDiskArray) ElementType() reflect.Type
- func (i GetInstanceTypeInstanceDiskArray) ToGetInstanceTypeInstanceDiskArrayOutput() GetInstanceTypeInstanceDiskArrayOutput
- func (i GetInstanceTypeInstanceDiskArray) ToGetInstanceTypeInstanceDiskArrayOutputWithContext(ctx context.Context) GetInstanceTypeInstanceDiskArrayOutput
- type GetInstanceTypeInstanceDiskArrayInput
- type GetInstanceTypeInstanceDiskArrayOutput
- func (GetInstanceTypeInstanceDiskArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypeInstanceDiskArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeInstanceDiskOutput
- func (o GetInstanceTypeInstanceDiskArrayOutput) ToGetInstanceTypeInstanceDiskArrayOutput() GetInstanceTypeInstanceDiskArrayOutput
- func (o GetInstanceTypeInstanceDiskArrayOutput) ToGetInstanceTypeInstanceDiskArrayOutputWithContext(ctx context.Context) GetInstanceTypeInstanceDiskArrayOutput
- type GetInstanceTypeInstanceDiskInput
- type GetInstanceTypeInstanceDiskOutput
- func (o GetInstanceTypeInstanceDiskOutput) Count() pulumi.IntOutput
- func (GetInstanceTypeInstanceDiskOutput) ElementType() reflect.Type
- func (o GetInstanceTypeInstanceDiskOutput) Size() pulumi.IntOutput
- func (o GetInstanceTypeInstanceDiskOutput) ToGetInstanceTypeInstanceDiskOutput() GetInstanceTypeInstanceDiskOutput
- func (o GetInstanceTypeInstanceDiskOutput) ToGetInstanceTypeInstanceDiskOutputWithContext(ctx context.Context) GetInstanceTypeInstanceDiskOutput
- func (o GetInstanceTypeInstanceDiskOutput) Type() pulumi.StringOutput
- type GetInstanceTypeOfferingArgs
- type GetInstanceTypeOfferingFilter
- type GetInstanceTypeOfferingFilterArgs
- func (GetInstanceTypeOfferingFilterArgs) ElementType() reflect.Type
- func (i GetInstanceTypeOfferingFilterArgs) ToGetInstanceTypeOfferingFilterOutput() GetInstanceTypeOfferingFilterOutput
- func (i GetInstanceTypeOfferingFilterArgs) ToGetInstanceTypeOfferingFilterOutputWithContext(ctx context.Context) GetInstanceTypeOfferingFilterOutput
- type GetInstanceTypeOfferingFilterArray
- func (GetInstanceTypeOfferingFilterArray) ElementType() reflect.Type
- func (i GetInstanceTypeOfferingFilterArray) ToGetInstanceTypeOfferingFilterArrayOutput() GetInstanceTypeOfferingFilterArrayOutput
- func (i GetInstanceTypeOfferingFilterArray) ToGetInstanceTypeOfferingFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypeOfferingFilterArrayOutput
- type GetInstanceTypeOfferingFilterArrayInput
- type GetInstanceTypeOfferingFilterArrayOutput
- func (GetInstanceTypeOfferingFilterArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypeOfferingFilterArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeOfferingFilterOutput
- func (o GetInstanceTypeOfferingFilterArrayOutput) ToGetInstanceTypeOfferingFilterArrayOutput() GetInstanceTypeOfferingFilterArrayOutput
- func (o GetInstanceTypeOfferingFilterArrayOutput) ToGetInstanceTypeOfferingFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypeOfferingFilterArrayOutput
- type GetInstanceTypeOfferingFilterInput
- type GetInstanceTypeOfferingFilterOutput
- func (GetInstanceTypeOfferingFilterOutput) ElementType() reflect.Type
- func (o GetInstanceTypeOfferingFilterOutput) Name() pulumi.StringOutput
- func (o GetInstanceTypeOfferingFilterOutput) ToGetInstanceTypeOfferingFilterOutput() GetInstanceTypeOfferingFilterOutput
- func (o GetInstanceTypeOfferingFilterOutput) ToGetInstanceTypeOfferingFilterOutputWithContext(ctx context.Context) GetInstanceTypeOfferingFilterOutput
- func (o GetInstanceTypeOfferingFilterOutput) Values() pulumi.StringArrayOutput
- type GetInstanceTypeOfferingOutputArgs
- type GetInstanceTypeOfferingResult
- type GetInstanceTypeOfferingResultOutput
- func (GetInstanceTypeOfferingResultOutput) ElementType() reflect.Type
- func (o GetInstanceTypeOfferingResultOutput) Filters() GetInstanceTypeOfferingFilterArrayOutput
- func (o GetInstanceTypeOfferingResultOutput) Id() pulumi.StringOutput
- func (o GetInstanceTypeOfferingResultOutput) InstanceType() pulumi.StringOutput
- func (o GetInstanceTypeOfferingResultOutput) LocationType() pulumi.StringPtrOutput
- func (o GetInstanceTypeOfferingResultOutput) PreferredInstanceTypes() pulumi.StringArrayOutput
- func (o GetInstanceTypeOfferingResultOutput) ToGetInstanceTypeOfferingResultOutput() GetInstanceTypeOfferingResultOutput
- func (o GetInstanceTypeOfferingResultOutput) ToGetInstanceTypeOfferingResultOutputWithContext(ctx context.Context) GetInstanceTypeOfferingResultOutput
- type GetInstanceTypeOfferingsArgs
- type GetInstanceTypeOfferingsFilter
- type GetInstanceTypeOfferingsFilterArgs
- func (GetInstanceTypeOfferingsFilterArgs) ElementType() reflect.Type
- func (i GetInstanceTypeOfferingsFilterArgs) ToGetInstanceTypeOfferingsFilterOutput() GetInstanceTypeOfferingsFilterOutput
- func (i GetInstanceTypeOfferingsFilterArgs) ToGetInstanceTypeOfferingsFilterOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsFilterOutput
- type GetInstanceTypeOfferingsFilterArray
- func (GetInstanceTypeOfferingsFilterArray) ElementType() reflect.Type
- func (i GetInstanceTypeOfferingsFilterArray) ToGetInstanceTypeOfferingsFilterArrayOutput() GetInstanceTypeOfferingsFilterArrayOutput
- func (i GetInstanceTypeOfferingsFilterArray) ToGetInstanceTypeOfferingsFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsFilterArrayOutput
- type GetInstanceTypeOfferingsFilterArrayInput
- type GetInstanceTypeOfferingsFilterArrayOutput
- func (GetInstanceTypeOfferingsFilterArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypeOfferingsFilterArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeOfferingsFilterOutput
- func (o GetInstanceTypeOfferingsFilterArrayOutput) ToGetInstanceTypeOfferingsFilterArrayOutput() GetInstanceTypeOfferingsFilterArrayOutput
- func (o GetInstanceTypeOfferingsFilterArrayOutput) ToGetInstanceTypeOfferingsFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsFilterArrayOutput
- type GetInstanceTypeOfferingsFilterInput
- type GetInstanceTypeOfferingsFilterOutput
- func (GetInstanceTypeOfferingsFilterOutput) ElementType() reflect.Type
- func (o GetInstanceTypeOfferingsFilterOutput) Name() pulumi.StringOutput
- func (o GetInstanceTypeOfferingsFilterOutput) ToGetInstanceTypeOfferingsFilterOutput() GetInstanceTypeOfferingsFilterOutput
- func (o GetInstanceTypeOfferingsFilterOutput) ToGetInstanceTypeOfferingsFilterOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsFilterOutput
- func (o GetInstanceTypeOfferingsFilterOutput) Values() pulumi.StringArrayOutput
- type GetInstanceTypeOfferingsOutputArgs
- type GetInstanceTypeOfferingsResult
- type GetInstanceTypeOfferingsResultOutput
- func (GetInstanceTypeOfferingsResultOutput) ElementType() reflect.Type
- func (o GetInstanceTypeOfferingsResultOutput) Filters() GetInstanceTypeOfferingsFilterArrayOutput
- func (o GetInstanceTypeOfferingsResultOutput) Id() pulumi.StringOutput
- func (o GetInstanceTypeOfferingsResultOutput) InstanceTypes() pulumi.StringArrayOutput
- func (o GetInstanceTypeOfferingsResultOutput) LocationType() pulumi.StringPtrOutput
- func (o GetInstanceTypeOfferingsResultOutput) LocationTypes() pulumi.StringArrayOutput
- func (o GetInstanceTypeOfferingsResultOutput) Locations() pulumi.StringArrayOutput
- func (o GetInstanceTypeOfferingsResultOutput) ToGetInstanceTypeOfferingsResultOutput() GetInstanceTypeOfferingsResultOutput
- func (o GetInstanceTypeOfferingsResultOutput) ToGetInstanceTypeOfferingsResultOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsResultOutput
- type GetInstanceTypeOutputArgs
- type GetInstanceTypeResult
- type GetInstanceTypeResultOutput
- func (o GetInstanceTypeResultOutput) AutoRecoverySupported() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) BareMetal() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) BurstablePerformanceSupported() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) CurrentGeneration() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) DedicatedHostsSupported() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) DefaultCores() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) DefaultThreadsPerCore() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) DefaultVcpus() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) EbsEncryptionSupport() pulumi.StringOutput
- func (o GetInstanceTypeResultOutput) EbsNvmeSupport() pulumi.StringOutput
- func (o GetInstanceTypeResultOutput) EbsOptimizedSupport() pulumi.StringOutput
- func (o GetInstanceTypeResultOutput) EbsPerformanceBaselineBandwidth() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) EbsPerformanceBaselineIops() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) EbsPerformanceBaselineThroughput() pulumi.Float64Output
- func (o GetInstanceTypeResultOutput) EbsPerformanceMaximumBandwidth() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) EbsPerformanceMaximumIops() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) EbsPerformanceMaximumThroughput() pulumi.Float64Output
- func (o GetInstanceTypeResultOutput) EfaSupported() pulumi.BoolOutput
- func (GetInstanceTypeResultOutput) ElementType() reflect.Type
- func (o GetInstanceTypeResultOutput) EnaSupport() pulumi.StringOutput
- func (o GetInstanceTypeResultOutput) EncryptionInTransitSupported() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) Fpgas() GetInstanceTypeFpgaArrayOutput
- func (o GetInstanceTypeResultOutput) FreeTierEligible() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) Gpuses() GetInstanceTypeGpusArrayOutput
- func (o GetInstanceTypeResultOutput) HibernationSupported() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) Hypervisor() pulumi.StringOutput
- func (o GetInstanceTypeResultOutput) Id() pulumi.StringOutput
- func (o GetInstanceTypeResultOutput) InferenceAccelerators() GetInstanceTypeInferenceAcceleratorArrayOutput
- func (o GetInstanceTypeResultOutput) InstanceDisks() GetInstanceTypeInstanceDiskArrayOutput
- func (o GetInstanceTypeResultOutput) InstanceStorageSupported() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) InstanceType() pulumi.StringOutput
- func (o GetInstanceTypeResultOutput) Ipv6Supported() pulumi.BoolOutput
- func (o GetInstanceTypeResultOutput) MaximumIpv4AddressesPerInterface() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) MaximumIpv6AddressesPerInterface() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) MaximumNetworkInterfaces() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) MemorySize() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) NetworkPerformance() pulumi.StringOutput
- func (o GetInstanceTypeResultOutput) SupportedArchitectures() pulumi.StringArrayOutput
- func (o GetInstanceTypeResultOutput) SupportedPlacementStrategies() pulumi.StringArrayOutput
- func (o GetInstanceTypeResultOutput) SupportedRootDeviceTypes() pulumi.StringArrayOutput
- func (o GetInstanceTypeResultOutput) SupportedUsagesClasses() pulumi.StringArrayOutput
- func (o GetInstanceTypeResultOutput) SupportedVirtualizationTypes() pulumi.StringArrayOutput
- func (o GetInstanceTypeResultOutput) SustainedClockSpeed() pulumi.Float64Output
- func (o GetInstanceTypeResultOutput) ToGetInstanceTypeResultOutput() GetInstanceTypeResultOutput
- func (o GetInstanceTypeResultOutput) ToGetInstanceTypeResultOutputWithContext(ctx context.Context) GetInstanceTypeResultOutput
- func (o GetInstanceTypeResultOutput) TotalFpgaMemory() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) TotalGpuMemory() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) TotalInstanceStorage() pulumi.IntOutput
- func (o GetInstanceTypeResultOutput) ValidCores() pulumi.IntArrayOutput
- func (o GetInstanceTypeResultOutput) ValidThreadsPerCores() pulumi.IntArrayOutput
- type GetInstanceTypesArgs
- type GetInstanceTypesFilter
- type GetInstanceTypesFilterArgs
- type GetInstanceTypesFilterArray
- func (GetInstanceTypesFilterArray) ElementType() reflect.Type
- func (i GetInstanceTypesFilterArray) ToGetInstanceTypesFilterArrayOutput() GetInstanceTypesFilterArrayOutput
- func (i GetInstanceTypesFilterArray) ToGetInstanceTypesFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypesFilterArrayOutput
- type GetInstanceTypesFilterArrayInput
- type GetInstanceTypesFilterArrayOutput
- func (GetInstanceTypesFilterArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypesFilterArrayOutput) Index(i pulumi.IntInput) GetInstanceTypesFilterOutput
- func (o GetInstanceTypesFilterArrayOutput) ToGetInstanceTypesFilterArrayOutput() GetInstanceTypesFilterArrayOutput
- func (o GetInstanceTypesFilterArrayOutput) ToGetInstanceTypesFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypesFilterArrayOutput
- type GetInstanceTypesFilterInput
- type GetInstanceTypesFilterOutput
- func (GetInstanceTypesFilterOutput) ElementType() reflect.Type
- func (o GetInstanceTypesFilterOutput) Name() pulumi.StringOutput
- func (o GetInstanceTypesFilterOutput) ToGetInstanceTypesFilterOutput() GetInstanceTypesFilterOutput
- func (o GetInstanceTypesFilterOutput) ToGetInstanceTypesFilterOutputWithContext(ctx context.Context) GetInstanceTypesFilterOutput
- func (o GetInstanceTypesFilterOutput) Values() pulumi.StringArrayOutput
- type GetInstanceTypesOutputArgs
- type GetInstanceTypesResult
- type GetInstanceTypesResultOutput
- func (GetInstanceTypesResultOutput) ElementType() reflect.Type
- func (o GetInstanceTypesResultOutput) Filters() GetInstanceTypesFilterArrayOutput
- func (o GetInstanceTypesResultOutput) Id() pulumi.StringOutput
- func (o GetInstanceTypesResultOutput) InstanceTypes() pulumi.StringArrayOutput
- func (o GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutput() GetInstanceTypesResultOutput
- func (o GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutputWithContext(ctx context.Context) GetInstanceTypesResultOutput
- type GetInstancesArgs
- type GetInstancesFilter
- type GetInstancesFilterArgs
- type GetInstancesFilterArray
- type GetInstancesFilterArrayInput
- type GetInstancesFilterArrayOutput
- func (GetInstancesFilterArrayOutput) ElementType() reflect.Type
- func (o GetInstancesFilterArrayOutput) Index(i pulumi.IntInput) GetInstancesFilterOutput
- func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
- func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
- type GetInstancesFilterInput
- type GetInstancesFilterOutput
- func (GetInstancesFilterOutput) ElementType() reflect.Type
- func (o GetInstancesFilterOutput) Name() pulumi.StringOutput
- func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput
- func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
- func (o GetInstancesFilterOutput) Values() pulumi.StringArrayOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) Filters() GetInstancesFilterArrayOutput
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) InstanceStateNames() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) InstanceTags() pulumi.StringMapOutput
- func (o GetInstancesResultOutput) PrivateIps() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) PublicIps() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- type GetInternetGatewayAttachmentType
- type GetInternetGatewayAttachmentTypeArgs
- func (GetInternetGatewayAttachmentTypeArgs) ElementType() reflect.Type
- func (i GetInternetGatewayAttachmentTypeArgs) ToGetInternetGatewayAttachmentTypeOutput() GetInternetGatewayAttachmentTypeOutput
- func (i GetInternetGatewayAttachmentTypeArgs) ToGetInternetGatewayAttachmentTypeOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentTypeOutput
- type GetInternetGatewayAttachmentTypeArray
- func (GetInternetGatewayAttachmentTypeArray) ElementType() reflect.Type
- func (i GetInternetGatewayAttachmentTypeArray) ToGetInternetGatewayAttachmentTypeArrayOutput() GetInternetGatewayAttachmentTypeArrayOutput
- func (i GetInternetGatewayAttachmentTypeArray) ToGetInternetGatewayAttachmentTypeArrayOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentTypeArrayOutput
- type GetInternetGatewayAttachmentTypeArrayInput
- type GetInternetGatewayAttachmentTypeArrayOutput
- func (GetInternetGatewayAttachmentTypeArrayOutput) ElementType() reflect.Type
- func (o GetInternetGatewayAttachmentTypeArrayOutput) Index(i pulumi.IntInput) GetInternetGatewayAttachmentTypeOutput
- func (o GetInternetGatewayAttachmentTypeArrayOutput) ToGetInternetGatewayAttachmentTypeArrayOutput() GetInternetGatewayAttachmentTypeArrayOutput
- func (o GetInternetGatewayAttachmentTypeArrayOutput) ToGetInternetGatewayAttachmentTypeArrayOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentTypeArrayOutput
- type GetInternetGatewayAttachmentTypeInput
- type GetInternetGatewayAttachmentTypeOutput
- func (GetInternetGatewayAttachmentTypeOutput) ElementType() reflect.Type
- func (o GetInternetGatewayAttachmentTypeOutput) State() pulumi.StringOutput
- func (o GetInternetGatewayAttachmentTypeOutput) ToGetInternetGatewayAttachmentTypeOutput() GetInternetGatewayAttachmentTypeOutput
- func (o GetInternetGatewayAttachmentTypeOutput) ToGetInternetGatewayAttachmentTypeOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentTypeOutput
- func (o GetInternetGatewayAttachmentTypeOutput) VpcId() pulumi.StringOutput
- type GetInternetGatewayFilter
- type GetInternetGatewayFilterArgs
- func (GetInternetGatewayFilterArgs) ElementType() reflect.Type
- func (i GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutput() GetInternetGatewayFilterOutput
- func (i GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutputWithContext(ctx context.Context) GetInternetGatewayFilterOutput
- type GetInternetGatewayFilterArray
- func (GetInternetGatewayFilterArray) ElementType() reflect.Type
- func (i GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutput() GetInternetGatewayFilterArrayOutput
- func (i GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutputWithContext(ctx context.Context) GetInternetGatewayFilterArrayOutput
- type GetInternetGatewayFilterArrayInput
- type GetInternetGatewayFilterArrayOutput
- func (GetInternetGatewayFilterArrayOutput) ElementType() reflect.Type
- func (o GetInternetGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetInternetGatewayFilterOutput
- func (o GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutput() GetInternetGatewayFilterArrayOutput
- func (o GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutputWithContext(ctx context.Context) GetInternetGatewayFilterArrayOutput
- type GetInternetGatewayFilterInput
- type GetInternetGatewayFilterOutput
- func (GetInternetGatewayFilterOutput) ElementType() reflect.Type
- func (o GetInternetGatewayFilterOutput) Name() pulumi.StringOutput
- func (o GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutput() GetInternetGatewayFilterOutput
- func (o GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutputWithContext(ctx context.Context) GetInternetGatewayFilterOutput
- func (o GetInternetGatewayFilterOutput) Values() pulumi.StringArrayOutput
- type GetIpamPreviewNextCidrArgs
- type GetIpamPreviewNextCidrOutputArgs
- type GetIpamPreviewNextCidrResult
- type GetIpamPreviewNextCidrResultOutput
- func (o GetIpamPreviewNextCidrResultOutput) Cidr() pulumi.StringOutput
- func (o GetIpamPreviewNextCidrResultOutput) DisallowedCidrs() pulumi.StringArrayOutput
- func (GetIpamPreviewNextCidrResultOutput) ElementType() reflect.Type
- func (o GetIpamPreviewNextCidrResultOutput) Id() pulumi.StringOutput
- func (o GetIpamPreviewNextCidrResultOutput) IpamPoolId() pulumi.StringOutput
- func (o GetIpamPreviewNextCidrResultOutput) NetmaskLength() pulumi.IntPtrOutput
- func (o GetIpamPreviewNextCidrResultOutput) ToGetIpamPreviewNextCidrResultOutput() GetIpamPreviewNextCidrResultOutput
- func (o GetIpamPreviewNextCidrResultOutput) ToGetIpamPreviewNextCidrResultOutputWithContext(ctx context.Context) GetIpamPreviewNextCidrResultOutput
- type GetKeyPairFilter
- type GetKeyPairFilterArgs
- type GetKeyPairFilterArray
- type GetKeyPairFilterArrayInput
- type GetKeyPairFilterArrayOutput
- func (GetKeyPairFilterArrayOutput) ElementType() reflect.Type
- func (o GetKeyPairFilterArrayOutput) Index(i pulumi.IntInput) GetKeyPairFilterOutput
- func (o GetKeyPairFilterArrayOutput) ToGetKeyPairFilterArrayOutput() GetKeyPairFilterArrayOutput
- func (o GetKeyPairFilterArrayOutput) ToGetKeyPairFilterArrayOutputWithContext(ctx context.Context) GetKeyPairFilterArrayOutput
- type GetKeyPairFilterInput
- type GetKeyPairFilterOutput
- func (GetKeyPairFilterOutput) ElementType() reflect.Type
- func (o GetKeyPairFilterOutput) Name() pulumi.StringOutput
- func (o GetKeyPairFilterOutput) ToGetKeyPairFilterOutput() GetKeyPairFilterOutput
- func (o GetKeyPairFilterOutput) ToGetKeyPairFilterOutputWithContext(ctx context.Context) GetKeyPairFilterOutput
- func (o GetKeyPairFilterOutput) Values() pulumi.StringArrayOutput
- type GetLaunchConfigurationEbsBlockDevice
- type GetLaunchConfigurationEbsBlockDeviceArgs
- func (GetLaunchConfigurationEbsBlockDeviceArgs) ElementType() reflect.Type
- func (i GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutput() GetLaunchConfigurationEbsBlockDeviceOutput
- func (i GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceOutput
- type GetLaunchConfigurationEbsBlockDeviceArray
- func (GetLaunchConfigurationEbsBlockDeviceArray) ElementType() reflect.Type
- func (i GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput() GetLaunchConfigurationEbsBlockDeviceArrayOutput
- func (i GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceArrayOutput
- type GetLaunchConfigurationEbsBlockDeviceArrayInput
- type GetLaunchConfigurationEbsBlockDeviceArrayOutput
- func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o GetLaunchConfigurationEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) GetLaunchConfigurationEbsBlockDeviceOutput
- func (o GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput() GetLaunchConfigurationEbsBlockDeviceArrayOutput
- func (o GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceArrayOutput
- type GetLaunchConfigurationEbsBlockDeviceInput
- type GetLaunchConfigurationEbsBlockDeviceOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (GetLaunchConfigurationEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) Encrypted() pulumi.BoolOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) Iops() pulumi.IntOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) NoDevice() pulumi.BoolOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) SnapshotId() pulumi.StringOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) Throughput() pulumi.BoolOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutput() GetLaunchConfigurationEbsBlockDeviceOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) VolumeSize() pulumi.IntOutput
- func (o GetLaunchConfigurationEbsBlockDeviceOutput) VolumeType() pulumi.StringOutput
- type GetLaunchConfigurationEphemeralBlockDevice
- type GetLaunchConfigurationEphemeralBlockDeviceArgs
- func (GetLaunchConfigurationEphemeralBlockDeviceArgs) ElementType() reflect.Type
- func (i GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutput() GetLaunchConfigurationEphemeralBlockDeviceOutput
- func (i GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceOutput
- type GetLaunchConfigurationEphemeralBlockDeviceArray
- func (GetLaunchConfigurationEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
- func (i GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
- type GetLaunchConfigurationEphemeralBlockDeviceArrayInput
- type GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
- func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) GetLaunchConfigurationEphemeralBlockDeviceOutput
- func (o GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
- func (o GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
- type GetLaunchConfigurationEphemeralBlockDeviceInput
- type GetLaunchConfigurationEphemeralBlockDeviceOutput
- func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (GetLaunchConfigurationEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutput() GetLaunchConfigurationEphemeralBlockDeviceOutput
- func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceOutput
- func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) VirtualName() pulumi.StringOutput
- type GetLaunchConfigurationMetadataOption
- type GetLaunchConfigurationMetadataOptionArgs
- func (GetLaunchConfigurationMetadataOptionArgs) ElementType() reflect.Type
- func (i GetLaunchConfigurationMetadataOptionArgs) ToGetLaunchConfigurationMetadataOptionOutput() GetLaunchConfigurationMetadataOptionOutput
- func (i GetLaunchConfigurationMetadataOptionArgs) ToGetLaunchConfigurationMetadataOptionOutputWithContext(ctx context.Context) GetLaunchConfigurationMetadataOptionOutput
- type GetLaunchConfigurationMetadataOptionArray
- func (GetLaunchConfigurationMetadataOptionArray) ElementType() reflect.Type
- func (i GetLaunchConfigurationMetadataOptionArray) ToGetLaunchConfigurationMetadataOptionArrayOutput() GetLaunchConfigurationMetadataOptionArrayOutput
- func (i GetLaunchConfigurationMetadataOptionArray) ToGetLaunchConfigurationMetadataOptionArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationMetadataOptionArrayOutput
- type GetLaunchConfigurationMetadataOptionArrayInput
- type GetLaunchConfigurationMetadataOptionArrayOutput
- func (GetLaunchConfigurationMetadataOptionArrayOutput) ElementType() reflect.Type
- func (o GetLaunchConfigurationMetadataOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchConfigurationMetadataOptionOutput
- func (o GetLaunchConfigurationMetadataOptionArrayOutput) ToGetLaunchConfigurationMetadataOptionArrayOutput() GetLaunchConfigurationMetadataOptionArrayOutput
- func (o GetLaunchConfigurationMetadataOptionArrayOutput) ToGetLaunchConfigurationMetadataOptionArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationMetadataOptionArrayOutput
- type GetLaunchConfigurationMetadataOptionInput
- type GetLaunchConfigurationMetadataOptionOutput
- func (GetLaunchConfigurationMetadataOptionOutput) ElementType() reflect.Type
- func (o GetLaunchConfigurationMetadataOptionOutput) HttpEndpoint() pulumi.StringOutput
- func (o GetLaunchConfigurationMetadataOptionOutput) HttpPutResponseHopLimit() pulumi.IntOutput
- func (o GetLaunchConfigurationMetadataOptionOutput) HttpTokens() pulumi.StringOutput
- func (o GetLaunchConfigurationMetadataOptionOutput) ToGetLaunchConfigurationMetadataOptionOutput() GetLaunchConfigurationMetadataOptionOutput
- func (o GetLaunchConfigurationMetadataOptionOutput) ToGetLaunchConfigurationMetadataOptionOutputWithContext(ctx context.Context) GetLaunchConfigurationMetadataOptionOutput
- type GetLaunchConfigurationRootBlockDevice
- type GetLaunchConfigurationRootBlockDeviceArgs
- func (GetLaunchConfigurationRootBlockDeviceArgs) ElementType() reflect.Type
- func (i GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutput() GetLaunchConfigurationRootBlockDeviceOutput
- func (i GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceOutput
- type GetLaunchConfigurationRootBlockDeviceArray
- func (GetLaunchConfigurationRootBlockDeviceArray) ElementType() reflect.Type
- func (i GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutput() GetLaunchConfigurationRootBlockDeviceArrayOutput
- func (i GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceArrayOutput
- type GetLaunchConfigurationRootBlockDeviceArrayInput
- type GetLaunchConfigurationRootBlockDeviceArrayOutput
- func (GetLaunchConfigurationRootBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o GetLaunchConfigurationRootBlockDeviceArrayOutput) Index(i pulumi.IntInput) GetLaunchConfigurationRootBlockDeviceOutput
- func (o GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutput() GetLaunchConfigurationRootBlockDeviceArrayOutput
- func (o GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceArrayOutput
- type GetLaunchConfigurationRootBlockDeviceInput
- type GetLaunchConfigurationRootBlockDeviceOutput
- func (o GetLaunchConfigurationRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput
- func (GetLaunchConfigurationRootBlockDeviceOutput) ElementType() reflect.Type
- func (o GetLaunchConfigurationRootBlockDeviceOutput) Encrypted() pulumi.BoolOutput
- func (o GetLaunchConfigurationRootBlockDeviceOutput) Iops() pulumi.IntOutput
- func (o GetLaunchConfigurationRootBlockDeviceOutput) Throughput() pulumi.BoolOutput
- func (o GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutput() GetLaunchConfigurationRootBlockDeviceOutput
- func (o GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceOutput
- func (o GetLaunchConfigurationRootBlockDeviceOutput) VolumeSize() pulumi.IntOutput
- func (o GetLaunchConfigurationRootBlockDeviceOutput) VolumeType() pulumi.StringOutput
- type GetLaunchTemplateBlockDeviceMapping
- type GetLaunchTemplateBlockDeviceMappingArgs
- func (GetLaunchTemplateBlockDeviceMappingArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutput() GetLaunchTemplateBlockDeviceMappingOutput
- func (i GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingOutput
- type GetLaunchTemplateBlockDeviceMappingArray
- func (GetLaunchTemplateBlockDeviceMappingArray) ElementType() reflect.Type
- func (i GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutput() GetLaunchTemplateBlockDeviceMappingArrayOutput
- func (i GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingArrayOutput
- type GetLaunchTemplateBlockDeviceMappingArrayInput
- type GetLaunchTemplateBlockDeviceMappingArrayOutput
- func (GetLaunchTemplateBlockDeviceMappingArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateBlockDeviceMappingOutput
- func (o GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutput() GetLaunchTemplateBlockDeviceMappingArrayOutput
- func (o GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingArrayOutput
- type GetLaunchTemplateBlockDeviceMappingEb
- type GetLaunchTemplateBlockDeviceMappingEbArgs
- func (GetLaunchTemplateBlockDeviceMappingEbArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutput() GetLaunchTemplateBlockDeviceMappingEbOutput
- func (i GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbOutput
- type GetLaunchTemplateBlockDeviceMappingEbArray
- func (GetLaunchTemplateBlockDeviceMappingEbArray) ElementType() reflect.Type
- func (i GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput() GetLaunchTemplateBlockDeviceMappingEbArrayOutput
- func (i GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbArrayOutput
- type GetLaunchTemplateBlockDeviceMappingEbArrayInput
- type GetLaunchTemplateBlockDeviceMappingEbArrayOutput
- func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateBlockDeviceMappingEbArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateBlockDeviceMappingEbOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput() GetLaunchTemplateBlockDeviceMappingEbArrayOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbArrayOutput
- type GetLaunchTemplateBlockDeviceMappingEbInput
- type GetLaunchTemplateBlockDeviceMappingEbOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) DeleteOnTermination() pulumi.StringOutput
- func (GetLaunchTemplateBlockDeviceMappingEbOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) Encrypted() pulumi.StringOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) Iops() pulumi.IntOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) KmsKeyId() pulumi.StringOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) SnapshotId() pulumi.StringOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) Throughput() pulumi.IntOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutput() GetLaunchTemplateBlockDeviceMappingEbOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) VolumeSize() pulumi.IntOutput
- func (o GetLaunchTemplateBlockDeviceMappingEbOutput) VolumeType() pulumi.StringOutput
- type GetLaunchTemplateBlockDeviceMappingInput
- type GetLaunchTemplateBlockDeviceMappingOutput
- func (o GetLaunchTemplateBlockDeviceMappingOutput) DeviceName() pulumi.StringOutput
- func (o GetLaunchTemplateBlockDeviceMappingOutput) Ebs() GetLaunchTemplateBlockDeviceMappingEbArrayOutput
- func (GetLaunchTemplateBlockDeviceMappingOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateBlockDeviceMappingOutput) NoDevice() pulumi.StringOutput
- func (o GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutput() GetLaunchTemplateBlockDeviceMappingOutput
- func (o GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingOutput
- func (o GetLaunchTemplateBlockDeviceMappingOutput) VirtualName() pulumi.StringOutput
- type GetLaunchTemplateCapacityReservationSpecification
- type GetLaunchTemplateCapacityReservationSpecificationArgs
- func (GetLaunchTemplateCapacityReservationSpecificationArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateCapacityReservationSpecificationArgs) ToGetLaunchTemplateCapacityReservationSpecificationOutput() GetLaunchTemplateCapacityReservationSpecificationOutput
- func (i GetLaunchTemplateCapacityReservationSpecificationArgs) ToGetLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationOutput
- type GetLaunchTemplateCapacityReservationSpecificationArray
- func (GetLaunchTemplateCapacityReservationSpecificationArray) ElementType() reflect.Type
- func (i GetLaunchTemplateCapacityReservationSpecificationArray) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutput() GetLaunchTemplateCapacityReservationSpecificationArrayOutput
- func (i GetLaunchTemplateCapacityReservationSpecificationArray) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationArrayOutput
- type GetLaunchTemplateCapacityReservationSpecificationArrayInput
- type GetLaunchTemplateCapacityReservationSpecificationArrayOutput
- func (GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateCapacityReservationSpecificationArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateCapacityReservationSpecificationOutput
- func (o GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutput() GetLaunchTemplateCapacityReservationSpecificationArrayOutput
- func (o GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationArrayOutput
- type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTarget
- type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs
- func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() ...
- func (i GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) ...
- type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray
- func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ElementType() reflect.Type
- func (i GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput() ...
- func (i GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutputWithContext(ctx context.Context) ...
- type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayInput
- type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput
- func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) Index(i pulumi.IntInput) ...
- func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput() ...
- func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutputWithContext(ctx context.Context) ...
- type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput
- type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
- func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId() pulumi.StringOutput
- func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationResourceGroupArn() pulumi.StringOutput
- func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() ...
- func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) ...
- type GetLaunchTemplateCapacityReservationSpecificationInput
- type GetLaunchTemplateCapacityReservationSpecificationOutput
- func (o GetLaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationPreference() pulumi.StringOutput
- func (o GetLaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationTargets() ...
- func (GetLaunchTemplateCapacityReservationSpecificationOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateCapacityReservationSpecificationOutput) ToGetLaunchTemplateCapacityReservationSpecificationOutput() GetLaunchTemplateCapacityReservationSpecificationOutput
- func (o GetLaunchTemplateCapacityReservationSpecificationOutput) ToGetLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationOutput
- type GetLaunchTemplateCpuOption
- type GetLaunchTemplateCpuOptionArgs
- func (GetLaunchTemplateCpuOptionArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateCpuOptionArgs) ToGetLaunchTemplateCpuOptionOutput() GetLaunchTemplateCpuOptionOutput
- func (i GetLaunchTemplateCpuOptionArgs) ToGetLaunchTemplateCpuOptionOutputWithContext(ctx context.Context) GetLaunchTemplateCpuOptionOutput
- type GetLaunchTemplateCpuOptionArray
- func (GetLaunchTemplateCpuOptionArray) ElementType() reflect.Type
- func (i GetLaunchTemplateCpuOptionArray) ToGetLaunchTemplateCpuOptionArrayOutput() GetLaunchTemplateCpuOptionArrayOutput
- func (i GetLaunchTemplateCpuOptionArray) ToGetLaunchTemplateCpuOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCpuOptionArrayOutput
- type GetLaunchTemplateCpuOptionArrayInput
- type GetLaunchTemplateCpuOptionArrayOutput
- func (GetLaunchTemplateCpuOptionArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateCpuOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateCpuOptionOutput
- func (o GetLaunchTemplateCpuOptionArrayOutput) ToGetLaunchTemplateCpuOptionArrayOutput() GetLaunchTemplateCpuOptionArrayOutput
- func (o GetLaunchTemplateCpuOptionArrayOutput) ToGetLaunchTemplateCpuOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCpuOptionArrayOutput
- type GetLaunchTemplateCpuOptionInput
- type GetLaunchTemplateCpuOptionOutput
- func (o GetLaunchTemplateCpuOptionOutput) CoreCount() pulumi.IntOutput
- func (GetLaunchTemplateCpuOptionOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateCpuOptionOutput) ThreadsPerCore() pulumi.IntOutput
- func (o GetLaunchTemplateCpuOptionOutput) ToGetLaunchTemplateCpuOptionOutput() GetLaunchTemplateCpuOptionOutput
- func (o GetLaunchTemplateCpuOptionOutput) ToGetLaunchTemplateCpuOptionOutputWithContext(ctx context.Context) GetLaunchTemplateCpuOptionOutput
- type GetLaunchTemplateCreditSpecification
- type GetLaunchTemplateCreditSpecificationArgs
- func (GetLaunchTemplateCreditSpecificationArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutput() GetLaunchTemplateCreditSpecificationOutput
- func (i GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationOutput
- type GetLaunchTemplateCreditSpecificationArray
- func (GetLaunchTemplateCreditSpecificationArray) ElementType() reflect.Type
- func (i GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutput() GetLaunchTemplateCreditSpecificationArrayOutput
- func (i GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationArrayOutput
- type GetLaunchTemplateCreditSpecificationArrayInput
- type GetLaunchTemplateCreditSpecificationArrayOutput
- func (GetLaunchTemplateCreditSpecificationArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateCreditSpecificationArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateCreditSpecificationOutput
- func (o GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutput() GetLaunchTemplateCreditSpecificationArrayOutput
- func (o GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationArrayOutput
- type GetLaunchTemplateCreditSpecificationInput
- type GetLaunchTemplateCreditSpecificationOutput
- func (o GetLaunchTemplateCreditSpecificationOutput) CpuCredits() pulumi.StringOutput
- func (GetLaunchTemplateCreditSpecificationOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutput() GetLaunchTemplateCreditSpecificationOutput
- func (o GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationOutput
- type GetLaunchTemplateElasticGpuSpecification
- type GetLaunchTemplateElasticGpuSpecificationArgs
- func (GetLaunchTemplateElasticGpuSpecificationArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutput() GetLaunchTemplateElasticGpuSpecificationOutput
- func (i GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationOutput
- type GetLaunchTemplateElasticGpuSpecificationArray
- func (GetLaunchTemplateElasticGpuSpecificationArray) ElementType() reflect.Type
- func (i GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput() GetLaunchTemplateElasticGpuSpecificationArrayOutput
- func (i GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationArrayOutput
- type GetLaunchTemplateElasticGpuSpecificationArrayInput
- type GetLaunchTemplateElasticGpuSpecificationArrayOutput
- func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateElasticGpuSpecificationArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateElasticGpuSpecificationOutput
- func (o GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput() GetLaunchTemplateElasticGpuSpecificationArrayOutput
- func (o GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationArrayOutput
- type GetLaunchTemplateElasticGpuSpecificationInput
- type GetLaunchTemplateElasticGpuSpecificationOutput
- func (GetLaunchTemplateElasticGpuSpecificationOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutput() GetLaunchTemplateElasticGpuSpecificationOutput
- func (o GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationOutput
- func (o GetLaunchTemplateElasticGpuSpecificationOutput) Type() pulumi.StringOutput
- type GetLaunchTemplateElasticInferenceAccelerator
- type GetLaunchTemplateElasticInferenceAcceleratorArgs
- func (GetLaunchTemplateElasticInferenceAcceleratorArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateElasticInferenceAcceleratorArgs) ToGetLaunchTemplateElasticInferenceAcceleratorOutput() GetLaunchTemplateElasticInferenceAcceleratorOutput
- func (i GetLaunchTemplateElasticInferenceAcceleratorArgs) ToGetLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) GetLaunchTemplateElasticInferenceAcceleratorOutput
- type GetLaunchTemplateElasticInferenceAcceleratorArray
- func (GetLaunchTemplateElasticInferenceAcceleratorArray) ElementType() reflect.Type
- func (i GetLaunchTemplateElasticInferenceAcceleratorArray) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutput() GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
- func (i GetLaunchTemplateElasticInferenceAcceleratorArray) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
- type GetLaunchTemplateElasticInferenceAcceleratorArrayInput
- type GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
- func (GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateElasticInferenceAcceleratorOutput
- func (o GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutput() GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
- func (o GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
- type GetLaunchTemplateElasticInferenceAcceleratorInput
- type GetLaunchTemplateElasticInferenceAcceleratorOutput
- func (GetLaunchTemplateElasticInferenceAcceleratorOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateElasticInferenceAcceleratorOutput) ToGetLaunchTemplateElasticInferenceAcceleratorOutput() GetLaunchTemplateElasticInferenceAcceleratorOutput
- func (o GetLaunchTemplateElasticInferenceAcceleratorOutput) ToGetLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) GetLaunchTemplateElasticInferenceAcceleratorOutput
- func (o GetLaunchTemplateElasticInferenceAcceleratorOutput) Type() pulumi.StringOutput
- type GetLaunchTemplateEnclaveOption
- type GetLaunchTemplateEnclaveOptionArgs
- func (GetLaunchTemplateEnclaveOptionArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateEnclaveOptionArgs) ToGetLaunchTemplateEnclaveOptionOutput() GetLaunchTemplateEnclaveOptionOutput
- func (i GetLaunchTemplateEnclaveOptionArgs) ToGetLaunchTemplateEnclaveOptionOutputWithContext(ctx context.Context) GetLaunchTemplateEnclaveOptionOutput
- type GetLaunchTemplateEnclaveOptionArray
- func (GetLaunchTemplateEnclaveOptionArray) ElementType() reflect.Type
- func (i GetLaunchTemplateEnclaveOptionArray) ToGetLaunchTemplateEnclaveOptionArrayOutput() GetLaunchTemplateEnclaveOptionArrayOutput
- func (i GetLaunchTemplateEnclaveOptionArray) ToGetLaunchTemplateEnclaveOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateEnclaveOptionArrayOutput
- type GetLaunchTemplateEnclaveOptionArrayInput
- type GetLaunchTemplateEnclaveOptionArrayOutput
- func (GetLaunchTemplateEnclaveOptionArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateEnclaveOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateEnclaveOptionOutput
- func (o GetLaunchTemplateEnclaveOptionArrayOutput) ToGetLaunchTemplateEnclaveOptionArrayOutput() GetLaunchTemplateEnclaveOptionArrayOutput
- func (o GetLaunchTemplateEnclaveOptionArrayOutput) ToGetLaunchTemplateEnclaveOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateEnclaveOptionArrayOutput
- type GetLaunchTemplateEnclaveOptionInput
- type GetLaunchTemplateEnclaveOptionOutput
- func (GetLaunchTemplateEnclaveOptionOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateEnclaveOptionOutput) Enabled() pulumi.BoolOutput
- func (o GetLaunchTemplateEnclaveOptionOutput) ToGetLaunchTemplateEnclaveOptionOutput() GetLaunchTemplateEnclaveOptionOutput
- func (o GetLaunchTemplateEnclaveOptionOutput) ToGetLaunchTemplateEnclaveOptionOutputWithContext(ctx context.Context) GetLaunchTemplateEnclaveOptionOutput
- type GetLaunchTemplateFilter
- type GetLaunchTemplateFilterArgs
- type GetLaunchTemplateFilterArray
- func (GetLaunchTemplateFilterArray) ElementType() reflect.Type
- func (i GetLaunchTemplateFilterArray) ToGetLaunchTemplateFilterArrayOutput() GetLaunchTemplateFilterArrayOutput
- func (i GetLaunchTemplateFilterArray) ToGetLaunchTemplateFilterArrayOutputWithContext(ctx context.Context) GetLaunchTemplateFilterArrayOutput
- type GetLaunchTemplateFilterArrayInput
- type GetLaunchTemplateFilterArrayOutput
- func (GetLaunchTemplateFilterArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateFilterArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateFilterOutput
- func (o GetLaunchTemplateFilterArrayOutput) ToGetLaunchTemplateFilterArrayOutput() GetLaunchTemplateFilterArrayOutput
- func (o GetLaunchTemplateFilterArrayOutput) ToGetLaunchTemplateFilterArrayOutputWithContext(ctx context.Context) GetLaunchTemplateFilterArrayOutput
- type GetLaunchTemplateFilterInput
- type GetLaunchTemplateFilterOutput
- func (GetLaunchTemplateFilterOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateFilterOutput) Name() pulumi.StringOutput
- func (o GetLaunchTemplateFilterOutput) ToGetLaunchTemplateFilterOutput() GetLaunchTemplateFilterOutput
- func (o GetLaunchTemplateFilterOutput) ToGetLaunchTemplateFilterOutputWithContext(ctx context.Context) GetLaunchTemplateFilterOutput
- func (o GetLaunchTemplateFilterOutput) Values() pulumi.StringArrayOutput
- type GetLaunchTemplateHibernationOption
- type GetLaunchTemplateHibernationOptionArgs
- func (GetLaunchTemplateHibernationOptionArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateHibernationOptionArgs) ToGetLaunchTemplateHibernationOptionOutput() GetLaunchTemplateHibernationOptionOutput
- func (i GetLaunchTemplateHibernationOptionArgs) ToGetLaunchTemplateHibernationOptionOutputWithContext(ctx context.Context) GetLaunchTemplateHibernationOptionOutput
- type GetLaunchTemplateHibernationOptionArray
- func (GetLaunchTemplateHibernationOptionArray) ElementType() reflect.Type
- func (i GetLaunchTemplateHibernationOptionArray) ToGetLaunchTemplateHibernationOptionArrayOutput() GetLaunchTemplateHibernationOptionArrayOutput
- func (i GetLaunchTemplateHibernationOptionArray) ToGetLaunchTemplateHibernationOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateHibernationOptionArrayOutput
- type GetLaunchTemplateHibernationOptionArrayInput
- type GetLaunchTemplateHibernationOptionArrayOutput
- func (GetLaunchTemplateHibernationOptionArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateHibernationOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateHibernationOptionOutput
- func (o GetLaunchTemplateHibernationOptionArrayOutput) ToGetLaunchTemplateHibernationOptionArrayOutput() GetLaunchTemplateHibernationOptionArrayOutput
- func (o GetLaunchTemplateHibernationOptionArrayOutput) ToGetLaunchTemplateHibernationOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateHibernationOptionArrayOutput
- type GetLaunchTemplateHibernationOptionInput
- type GetLaunchTemplateHibernationOptionOutput
- func (o GetLaunchTemplateHibernationOptionOutput) Configured() pulumi.BoolOutput
- func (GetLaunchTemplateHibernationOptionOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateHibernationOptionOutput) ToGetLaunchTemplateHibernationOptionOutput() GetLaunchTemplateHibernationOptionOutput
- func (o GetLaunchTemplateHibernationOptionOutput) ToGetLaunchTemplateHibernationOptionOutputWithContext(ctx context.Context) GetLaunchTemplateHibernationOptionOutput
- type GetLaunchTemplateIamInstanceProfile
- type GetLaunchTemplateIamInstanceProfileArgs
- func (GetLaunchTemplateIamInstanceProfileArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutput() GetLaunchTemplateIamInstanceProfileOutput
- func (i GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileOutput
- type GetLaunchTemplateIamInstanceProfileArray
- func (GetLaunchTemplateIamInstanceProfileArray) ElementType() reflect.Type
- func (i GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutput() GetLaunchTemplateIamInstanceProfileArrayOutput
- func (i GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileArrayOutput
- type GetLaunchTemplateIamInstanceProfileArrayInput
- type GetLaunchTemplateIamInstanceProfileArrayOutput
- func (GetLaunchTemplateIamInstanceProfileArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateIamInstanceProfileArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateIamInstanceProfileOutput
- func (o GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutput() GetLaunchTemplateIamInstanceProfileArrayOutput
- func (o GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileArrayOutput
- type GetLaunchTemplateIamInstanceProfileInput
- type GetLaunchTemplateIamInstanceProfileOutput
- func (o GetLaunchTemplateIamInstanceProfileOutput) Arn() pulumi.StringOutput
- func (GetLaunchTemplateIamInstanceProfileOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateIamInstanceProfileOutput) Name() pulumi.StringOutput
- func (o GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutput() GetLaunchTemplateIamInstanceProfileOutput
- func (o GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileOutput
- type GetLaunchTemplateInstanceMarketOption
- type GetLaunchTemplateInstanceMarketOptionArgs
- func (GetLaunchTemplateInstanceMarketOptionArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutput() GetLaunchTemplateInstanceMarketOptionOutput
- func (i GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionOutput
- type GetLaunchTemplateInstanceMarketOptionArray
- func (GetLaunchTemplateInstanceMarketOptionArray) ElementType() reflect.Type
- func (i GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionArrayOutput
- func (i GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionArrayOutput
- type GetLaunchTemplateInstanceMarketOptionArrayInput
- type GetLaunchTemplateInstanceMarketOptionArrayOutput
- func (GetLaunchTemplateInstanceMarketOptionArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateInstanceMarketOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateInstanceMarketOptionOutput
- func (o GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionArrayOutput
- func (o GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionArrayOutput
- type GetLaunchTemplateInstanceMarketOptionInput
- type GetLaunchTemplateInstanceMarketOptionOutput
- func (GetLaunchTemplateInstanceMarketOptionOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateInstanceMarketOptionOutput) MarketType() pulumi.StringOutput
- func (o GetLaunchTemplateInstanceMarketOptionOutput) SpotOptions() GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
- func (o GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutput() GetLaunchTemplateInstanceMarketOptionOutput
- func (o GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionOutput
- type GetLaunchTemplateInstanceMarketOptionSpotOption
- type GetLaunchTemplateInstanceMarketOptionSpotOptionArgs
- func (GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
- func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
- type GetLaunchTemplateInstanceMarketOptionSpotOptionArray
- func (GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ElementType() reflect.Type
- func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
- func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
- type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput
- type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
- func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
- type GetLaunchTemplateInstanceMarketOptionSpotOptionInput
- type GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) BlockDurationMinutes() pulumi.IntOutput
- func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) InstanceInterruptionBehavior() pulumi.StringOutput
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) MaxPrice() pulumi.StringOutput
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) SpotInstanceType() pulumi.StringOutput
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
- func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ValidUntil() pulumi.StringOutput
- type GetLaunchTemplateLicenseSpecification
- type GetLaunchTemplateLicenseSpecificationArgs
- func (GetLaunchTemplateLicenseSpecificationArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateLicenseSpecificationArgs) ToGetLaunchTemplateLicenseSpecificationOutput() GetLaunchTemplateLicenseSpecificationOutput
- func (i GetLaunchTemplateLicenseSpecificationArgs) ToGetLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateLicenseSpecificationOutput
- type GetLaunchTemplateLicenseSpecificationArray
- func (GetLaunchTemplateLicenseSpecificationArray) ElementType() reflect.Type
- func (i GetLaunchTemplateLicenseSpecificationArray) ToGetLaunchTemplateLicenseSpecificationArrayOutput() GetLaunchTemplateLicenseSpecificationArrayOutput
- func (i GetLaunchTemplateLicenseSpecificationArray) ToGetLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateLicenseSpecificationArrayOutput
- type GetLaunchTemplateLicenseSpecificationArrayInput
- type GetLaunchTemplateLicenseSpecificationArrayOutput
- func (GetLaunchTemplateLicenseSpecificationArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateLicenseSpecificationArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateLicenseSpecificationOutput
- func (o GetLaunchTemplateLicenseSpecificationArrayOutput) ToGetLaunchTemplateLicenseSpecificationArrayOutput() GetLaunchTemplateLicenseSpecificationArrayOutput
- func (o GetLaunchTemplateLicenseSpecificationArrayOutput) ToGetLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateLicenseSpecificationArrayOutput
- type GetLaunchTemplateLicenseSpecificationInput
- type GetLaunchTemplateLicenseSpecificationOutput
- func (GetLaunchTemplateLicenseSpecificationOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateLicenseSpecificationOutput) LicenseConfigurationArn() pulumi.StringOutput
- func (o GetLaunchTemplateLicenseSpecificationOutput) ToGetLaunchTemplateLicenseSpecificationOutput() GetLaunchTemplateLicenseSpecificationOutput
- func (o GetLaunchTemplateLicenseSpecificationOutput) ToGetLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateLicenseSpecificationOutput
- type GetLaunchTemplateMetadataOption
- type GetLaunchTemplateMetadataOptionArgs
- func (GetLaunchTemplateMetadataOptionArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateMetadataOptionArgs) ToGetLaunchTemplateMetadataOptionOutput() GetLaunchTemplateMetadataOptionOutput
- func (i GetLaunchTemplateMetadataOptionArgs) ToGetLaunchTemplateMetadataOptionOutputWithContext(ctx context.Context) GetLaunchTemplateMetadataOptionOutput
- type GetLaunchTemplateMetadataOptionArray
- func (GetLaunchTemplateMetadataOptionArray) ElementType() reflect.Type
- func (i GetLaunchTemplateMetadataOptionArray) ToGetLaunchTemplateMetadataOptionArrayOutput() GetLaunchTemplateMetadataOptionArrayOutput
- func (i GetLaunchTemplateMetadataOptionArray) ToGetLaunchTemplateMetadataOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMetadataOptionArrayOutput
- type GetLaunchTemplateMetadataOptionArrayInput
- type GetLaunchTemplateMetadataOptionArrayOutput
- func (GetLaunchTemplateMetadataOptionArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateMetadataOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateMetadataOptionOutput
- func (o GetLaunchTemplateMetadataOptionArrayOutput) ToGetLaunchTemplateMetadataOptionArrayOutput() GetLaunchTemplateMetadataOptionArrayOutput
- func (o GetLaunchTemplateMetadataOptionArrayOutput) ToGetLaunchTemplateMetadataOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMetadataOptionArrayOutput
- type GetLaunchTemplateMetadataOptionInput
- type GetLaunchTemplateMetadataOptionOutput
- func (GetLaunchTemplateMetadataOptionOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateMetadataOptionOutput) HttpEndpoint() pulumi.StringOutput
- func (o GetLaunchTemplateMetadataOptionOutput) HttpProtocolIpv6() pulumi.StringOutput
- func (o GetLaunchTemplateMetadataOptionOutput) HttpPutResponseHopLimit() pulumi.IntOutput
- func (o GetLaunchTemplateMetadataOptionOutput) HttpTokens() pulumi.StringOutput
- func (o GetLaunchTemplateMetadataOptionOutput) InstanceMetadataTags() pulumi.StringOutput
- func (o GetLaunchTemplateMetadataOptionOutput) ToGetLaunchTemplateMetadataOptionOutput() GetLaunchTemplateMetadataOptionOutput
- func (o GetLaunchTemplateMetadataOptionOutput) ToGetLaunchTemplateMetadataOptionOutputWithContext(ctx context.Context) GetLaunchTemplateMetadataOptionOutput
- type GetLaunchTemplateMonitoring
- type GetLaunchTemplateMonitoringArgs
- func (GetLaunchTemplateMonitoringArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutput() GetLaunchTemplateMonitoringOutput
- func (i GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringOutput
- type GetLaunchTemplateMonitoringArray
- func (GetLaunchTemplateMonitoringArray) ElementType() reflect.Type
- func (i GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutput() GetLaunchTemplateMonitoringArrayOutput
- func (i GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringArrayOutput
- type GetLaunchTemplateMonitoringArrayInput
- type GetLaunchTemplateMonitoringArrayOutput
- func (GetLaunchTemplateMonitoringArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateMonitoringArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateMonitoringOutput
- func (o GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutput() GetLaunchTemplateMonitoringArrayOutput
- func (o GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringArrayOutput
- type GetLaunchTemplateMonitoringInput
- type GetLaunchTemplateMonitoringOutput
- func (GetLaunchTemplateMonitoringOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateMonitoringOutput) Enabled() pulumi.BoolOutput
- func (o GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutput() GetLaunchTemplateMonitoringOutput
- func (o GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringOutput
- type GetLaunchTemplateNetworkInterface
- type GetLaunchTemplateNetworkInterfaceArgs
- func (GetLaunchTemplateNetworkInterfaceArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutput() GetLaunchTemplateNetworkInterfaceOutput
- func (i GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceOutput
- type GetLaunchTemplateNetworkInterfaceArray
- func (GetLaunchTemplateNetworkInterfaceArray) ElementType() reflect.Type
- func (i GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutput() GetLaunchTemplateNetworkInterfaceArrayOutput
- func (i GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceArrayOutput
- type GetLaunchTemplateNetworkInterfaceArrayInput
- type GetLaunchTemplateNetworkInterfaceArrayOutput
- func (GetLaunchTemplateNetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateNetworkInterfaceOutput
- func (o GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutput() GetLaunchTemplateNetworkInterfaceArrayOutput
- func (o GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceArrayOutput
- type GetLaunchTemplateNetworkInterfaceInput
- type GetLaunchTemplateNetworkInterfaceOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) AssociateCarrierIpAddress() pulumi.StringOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress() pulumi.BoolPtrOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Description() pulumi.StringOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) DeviceIndex() pulumi.IntOutput
- func (GetLaunchTemplateNetworkInterfaceOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateNetworkInterfaceOutput) InterfaceType() pulumi.StringOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv4AddressCount() pulumi.IntOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv4Addresses() pulumi.StringArrayOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv4PrefixCount() pulumi.IntOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv4Prefixes() pulumi.StringArrayOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv6AddressCount() pulumi.IntOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv6Addresses() pulumi.StringArrayOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv6PrefixCount() pulumi.IntOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv6Prefixes() pulumi.StringArrayOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) NetworkCardIndex() pulumi.IntOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) PrivateIpAddress() pulumi.StringOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) SubnetId() pulumi.StringOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutput() GetLaunchTemplateNetworkInterfaceOutput
- func (o GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceOutput
- type GetLaunchTemplatePlacement
- type GetLaunchTemplatePlacementArgs
- func (GetLaunchTemplatePlacementArgs) ElementType() reflect.Type
- func (i GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutput() GetLaunchTemplatePlacementOutput
- func (i GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementOutput
- type GetLaunchTemplatePlacementArray
- func (GetLaunchTemplatePlacementArray) ElementType() reflect.Type
- func (i GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutput() GetLaunchTemplatePlacementArrayOutput
- func (i GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementArrayOutput
- type GetLaunchTemplatePlacementArrayInput
- type GetLaunchTemplatePlacementArrayOutput
- func (GetLaunchTemplatePlacementArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplatePlacementArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplatePlacementOutput
- func (o GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutput() GetLaunchTemplatePlacementArrayOutput
- func (o GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementArrayOutput
- type GetLaunchTemplatePlacementInput
- type GetLaunchTemplatePlacementOutput
- func (o GetLaunchTemplatePlacementOutput) Affinity() pulumi.StringOutput
- func (o GetLaunchTemplatePlacementOutput) AvailabilityZone() pulumi.StringOutput
- func (GetLaunchTemplatePlacementOutput) ElementType() reflect.Type
- func (o GetLaunchTemplatePlacementOutput) GroupName() pulumi.StringOutput
- func (o GetLaunchTemplatePlacementOutput) HostId() pulumi.StringOutput
- func (o GetLaunchTemplatePlacementOutput) HostResourceGroupArn() pulumi.StringOutput
- func (o GetLaunchTemplatePlacementOutput) PartitionNumber() pulumi.IntOutput
- func (o GetLaunchTemplatePlacementOutput) SpreadDomain() pulumi.StringOutput
- func (o GetLaunchTemplatePlacementOutput) Tenancy() pulumi.StringOutput
- func (o GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutput() GetLaunchTemplatePlacementOutput
- func (o GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementOutput
- type GetLaunchTemplatePrivateDnsNameOption
- type GetLaunchTemplatePrivateDnsNameOptionArgs
- func (GetLaunchTemplatePrivateDnsNameOptionArgs) ElementType() reflect.Type
- func (i GetLaunchTemplatePrivateDnsNameOptionArgs) ToGetLaunchTemplatePrivateDnsNameOptionOutput() GetLaunchTemplatePrivateDnsNameOptionOutput
- func (i GetLaunchTemplatePrivateDnsNameOptionArgs) ToGetLaunchTemplatePrivateDnsNameOptionOutputWithContext(ctx context.Context) GetLaunchTemplatePrivateDnsNameOptionOutput
- type GetLaunchTemplatePrivateDnsNameOptionArray
- func (GetLaunchTemplatePrivateDnsNameOptionArray) ElementType() reflect.Type
- func (i GetLaunchTemplatePrivateDnsNameOptionArray) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutput() GetLaunchTemplatePrivateDnsNameOptionArrayOutput
- func (i GetLaunchTemplatePrivateDnsNameOptionArray) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePrivateDnsNameOptionArrayOutput
- type GetLaunchTemplatePrivateDnsNameOptionArrayInput
- type GetLaunchTemplatePrivateDnsNameOptionArrayOutput
- func (GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplatePrivateDnsNameOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplatePrivateDnsNameOptionOutput
- func (o GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutput() GetLaunchTemplatePrivateDnsNameOptionArrayOutput
- func (o GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePrivateDnsNameOptionArrayOutput
- type GetLaunchTemplatePrivateDnsNameOptionInput
- type GetLaunchTemplatePrivateDnsNameOptionOutput
- func (GetLaunchTemplatePrivateDnsNameOptionOutput) ElementType() reflect.Type
- func (o GetLaunchTemplatePrivateDnsNameOptionOutput) EnableResourceNameDnsARecord() pulumi.BoolOutput
- func (o GetLaunchTemplatePrivateDnsNameOptionOutput) EnableResourceNameDnsAaaaRecord() pulumi.BoolOutput
- func (o GetLaunchTemplatePrivateDnsNameOptionOutput) HostnameType() pulumi.StringOutput
- func (o GetLaunchTemplatePrivateDnsNameOptionOutput) ToGetLaunchTemplatePrivateDnsNameOptionOutput() GetLaunchTemplatePrivateDnsNameOptionOutput
- func (o GetLaunchTemplatePrivateDnsNameOptionOutput) ToGetLaunchTemplatePrivateDnsNameOptionOutputWithContext(ctx context.Context) GetLaunchTemplatePrivateDnsNameOptionOutput
- type GetLaunchTemplateTagSpecification
- type GetLaunchTemplateTagSpecificationArgs
- func (GetLaunchTemplateTagSpecificationArgs) ElementType() reflect.Type
- func (i GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutput() GetLaunchTemplateTagSpecificationOutput
- func (i GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationOutput
- type GetLaunchTemplateTagSpecificationArray
- func (GetLaunchTemplateTagSpecificationArray) ElementType() reflect.Type
- func (i GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutput() GetLaunchTemplateTagSpecificationArrayOutput
- func (i GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationArrayOutput
- type GetLaunchTemplateTagSpecificationArrayInput
- type GetLaunchTemplateTagSpecificationArrayOutput
- func (GetLaunchTemplateTagSpecificationArrayOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateTagSpecificationArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateTagSpecificationOutput
- func (o GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutput() GetLaunchTemplateTagSpecificationArrayOutput
- func (o GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationArrayOutput
- type GetLaunchTemplateTagSpecificationInput
- type GetLaunchTemplateTagSpecificationOutput
- func (GetLaunchTemplateTagSpecificationOutput) ElementType() reflect.Type
- func (o GetLaunchTemplateTagSpecificationOutput) ResourceType() pulumi.StringOutput
- func (o GetLaunchTemplateTagSpecificationOutput) Tags() pulumi.StringMapOutput
- func (o GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutput() GetLaunchTemplateTagSpecificationOutput
- func (o GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationOutput
- type GetLocalGatewayArgs
- type GetLocalGatewayFilter
- type GetLocalGatewayFilterArgs
- type GetLocalGatewayFilterArray
- func (GetLocalGatewayFilterArray) ElementType() reflect.Type
- func (i GetLocalGatewayFilterArray) ToGetLocalGatewayFilterArrayOutput() GetLocalGatewayFilterArrayOutput
- func (i GetLocalGatewayFilterArray) ToGetLocalGatewayFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayFilterArrayOutput
- type GetLocalGatewayFilterArrayInput
- type GetLocalGatewayFilterArrayOutput
- func (GetLocalGatewayFilterArrayOutput) ElementType() reflect.Type
- func (o GetLocalGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewayFilterOutput
- func (o GetLocalGatewayFilterArrayOutput) ToGetLocalGatewayFilterArrayOutput() GetLocalGatewayFilterArrayOutput
- func (o GetLocalGatewayFilterArrayOutput) ToGetLocalGatewayFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayFilterArrayOutput
- type GetLocalGatewayFilterInput
- type GetLocalGatewayFilterOutput
- func (GetLocalGatewayFilterOutput) ElementType() reflect.Type
- func (o GetLocalGatewayFilterOutput) Name() pulumi.StringOutput
- func (o GetLocalGatewayFilterOutput) ToGetLocalGatewayFilterOutput() GetLocalGatewayFilterOutput
- func (o GetLocalGatewayFilterOutput) ToGetLocalGatewayFilterOutputWithContext(ctx context.Context) GetLocalGatewayFilterOutput
- func (o GetLocalGatewayFilterOutput) Values() pulumi.StringArrayOutput
- type GetLocalGatewayOutputArgs
- type GetLocalGatewayResult
- type GetLocalGatewayResultOutput
- func (GetLocalGatewayResultOutput) ElementType() reflect.Type
- func (o GetLocalGatewayResultOutput) Filters() GetLocalGatewayFilterArrayOutput
- func (o GetLocalGatewayResultOutput) Id() pulumi.StringOutput
- func (o GetLocalGatewayResultOutput) OutpostArn() pulumi.StringOutput
- func (o GetLocalGatewayResultOutput) OwnerId() pulumi.StringOutput
- func (o GetLocalGatewayResultOutput) State() pulumi.StringOutput
- func (o GetLocalGatewayResultOutput) Tags() pulumi.StringMapOutput
- func (o GetLocalGatewayResultOutput) ToGetLocalGatewayResultOutput() GetLocalGatewayResultOutput
- func (o GetLocalGatewayResultOutput) ToGetLocalGatewayResultOutputWithContext(ctx context.Context) GetLocalGatewayResultOutput
- type GetLocalGatewayRouteTableArgs
- type GetLocalGatewayRouteTableFilter
- type GetLocalGatewayRouteTableFilterArgs
- func (GetLocalGatewayRouteTableFilterArgs) ElementType() reflect.Type
- func (i GetLocalGatewayRouteTableFilterArgs) ToGetLocalGatewayRouteTableFilterOutput() GetLocalGatewayRouteTableFilterOutput
- func (i GetLocalGatewayRouteTableFilterArgs) ToGetLocalGatewayRouteTableFilterOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableFilterOutput
- type GetLocalGatewayRouteTableFilterArray
- func (GetLocalGatewayRouteTableFilterArray) ElementType() reflect.Type
- func (i GetLocalGatewayRouteTableFilterArray) ToGetLocalGatewayRouteTableFilterArrayOutput() GetLocalGatewayRouteTableFilterArrayOutput
- func (i GetLocalGatewayRouteTableFilterArray) ToGetLocalGatewayRouteTableFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableFilterArrayOutput
- type GetLocalGatewayRouteTableFilterArrayInput
- type GetLocalGatewayRouteTableFilterArrayOutput
- func (GetLocalGatewayRouteTableFilterArrayOutput) ElementType() reflect.Type
- func (o GetLocalGatewayRouteTableFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewayRouteTableFilterOutput
- func (o GetLocalGatewayRouteTableFilterArrayOutput) ToGetLocalGatewayRouteTableFilterArrayOutput() GetLocalGatewayRouteTableFilterArrayOutput
- func (o GetLocalGatewayRouteTableFilterArrayOutput) ToGetLocalGatewayRouteTableFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableFilterArrayOutput
- type GetLocalGatewayRouteTableFilterInput
- type GetLocalGatewayRouteTableFilterOutput
- func (GetLocalGatewayRouteTableFilterOutput) ElementType() reflect.Type
- func (o GetLocalGatewayRouteTableFilterOutput) Name() pulumi.StringOutput
- func (o GetLocalGatewayRouteTableFilterOutput) ToGetLocalGatewayRouteTableFilterOutput() GetLocalGatewayRouteTableFilterOutput
- func (o GetLocalGatewayRouteTableFilterOutput) ToGetLocalGatewayRouteTableFilterOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableFilterOutput
- func (o GetLocalGatewayRouteTableFilterOutput) Values() pulumi.StringArrayOutput
- type GetLocalGatewayRouteTableOutputArgs
- type GetLocalGatewayRouteTableResult
- type GetLocalGatewayRouteTableResultOutput
- func (GetLocalGatewayRouteTableResultOutput) ElementType() reflect.Type
- func (o GetLocalGatewayRouteTableResultOutput) Filters() GetLocalGatewayRouteTableFilterArrayOutput
- func (o GetLocalGatewayRouteTableResultOutput) Id() pulumi.StringOutput
- func (o GetLocalGatewayRouteTableResultOutput) LocalGatewayId() pulumi.StringOutput
- func (o GetLocalGatewayRouteTableResultOutput) LocalGatewayRouteTableId() pulumi.StringOutput
- func (o GetLocalGatewayRouteTableResultOutput) OutpostArn() pulumi.StringOutput
- func (o GetLocalGatewayRouteTableResultOutput) State() pulumi.StringOutput
- func (o GetLocalGatewayRouteTableResultOutput) Tags() pulumi.StringMapOutput
- func (o GetLocalGatewayRouteTableResultOutput) ToGetLocalGatewayRouteTableResultOutput() GetLocalGatewayRouteTableResultOutput
- func (o GetLocalGatewayRouteTableResultOutput) ToGetLocalGatewayRouteTableResultOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableResultOutput
- type GetLocalGatewayRouteTablesArgs
- type GetLocalGatewayRouteTablesFilter
- type GetLocalGatewayRouteTablesFilterArgs
- func (GetLocalGatewayRouteTablesFilterArgs) ElementType() reflect.Type
- func (i GetLocalGatewayRouteTablesFilterArgs) ToGetLocalGatewayRouteTablesFilterOutput() GetLocalGatewayRouteTablesFilterOutput
- func (i GetLocalGatewayRouteTablesFilterArgs) ToGetLocalGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesFilterOutput
- type GetLocalGatewayRouteTablesFilterArray
- func (GetLocalGatewayRouteTablesFilterArray) ElementType() reflect.Type
- func (i GetLocalGatewayRouteTablesFilterArray) ToGetLocalGatewayRouteTablesFilterArrayOutput() GetLocalGatewayRouteTablesFilterArrayOutput
- func (i GetLocalGatewayRouteTablesFilterArray) ToGetLocalGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesFilterArrayOutput
- type GetLocalGatewayRouteTablesFilterArrayInput
- type GetLocalGatewayRouteTablesFilterArrayOutput
- func (GetLocalGatewayRouteTablesFilterArrayOutput) ElementType() reflect.Type
- func (o GetLocalGatewayRouteTablesFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewayRouteTablesFilterOutput
- func (o GetLocalGatewayRouteTablesFilterArrayOutput) ToGetLocalGatewayRouteTablesFilterArrayOutput() GetLocalGatewayRouteTablesFilterArrayOutput
- func (o GetLocalGatewayRouteTablesFilterArrayOutput) ToGetLocalGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesFilterArrayOutput
- type GetLocalGatewayRouteTablesFilterInput
- type GetLocalGatewayRouteTablesFilterOutput
- func (GetLocalGatewayRouteTablesFilterOutput) ElementType() reflect.Type
- func (o GetLocalGatewayRouteTablesFilterOutput) Name() pulumi.StringOutput
- func (o GetLocalGatewayRouteTablesFilterOutput) ToGetLocalGatewayRouteTablesFilterOutput() GetLocalGatewayRouteTablesFilterOutput
- func (o GetLocalGatewayRouteTablesFilterOutput) ToGetLocalGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesFilterOutput
- func (o GetLocalGatewayRouteTablesFilterOutput) Values() pulumi.StringArrayOutput
- type GetLocalGatewayRouteTablesOutputArgs
- type GetLocalGatewayRouteTablesResult
- type GetLocalGatewayRouteTablesResultOutput
- func (GetLocalGatewayRouteTablesResultOutput) ElementType() reflect.Type
- func (o GetLocalGatewayRouteTablesResultOutput) Filters() GetLocalGatewayRouteTablesFilterArrayOutput
- func (o GetLocalGatewayRouteTablesResultOutput) Id() pulumi.StringOutput
- func (o GetLocalGatewayRouteTablesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetLocalGatewayRouteTablesResultOutput) Tags() pulumi.StringMapOutput
- func (o GetLocalGatewayRouteTablesResultOutput) ToGetLocalGatewayRouteTablesResultOutput() GetLocalGatewayRouteTablesResultOutput
- func (o GetLocalGatewayRouteTablesResultOutput) ToGetLocalGatewayRouteTablesResultOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesResultOutput
- type GetLocalGatewayVirtualInterfaceArgs
- type GetLocalGatewayVirtualInterfaceFilter
- type GetLocalGatewayVirtualInterfaceFilterArgs
- func (GetLocalGatewayVirtualInterfaceFilterArgs) ElementType() reflect.Type
- func (i GetLocalGatewayVirtualInterfaceFilterArgs) ToGetLocalGatewayVirtualInterfaceFilterOutput() GetLocalGatewayVirtualInterfaceFilterOutput
- func (i GetLocalGatewayVirtualInterfaceFilterArgs) ToGetLocalGatewayVirtualInterfaceFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceFilterOutput
- type GetLocalGatewayVirtualInterfaceFilterArray
- func (GetLocalGatewayVirtualInterfaceFilterArray) ElementType() reflect.Type
- func (i GetLocalGatewayVirtualInterfaceFilterArray) ToGetLocalGatewayVirtualInterfaceFilterArrayOutput() GetLocalGatewayVirtualInterfaceFilterArrayOutput
- func (i GetLocalGatewayVirtualInterfaceFilterArray) ToGetLocalGatewayVirtualInterfaceFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceFilterArrayOutput
- type GetLocalGatewayVirtualInterfaceFilterArrayInput
- type GetLocalGatewayVirtualInterfaceFilterArrayOutput
- func (GetLocalGatewayVirtualInterfaceFilterArrayOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewayVirtualInterfaceFilterOutput
- func (o GetLocalGatewayVirtualInterfaceFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceFilterArrayOutput() GetLocalGatewayVirtualInterfaceFilterArrayOutput
- func (o GetLocalGatewayVirtualInterfaceFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceFilterArrayOutput
- type GetLocalGatewayVirtualInterfaceFilterInput
- type GetLocalGatewayVirtualInterfaceFilterOutput
- func (GetLocalGatewayVirtualInterfaceFilterOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceFilterOutput) Name() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceFilterOutput) ToGetLocalGatewayVirtualInterfaceFilterOutput() GetLocalGatewayVirtualInterfaceFilterOutput
- func (o GetLocalGatewayVirtualInterfaceFilterOutput) ToGetLocalGatewayVirtualInterfaceFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceFilterOutput
- func (o GetLocalGatewayVirtualInterfaceFilterOutput) Values() pulumi.StringArrayOutput
- type GetLocalGatewayVirtualInterfaceGroupArgs
- type GetLocalGatewayVirtualInterfaceGroupFilter
- type GetLocalGatewayVirtualInterfaceGroupFilterArgs
- func (GetLocalGatewayVirtualInterfaceGroupFilterArgs) ElementType() reflect.Type
- func (i GetLocalGatewayVirtualInterfaceGroupFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupFilterOutput() GetLocalGatewayVirtualInterfaceGroupFilterOutput
- func (i GetLocalGatewayVirtualInterfaceGroupFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupFilterOutput
- type GetLocalGatewayVirtualInterfaceGroupFilterArray
- func (GetLocalGatewayVirtualInterfaceGroupFilterArray) ElementType() reflect.Type
- func (i GetLocalGatewayVirtualInterfaceGroupFilterArray) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
- func (i GetLocalGatewayVirtualInterfaceGroupFilterArray) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
- type GetLocalGatewayVirtualInterfaceGroupFilterArrayInput
- type GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
- func (GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewayVirtualInterfaceGroupFilterOutput
- func (o GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
- func (o GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
- type GetLocalGatewayVirtualInterfaceGroupFilterInput
- type GetLocalGatewayVirtualInterfaceGroupFilterOutput
- func (GetLocalGatewayVirtualInterfaceGroupFilterOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceGroupFilterOutput) Name() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceGroupFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterOutput() GetLocalGatewayVirtualInterfaceGroupFilterOutput
- func (o GetLocalGatewayVirtualInterfaceGroupFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupFilterOutput
- func (o GetLocalGatewayVirtualInterfaceGroupFilterOutput) Values() pulumi.StringArrayOutput
- type GetLocalGatewayVirtualInterfaceGroupOutputArgs
- type GetLocalGatewayVirtualInterfaceGroupResult
- type GetLocalGatewayVirtualInterfaceGroupResultOutput
- func (GetLocalGatewayVirtualInterfaceGroupResultOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) Filters() GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
- func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) Id() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) LocalGatewayId() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) LocalGatewayVirtualInterfaceIds() pulumi.StringArrayOutput
- func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) Tags() pulumi.StringMapOutput
- func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) ToGetLocalGatewayVirtualInterfaceGroupResultOutput() GetLocalGatewayVirtualInterfaceGroupResultOutput
- func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) ToGetLocalGatewayVirtualInterfaceGroupResultOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupResultOutput
- type GetLocalGatewayVirtualInterfaceGroupsArgs
- type GetLocalGatewayVirtualInterfaceGroupsFilter
- type GetLocalGatewayVirtualInterfaceGroupsFilterArgs
- func (GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ElementType() reflect.Type
- func (i GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutput() GetLocalGatewayVirtualInterfaceGroupsFilterOutput
- func (i GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterOutput
- type GetLocalGatewayVirtualInterfaceGroupsFilterArray
- func (GetLocalGatewayVirtualInterfaceGroupsFilterArray) ElementType() reflect.Type
- func (i GetLocalGatewayVirtualInterfaceGroupsFilterArray) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
- func (i GetLocalGatewayVirtualInterfaceGroupsFilterArray) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
- type GetLocalGatewayVirtualInterfaceGroupsFilterArrayInput
- type GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
- func (GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewayVirtualInterfaceGroupsFilterOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
- type GetLocalGatewayVirtualInterfaceGroupsFilterInput
- type GetLocalGatewayVirtualInterfaceGroupsFilterOutput
- func (GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceGroupsFilterOutput) Name() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutput() GetLocalGatewayVirtualInterfaceGroupsFilterOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsFilterOutput) Values() pulumi.StringArrayOutput
- type GetLocalGatewayVirtualInterfaceGroupsOutputArgs
- type GetLocalGatewayVirtualInterfaceGroupsResult
- type GetLocalGatewayVirtualInterfaceGroupsResultOutput
- func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) Filters() GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) LocalGatewayVirtualInterfaceIds() pulumi.StringArrayOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) ToGetLocalGatewayVirtualInterfaceGroupsResultOutput() GetLocalGatewayVirtualInterfaceGroupsResultOutput
- func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) ToGetLocalGatewayVirtualInterfaceGroupsResultOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsResultOutput
- type GetLocalGatewayVirtualInterfaceOutputArgs
- type GetLocalGatewayVirtualInterfaceResult
- type GetLocalGatewayVirtualInterfaceResultOutput
- func (GetLocalGatewayVirtualInterfaceResultOutput) ElementType() reflect.Type
- func (o GetLocalGatewayVirtualInterfaceResultOutput) Filters() GetLocalGatewayVirtualInterfaceFilterArrayOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) Id() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalAddress() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalBgpAsn() pulumi.IntOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayId() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayVirtualInterfaceIds() pulumi.StringArrayOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) PeerAddress() pulumi.StringOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) PeerBgpAsn() pulumi.IntOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) Tags() pulumi.StringMapOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) ToGetLocalGatewayVirtualInterfaceResultOutput() GetLocalGatewayVirtualInterfaceResultOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) ToGetLocalGatewayVirtualInterfaceResultOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceResultOutput
- func (o GetLocalGatewayVirtualInterfaceResultOutput) Vlan() pulumi.IntOutput
- type GetLocalGatewaysArgs
- type GetLocalGatewaysFilter
- type GetLocalGatewaysFilterArgs
- type GetLocalGatewaysFilterArray
- func (GetLocalGatewaysFilterArray) ElementType() reflect.Type
- func (i GetLocalGatewaysFilterArray) ToGetLocalGatewaysFilterArrayOutput() GetLocalGatewaysFilterArrayOutput
- func (i GetLocalGatewaysFilterArray) ToGetLocalGatewaysFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewaysFilterArrayOutput
- type GetLocalGatewaysFilterArrayInput
- type GetLocalGatewaysFilterArrayOutput
- func (GetLocalGatewaysFilterArrayOutput) ElementType() reflect.Type
- func (o GetLocalGatewaysFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewaysFilterOutput
- func (o GetLocalGatewaysFilterArrayOutput) ToGetLocalGatewaysFilterArrayOutput() GetLocalGatewaysFilterArrayOutput
- func (o GetLocalGatewaysFilterArrayOutput) ToGetLocalGatewaysFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewaysFilterArrayOutput
- type GetLocalGatewaysFilterInput
- type GetLocalGatewaysFilterOutput
- func (GetLocalGatewaysFilterOutput) ElementType() reflect.Type
- func (o GetLocalGatewaysFilterOutput) Name() pulumi.StringOutput
- func (o GetLocalGatewaysFilterOutput) ToGetLocalGatewaysFilterOutput() GetLocalGatewaysFilterOutput
- func (o GetLocalGatewaysFilterOutput) ToGetLocalGatewaysFilterOutputWithContext(ctx context.Context) GetLocalGatewaysFilterOutput
- func (o GetLocalGatewaysFilterOutput) Values() pulumi.StringArrayOutput
- type GetLocalGatewaysOutputArgs
- type GetLocalGatewaysResult
- type GetLocalGatewaysResultOutput
- func (GetLocalGatewaysResultOutput) ElementType() reflect.Type
- func (o GetLocalGatewaysResultOutput) Filters() GetLocalGatewaysFilterArrayOutput
- func (o GetLocalGatewaysResultOutput) Id() pulumi.StringOutput
- func (o GetLocalGatewaysResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetLocalGatewaysResultOutput) Tags() pulumi.StringMapOutput
- func (o GetLocalGatewaysResultOutput) ToGetLocalGatewaysResultOutput() GetLocalGatewaysResultOutput
- func (o GetLocalGatewaysResultOutput) ToGetLocalGatewaysResultOutputWithContext(ctx context.Context) GetLocalGatewaysResultOutput
- type GetManagedPrefixListEntryType
- type GetManagedPrefixListEntryTypeArgs
- func (GetManagedPrefixListEntryTypeArgs) ElementType() reflect.Type
- func (i GetManagedPrefixListEntryTypeArgs) ToGetManagedPrefixListEntryTypeOutput() GetManagedPrefixListEntryTypeOutput
- func (i GetManagedPrefixListEntryTypeArgs) ToGetManagedPrefixListEntryTypeOutputWithContext(ctx context.Context) GetManagedPrefixListEntryTypeOutput
- type GetManagedPrefixListEntryTypeArray
- func (GetManagedPrefixListEntryTypeArray) ElementType() reflect.Type
- func (i GetManagedPrefixListEntryTypeArray) ToGetManagedPrefixListEntryTypeArrayOutput() GetManagedPrefixListEntryTypeArrayOutput
- func (i GetManagedPrefixListEntryTypeArray) ToGetManagedPrefixListEntryTypeArrayOutputWithContext(ctx context.Context) GetManagedPrefixListEntryTypeArrayOutput
- type GetManagedPrefixListEntryTypeArrayInput
- type GetManagedPrefixListEntryTypeArrayOutput
- func (GetManagedPrefixListEntryTypeArrayOutput) ElementType() reflect.Type
- func (o GetManagedPrefixListEntryTypeArrayOutput) Index(i pulumi.IntInput) GetManagedPrefixListEntryTypeOutput
- func (o GetManagedPrefixListEntryTypeArrayOutput) ToGetManagedPrefixListEntryTypeArrayOutput() GetManagedPrefixListEntryTypeArrayOutput
- func (o GetManagedPrefixListEntryTypeArrayOutput) ToGetManagedPrefixListEntryTypeArrayOutputWithContext(ctx context.Context) GetManagedPrefixListEntryTypeArrayOutput
- type GetManagedPrefixListEntryTypeInput
- type GetManagedPrefixListEntryTypeOutput
- func (o GetManagedPrefixListEntryTypeOutput) Cidr() pulumi.StringOutput
- func (o GetManagedPrefixListEntryTypeOutput) Description() pulumi.StringOutput
- func (GetManagedPrefixListEntryTypeOutput) ElementType() reflect.Type
- func (o GetManagedPrefixListEntryTypeOutput) ToGetManagedPrefixListEntryTypeOutput() GetManagedPrefixListEntryTypeOutput
- func (o GetManagedPrefixListEntryTypeOutput) ToGetManagedPrefixListEntryTypeOutputWithContext(ctx context.Context) GetManagedPrefixListEntryTypeOutput
- type GetManagedPrefixListFilter
- type GetManagedPrefixListFilterArgs
- func (GetManagedPrefixListFilterArgs) ElementType() reflect.Type
- func (i GetManagedPrefixListFilterArgs) ToGetManagedPrefixListFilterOutput() GetManagedPrefixListFilterOutput
- func (i GetManagedPrefixListFilterArgs) ToGetManagedPrefixListFilterOutputWithContext(ctx context.Context) GetManagedPrefixListFilterOutput
- type GetManagedPrefixListFilterArray
- func (GetManagedPrefixListFilterArray) ElementType() reflect.Type
- func (i GetManagedPrefixListFilterArray) ToGetManagedPrefixListFilterArrayOutput() GetManagedPrefixListFilterArrayOutput
- func (i GetManagedPrefixListFilterArray) ToGetManagedPrefixListFilterArrayOutputWithContext(ctx context.Context) GetManagedPrefixListFilterArrayOutput
- type GetManagedPrefixListFilterArrayInput
- type GetManagedPrefixListFilterArrayOutput
- func (GetManagedPrefixListFilterArrayOutput) ElementType() reflect.Type
- func (o GetManagedPrefixListFilterArrayOutput) Index(i pulumi.IntInput) GetManagedPrefixListFilterOutput
- func (o GetManagedPrefixListFilterArrayOutput) ToGetManagedPrefixListFilterArrayOutput() GetManagedPrefixListFilterArrayOutput
- func (o GetManagedPrefixListFilterArrayOutput) ToGetManagedPrefixListFilterArrayOutputWithContext(ctx context.Context) GetManagedPrefixListFilterArrayOutput
- type GetManagedPrefixListFilterInput
- type GetManagedPrefixListFilterOutput
- func (GetManagedPrefixListFilterOutput) ElementType() reflect.Type
- func (o GetManagedPrefixListFilterOutput) Name() pulumi.StringOutput
- func (o GetManagedPrefixListFilterOutput) ToGetManagedPrefixListFilterOutput() GetManagedPrefixListFilterOutput
- func (o GetManagedPrefixListFilterOutput) ToGetManagedPrefixListFilterOutputWithContext(ctx context.Context) GetManagedPrefixListFilterOutput
- func (o GetManagedPrefixListFilterOutput) Values() pulumi.StringArrayOutput
- type GetNatGatewayFilter
- type GetNatGatewayFilterArgs
- type GetNatGatewayFilterArray
- type GetNatGatewayFilterArrayInput
- type GetNatGatewayFilterArrayOutput
- func (GetNatGatewayFilterArrayOutput) ElementType() reflect.Type
- func (o GetNatGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetNatGatewayFilterOutput
- func (o GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutput() GetNatGatewayFilterArrayOutput
- func (o GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutputWithContext(ctx context.Context) GetNatGatewayFilterArrayOutput
- type GetNatGatewayFilterInput
- type GetNatGatewayFilterOutput
- func (GetNatGatewayFilterOutput) ElementType() reflect.Type
- func (o GetNatGatewayFilterOutput) Name() pulumi.StringOutput
- func (o GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutput() GetNatGatewayFilterOutput
- func (o GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutputWithContext(ctx context.Context) GetNatGatewayFilterOutput
- func (o GetNatGatewayFilterOutput) Values() pulumi.StringArrayOutput
- type GetNetworkAclsArgs
- type GetNetworkAclsFilter
- type GetNetworkAclsFilterArgs
- type GetNetworkAclsFilterArray
- type GetNetworkAclsFilterArrayInput
- type GetNetworkAclsFilterArrayOutput
- func (GetNetworkAclsFilterArrayOutput) ElementType() reflect.Type
- func (o GetNetworkAclsFilterArrayOutput) Index(i pulumi.IntInput) GetNetworkAclsFilterOutput
- func (o GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutput() GetNetworkAclsFilterArrayOutput
- func (o GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutputWithContext(ctx context.Context) GetNetworkAclsFilterArrayOutput
- type GetNetworkAclsFilterInput
- type GetNetworkAclsFilterOutput
- func (GetNetworkAclsFilterOutput) ElementType() reflect.Type
- func (o GetNetworkAclsFilterOutput) Name() pulumi.StringOutput
- func (o GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutput() GetNetworkAclsFilterOutput
- func (o GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutputWithContext(ctx context.Context) GetNetworkAclsFilterOutput
- func (o GetNetworkAclsFilterOutput) Values() pulumi.StringArrayOutput
- type GetNetworkAclsOutputArgs
- type GetNetworkAclsResult
- type GetNetworkAclsResultOutput
- func (GetNetworkAclsResultOutput) ElementType() reflect.Type
- func (o GetNetworkAclsResultOutput) Filters() GetNetworkAclsFilterArrayOutput
- func (o GetNetworkAclsResultOutput) Id() pulumi.StringOutput
- func (o GetNetworkAclsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetNetworkAclsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetNetworkAclsResultOutput) ToGetNetworkAclsResultOutput() GetNetworkAclsResultOutput
- func (o GetNetworkAclsResultOutput) ToGetNetworkAclsResultOutputWithContext(ctx context.Context) GetNetworkAclsResultOutput
- func (o GetNetworkAclsResultOutput) VpcId() pulumi.StringPtrOutput
- type GetNetworkInterfaceAssociation
- type GetNetworkInterfaceAssociationArgs
- func (GetNetworkInterfaceAssociationArgs) ElementType() reflect.Type
- func (i GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutput() GetNetworkInterfaceAssociationOutput
- func (i GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationOutput
- type GetNetworkInterfaceAssociationArray
- func (GetNetworkInterfaceAssociationArray) ElementType() reflect.Type
- func (i GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutput() GetNetworkInterfaceAssociationArrayOutput
- func (i GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationArrayOutput
- type GetNetworkInterfaceAssociationArrayInput
- type GetNetworkInterfaceAssociationArrayOutput
- func (GetNetworkInterfaceAssociationArrayOutput) ElementType() reflect.Type
- func (o GetNetworkInterfaceAssociationArrayOutput) Index(i pulumi.IntInput) GetNetworkInterfaceAssociationOutput
- func (o GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutput() GetNetworkInterfaceAssociationArrayOutput
- func (o GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationArrayOutput
- type GetNetworkInterfaceAssociationInput
- type GetNetworkInterfaceAssociationOutput
- func (o GetNetworkInterfaceAssociationOutput) AllocationId() pulumi.StringOutput
- func (o GetNetworkInterfaceAssociationOutput) AssociationId() pulumi.StringOutput
- func (o GetNetworkInterfaceAssociationOutput) CarrierIp() pulumi.StringOutput
- func (o GetNetworkInterfaceAssociationOutput) CustomerOwnedIp() pulumi.StringOutput
- func (GetNetworkInterfaceAssociationOutput) ElementType() reflect.Type
- func (o GetNetworkInterfaceAssociationOutput) IpOwnerId() pulumi.StringOutput
- func (o GetNetworkInterfaceAssociationOutput) PublicDnsName() pulumi.StringOutput
- func (o GetNetworkInterfaceAssociationOutput) PublicIp() pulumi.StringOutput
- func (o GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutput() GetNetworkInterfaceAssociationOutput
- func (o GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationOutput
- type GetNetworkInterfaceAttachmentType
- type GetNetworkInterfaceAttachmentTypeArgs
- func (GetNetworkInterfaceAttachmentTypeArgs) ElementType() reflect.Type
- func (i GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutput() GetNetworkInterfaceAttachmentTypeOutput
- func (i GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeOutput
- type GetNetworkInterfaceAttachmentTypeArray
- func (GetNetworkInterfaceAttachmentTypeArray) ElementType() reflect.Type
- func (i GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutput() GetNetworkInterfaceAttachmentTypeArrayOutput
- func (i GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeArrayOutput
- type GetNetworkInterfaceAttachmentTypeArrayInput
- type GetNetworkInterfaceAttachmentTypeArrayOutput
- func (GetNetworkInterfaceAttachmentTypeArrayOutput) ElementType() reflect.Type
- func (o GetNetworkInterfaceAttachmentTypeArrayOutput) Index(i pulumi.IntInput) GetNetworkInterfaceAttachmentTypeOutput
- func (o GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutput() GetNetworkInterfaceAttachmentTypeArrayOutput
- func (o GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeArrayOutput
- type GetNetworkInterfaceAttachmentTypeInput
- type GetNetworkInterfaceAttachmentTypeOutput
- func (o GetNetworkInterfaceAttachmentTypeOutput) AttachmentId() pulumi.StringOutput
- func (o GetNetworkInterfaceAttachmentTypeOutput) DeviceIndex() pulumi.IntOutput
- func (GetNetworkInterfaceAttachmentTypeOutput) ElementType() reflect.Type
- func (o GetNetworkInterfaceAttachmentTypeOutput) InstanceId() pulumi.StringOutput
- func (o GetNetworkInterfaceAttachmentTypeOutput) InstanceOwnerId() pulumi.StringOutput
- func (o GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutput() GetNetworkInterfaceAttachmentTypeOutput
- func (o GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeOutput
- type GetNetworkInterfaceFilter
- type GetNetworkInterfaceFilterArgs
- func (GetNetworkInterfaceFilterArgs) ElementType() reflect.Type
- func (i GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutput() GetNetworkInterfaceFilterOutput
- func (i GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterOutput
- type GetNetworkInterfaceFilterArray
- func (GetNetworkInterfaceFilterArray) ElementType() reflect.Type
- func (i GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutput() GetNetworkInterfaceFilterArrayOutput
- func (i GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterArrayOutput
- type GetNetworkInterfaceFilterArrayInput
- type GetNetworkInterfaceFilterArrayOutput
- func (GetNetworkInterfaceFilterArrayOutput) ElementType() reflect.Type
- func (o GetNetworkInterfaceFilterArrayOutput) Index(i pulumi.IntInput) GetNetworkInterfaceFilterOutput
- func (o GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutput() GetNetworkInterfaceFilterArrayOutput
- func (o GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterArrayOutput
- type GetNetworkInterfaceFilterInput
- type GetNetworkInterfaceFilterOutput
- func (GetNetworkInterfaceFilterOutput) ElementType() reflect.Type
- func (o GetNetworkInterfaceFilterOutput) Name() pulumi.StringOutput
- func (o GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutput() GetNetworkInterfaceFilterOutput
- func (o GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterOutput
- func (o GetNetworkInterfaceFilterOutput) Values() pulumi.StringArrayOutput
- type GetNetworkInterfacesArgs
- type GetNetworkInterfacesFilter
- type GetNetworkInterfacesFilterArgs
- func (GetNetworkInterfacesFilterArgs) ElementType() reflect.Type
- func (i GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutput() GetNetworkInterfacesFilterOutput
- func (i GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterOutput
- type GetNetworkInterfacesFilterArray
- func (GetNetworkInterfacesFilterArray) ElementType() reflect.Type
- func (i GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutput() GetNetworkInterfacesFilterArrayOutput
- func (i GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterArrayOutput
- type GetNetworkInterfacesFilterArrayInput
- type GetNetworkInterfacesFilterArrayOutput
- func (GetNetworkInterfacesFilterArrayOutput) ElementType() reflect.Type
- func (o GetNetworkInterfacesFilterArrayOutput) Index(i pulumi.IntInput) GetNetworkInterfacesFilterOutput
- func (o GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutput() GetNetworkInterfacesFilterArrayOutput
- func (o GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterArrayOutput
- type GetNetworkInterfacesFilterInput
- type GetNetworkInterfacesFilterOutput
- func (GetNetworkInterfacesFilterOutput) ElementType() reflect.Type
- func (o GetNetworkInterfacesFilterOutput) Name() pulumi.StringOutput
- func (o GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutput() GetNetworkInterfacesFilterOutput
- func (o GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterOutput
- func (o GetNetworkInterfacesFilterOutput) Values() pulumi.StringArrayOutput
- type GetNetworkInterfacesOutputArgs
- type GetNetworkInterfacesResult
- type GetNetworkInterfacesResultOutput
- func (GetNetworkInterfacesResultOutput) ElementType() reflect.Type
- func (o GetNetworkInterfacesResultOutput) Filters() GetNetworkInterfacesFilterArrayOutput
- func (o GetNetworkInterfacesResultOutput) Id() pulumi.StringOutput
- func (o GetNetworkInterfacesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetNetworkInterfacesResultOutput) Tags() pulumi.StringMapOutput
- func (o GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutput() GetNetworkInterfacesResultOutput
- func (o GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutputWithContext(ctx context.Context) GetNetworkInterfacesResultOutput
- type GetPrefixListArgs
- type GetPrefixListFilter
- type GetPrefixListFilterArgs
- type GetPrefixListFilterArray
- type GetPrefixListFilterArrayInput
- type GetPrefixListFilterArrayOutput
- func (GetPrefixListFilterArrayOutput) ElementType() reflect.Type
- func (o GetPrefixListFilterArrayOutput) Index(i pulumi.IntInput) GetPrefixListFilterOutput
- func (o GetPrefixListFilterArrayOutput) ToGetPrefixListFilterArrayOutput() GetPrefixListFilterArrayOutput
- func (o GetPrefixListFilterArrayOutput) ToGetPrefixListFilterArrayOutputWithContext(ctx context.Context) GetPrefixListFilterArrayOutput
- type GetPrefixListFilterInput
- type GetPrefixListFilterOutput
- func (GetPrefixListFilterOutput) ElementType() reflect.Type
- func (o GetPrefixListFilterOutput) Name() pulumi.StringOutput
- func (o GetPrefixListFilterOutput) ToGetPrefixListFilterOutput() GetPrefixListFilterOutput
- func (o GetPrefixListFilterOutput) ToGetPrefixListFilterOutputWithContext(ctx context.Context) GetPrefixListFilterOutput
- func (o GetPrefixListFilterOutput) Values() pulumi.StringArrayOutput
- type GetPrefixListOutputArgs
- type GetPrefixListResult
- type GetPrefixListResultOutput
- func (o GetPrefixListResultOutput) CidrBlocks() pulumi.StringArrayOutput
- func (GetPrefixListResultOutput) ElementType() reflect.Type
- func (o GetPrefixListResultOutput) Filters() GetPrefixListFilterArrayOutput
- func (o GetPrefixListResultOutput) Id() pulumi.StringOutput
- func (o GetPrefixListResultOutput) Name() pulumi.StringOutput
- func (o GetPrefixListResultOutput) PrefixListId() pulumi.StringPtrOutput
- func (o GetPrefixListResultOutput) ToGetPrefixListResultOutput() GetPrefixListResultOutput
- func (o GetPrefixListResultOutput) ToGetPrefixListResultOutputWithContext(ctx context.Context) GetPrefixListResultOutput
- type GetRouteTableAssociationType
- type GetRouteTableAssociationTypeArgs
- func (GetRouteTableAssociationTypeArgs) ElementType() reflect.Type
- func (i GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutput() GetRouteTableAssociationTypeOutput
- func (i GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeOutput
- type GetRouteTableAssociationTypeArray
- func (GetRouteTableAssociationTypeArray) ElementType() reflect.Type
- func (i GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutput() GetRouteTableAssociationTypeArrayOutput
- func (i GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeArrayOutput
- type GetRouteTableAssociationTypeArrayInput
- type GetRouteTableAssociationTypeArrayOutput
- func (GetRouteTableAssociationTypeArrayOutput) ElementType() reflect.Type
- func (o GetRouteTableAssociationTypeArrayOutput) Index(i pulumi.IntInput) GetRouteTableAssociationTypeOutput
- func (o GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutput() GetRouteTableAssociationTypeArrayOutput
- func (o GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeArrayOutput
- type GetRouteTableAssociationTypeInput
- type GetRouteTableAssociationTypeOutput
- func (GetRouteTableAssociationTypeOutput) ElementType() reflect.Type
- func (o GetRouteTableAssociationTypeOutput) GatewayId() pulumi.StringOutput
- func (o GetRouteTableAssociationTypeOutput) Main() pulumi.BoolOutput
- func (o GetRouteTableAssociationTypeOutput) RouteTableAssociationId() pulumi.StringOutput
- func (o GetRouteTableAssociationTypeOutput) RouteTableId() pulumi.StringOutput
- func (o GetRouteTableAssociationTypeOutput) SubnetId() pulumi.StringOutput
- func (o GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutput() GetRouteTableAssociationTypeOutput
- func (o GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeOutput
- type GetRouteTableFilter
- type GetRouteTableFilterArgs
- type GetRouteTableFilterArray
- type GetRouteTableFilterArrayInput
- type GetRouteTableFilterArrayOutput
- func (GetRouteTableFilterArrayOutput) ElementType() reflect.Type
- func (o GetRouteTableFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTableFilterOutput
- func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
- func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput
- type GetRouteTableFilterInput
- type GetRouteTableFilterOutput
- func (GetRouteTableFilterOutput) ElementType() reflect.Type
- func (o GetRouteTableFilterOutput) Name() pulumi.StringOutput
- func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
- func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput
- func (o GetRouteTableFilterOutput) Values() pulumi.StringArrayOutput
- type GetRouteTableRoute
- type GetRouteTableRouteArgs
- type GetRouteTableRouteArray
- type GetRouteTableRouteArrayInput
- type GetRouteTableRouteArrayOutput
- func (GetRouteTableRouteArrayOutput) ElementType() reflect.Type
- func (o GetRouteTableRouteArrayOutput) Index(i pulumi.IntInput) GetRouteTableRouteOutput
- func (o GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput
- func (o GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRouteArrayOutput
- type GetRouteTableRouteInput
- type GetRouteTableRouteOutput
- func (o GetRouteTableRouteOutput) CarrierGatewayId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) CidrBlock() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) DestinationPrefixListId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringOutput
- func (GetRouteTableRouteOutput) ElementType() reflect.Type
- func (o GetRouteTableRouteOutput) GatewayId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) InstanceId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) Ipv6CidrBlock() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) LocalGatewayId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) NatGatewayId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) ToGetRouteTableRouteOutput() GetRouteTableRouteOutput
- func (o GetRouteTableRouteOutput) ToGetRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTableRouteOutput
- func (o GetRouteTableRouteOutput) TransitGatewayId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) VpcEndpointId() pulumi.StringOutput
- func (o GetRouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringOutput
- type GetRouteTablesArgs
- type GetRouteTablesFilter
- type GetRouteTablesFilterArgs
- type GetRouteTablesFilterArray
- type GetRouteTablesFilterArrayInput
- type GetRouteTablesFilterArrayOutput
- func (GetRouteTablesFilterArrayOutput) ElementType() reflect.Type
- func (o GetRouteTablesFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTablesFilterOutput
- func (o GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput
- func (o GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetRouteTablesFilterArrayOutput
- type GetRouteTablesFilterInput
- type GetRouteTablesFilterOutput
- func (GetRouteTablesFilterOutput) ElementType() reflect.Type
- func (o GetRouteTablesFilterOutput) Name() pulumi.StringOutput
- func (o GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput
- func (o GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutputWithContext(ctx context.Context) GetRouteTablesFilterOutput
- func (o GetRouteTablesFilterOutput) Values() pulumi.StringArrayOutput
- type GetRouteTablesOutputArgs
- type GetRouteTablesResult
- type GetRouteTablesResultOutput
- func (GetRouteTablesResultOutput) ElementType() reflect.Type
- func (o GetRouteTablesResultOutput) Filters() GetRouteTablesFilterArrayOutput
- func (o GetRouteTablesResultOutput) Id() pulumi.StringOutput
- func (o GetRouteTablesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetRouteTablesResultOutput) Tags() pulumi.StringMapOutput
- func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutput() GetRouteTablesResultOutput
- func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext(ctx context.Context) GetRouteTablesResultOutput
- func (o GetRouteTablesResultOutput) VpcId() pulumi.StringPtrOutput
- type GetSecurityGroupFilter
- type GetSecurityGroupFilterArgs
- type GetSecurityGroupFilterArray
- func (GetSecurityGroupFilterArray) ElementType() reflect.Type
- func (i GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput
- func (i GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupFilterArrayOutput
- type GetSecurityGroupFilterArrayInput
- type GetSecurityGroupFilterArrayOutput
- func (GetSecurityGroupFilterArrayOutput) ElementType() reflect.Type
- func (o GetSecurityGroupFilterArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupFilterOutput
- func (o GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput
- func (o GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupFilterArrayOutput
- type GetSecurityGroupFilterInput
- type GetSecurityGroupFilterOutput
- func (GetSecurityGroupFilterOutput) ElementType() reflect.Type
- func (o GetSecurityGroupFilterOutput) Name() pulumi.StringOutput
- func (o GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput
- func (o GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutputWithContext(ctx context.Context) GetSecurityGroupFilterOutput
- func (o GetSecurityGroupFilterOutput) Values() pulumi.StringArrayOutput
- type GetSecurityGroupsArgs
- type GetSecurityGroupsFilter
- type GetSecurityGroupsFilterArgs
- type GetSecurityGroupsFilterArray
- func (GetSecurityGroupsFilterArray) ElementType() reflect.Type
- func (i GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput
- func (i GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupsFilterArrayOutput
- type GetSecurityGroupsFilterArrayInput
- type GetSecurityGroupsFilterArrayOutput
- func (GetSecurityGroupsFilterArrayOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsFilterArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsFilterOutput
- func (o GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput
- func (o GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupsFilterArrayOutput
- type GetSecurityGroupsFilterInput
- type GetSecurityGroupsFilterOutput
- func (GetSecurityGroupsFilterOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsFilterOutput) Name() pulumi.StringOutput
- func (o GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput
- func (o GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutputWithContext(ctx context.Context) GetSecurityGroupsFilterOutput
- func (o GetSecurityGroupsFilterOutput) Values() pulumi.StringArrayOutput
- type GetSecurityGroupsOutputArgs
- type GetSecurityGroupsResult
- type GetSecurityGroupsResultOutput
- func (o GetSecurityGroupsResultOutput) Arns() pulumi.StringArrayOutput
- func (GetSecurityGroupsResultOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsResultOutput) Filters() GetSecurityGroupsFilterArrayOutput
- func (o GetSecurityGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetSecurityGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSecurityGroupsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput() GetSecurityGroupsResultOutput
- func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext(ctx context.Context) GetSecurityGroupsResultOutput
- func (o GetSecurityGroupsResultOutput) VpcIds() pulumi.StringArrayOutput
- type GetSpotPriceArgs
- type GetSpotPriceFilter
- type GetSpotPriceFilterArgs
- type GetSpotPriceFilterArray
- type GetSpotPriceFilterArrayInput
- type GetSpotPriceFilterArrayOutput
- func (GetSpotPriceFilterArrayOutput) ElementType() reflect.Type
- func (o GetSpotPriceFilterArrayOutput) Index(i pulumi.IntInput) GetSpotPriceFilterOutput
- func (o GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput
- func (o GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutputWithContext(ctx context.Context) GetSpotPriceFilterArrayOutput
- type GetSpotPriceFilterInput
- type GetSpotPriceFilterOutput
- func (GetSpotPriceFilterOutput) ElementType() reflect.Type
- func (o GetSpotPriceFilterOutput) Name() pulumi.StringOutput
- func (o GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput
- func (o GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutputWithContext(ctx context.Context) GetSpotPriceFilterOutput
- func (o GetSpotPriceFilterOutput) Values() pulumi.StringArrayOutput
- type GetSpotPriceOutputArgs
- type GetSpotPriceResult
- type GetSpotPriceResultOutput
- func (o GetSpotPriceResultOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (GetSpotPriceResultOutput) ElementType() reflect.Type
- func (o GetSpotPriceResultOutput) Filters() GetSpotPriceFilterArrayOutput
- func (o GetSpotPriceResultOutput) Id() pulumi.StringOutput
- func (o GetSpotPriceResultOutput) InstanceType() pulumi.StringPtrOutput
- func (o GetSpotPriceResultOutput) SpotPrice() pulumi.StringOutput
- func (o GetSpotPriceResultOutput) SpotPriceTimestamp() pulumi.StringOutput
- func (o GetSpotPriceResultOutput) ToGetSpotPriceResultOutput() GetSpotPriceResultOutput
- func (o GetSpotPriceResultOutput) ToGetSpotPriceResultOutputWithContext(ctx context.Context) GetSpotPriceResultOutput
- type GetSubnetFilter
- type GetSubnetFilterArgs
- type GetSubnetFilterArray
- type GetSubnetFilterArrayInput
- type GetSubnetFilterArrayOutput
- func (GetSubnetFilterArrayOutput) ElementType() reflect.Type
- func (o GetSubnetFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetFilterOutput
- func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput
- func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput
- type GetSubnetFilterInput
- type GetSubnetFilterOutput
- func (GetSubnetFilterOutput) ElementType() reflect.Type
- func (o GetSubnetFilterOutput) Name() pulumi.StringOutput
- func (o GetSubnetFilterOutput) ToGetSubnetFilterOutput() GetSubnetFilterOutput
- func (o GetSubnetFilterOutput) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput
- func (o GetSubnetFilterOutput) Values() pulumi.StringArrayOutput
- type GetSubnetIdsArgs
- type GetSubnetIdsFilter
- type GetSubnetIdsFilterArgs
- type GetSubnetIdsFilterArray
- type GetSubnetIdsFilterArrayInput
- type GetSubnetIdsFilterArrayOutput
- func (GetSubnetIdsFilterArrayOutput) ElementType() reflect.Type
- func (o GetSubnetIdsFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetIdsFilterOutput
- func (o GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutput() GetSubnetIdsFilterArrayOutput
- func (o GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutputWithContext(ctx context.Context) GetSubnetIdsFilterArrayOutput
- type GetSubnetIdsFilterInput
- type GetSubnetIdsFilterOutput
- func (GetSubnetIdsFilterOutput) ElementType() reflect.Type
- func (o GetSubnetIdsFilterOutput) Name() pulumi.StringOutput
- func (o GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutput() GetSubnetIdsFilterOutput
- func (o GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutputWithContext(ctx context.Context) GetSubnetIdsFilterOutput
- func (o GetSubnetIdsFilterOutput) Values() pulumi.StringArrayOutput
- type GetSubnetIdsOutputArgs
- type GetSubnetIdsResult
- type GetSubnetIdsResultOutput
- func (GetSubnetIdsResultOutput) ElementType() reflect.Type
- func (o GetSubnetIdsResultOutput) Filters() GetSubnetIdsFilterArrayOutput
- func (o GetSubnetIdsResultOutput) Id() pulumi.StringOutput
- func (o GetSubnetIdsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSubnetIdsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetSubnetIdsResultOutput) ToGetSubnetIdsResultOutput() GetSubnetIdsResultOutput
- func (o GetSubnetIdsResultOutput) ToGetSubnetIdsResultOutputWithContext(ctx context.Context) GetSubnetIdsResultOutput
- func (o GetSubnetIdsResultOutput) VpcId() pulumi.StringOutput
- type GetSubnetsArgs
- type GetSubnetsFilter
- type GetSubnetsFilterArgs
- type GetSubnetsFilterArray
- type GetSubnetsFilterArrayInput
- type GetSubnetsFilterArrayOutput
- func (GetSubnetsFilterArrayOutput) ElementType() reflect.Type
- func (o GetSubnetsFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetsFilterOutput
- func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput
- func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput
- type GetSubnetsFilterInput
- type GetSubnetsFilterOutput
- func (GetSubnetsFilterOutput) ElementType() reflect.Type
- func (o GetSubnetsFilterOutput) Name() pulumi.StringOutput
- func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput
- func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput
- func (o GetSubnetsFilterOutput) Values() pulumi.StringArrayOutput
- type GetSubnetsOutputArgs
- type GetSubnetsResult
- type GetSubnetsResultOutput
- func (GetSubnetsResultOutput) ElementType() reflect.Type
- func (o GetSubnetsResultOutput) Filters() GetSubnetsFilterArrayOutput
- func (o GetSubnetsResultOutput) Id() pulumi.StringOutput
- func (o GetSubnetsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSubnetsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetSubnetsResultOutput) ToGetSubnetsResultOutput() GetSubnetsResultOutput
- func (o GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext(ctx context.Context) GetSubnetsResultOutput
- type GetTransitGatewayRouteTablesArgs
- type GetTransitGatewayRouteTablesFilter
- type GetTransitGatewayRouteTablesFilterArgs
- func (GetTransitGatewayRouteTablesFilterArgs) ElementType() reflect.Type
- func (i GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput
- func (i GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterOutput
- type GetTransitGatewayRouteTablesFilterArray
- func (GetTransitGatewayRouteTablesFilterArray) ElementType() reflect.Type
- func (i GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput
- func (i GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterArrayOutput
- type GetTransitGatewayRouteTablesFilterArrayInput
- type GetTransitGatewayRouteTablesFilterArrayOutput
- func (GetTransitGatewayRouteTablesFilterArrayOutput) ElementType() reflect.Type
- func (o GetTransitGatewayRouteTablesFilterArrayOutput) Index(i pulumi.IntInput) GetTransitGatewayRouteTablesFilterOutput
- func (o GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput
- func (o GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterArrayOutput
- type GetTransitGatewayRouteTablesFilterInput
- type GetTransitGatewayRouteTablesFilterOutput
- func (GetTransitGatewayRouteTablesFilterOutput) ElementType() reflect.Type
- func (o GetTransitGatewayRouteTablesFilterOutput) Name() pulumi.StringOutput
- func (o GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput
- func (o GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterOutput
- func (o GetTransitGatewayRouteTablesFilterOutput) Values() pulumi.StringArrayOutput
- type GetTransitGatewayRouteTablesOutputArgs
- type GetTransitGatewayRouteTablesResult
- type GetTransitGatewayRouteTablesResultOutput
- func (GetTransitGatewayRouteTablesResultOutput) ElementType() reflect.Type
- func (o GetTransitGatewayRouteTablesResultOutput) Filters() GetTransitGatewayRouteTablesFilterArrayOutput
- func (o GetTransitGatewayRouteTablesResultOutput) Id() pulumi.StringOutput
- func (o GetTransitGatewayRouteTablesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetTransitGatewayRouteTablesResultOutput) Tags() pulumi.StringMapOutput
- func (o GetTransitGatewayRouteTablesResultOutput) ToGetTransitGatewayRouteTablesResultOutput() GetTransitGatewayRouteTablesResultOutput
- func (o GetTransitGatewayRouteTablesResultOutput) ToGetTransitGatewayRouteTablesResultOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesResultOutput
- type GetVpcCidrBlockAssociation
- type GetVpcCidrBlockAssociationArgs
- func (GetVpcCidrBlockAssociationArgs) ElementType() reflect.Type
- func (i GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutput() GetVpcCidrBlockAssociationOutput
- func (i GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationOutput
- type GetVpcCidrBlockAssociationArray
- func (GetVpcCidrBlockAssociationArray) ElementType() reflect.Type
- func (i GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutput() GetVpcCidrBlockAssociationArrayOutput
- func (i GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationArrayOutput
- type GetVpcCidrBlockAssociationArrayInput
- type GetVpcCidrBlockAssociationArrayOutput
- func (GetVpcCidrBlockAssociationArrayOutput) ElementType() reflect.Type
- func (o GetVpcCidrBlockAssociationArrayOutput) Index(i pulumi.IntInput) GetVpcCidrBlockAssociationOutput
- func (o GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutput() GetVpcCidrBlockAssociationArrayOutput
- func (o GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationArrayOutput
- type GetVpcCidrBlockAssociationInput
- type GetVpcCidrBlockAssociationOutput
- func (o GetVpcCidrBlockAssociationOutput) AssociationId() pulumi.StringOutput
- func (o GetVpcCidrBlockAssociationOutput) CidrBlock() pulumi.StringOutput
- func (GetVpcCidrBlockAssociationOutput) ElementType() reflect.Type
- func (o GetVpcCidrBlockAssociationOutput) State() pulumi.StringOutput
- func (o GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutput() GetVpcCidrBlockAssociationOutput
- func (o GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationOutput
- type GetVpcDhcpOptionsFilter
- type GetVpcDhcpOptionsFilterArgs
- type GetVpcDhcpOptionsFilterArray
- func (GetVpcDhcpOptionsFilterArray) ElementType() reflect.Type
- func (i GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutput() GetVpcDhcpOptionsFilterArrayOutput
- func (i GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterArrayOutput
- type GetVpcDhcpOptionsFilterArrayInput
- type GetVpcDhcpOptionsFilterArrayOutput
- func (GetVpcDhcpOptionsFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcDhcpOptionsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcDhcpOptionsFilterOutput
- func (o GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutput() GetVpcDhcpOptionsFilterArrayOutput
- func (o GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterArrayOutput
- type GetVpcDhcpOptionsFilterInput
- type GetVpcDhcpOptionsFilterOutput
- func (GetVpcDhcpOptionsFilterOutput) ElementType() reflect.Type
- func (o GetVpcDhcpOptionsFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutput() GetVpcDhcpOptionsFilterOutput
- func (o GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterOutput
- func (o GetVpcDhcpOptionsFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcEndpointDnsEntry
- type GetVpcEndpointDnsEntryArgs
- type GetVpcEndpointDnsEntryArray
- func (GetVpcEndpointDnsEntryArray) ElementType() reflect.Type
- func (i GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutput() GetVpcEndpointDnsEntryArrayOutput
- func (i GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryArrayOutput
- type GetVpcEndpointDnsEntryArrayInput
- type GetVpcEndpointDnsEntryArrayOutput
- func (GetVpcEndpointDnsEntryArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointDnsEntryArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointDnsEntryOutput
- func (o GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutput() GetVpcEndpointDnsEntryArrayOutput
- func (o GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryArrayOutput
- type GetVpcEndpointDnsEntryInput
- type GetVpcEndpointDnsEntryOutput
- func (o GetVpcEndpointDnsEntryOutput) DnsName() pulumi.StringOutput
- func (GetVpcEndpointDnsEntryOutput) ElementType() reflect.Type
- func (o GetVpcEndpointDnsEntryOutput) HostedZoneId() pulumi.StringOutput
- func (o GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutput() GetVpcEndpointDnsEntryOutput
- func (o GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryOutput
- type GetVpcEndpointFilter
- type GetVpcEndpointFilterArgs
- type GetVpcEndpointFilterArray
- type GetVpcEndpointFilterArrayInput
- type GetVpcEndpointFilterArrayOutput
- func (GetVpcEndpointFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointFilterArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointFilterOutput
- func (o GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutput() GetVpcEndpointFilterArrayOutput
- func (o GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointFilterArrayOutput
- type GetVpcEndpointFilterInput
- type GetVpcEndpointFilterOutput
- func (GetVpcEndpointFilterOutput) ElementType() reflect.Type
- func (o GetVpcEndpointFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutput() GetVpcEndpointFilterOutput
- func (o GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutputWithContext(ctx context.Context) GetVpcEndpointFilterOutput
- func (o GetVpcEndpointFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcEndpointServiceFilter
- type GetVpcEndpointServiceFilterArgs
- func (GetVpcEndpointServiceFilterArgs) ElementType() reflect.Type
- func (i GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput
- func (i GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterOutput
- type GetVpcEndpointServiceFilterArray
- func (GetVpcEndpointServiceFilterArray) ElementType() reflect.Type
- func (i GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput
- func (i GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterArrayOutput
- type GetVpcEndpointServiceFilterArrayInput
- type GetVpcEndpointServiceFilterArrayOutput
- func (GetVpcEndpointServiceFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServiceFilterArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointServiceFilterOutput
- func (o GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput
- func (o GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterArrayOutput
- type GetVpcEndpointServiceFilterInput
- type GetVpcEndpointServiceFilterOutput
- func (GetVpcEndpointServiceFilterOutput) ElementType() reflect.Type
- func (o GetVpcEndpointServiceFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput
- func (o GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterOutput
- func (o GetVpcEndpointServiceFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcFilter
- type GetVpcFilterArgs
- type GetVpcFilterArray
- type GetVpcFilterArrayInput
- type GetVpcFilterArrayOutput
- func (GetVpcFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcFilterArrayOutput) Index(i pulumi.IntInput) GetVpcFilterOutput
- func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput
- func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput
- type GetVpcFilterInput
- type GetVpcFilterOutput
- func (GetVpcFilterOutput) ElementType() reflect.Type
- func (o GetVpcFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcFilterOutput) ToGetVpcFilterOutput() GetVpcFilterOutput
- func (o GetVpcFilterOutput) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput
- func (o GetVpcFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcIamPoolArgs
- type GetVpcIamPoolFilter
- type GetVpcIamPoolFilterArgs
- type GetVpcIamPoolFilterArray
- type GetVpcIamPoolFilterArrayInput
- type GetVpcIamPoolFilterArrayOutput
- func (GetVpcIamPoolFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcIamPoolFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIamPoolFilterOutput
- func (o GetVpcIamPoolFilterArrayOutput) ToGetVpcIamPoolFilterArrayOutput() GetVpcIamPoolFilterArrayOutput
- func (o GetVpcIamPoolFilterArrayOutput) ToGetVpcIamPoolFilterArrayOutputWithContext(ctx context.Context) GetVpcIamPoolFilterArrayOutput
- type GetVpcIamPoolFilterInput
- type GetVpcIamPoolFilterOutput
- func (GetVpcIamPoolFilterOutput) ElementType() reflect.Type
- func (o GetVpcIamPoolFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcIamPoolFilterOutput) ToGetVpcIamPoolFilterOutput() GetVpcIamPoolFilterOutput
- func (o GetVpcIamPoolFilterOutput) ToGetVpcIamPoolFilterOutputWithContext(ctx context.Context) GetVpcIamPoolFilterOutput
- func (o GetVpcIamPoolFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcIamPoolOutputArgs
- type GetVpcIamPoolResult
- type GetVpcIamPoolResultOutput
- func (o GetVpcIamPoolResultOutput) AddressFamily() pulumi.StringOutput
- func (o GetVpcIamPoolResultOutput) AllocationDefaultNetmaskLength() pulumi.IntOutput
- func (o GetVpcIamPoolResultOutput) AllocationMaxNetmaskLength() pulumi.IntOutput
- func (o GetVpcIamPoolResultOutput) AllocationMinNetmaskLength() pulumi.IntOutput
- func (o GetVpcIamPoolResultOutput) AllocationResourceTags() pulumi.StringMapOutput
- func (o GetVpcIamPoolResultOutput) Arn() pulumi.StringOutput
- func (o GetVpcIamPoolResultOutput) AutoImport() pulumi.BoolOutput
- func (o GetVpcIamPoolResultOutput) AwsService() pulumi.StringOutput
- func (o GetVpcIamPoolResultOutput) Description() pulumi.StringOutput
- func (GetVpcIamPoolResultOutput) ElementType() reflect.Type
- func (o GetVpcIamPoolResultOutput) Filters() GetVpcIamPoolFilterArrayOutput
- func (o GetVpcIamPoolResultOutput) Id() pulumi.StringPtrOutput
- func (o GetVpcIamPoolResultOutput) IpamPoolId() pulumi.StringPtrOutput
- func (o GetVpcIamPoolResultOutput) IpamScopeId() pulumi.StringOutput
- func (o GetVpcIamPoolResultOutput) IpamScopeType() pulumi.StringOutput
- func (o GetVpcIamPoolResultOutput) Locale() pulumi.StringOutput
- func (o GetVpcIamPoolResultOutput) PoolDepth() pulumi.IntOutput
- func (o GetVpcIamPoolResultOutput) PubliclyAdvertisable() pulumi.BoolOutput
- func (o GetVpcIamPoolResultOutput) SourceIpamPoolId() pulumi.StringOutput
- func (o GetVpcIamPoolResultOutput) State() pulumi.StringOutput
- func (o GetVpcIamPoolResultOutput) Tags() pulumi.StringMapOutput
- func (o GetVpcIamPoolResultOutput) ToGetVpcIamPoolResultOutput() GetVpcIamPoolResultOutput
- func (o GetVpcIamPoolResultOutput) ToGetVpcIamPoolResultOutputWithContext(ctx context.Context) GetVpcIamPoolResultOutput
- type GetVpcPeeringConnectionCidrBlockSet
- type GetVpcPeeringConnectionCidrBlockSetArgs
- func (GetVpcPeeringConnectionCidrBlockSetArgs) ElementType() reflect.Type
- func (i GetVpcPeeringConnectionCidrBlockSetArgs) ToGetVpcPeeringConnectionCidrBlockSetOutput() GetVpcPeeringConnectionCidrBlockSetOutput
- func (i GetVpcPeeringConnectionCidrBlockSetArgs) ToGetVpcPeeringConnectionCidrBlockSetOutputWithContext(ctx context.Context) GetVpcPeeringConnectionCidrBlockSetOutput
- type GetVpcPeeringConnectionCidrBlockSetArray
- func (GetVpcPeeringConnectionCidrBlockSetArray) ElementType() reflect.Type
- func (i GetVpcPeeringConnectionCidrBlockSetArray) ToGetVpcPeeringConnectionCidrBlockSetArrayOutput() GetVpcPeeringConnectionCidrBlockSetArrayOutput
- func (i GetVpcPeeringConnectionCidrBlockSetArray) ToGetVpcPeeringConnectionCidrBlockSetArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionCidrBlockSetArrayOutput
- type GetVpcPeeringConnectionCidrBlockSetArrayInput
- type GetVpcPeeringConnectionCidrBlockSetArrayOutput
- func (GetVpcPeeringConnectionCidrBlockSetArrayOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionCidrBlockSetArrayOutput) Index(i pulumi.IntInput) GetVpcPeeringConnectionCidrBlockSetOutput
- func (o GetVpcPeeringConnectionCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionCidrBlockSetArrayOutput() GetVpcPeeringConnectionCidrBlockSetArrayOutput
- func (o GetVpcPeeringConnectionCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionCidrBlockSetArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionCidrBlockSetArrayOutput
- type GetVpcPeeringConnectionCidrBlockSetInput
- type GetVpcPeeringConnectionCidrBlockSetOutput
- func (o GetVpcPeeringConnectionCidrBlockSetOutput) CidrBlock() pulumi.StringOutput
- func (GetVpcPeeringConnectionCidrBlockSetOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionCidrBlockSetOutput) ToGetVpcPeeringConnectionCidrBlockSetOutput() GetVpcPeeringConnectionCidrBlockSetOutput
- func (o GetVpcPeeringConnectionCidrBlockSetOutput) ToGetVpcPeeringConnectionCidrBlockSetOutputWithContext(ctx context.Context) GetVpcPeeringConnectionCidrBlockSetOutput
- type GetVpcPeeringConnectionFilter
- type GetVpcPeeringConnectionFilterArgs
- func (GetVpcPeeringConnectionFilterArgs) ElementType() reflect.Type
- func (i GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutput() GetVpcPeeringConnectionFilterOutput
- func (i GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterOutput
- type GetVpcPeeringConnectionFilterArray
- func (GetVpcPeeringConnectionFilterArray) ElementType() reflect.Type
- func (i GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutput() GetVpcPeeringConnectionFilterArrayOutput
- func (i GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterArrayOutput
- type GetVpcPeeringConnectionFilterArrayInput
- type GetVpcPeeringConnectionFilterArrayOutput
- func (GetVpcPeeringConnectionFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionFilterArrayOutput) Index(i pulumi.IntInput) GetVpcPeeringConnectionFilterOutput
- func (o GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutput() GetVpcPeeringConnectionFilterArrayOutput
- func (o GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterArrayOutput
- type GetVpcPeeringConnectionFilterInput
- type GetVpcPeeringConnectionFilterOutput
- func (GetVpcPeeringConnectionFilterOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutput() GetVpcPeeringConnectionFilterOutput
- func (o GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterOutput
- func (o GetVpcPeeringConnectionFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcPeeringConnectionPeerCidrBlockSet
- type GetVpcPeeringConnectionPeerCidrBlockSetArgs
- func (GetVpcPeeringConnectionPeerCidrBlockSetArgs) ElementType() reflect.Type
- func (i GetVpcPeeringConnectionPeerCidrBlockSetArgs) ToGetVpcPeeringConnectionPeerCidrBlockSetOutput() GetVpcPeeringConnectionPeerCidrBlockSetOutput
- func (i GetVpcPeeringConnectionPeerCidrBlockSetArgs) ToGetVpcPeeringConnectionPeerCidrBlockSetOutputWithContext(ctx context.Context) GetVpcPeeringConnectionPeerCidrBlockSetOutput
- type GetVpcPeeringConnectionPeerCidrBlockSetArray
- func (GetVpcPeeringConnectionPeerCidrBlockSetArray) ElementType() reflect.Type
- func (i GetVpcPeeringConnectionPeerCidrBlockSetArray) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutput() GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
- func (i GetVpcPeeringConnectionPeerCidrBlockSetArray) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
- type GetVpcPeeringConnectionPeerCidrBlockSetArrayInput
- type GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
- func (GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) Index(i pulumi.IntInput) GetVpcPeeringConnectionPeerCidrBlockSetOutput
- func (o GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutput() GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
- func (o GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
- type GetVpcPeeringConnectionPeerCidrBlockSetInput
- type GetVpcPeeringConnectionPeerCidrBlockSetOutput
- func (o GetVpcPeeringConnectionPeerCidrBlockSetOutput) CidrBlock() pulumi.StringOutput
- func (GetVpcPeeringConnectionPeerCidrBlockSetOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionPeerCidrBlockSetOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetOutput() GetVpcPeeringConnectionPeerCidrBlockSetOutput
- func (o GetVpcPeeringConnectionPeerCidrBlockSetOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetOutputWithContext(ctx context.Context) GetVpcPeeringConnectionPeerCidrBlockSetOutput
- type GetVpcPeeringConnectionsArgs
- type GetVpcPeeringConnectionsFilter
- type GetVpcPeeringConnectionsFilterArgs
- func (GetVpcPeeringConnectionsFilterArgs) ElementType() reflect.Type
- func (i GetVpcPeeringConnectionsFilterArgs) ToGetVpcPeeringConnectionsFilterOutput() GetVpcPeeringConnectionsFilterOutput
- func (i GetVpcPeeringConnectionsFilterArgs) ToGetVpcPeeringConnectionsFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsFilterOutput
- type GetVpcPeeringConnectionsFilterArray
- func (GetVpcPeeringConnectionsFilterArray) ElementType() reflect.Type
- func (i GetVpcPeeringConnectionsFilterArray) ToGetVpcPeeringConnectionsFilterArrayOutput() GetVpcPeeringConnectionsFilterArrayOutput
- func (i GetVpcPeeringConnectionsFilterArray) ToGetVpcPeeringConnectionsFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsFilterArrayOutput
- type GetVpcPeeringConnectionsFilterArrayInput
- type GetVpcPeeringConnectionsFilterArrayOutput
- func (GetVpcPeeringConnectionsFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcPeeringConnectionsFilterOutput
- func (o GetVpcPeeringConnectionsFilterArrayOutput) ToGetVpcPeeringConnectionsFilterArrayOutput() GetVpcPeeringConnectionsFilterArrayOutput
- func (o GetVpcPeeringConnectionsFilterArrayOutput) ToGetVpcPeeringConnectionsFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsFilterArrayOutput
- type GetVpcPeeringConnectionsFilterInput
- type GetVpcPeeringConnectionsFilterOutput
- func (GetVpcPeeringConnectionsFilterOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionsFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcPeeringConnectionsFilterOutput) ToGetVpcPeeringConnectionsFilterOutput() GetVpcPeeringConnectionsFilterOutput
- func (o GetVpcPeeringConnectionsFilterOutput) ToGetVpcPeeringConnectionsFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsFilterOutput
- func (o GetVpcPeeringConnectionsFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcPeeringConnectionsOutputArgs
- type GetVpcPeeringConnectionsResult
- type GetVpcPeeringConnectionsResultOutput
- func (GetVpcPeeringConnectionsResultOutput) ElementType() reflect.Type
- func (o GetVpcPeeringConnectionsResultOutput) Filters() GetVpcPeeringConnectionsFilterArrayOutput
- func (o GetVpcPeeringConnectionsResultOutput) Id() pulumi.StringOutput
- func (o GetVpcPeeringConnectionsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVpcPeeringConnectionsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetVpcPeeringConnectionsResultOutput) ToGetVpcPeeringConnectionsResultOutput() GetVpcPeeringConnectionsResultOutput
- func (o GetVpcPeeringConnectionsResultOutput) ToGetVpcPeeringConnectionsResultOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsResultOutput
- type GetVpcsArgs
- type GetVpcsFilter
- type GetVpcsFilterArgs
- type GetVpcsFilterArray
- type GetVpcsFilterArrayInput
- type GetVpcsFilterArrayOutput
- func (GetVpcsFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpcsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcsFilterOutput
- func (o GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutput() GetVpcsFilterArrayOutput
- func (o GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutputWithContext(ctx context.Context) GetVpcsFilterArrayOutput
- type GetVpcsFilterInput
- type GetVpcsFilterOutput
- func (GetVpcsFilterOutput) ElementType() reflect.Type
- func (o GetVpcsFilterOutput) Name() pulumi.StringOutput
- func (o GetVpcsFilterOutput) ToGetVpcsFilterOutput() GetVpcsFilterOutput
- func (o GetVpcsFilterOutput) ToGetVpcsFilterOutputWithContext(ctx context.Context) GetVpcsFilterOutput
- func (o GetVpcsFilterOutput) Values() pulumi.StringArrayOutput
- type GetVpcsOutputArgs
- type GetVpcsResult
- type GetVpcsResultOutput
- func (GetVpcsResultOutput) ElementType() reflect.Type
- func (o GetVpcsResultOutput) Filters() GetVpcsFilterArrayOutput
- func (o GetVpcsResultOutput) Id() pulumi.StringOutput
- func (o GetVpcsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVpcsResultOutput) Tags() pulumi.StringMapOutput
- func (o GetVpcsResultOutput) ToGetVpcsResultOutput() GetVpcsResultOutput
- func (o GetVpcsResultOutput) ToGetVpcsResultOutputWithContext(ctx context.Context) GetVpcsResultOutput
- type GetVpnGatewayFilter
- type GetVpnGatewayFilterArgs
- type GetVpnGatewayFilterArray
- type GetVpnGatewayFilterArrayInput
- type GetVpnGatewayFilterArrayOutput
- func (GetVpnGatewayFilterArrayOutput) ElementType() reflect.Type
- func (o GetVpnGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetVpnGatewayFilterOutput
- func (o GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutput() GetVpnGatewayFilterArrayOutput
- func (o GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutputWithContext(ctx context.Context) GetVpnGatewayFilterArrayOutput
- type GetVpnGatewayFilterInput
- type GetVpnGatewayFilterOutput
- func (GetVpnGatewayFilterOutput) ElementType() reflect.Type
- func (o GetVpnGatewayFilterOutput) Name() pulumi.StringOutput
- func (o GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutput() GetVpnGatewayFilterOutput
- func (o GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutputWithContext(ctx context.Context) GetVpnGatewayFilterOutput
- func (o GetVpnGatewayFilterOutput) Values() pulumi.StringArrayOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceCapacityReservationSpecification
- type InstanceCapacityReservationSpecificationArgs
- func (InstanceCapacityReservationSpecificationArgs) ElementType() reflect.Type
- func (i InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationOutput() InstanceCapacityReservationSpecificationOutput
- func (i InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationOutput
- func (i InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationPtrOutput() InstanceCapacityReservationSpecificationPtrOutput
- func (i InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationPtrOutput
- type InstanceCapacityReservationSpecificationCapacityReservationTarget
- type InstanceCapacityReservationSpecificationCapacityReservationTargetArgs
- func (InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType() reflect.Type
- func (i InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
- func (i InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
- func (i InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- func (i InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- type InstanceCapacityReservationSpecificationCapacityReservationTargetInput
- type InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId() pulumi.StringPtrOutput
- func (InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType() reflect.Type
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- type InstanceCapacityReservationSpecificationCapacityReservationTargetPtrInput
- type InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId() pulumi.StringPtrOutput
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) Elem() InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
- func (InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType() reflect.Type
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- func (o InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- type InstanceCapacityReservationSpecificationInput
- type InstanceCapacityReservationSpecificationOutput
- func (o InstanceCapacityReservationSpecificationOutput) CapacityReservationPreference() pulumi.StringPtrOutput
- func (o InstanceCapacityReservationSpecificationOutput) CapacityReservationTarget() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- func (InstanceCapacityReservationSpecificationOutput) ElementType() reflect.Type
- func (o InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationOutput() InstanceCapacityReservationSpecificationOutput
- func (o InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationOutput
- func (o InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationPtrOutput() InstanceCapacityReservationSpecificationPtrOutput
- func (o InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationPtrOutput
- type InstanceCapacityReservationSpecificationPtrInput
- type InstanceCapacityReservationSpecificationPtrOutput
- func (o InstanceCapacityReservationSpecificationPtrOutput) CapacityReservationPreference() pulumi.StringPtrOutput
- func (o InstanceCapacityReservationSpecificationPtrOutput) CapacityReservationTarget() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- func (o InstanceCapacityReservationSpecificationPtrOutput) Elem() InstanceCapacityReservationSpecificationOutput
- func (InstanceCapacityReservationSpecificationPtrOutput) ElementType() reflect.Type
- func (o InstanceCapacityReservationSpecificationPtrOutput) ToInstanceCapacityReservationSpecificationPtrOutput() InstanceCapacityReservationSpecificationPtrOutput
- func (o InstanceCapacityReservationSpecificationPtrOutput) ToInstanceCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationPtrOutput
- type InstanceCreditSpecification
- type InstanceCreditSpecificationArgs
- func (InstanceCreditSpecificationArgs) ElementType() reflect.Type
- func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutput() InstanceCreditSpecificationOutput
- func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutputWithContext(ctx context.Context) InstanceCreditSpecificationOutput
- func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput
- func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput
- type InstanceCreditSpecificationInput
- type InstanceCreditSpecificationOutput
- func (o InstanceCreditSpecificationOutput) CpuCredits() pulumi.StringPtrOutput
- func (InstanceCreditSpecificationOutput) ElementType() reflect.Type
- func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutput() InstanceCreditSpecificationOutput
- func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutputWithContext(ctx context.Context) InstanceCreditSpecificationOutput
- func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput
- func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput
- type InstanceCreditSpecificationPtrInput
- type InstanceCreditSpecificationPtrOutput
- func (o InstanceCreditSpecificationPtrOutput) CpuCredits() pulumi.StringPtrOutput
- func (o InstanceCreditSpecificationPtrOutput) Elem() InstanceCreditSpecificationOutput
- func (InstanceCreditSpecificationPtrOutput) ElementType() reflect.Type
- func (o InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput
- func (o InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput
- type InstanceEbsBlockDevice
- type InstanceEbsBlockDeviceArgs
- type InstanceEbsBlockDeviceArray
- func (InstanceEbsBlockDeviceArray) ElementType() reflect.Type
- func (i InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutput() InstanceEbsBlockDeviceArrayOutput
- func (i InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceArrayOutput
- type InstanceEbsBlockDeviceArrayInput
- type InstanceEbsBlockDeviceArrayOutput
- func (InstanceEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o InstanceEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) InstanceEbsBlockDeviceOutput
- func (o InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutput() InstanceEbsBlockDeviceArrayOutput
- func (o InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceArrayOutput
- type InstanceEbsBlockDeviceInput
- type InstanceEbsBlockDeviceOutput
- func (o InstanceEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o InstanceEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (InstanceEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o InstanceEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o InstanceEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o InstanceEbsBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o InstanceEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
- func (o InstanceEbsBlockDeviceOutput) Tags() pulumi.StringMapOutput
- func (o InstanceEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutput() InstanceEbsBlockDeviceOutput
- func (o InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceOutput
- func (o InstanceEbsBlockDeviceOutput) VolumeId() pulumi.StringPtrOutput
- func (o InstanceEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o InstanceEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type InstanceEnclaveOptions
- type InstanceEnclaveOptionsArgs
- func (InstanceEnclaveOptionsArgs) ElementType() reflect.Type
- func (i InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsOutput() InstanceEnclaveOptionsOutput
- func (i InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsOutputWithContext(ctx context.Context) InstanceEnclaveOptionsOutput
- func (i InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsPtrOutput() InstanceEnclaveOptionsPtrOutput
- func (i InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsPtrOutputWithContext(ctx context.Context) InstanceEnclaveOptionsPtrOutput
- type InstanceEnclaveOptionsInput
- type InstanceEnclaveOptionsOutput
- func (InstanceEnclaveOptionsOutput) ElementType() reflect.Type
- func (o InstanceEnclaveOptionsOutput) Enabled() pulumi.BoolPtrOutput
- func (o InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsOutput() InstanceEnclaveOptionsOutput
- func (o InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsOutputWithContext(ctx context.Context) InstanceEnclaveOptionsOutput
- func (o InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsPtrOutput() InstanceEnclaveOptionsPtrOutput
- func (o InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsPtrOutputWithContext(ctx context.Context) InstanceEnclaveOptionsPtrOutput
- type InstanceEnclaveOptionsPtrInput
- type InstanceEnclaveOptionsPtrOutput
- func (o InstanceEnclaveOptionsPtrOutput) Elem() InstanceEnclaveOptionsOutput
- func (InstanceEnclaveOptionsPtrOutput) ElementType() reflect.Type
- func (o InstanceEnclaveOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o InstanceEnclaveOptionsPtrOutput) ToInstanceEnclaveOptionsPtrOutput() InstanceEnclaveOptionsPtrOutput
- func (o InstanceEnclaveOptionsPtrOutput) ToInstanceEnclaveOptionsPtrOutputWithContext(ctx context.Context) InstanceEnclaveOptionsPtrOutput
- type InstanceEphemeralBlockDevice
- type InstanceEphemeralBlockDeviceArgs
- func (InstanceEphemeralBlockDeviceArgs) ElementType() reflect.Type
- func (i InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutput() InstanceEphemeralBlockDeviceOutput
- func (i InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceOutput
- type InstanceEphemeralBlockDeviceArray
- func (InstanceEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutput() InstanceEphemeralBlockDeviceArrayOutput
- func (i InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceArrayOutput
- type InstanceEphemeralBlockDeviceArrayInput
- type InstanceEphemeralBlockDeviceArrayOutput
- func (InstanceEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o InstanceEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) InstanceEphemeralBlockDeviceOutput
- func (o InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutput() InstanceEphemeralBlockDeviceArrayOutput
- func (o InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceArrayOutput
- type InstanceEphemeralBlockDeviceInput
- type InstanceEphemeralBlockDeviceOutput
- func (o InstanceEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (InstanceEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o InstanceEphemeralBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
- func (o InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutput() InstanceEphemeralBlockDeviceOutput
- func (o InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceOutput
- func (o InstanceEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
- type InstanceInput
- type InstanceLaunchTemplate
- type InstanceLaunchTemplateArgs
- func (InstanceLaunchTemplateArgs) ElementType() reflect.Type
- func (i InstanceLaunchTemplateArgs) ToInstanceLaunchTemplateOutput() InstanceLaunchTemplateOutput
- func (i InstanceLaunchTemplateArgs) ToInstanceLaunchTemplateOutputWithContext(ctx context.Context) InstanceLaunchTemplateOutput
- func (i InstanceLaunchTemplateArgs) ToInstanceLaunchTemplatePtrOutput() InstanceLaunchTemplatePtrOutput
- func (i InstanceLaunchTemplateArgs) ToInstanceLaunchTemplatePtrOutputWithContext(ctx context.Context) InstanceLaunchTemplatePtrOutput
- type InstanceLaunchTemplateInput
- type InstanceLaunchTemplateOutput
- func (InstanceLaunchTemplateOutput) ElementType() reflect.Type
- func (o InstanceLaunchTemplateOutput) Id() pulumi.StringPtrOutput
- func (o InstanceLaunchTemplateOutput) Name() pulumi.StringPtrOutput
- func (o InstanceLaunchTemplateOutput) ToInstanceLaunchTemplateOutput() InstanceLaunchTemplateOutput
- func (o InstanceLaunchTemplateOutput) ToInstanceLaunchTemplateOutputWithContext(ctx context.Context) InstanceLaunchTemplateOutput
- func (o InstanceLaunchTemplateOutput) ToInstanceLaunchTemplatePtrOutput() InstanceLaunchTemplatePtrOutput
- func (o InstanceLaunchTemplateOutput) ToInstanceLaunchTemplatePtrOutputWithContext(ctx context.Context) InstanceLaunchTemplatePtrOutput
- func (o InstanceLaunchTemplateOutput) Version() pulumi.StringPtrOutput
- type InstanceLaunchTemplatePtrInput
- type InstanceLaunchTemplatePtrOutput
- func (o InstanceLaunchTemplatePtrOutput) Elem() InstanceLaunchTemplateOutput
- func (InstanceLaunchTemplatePtrOutput) ElementType() reflect.Type
- func (o InstanceLaunchTemplatePtrOutput) Id() pulumi.StringPtrOutput
- func (o InstanceLaunchTemplatePtrOutput) Name() pulumi.StringPtrOutput
- func (o InstanceLaunchTemplatePtrOutput) ToInstanceLaunchTemplatePtrOutput() InstanceLaunchTemplatePtrOutput
- func (o InstanceLaunchTemplatePtrOutput) ToInstanceLaunchTemplatePtrOutputWithContext(ctx context.Context) InstanceLaunchTemplatePtrOutput
- func (o InstanceLaunchTemplatePtrOutput) Version() pulumi.StringPtrOutput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceMetadataOptions
- type InstanceMetadataOptionsArgs
- func (InstanceMetadataOptionsArgs) ElementType() reflect.Type
- func (i InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsOutput() InstanceMetadataOptionsOutput
- func (i InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsOutputWithContext(ctx context.Context) InstanceMetadataOptionsOutput
- func (i InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsPtrOutput() InstanceMetadataOptionsPtrOutput
- func (i InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsPtrOutputWithContext(ctx context.Context) InstanceMetadataOptionsPtrOutput
- type InstanceMetadataOptionsInput
- type InstanceMetadataOptionsOutput
- func (InstanceMetadataOptionsOutput) ElementType() reflect.Type
- func (o InstanceMetadataOptionsOutput) HttpEndpoint() pulumi.StringPtrOutput
- func (o InstanceMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
- func (o InstanceMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput
- func (o InstanceMetadataOptionsOutput) InstanceMetadataTags() pulumi.StringPtrOutput
- func (o InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsOutput() InstanceMetadataOptionsOutput
- func (o InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsOutputWithContext(ctx context.Context) InstanceMetadataOptionsOutput
- func (o InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsPtrOutput() InstanceMetadataOptionsPtrOutput
- func (o InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsPtrOutputWithContext(ctx context.Context) InstanceMetadataOptionsPtrOutput
- type InstanceMetadataOptionsPtrInput
- type InstanceMetadataOptionsPtrOutput
- func (o InstanceMetadataOptionsPtrOutput) Elem() InstanceMetadataOptionsOutput
- func (InstanceMetadataOptionsPtrOutput) ElementType() reflect.Type
- func (o InstanceMetadataOptionsPtrOutput) HttpEndpoint() pulumi.StringPtrOutput
- func (o InstanceMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
- func (o InstanceMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput
- func (o InstanceMetadataOptionsPtrOutput) InstanceMetadataTags() pulumi.StringPtrOutput
- func (o InstanceMetadataOptionsPtrOutput) ToInstanceMetadataOptionsPtrOutput() InstanceMetadataOptionsPtrOutput
- func (o InstanceMetadataOptionsPtrOutput) ToInstanceMetadataOptionsPtrOutputWithContext(ctx context.Context) InstanceMetadataOptionsPtrOutput
- type InstanceNetworkInterface
- type InstanceNetworkInterfaceArgs
- func (InstanceNetworkInterfaceArgs) ElementType() reflect.Type
- func (i InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutput() InstanceNetworkInterfaceOutput
- func (i InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutputWithContext(ctx context.Context) InstanceNetworkInterfaceOutput
- type InstanceNetworkInterfaceArray
- func (InstanceNetworkInterfaceArray) ElementType() reflect.Type
- func (i InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutput() InstanceNetworkInterfaceArrayOutput
- func (i InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstanceNetworkInterfaceArrayOutput
- type InstanceNetworkInterfaceArrayInput
- type InstanceNetworkInterfaceArrayOutput
- func (InstanceNetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o InstanceNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) InstanceNetworkInterfaceOutput
- func (o InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutput() InstanceNetworkInterfaceArrayOutput
- func (o InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstanceNetworkInterfaceArrayOutput
- type InstanceNetworkInterfaceInput
- type InstanceNetworkInterfaceOutput
- func (o InstanceNetworkInterfaceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o InstanceNetworkInterfaceOutput) DeviceIndex() pulumi.IntOutput
- func (InstanceNetworkInterfaceOutput) ElementType() reflect.Type
- func (o InstanceNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutput() InstanceNetworkInterfaceOutput
- func (o InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutputWithContext(ctx context.Context) InstanceNetworkInterfaceOutput
- type InstanceOutput
- type InstancePlatform
- func (InstancePlatform) ElementType() reflect.Type
- func (e InstancePlatform) ToInstancePlatformOutput() InstancePlatformOutput
- func (e InstancePlatform) ToInstancePlatformOutputWithContext(ctx context.Context) InstancePlatformOutput
- func (e InstancePlatform) ToInstancePlatformPtrOutput() InstancePlatformPtrOutput
- func (e InstancePlatform) ToInstancePlatformPtrOutputWithContext(ctx context.Context) InstancePlatformPtrOutput
- func (e InstancePlatform) ToStringOutput() pulumi.StringOutput
- func (e InstancePlatform) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e InstancePlatform) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e InstancePlatform) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InstancePlatformInput
- type InstancePlatformOutput
- func (InstancePlatformOutput) ElementType() reflect.Type
- func (o InstancePlatformOutput) ToInstancePlatformOutput() InstancePlatformOutput
- func (o InstancePlatformOutput) ToInstancePlatformOutputWithContext(ctx context.Context) InstancePlatformOutput
- func (o InstancePlatformOutput) ToInstancePlatformPtrOutput() InstancePlatformPtrOutput
- func (o InstancePlatformOutput) ToInstancePlatformPtrOutputWithContext(ctx context.Context) InstancePlatformPtrOutput
- func (o InstancePlatformOutput) ToStringOutput() pulumi.StringOutput
- func (o InstancePlatformOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o InstancePlatformOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InstancePlatformOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InstancePlatformPtrInput
- type InstancePlatformPtrOutput
- func (o InstancePlatformPtrOutput) Elem() InstancePlatformOutput
- func (InstancePlatformPtrOutput) ElementType() reflect.Type
- func (o InstancePlatformPtrOutput) ToInstancePlatformPtrOutput() InstancePlatformPtrOutput
- func (o InstancePlatformPtrOutput) ToInstancePlatformPtrOutputWithContext(ctx context.Context) InstancePlatformPtrOutput
- func (o InstancePlatformPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InstancePlatformPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InstanceRootBlockDevice
- type InstanceRootBlockDeviceArgs
- func (InstanceRootBlockDeviceArgs) ElementType() reflect.Type
- func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutput() InstanceRootBlockDeviceOutput
- func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutputWithContext(ctx context.Context) InstanceRootBlockDeviceOutput
- func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput
- func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput
- type InstanceRootBlockDeviceInput
- type InstanceRootBlockDeviceOutput
- func (o InstanceRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o InstanceRootBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
- func (InstanceRootBlockDeviceOutput) ElementType() reflect.Type
- func (o InstanceRootBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o InstanceRootBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o InstanceRootBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o InstanceRootBlockDeviceOutput) Tags() pulumi.StringMapOutput
- func (o InstanceRootBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutput() InstanceRootBlockDeviceOutput
- func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutputWithContext(ctx context.Context) InstanceRootBlockDeviceOutput
- func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput
- func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput
- func (o InstanceRootBlockDeviceOutput) VolumeId() pulumi.StringPtrOutput
- func (o InstanceRootBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o InstanceRootBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type InstanceRootBlockDevicePtrInput
- type InstanceRootBlockDevicePtrOutput
- func (o InstanceRootBlockDevicePtrOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o InstanceRootBlockDevicePtrOutput) DeviceName() pulumi.StringPtrOutput
- func (o InstanceRootBlockDevicePtrOutput) Elem() InstanceRootBlockDeviceOutput
- func (InstanceRootBlockDevicePtrOutput) ElementType() reflect.Type
- func (o InstanceRootBlockDevicePtrOutput) Encrypted() pulumi.BoolPtrOutput
- func (o InstanceRootBlockDevicePtrOutput) Iops() pulumi.IntPtrOutput
- func (o InstanceRootBlockDevicePtrOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o InstanceRootBlockDevicePtrOutput) Tags() pulumi.StringMapOutput
- func (o InstanceRootBlockDevicePtrOutput) Throughput() pulumi.IntPtrOutput
- func (o InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput
- func (o InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput
- func (o InstanceRootBlockDevicePtrOutput) VolumeId() pulumi.StringPtrOutput
- func (o InstanceRootBlockDevicePtrOutput) VolumeSize() pulumi.IntPtrOutput
- func (o InstanceRootBlockDevicePtrOutput) VolumeType() pulumi.StringPtrOutput
- type InstanceState
- type InstanceType
- func (InstanceType) ElementType() reflect.Type
- func (e InstanceType) ToInstanceTypeOutput() InstanceTypeOutput
- func (e InstanceType) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput
- func (e InstanceType) ToInstanceTypePtrOutput() InstanceTypePtrOutput
- func (e InstanceType) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
- func (e InstanceType) ToStringOutput() pulumi.StringOutput
- func (e InstanceType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e InstanceType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e InstanceType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InstanceTypeInput
- type InstanceTypeOutput
- func (InstanceTypeOutput) ElementType() reflect.Type
- func (o InstanceTypeOutput) ToInstanceTypeOutput() InstanceTypeOutput
- func (o InstanceTypeOutput) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput
- func (o InstanceTypeOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput
- func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
- func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o InstanceTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o InstanceTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InstanceTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InstanceTypePtrInput
- type InstanceTypePtrOutput
- func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput
- func (InstanceTypePtrOutput) ElementType() reflect.Type
- func (o InstanceTypePtrOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput
- func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
- func (o InstanceTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InstanceTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InternetGateway
- type InternetGatewayArgs
- type InternetGatewayArray
- type InternetGatewayArrayInput
- type InternetGatewayArrayOutput
- func (InternetGatewayArrayOutput) ElementType() reflect.Type
- func (o InternetGatewayArrayOutput) Index(i pulumi.IntInput) InternetGatewayOutput
- func (o InternetGatewayArrayOutput) ToInternetGatewayArrayOutput() InternetGatewayArrayOutput
- func (o InternetGatewayArrayOutput) ToInternetGatewayArrayOutputWithContext(ctx context.Context) InternetGatewayArrayOutput
- type InternetGatewayAttachment
- type InternetGatewayAttachmentArgs
- type InternetGatewayAttachmentArray
- func (InternetGatewayAttachmentArray) ElementType() reflect.Type
- func (i InternetGatewayAttachmentArray) ToInternetGatewayAttachmentArrayOutput() InternetGatewayAttachmentArrayOutput
- func (i InternetGatewayAttachmentArray) ToInternetGatewayAttachmentArrayOutputWithContext(ctx context.Context) InternetGatewayAttachmentArrayOutput
- type InternetGatewayAttachmentArrayInput
- type InternetGatewayAttachmentArrayOutput
- func (InternetGatewayAttachmentArrayOutput) ElementType() reflect.Type
- func (o InternetGatewayAttachmentArrayOutput) Index(i pulumi.IntInput) InternetGatewayAttachmentOutput
- func (o InternetGatewayAttachmentArrayOutput) ToInternetGatewayAttachmentArrayOutput() InternetGatewayAttachmentArrayOutput
- func (o InternetGatewayAttachmentArrayOutput) ToInternetGatewayAttachmentArrayOutputWithContext(ctx context.Context) InternetGatewayAttachmentArrayOutput
- type InternetGatewayAttachmentInput
- type InternetGatewayAttachmentMap
- func (InternetGatewayAttachmentMap) ElementType() reflect.Type
- func (i InternetGatewayAttachmentMap) ToInternetGatewayAttachmentMapOutput() InternetGatewayAttachmentMapOutput
- func (i InternetGatewayAttachmentMap) ToInternetGatewayAttachmentMapOutputWithContext(ctx context.Context) InternetGatewayAttachmentMapOutput
- type InternetGatewayAttachmentMapInput
- type InternetGatewayAttachmentMapOutput
- func (InternetGatewayAttachmentMapOutput) ElementType() reflect.Type
- func (o InternetGatewayAttachmentMapOutput) MapIndex(k pulumi.StringInput) InternetGatewayAttachmentOutput
- func (o InternetGatewayAttachmentMapOutput) ToInternetGatewayAttachmentMapOutput() InternetGatewayAttachmentMapOutput
- func (o InternetGatewayAttachmentMapOutput) ToInternetGatewayAttachmentMapOutputWithContext(ctx context.Context) InternetGatewayAttachmentMapOutput
- type InternetGatewayAttachmentOutput
- func (InternetGatewayAttachmentOutput) ElementType() reflect.Type
- func (o InternetGatewayAttachmentOutput) ToInternetGatewayAttachmentOutput() InternetGatewayAttachmentOutput
- func (o InternetGatewayAttachmentOutput) ToInternetGatewayAttachmentOutputWithContext(ctx context.Context) InternetGatewayAttachmentOutput
- type InternetGatewayAttachmentState
- type InternetGatewayInput
- type InternetGatewayMap
- type InternetGatewayMapInput
- type InternetGatewayMapOutput
- func (InternetGatewayMapOutput) ElementType() reflect.Type
- func (o InternetGatewayMapOutput) MapIndex(k pulumi.StringInput) InternetGatewayOutput
- func (o InternetGatewayMapOutput) ToInternetGatewayMapOutput() InternetGatewayMapOutput
- func (o InternetGatewayMapOutput) ToInternetGatewayMapOutputWithContext(ctx context.Context) InternetGatewayMapOutput
- type InternetGatewayOutput
- type InternetGatewayState
- type KeyPair
- type KeyPairArgs
- type KeyPairArray
- type KeyPairArrayInput
- type KeyPairArrayOutput
- type KeyPairInput
- type KeyPairMap
- type KeyPairMapInput
- type KeyPairMapOutput
- type KeyPairOutput
- type KeyPairState
- type LaunchConfiguration
- type LaunchConfigurationArgs
- type LaunchConfigurationArray
- type LaunchConfigurationArrayInput
- type LaunchConfigurationArrayOutput
- func (LaunchConfigurationArrayOutput) ElementType() reflect.Type
- func (o LaunchConfigurationArrayOutput) Index(i pulumi.IntInput) LaunchConfigurationOutput
- func (o LaunchConfigurationArrayOutput) ToLaunchConfigurationArrayOutput() LaunchConfigurationArrayOutput
- func (o LaunchConfigurationArrayOutput) ToLaunchConfigurationArrayOutputWithContext(ctx context.Context) LaunchConfigurationArrayOutput
- type LaunchConfigurationEbsBlockDevice
- type LaunchConfigurationEbsBlockDeviceArgs
- func (LaunchConfigurationEbsBlockDeviceArgs) ElementType() reflect.Type
- func (i LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutput() LaunchConfigurationEbsBlockDeviceOutput
- func (i LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceOutput
- type LaunchConfigurationEbsBlockDeviceArray
- func (LaunchConfigurationEbsBlockDeviceArray) ElementType() reflect.Type
- func (i LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutput() LaunchConfigurationEbsBlockDeviceArrayOutput
- func (i LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceArrayOutput
- type LaunchConfigurationEbsBlockDeviceArrayInput
- type LaunchConfigurationEbsBlockDeviceArrayOutput
- func (LaunchConfigurationEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o LaunchConfigurationEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) LaunchConfigurationEbsBlockDeviceOutput
- func (o LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutput() LaunchConfigurationEbsBlockDeviceArrayOutput
- func (o LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceArrayOutput
- type LaunchConfigurationEbsBlockDeviceInput
- type LaunchConfigurationEbsBlockDeviceOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (LaunchConfigurationEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o LaunchConfigurationEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutput() LaunchConfigurationEbsBlockDeviceOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o LaunchConfigurationEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type LaunchConfigurationEphemeralBlockDevice
- type LaunchConfigurationEphemeralBlockDeviceArgs
- func (LaunchConfigurationEphemeralBlockDeviceArgs) ElementType() reflect.Type
- func (i LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutput() LaunchConfigurationEphemeralBlockDeviceOutput
- func (i LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceOutput
- type LaunchConfigurationEphemeralBlockDeviceArray
- func (LaunchConfigurationEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput() LaunchConfigurationEphemeralBlockDeviceArrayOutput
- func (i LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceArrayOutput
- type LaunchConfigurationEphemeralBlockDeviceArrayInput
- type LaunchConfigurationEphemeralBlockDeviceArrayOutput
- func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o LaunchConfigurationEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) LaunchConfigurationEphemeralBlockDeviceOutput
- func (o LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput() LaunchConfigurationEphemeralBlockDeviceArrayOutput
- func (o LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceArrayOutput
- type LaunchConfigurationEphemeralBlockDeviceInput
- type LaunchConfigurationEphemeralBlockDeviceOutput
- func (o LaunchConfigurationEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (LaunchConfigurationEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o LaunchConfigurationEphemeralBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
- func (o LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutput() LaunchConfigurationEphemeralBlockDeviceOutput
- func (o LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceOutput
- func (o LaunchConfigurationEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
- type LaunchConfigurationInput
- type LaunchConfigurationMap
- type LaunchConfigurationMapInput
- type LaunchConfigurationMapOutput
- func (LaunchConfigurationMapOutput) ElementType() reflect.Type
- func (o LaunchConfigurationMapOutput) MapIndex(k pulumi.StringInput) LaunchConfigurationOutput
- func (o LaunchConfigurationMapOutput) ToLaunchConfigurationMapOutput() LaunchConfigurationMapOutput
- func (o LaunchConfigurationMapOutput) ToLaunchConfigurationMapOutputWithContext(ctx context.Context) LaunchConfigurationMapOutput
- type LaunchConfigurationMetadataOptions
- type LaunchConfigurationMetadataOptionsArgs
- func (LaunchConfigurationMetadataOptionsArgs) ElementType() reflect.Type
- func (i LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsOutput() LaunchConfigurationMetadataOptionsOutput
- func (i LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsOutput
- func (i LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsPtrOutput() LaunchConfigurationMetadataOptionsPtrOutput
- func (i LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsPtrOutput
- type LaunchConfigurationMetadataOptionsInput
- type LaunchConfigurationMetadataOptionsOutput
- func (LaunchConfigurationMetadataOptionsOutput) ElementType() reflect.Type
- func (o LaunchConfigurationMetadataOptionsOutput) HttpEndpoint() pulumi.StringPtrOutput
- func (o LaunchConfigurationMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
- func (o LaunchConfigurationMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput
- func (o LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsOutput() LaunchConfigurationMetadataOptionsOutput
- func (o LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsOutput
- func (o LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsPtrOutput() LaunchConfigurationMetadataOptionsPtrOutput
- func (o LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsPtrOutput
- type LaunchConfigurationMetadataOptionsPtrInput
- type LaunchConfigurationMetadataOptionsPtrOutput
- func (o LaunchConfigurationMetadataOptionsPtrOutput) Elem() LaunchConfigurationMetadataOptionsOutput
- func (LaunchConfigurationMetadataOptionsPtrOutput) ElementType() reflect.Type
- func (o LaunchConfigurationMetadataOptionsPtrOutput) HttpEndpoint() pulumi.StringPtrOutput
- func (o LaunchConfigurationMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
- func (o LaunchConfigurationMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput
- func (o LaunchConfigurationMetadataOptionsPtrOutput) ToLaunchConfigurationMetadataOptionsPtrOutput() LaunchConfigurationMetadataOptionsPtrOutput
- func (o LaunchConfigurationMetadataOptionsPtrOutput) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsPtrOutput
- type LaunchConfigurationOutput
- type LaunchConfigurationRootBlockDevice
- type LaunchConfigurationRootBlockDeviceArgs
- func (LaunchConfigurationRootBlockDeviceArgs) ElementType() reflect.Type
- func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutput() LaunchConfigurationRootBlockDeviceOutput
- func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDeviceOutput
- func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput
- func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput
- type LaunchConfigurationRootBlockDeviceInput
- type LaunchConfigurationRootBlockDeviceOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (LaunchConfigurationRootBlockDeviceOutput) ElementType() reflect.Type
- func (o LaunchConfigurationRootBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutput() LaunchConfigurationRootBlockDeviceOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDeviceOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o LaunchConfigurationRootBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type LaunchConfigurationRootBlockDevicePtrInput
- type LaunchConfigurationRootBlockDevicePtrOutput
- func (o LaunchConfigurationRootBlockDevicePtrOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o LaunchConfigurationRootBlockDevicePtrOutput) Elem() LaunchConfigurationRootBlockDeviceOutput
- func (LaunchConfigurationRootBlockDevicePtrOutput) ElementType() reflect.Type
- func (o LaunchConfigurationRootBlockDevicePtrOutput) Encrypted() pulumi.BoolPtrOutput
- func (o LaunchConfigurationRootBlockDevicePtrOutput) Iops() pulumi.IntPtrOutput
- func (o LaunchConfigurationRootBlockDevicePtrOutput) Throughput() pulumi.IntPtrOutput
- func (o LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput
- func (o LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput
- func (o LaunchConfigurationRootBlockDevicePtrOutput) VolumeSize() pulumi.IntPtrOutput
- func (o LaunchConfigurationRootBlockDevicePtrOutput) VolumeType() pulumi.StringPtrOutput
- type LaunchConfigurationState
- type LaunchTemplate
- type LaunchTemplateArgs
- type LaunchTemplateArray
- type LaunchTemplateArrayInput
- type LaunchTemplateArrayOutput
- func (LaunchTemplateArrayOutput) ElementType() reflect.Type
- func (o LaunchTemplateArrayOutput) Index(i pulumi.IntInput) LaunchTemplateOutput
- func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput
- func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplateArrayOutput
- type LaunchTemplateBlockDeviceMapping
- type LaunchTemplateBlockDeviceMappingArgs
- func (LaunchTemplateBlockDeviceMappingArgs) ElementType() reflect.Type
- func (i LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutput() LaunchTemplateBlockDeviceMappingOutput
- func (i LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingOutput
- type LaunchTemplateBlockDeviceMappingArray
- func (LaunchTemplateBlockDeviceMappingArray) ElementType() reflect.Type
- func (i LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutput() LaunchTemplateBlockDeviceMappingArrayOutput
- func (i LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingArrayOutput
- type LaunchTemplateBlockDeviceMappingArrayInput
- type LaunchTemplateBlockDeviceMappingArrayOutput
- func (LaunchTemplateBlockDeviceMappingArrayOutput) ElementType() reflect.Type
- func (o LaunchTemplateBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) LaunchTemplateBlockDeviceMappingOutput
- func (o LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutput() LaunchTemplateBlockDeviceMappingArrayOutput
- func (o LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingArrayOutput
- type LaunchTemplateBlockDeviceMappingEbs
- type LaunchTemplateBlockDeviceMappingEbsArgs
- func (LaunchTemplateBlockDeviceMappingEbsArgs) ElementType() reflect.Type
- func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutput() LaunchTemplateBlockDeviceMappingEbsOutput
- func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsOutput
- func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput
- func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput
- type LaunchTemplateBlockDeviceMappingEbsInput
- type LaunchTemplateBlockDeviceMappingEbsOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) DeleteOnTermination() pulumi.StringPtrOutput
- func (LaunchTemplateBlockDeviceMappingEbsOutput) ElementType() reflect.Type
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) Encrypted() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) Iops() pulumi.IntPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) SnapshotId() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) Throughput() pulumi.IntPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutput() LaunchTemplateBlockDeviceMappingEbsOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) VolumeSize() pulumi.IntPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsOutput) VolumeType() pulumi.StringPtrOutput
- type LaunchTemplateBlockDeviceMappingEbsPtrInput
- type LaunchTemplateBlockDeviceMappingEbsPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) DeleteOnTermination() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) Elem() LaunchTemplateBlockDeviceMappingEbsOutput
- func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) Encrypted() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) Iops() pulumi.IntPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) SnapshotId() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) Throughput() pulumi.IntPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) VolumeSize() pulumi.IntPtrOutput
- func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) VolumeType() pulumi.StringPtrOutput
- type LaunchTemplateBlockDeviceMappingInput
- type LaunchTemplateBlockDeviceMappingOutput
- func (o LaunchTemplateBlockDeviceMappingOutput) DeviceName() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingOutput) Ebs() LaunchTemplateBlockDeviceMappingEbsPtrOutput
- func (LaunchTemplateBlockDeviceMappingOutput) ElementType() reflect.Type
- func (o LaunchTemplateBlockDeviceMappingOutput) NoDevice() pulumi.StringPtrOutput
- func (o LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutput() LaunchTemplateBlockDeviceMappingOutput
- func (o LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingOutput
- func (o LaunchTemplateBlockDeviceMappingOutput) VirtualName() pulumi.StringPtrOutput
- type LaunchTemplateCapacityReservationSpecification
- type LaunchTemplateCapacityReservationSpecificationArgs
- func (LaunchTemplateCapacityReservationSpecificationArgs) ElementType() reflect.Type
- func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutput() LaunchTemplateCapacityReservationSpecificationOutput
- func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationOutput
- func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput
- func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput
- type LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget
- type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs
- func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType() reflect.Type
- func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
- func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
- func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput() ...
- func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) ...
- type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput
- type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId() pulumi.StringPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationResourceGroupArn() pulumi.StringPtrOutput
- func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType() reflect.Type
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput() ...
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) ...
- type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput
- type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId() pulumi.StringPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationResourceGroupArn() pulumi.StringPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) Elem() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
- func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput() ...
- func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) ...
- type LaunchTemplateCapacityReservationSpecificationInput
- type LaunchTemplateCapacityReservationSpecificationOutput
- func (o LaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationPreference() pulumi.StringPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationTarget() ...
- func (LaunchTemplateCapacityReservationSpecificationOutput) ElementType() reflect.Type
- func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutput() LaunchTemplateCapacityReservationSpecificationOutput
- func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationOutput
- func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput
- type LaunchTemplateCapacityReservationSpecificationPtrInput
- type LaunchTemplateCapacityReservationSpecificationPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) CapacityReservationPreference() pulumi.StringPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) CapacityReservationTarget() ...
- func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) Elem() LaunchTemplateCapacityReservationSpecificationOutput
- func (LaunchTemplateCapacityReservationSpecificationPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput
- func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput
- type LaunchTemplateCpuOptions
- type LaunchTemplateCpuOptionsArgs
- func (LaunchTemplateCpuOptionsArgs) ElementType() reflect.Type
- func (i LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsOutput() LaunchTemplateCpuOptionsOutput
- func (i LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsOutput
- func (i LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsPtrOutput() LaunchTemplateCpuOptionsPtrOutput
- func (i LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsPtrOutput
- type LaunchTemplateCpuOptionsInput
- type LaunchTemplateCpuOptionsOutput
- func (o LaunchTemplateCpuOptionsOutput) CoreCount() pulumi.IntPtrOutput
- func (LaunchTemplateCpuOptionsOutput) ElementType() reflect.Type
- func (o LaunchTemplateCpuOptionsOutput) ThreadsPerCore() pulumi.IntPtrOutput
- func (o LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsOutput() LaunchTemplateCpuOptionsOutput
- func (o LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsOutput
- func (o LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsPtrOutput() LaunchTemplateCpuOptionsPtrOutput
- func (o LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsPtrOutput
- type LaunchTemplateCpuOptionsPtrInput
- type LaunchTemplateCpuOptionsPtrOutput
- func (o LaunchTemplateCpuOptionsPtrOutput) CoreCount() pulumi.IntPtrOutput
- func (o LaunchTemplateCpuOptionsPtrOutput) Elem() LaunchTemplateCpuOptionsOutput
- func (LaunchTemplateCpuOptionsPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateCpuOptionsPtrOutput) ThreadsPerCore() pulumi.IntPtrOutput
- func (o LaunchTemplateCpuOptionsPtrOutput) ToLaunchTemplateCpuOptionsPtrOutput() LaunchTemplateCpuOptionsPtrOutput
- func (o LaunchTemplateCpuOptionsPtrOutput) ToLaunchTemplateCpuOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsPtrOutput
- type LaunchTemplateCreditSpecification
- type LaunchTemplateCreditSpecificationArgs
- func (LaunchTemplateCreditSpecificationArgs) ElementType() reflect.Type
- func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutput() LaunchTemplateCreditSpecificationOutput
- func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationOutput
- func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput
- func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput
- type LaunchTemplateCreditSpecificationInput
- type LaunchTemplateCreditSpecificationOutput
- func (o LaunchTemplateCreditSpecificationOutput) CpuCredits() pulumi.StringPtrOutput
- func (LaunchTemplateCreditSpecificationOutput) ElementType() reflect.Type
- func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutput() LaunchTemplateCreditSpecificationOutput
- func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationOutput
- func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput
- func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput
- type LaunchTemplateCreditSpecificationPtrInput
- type LaunchTemplateCreditSpecificationPtrOutput
- func (o LaunchTemplateCreditSpecificationPtrOutput) CpuCredits() pulumi.StringPtrOutput
- func (o LaunchTemplateCreditSpecificationPtrOutput) Elem() LaunchTemplateCreditSpecificationOutput
- func (LaunchTemplateCreditSpecificationPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput
- func (o LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput
- type LaunchTemplateElasticGpuSpecification
- type LaunchTemplateElasticGpuSpecificationArgs
- func (LaunchTemplateElasticGpuSpecificationArgs) ElementType() reflect.Type
- func (i LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutput() LaunchTemplateElasticGpuSpecificationOutput
- func (i LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationOutput
- type LaunchTemplateElasticGpuSpecificationArray
- func (LaunchTemplateElasticGpuSpecificationArray) ElementType() reflect.Type
- func (i LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutput() LaunchTemplateElasticGpuSpecificationArrayOutput
- func (i LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationArrayOutput
- type LaunchTemplateElasticGpuSpecificationArrayInput
- type LaunchTemplateElasticGpuSpecificationArrayOutput
- func (LaunchTemplateElasticGpuSpecificationArrayOutput) ElementType() reflect.Type
- func (o LaunchTemplateElasticGpuSpecificationArrayOutput) Index(i pulumi.IntInput) LaunchTemplateElasticGpuSpecificationOutput
- func (o LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutput() LaunchTemplateElasticGpuSpecificationArrayOutput
- func (o LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationArrayOutput
- type LaunchTemplateElasticGpuSpecificationInput
- type LaunchTemplateElasticGpuSpecificationOutput
- func (LaunchTemplateElasticGpuSpecificationOutput) ElementType() reflect.Type
- func (o LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutput() LaunchTemplateElasticGpuSpecificationOutput
- func (o LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationOutput
- func (o LaunchTemplateElasticGpuSpecificationOutput) Type() pulumi.StringOutput
- type LaunchTemplateElasticInferenceAccelerator
- type LaunchTemplateElasticInferenceAcceleratorArgs
- func (LaunchTemplateElasticInferenceAcceleratorArgs) ElementType() reflect.Type
- func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutput() LaunchTemplateElasticInferenceAcceleratorOutput
- func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorOutput
- func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput
- func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput
- type LaunchTemplateElasticInferenceAcceleratorInput
- type LaunchTemplateElasticInferenceAcceleratorOutput
- func (LaunchTemplateElasticInferenceAcceleratorOutput) ElementType() reflect.Type
- func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutput() LaunchTemplateElasticInferenceAcceleratorOutput
- func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorOutput
- func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput
- func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput
- func (o LaunchTemplateElasticInferenceAcceleratorOutput) Type() pulumi.StringOutput
- type LaunchTemplateElasticInferenceAcceleratorPtrInput
- type LaunchTemplateElasticInferenceAcceleratorPtrOutput
- func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) Elem() LaunchTemplateElasticInferenceAcceleratorOutput
- func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput
- func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput
- func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) Type() pulumi.StringPtrOutput
- type LaunchTemplateEnclaveOptions
- type LaunchTemplateEnclaveOptionsArgs
- func (LaunchTemplateEnclaveOptionsArgs) ElementType() reflect.Type
- func (i LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsOutput() LaunchTemplateEnclaveOptionsOutput
- func (i LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsOutput
- func (i LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsPtrOutput() LaunchTemplateEnclaveOptionsPtrOutput
- func (i LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsPtrOutput
- type LaunchTemplateEnclaveOptionsInput
- type LaunchTemplateEnclaveOptionsOutput
- func (LaunchTemplateEnclaveOptionsOutput) ElementType() reflect.Type
- func (o LaunchTemplateEnclaveOptionsOutput) Enabled() pulumi.BoolPtrOutput
- func (o LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsOutput() LaunchTemplateEnclaveOptionsOutput
- func (o LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsOutput
- func (o LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsPtrOutput() LaunchTemplateEnclaveOptionsPtrOutput
- func (o LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsPtrOutput
- type LaunchTemplateEnclaveOptionsPtrInput
- type LaunchTemplateEnclaveOptionsPtrOutput
- func (o LaunchTemplateEnclaveOptionsPtrOutput) Elem() LaunchTemplateEnclaveOptionsOutput
- func (LaunchTemplateEnclaveOptionsPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateEnclaveOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o LaunchTemplateEnclaveOptionsPtrOutput) ToLaunchTemplateEnclaveOptionsPtrOutput() LaunchTemplateEnclaveOptionsPtrOutput
- func (o LaunchTemplateEnclaveOptionsPtrOutput) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsPtrOutput
- type LaunchTemplateHibernationOptions
- type LaunchTemplateHibernationOptionsArgs
- func (LaunchTemplateHibernationOptionsArgs) ElementType() reflect.Type
- func (i LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsOutput() LaunchTemplateHibernationOptionsOutput
- func (i LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsOutput
- func (i LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsPtrOutput() LaunchTemplateHibernationOptionsPtrOutput
- func (i LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsPtrOutput
- type LaunchTemplateHibernationOptionsInput
- type LaunchTemplateHibernationOptionsOutput
- func (o LaunchTemplateHibernationOptionsOutput) Configured() pulumi.BoolOutput
- func (LaunchTemplateHibernationOptionsOutput) ElementType() reflect.Type
- func (o LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsOutput() LaunchTemplateHibernationOptionsOutput
- func (o LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsOutput
- func (o LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsPtrOutput() LaunchTemplateHibernationOptionsPtrOutput
- func (o LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsPtrOutput
- type LaunchTemplateHibernationOptionsPtrInput
- type LaunchTemplateHibernationOptionsPtrOutput
- func (o LaunchTemplateHibernationOptionsPtrOutput) Configured() pulumi.BoolPtrOutput
- func (o LaunchTemplateHibernationOptionsPtrOutput) Elem() LaunchTemplateHibernationOptionsOutput
- func (LaunchTemplateHibernationOptionsPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateHibernationOptionsPtrOutput) ToLaunchTemplateHibernationOptionsPtrOutput() LaunchTemplateHibernationOptionsPtrOutput
- func (o LaunchTemplateHibernationOptionsPtrOutput) ToLaunchTemplateHibernationOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsPtrOutput
- type LaunchTemplateIamInstanceProfile
- type LaunchTemplateIamInstanceProfileArgs
- func (LaunchTemplateIamInstanceProfileArgs) ElementType() reflect.Type
- func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutput() LaunchTemplateIamInstanceProfileOutput
- func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfileOutput
- func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput
- func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput
- type LaunchTemplateIamInstanceProfileInput
- type LaunchTemplateIamInstanceProfileOutput
- func (o LaunchTemplateIamInstanceProfileOutput) Arn() pulumi.StringPtrOutput
- func (LaunchTemplateIamInstanceProfileOutput) ElementType() reflect.Type
- func (o LaunchTemplateIamInstanceProfileOutput) Name() pulumi.StringPtrOutput
- func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutput() LaunchTemplateIamInstanceProfileOutput
- func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfileOutput
- func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput
- func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput
- type LaunchTemplateIamInstanceProfilePtrInput
- type LaunchTemplateIamInstanceProfilePtrOutput
- func (o LaunchTemplateIamInstanceProfilePtrOutput) Arn() pulumi.StringPtrOutput
- func (o LaunchTemplateIamInstanceProfilePtrOutput) Elem() LaunchTemplateIamInstanceProfileOutput
- func (LaunchTemplateIamInstanceProfilePtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateIamInstanceProfilePtrOutput) Name() pulumi.StringPtrOutput
- func (o LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput
- func (o LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput
- type LaunchTemplateInput
- type LaunchTemplateInstanceMarketOptions
- type LaunchTemplateInstanceMarketOptionsArgs
- func (LaunchTemplateInstanceMarketOptionsArgs) ElementType() reflect.Type
- func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutput() LaunchTemplateInstanceMarketOptionsOutput
- func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsOutput
- func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput
- func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput
- type LaunchTemplateInstanceMarketOptionsInput
- type LaunchTemplateInstanceMarketOptionsOutput
- func (LaunchTemplateInstanceMarketOptionsOutput) ElementType() reflect.Type
- func (o LaunchTemplateInstanceMarketOptionsOutput) MarketType() pulumi.StringPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsOutput) SpotOptions() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutput() LaunchTemplateInstanceMarketOptionsOutput
- func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsOutput
- func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput
- type LaunchTemplateInstanceMarketOptionsPtrInput
- type LaunchTemplateInstanceMarketOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsPtrOutput) Elem() LaunchTemplateInstanceMarketOptionsOutput
- func (LaunchTemplateInstanceMarketOptionsPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateInstanceMarketOptionsPtrOutput) MarketType() pulumi.StringPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsPtrOutput) SpotOptions() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput
- type LaunchTemplateInstanceMarketOptionsSpotOptions
- type LaunchTemplateInstanceMarketOptionsSpotOptionsArgs
- func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ElementType() reflect.Type
- func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
- func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
- func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- type LaunchTemplateInstanceMarketOptionsSpotOptionsInput
- type LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) BlockDurationMinutes() pulumi.IntPtrOutput
- func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ElementType() reflect.Type
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) MaxPrice() pulumi.StringPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) SpotInstanceType() pulumi.StringPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ValidUntil() pulumi.StringPtrOutput
- type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput
- type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) BlockDurationMinutes() pulumi.IntPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) Elem() LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
- func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) MaxPrice() pulumi.StringPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) SpotInstanceType() pulumi.StringPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
- func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ValidUntil() pulumi.StringPtrOutput
- type LaunchTemplateLicenseSpecification
- type LaunchTemplateLicenseSpecificationArgs
- func (LaunchTemplateLicenseSpecificationArgs) ElementType() reflect.Type
- func (i LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutput() LaunchTemplateLicenseSpecificationOutput
- func (i LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationOutput
- type LaunchTemplateLicenseSpecificationArray
- func (LaunchTemplateLicenseSpecificationArray) ElementType() reflect.Type
- func (i LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutput() LaunchTemplateLicenseSpecificationArrayOutput
- func (i LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationArrayOutput
- type LaunchTemplateLicenseSpecificationArrayInput
- type LaunchTemplateLicenseSpecificationArrayOutput
- func (LaunchTemplateLicenseSpecificationArrayOutput) ElementType() reflect.Type
- func (o LaunchTemplateLicenseSpecificationArrayOutput) Index(i pulumi.IntInput) LaunchTemplateLicenseSpecificationOutput
- func (o LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutput() LaunchTemplateLicenseSpecificationArrayOutput
- func (o LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationArrayOutput
- type LaunchTemplateLicenseSpecificationInput
- type LaunchTemplateLicenseSpecificationOutput
- func (LaunchTemplateLicenseSpecificationOutput) ElementType() reflect.Type
- func (o LaunchTemplateLicenseSpecificationOutput) LicenseConfigurationArn() pulumi.StringOutput
- func (o LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutput() LaunchTemplateLicenseSpecificationOutput
- func (o LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationOutput
- type LaunchTemplateMap
- type LaunchTemplateMapInput
- type LaunchTemplateMapOutput
- func (LaunchTemplateMapOutput) ElementType() reflect.Type
- func (o LaunchTemplateMapOutput) MapIndex(k pulumi.StringInput) LaunchTemplateOutput
- func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutput() LaunchTemplateMapOutput
- func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutputWithContext(ctx context.Context) LaunchTemplateMapOutput
- type LaunchTemplateMetadataOptions
- type LaunchTemplateMetadataOptionsArgs
- func (LaunchTemplateMetadataOptionsArgs) ElementType() reflect.Type
- func (i LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsOutput() LaunchTemplateMetadataOptionsOutput
- func (i LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsOutput
- func (i LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsPtrOutput() LaunchTemplateMetadataOptionsPtrOutput
- func (i LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsPtrOutput
- type LaunchTemplateMetadataOptionsInput
- type LaunchTemplateMetadataOptionsOutput
- func (LaunchTemplateMetadataOptionsOutput) ElementType() reflect.Type
- func (o LaunchTemplateMetadataOptionsOutput) HttpEndpoint() pulumi.StringPtrOutput
- func (o LaunchTemplateMetadataOptionsOutput) HttpProtocolIpv6() pulumi.StringPtrOutput
- func (o LaunchTemplateMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
- func (o LaunchTemplateMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput
- func (o LaunchTemplateMetadataOptionsOutput) InstanceMetadataTags() pulumi.StringPtrOutput
- func (o LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsOutput() LaunchTemplateMetadataOptionsOutput
- func (o LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsOutput
- func (o LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsPtrOutput() LaunchTemplateMetadataOptionsPtrOutput
- func (o LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsPtrOutput
- type LaunchTemplateMetadataOptionsPtrInput
- type LaunchTemplateMetadataOptionsPtrOutput
- func (o LaunchTemplateMetadataOptionsPtrOutput) Elem() LaunchTemplateMetadataOptionsOutput
- func (LaunchTemplateMetadataOptionsPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateMetadataOptionsPtrOutput) HttpEndpoint() pulumi.StringPtrOutput
- func (o LaunchTemplateMetadataOptionsPtrOutput) HttpProtocolIpv6() pulumi.StringPtrOutput
- func (o LaunchTemplateMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
- func (o LaunchTemplateMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput
- func (o LaunchTemplateMetadataOptionsPtrOutput) InstanceMetadataTags() pulumi.StringPtrOutput
- func (o LaunchTemplateMetadataOptionsPtrOutput) ToLaunchTemplateMetadataOptionsPtrOutput() LaunchTemplateMetadataOptionsPtrOutput
- func (o LaunchTemplateMetadataOptionsPtrOutput) ToLaunchTemplateMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsPtrOutput
- type LaunchTemplateMonitoring
- type LaunchTemplateMonitoringArgs
- func (LaunchTemplateMonitoringArgs) ElementType() reflect.Type
- func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutput() LaunchTemplateMonitoringOutput
- func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutputWithContext(ctx context.Context) LaunchTemplateMonitoringOutput
- func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput
- func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput
- type LaunchTemplateMonitoringInput
- type LaunchTemplateMonitoringOutput
- func (LaunchTemplateMonitoringOutput) ElementType() reflect.Type
- func (o LaunchTemplateMonitoringOutput) Enabled() pulumi.BoolPtrOutput
- func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutput() LaunchTemplateMonitoringOutput
- func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutputWithContext(ctx context.Context) LaunchTemplateMonitoringOutput
- func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput
- func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput
- type LaunchTemplateMonitoringPtrInput
- type LaunchTemplateMonitoringPtrOutput
- func (o LaunchTemplateMonitoringPtrOutput) Elem() LaunchTemplateMonitoringOutput
- func (LaunchTemplateMonitoringPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateMonitoringPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput
- func (o LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput
- type LaunchTemplateNetworkInterface
- type LaunchTemplateNetworkInterfaceArgs
- func (LaunchTemplateNetworkInterfaceArgs) ElementType() reflect.Type
- func (i LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput
- func (i LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceOutput
- type LaunchTemplateNetworkInterfaceArray
- func (LaunchTemplateNetworkInterfaceArray) ElementType() reflect.Type
- func (i LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput
- func (i LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceArrayOutput
- type LaunchTemplateNetworkInterfaceArrayInput
- type LaunchTemplateNetworkInterfaceArrayOutput
- func (LaunchTemplateNetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o LaunchTemplateNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) LaunchTemplateNetworkInterfaceOutput
- func (o LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput
- func (o LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceArrayOutput
- type LaunchTemplateNetworkInterfaceInput
- type LaunchTemplateNetworkInterfaceOutput
- func (o LaunchTemplateNetworkInterfaceOutput) AssociateCarrierIpAddress() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) DeleteOnTermination() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Description() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) DeviceIndex() pulumi.IntPtrOutput
- func (LaunchTemplateNetworkInterfaceOutput) ElementType() reflect.Type
- func (o LaunchTemplateNetworkInterfaceOutput) InterfaceType() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Ipv4AddressCount() pulumi.IntPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Ipv4Addresses() pulumi.StringArrayOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Ipv4PrefixCount() pulumi.IntPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Ipv4Prefixes() pulumi.StringArrayOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Ipv6AddressCount() pulumi.IntPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Ipv6Addresses() pulumi.StringArrayOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Ipv6PrefixCount() pulumi.IntPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) Ipv6Prefixes() pulumi.StringArrayOutput
- func (o LaunchTemplateNetworkInterfaceOutput) NetworkCardIndex() pulumi.IntPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) PrivateIpAddress() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o LaunchTemplateNetworkInterfaceOutput) SubnetId() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput
- func (o LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceOutput
- type LaunchTemplateOutput
- type LaunchTemplatePlacement
- type LaunchTemplatePlacementArgs
- func (LaunchTemplatePlacementArgs) ElementType() reflect.Type
- func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutput() LaunchTemplatePlacementOutput
- func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutputWithContext(ctx context.Context) LaunchTemplatePlacementOutput
- func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput
- func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput
- type LaunchTemplatePlacementInput
- type LaunchTemplatePlacementOutput
- func (o LaunchTemplatePlacementOutput) Affinity() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (LaunchTemplatePlacementOutput) ElementType() reflect.Type
- func (o LaunchTemplatePlacementOutput) GroupName() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementOutput) HostId() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementOutput) HostResourceGroupArn() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementOutput) PartitionNumber() pulumi.IntPtrOutput
- func (o LaunchTemplatePlacementOutput) SpreadDomain() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementOutput) Tenancy() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutput() LaunchTemplatePlacementOutput
- func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutputWithContext(ctx context.Context) LaunchTemplatePlacementOutput
- func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput
- func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput
- type LaunchTemplatePlacementPtrInput
- type LaunchTemplatePlacementPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) Affinity() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) Elem() LaunchTemplatePlacementOutput
- func (LaunchTemplatePlacementPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplatePlacementPtrOutput) GroupName() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) HostId() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) HostResourceGroupArn() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) PartitionNumber() pulumi.IntPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) SpreadDomain() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) Tenancy() pulumi.StringPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput
- func (o LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput
- type LaunchTemplatePrivateDnsNameOptions
- type LaunchTemplatePrivateDnsNameOptionsArgs
- func (LaunchTemplatePrivateDnsNameOptionsArgs) ElementType() reflect.Type
- func (i LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsOutput() LaunchTemplatePrivateDnsNameOptionsOutput
- func (i LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsOutput
- func (i LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput() LaunchTemplatePrivateDnsNameOptionsPtrOutput
- func (i LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsPtrOutput
- type LaunchTemplatePrivateDnsNameOptionsInput
- type LaunchTemplatePrivateDnsNameOptionsOutput
- func (LaunchTemplatePrivateDnsNameOptionsOutput) ElementType() reflect.Type
- func (o LaunchTemplatePrivateDnsNameOptionsOutput) EnableResourceNameDnsARecord() pulumi.BoolPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsOutput) EnableResourceNameDnsAaaaRecord() pulumi.BoolPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsOutput) HostnameType() pulumi.StringPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsOutput() LaunchTemplatePrivateDnsNameOptionsOutput
- func (o LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsOutput
- func (o LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput() LaunchTemplatePrivateDnsNameOptionsPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsPtrOutput
- type LaunchTemplatePrivateDnsNameOptionsPtrInput
- type LaunchTemplatePrivateDnsNameOptionsPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) Elem() LaunchTemplatePrivateDnsNameOptionsOutput
- func (LaunchTemplatePrivateDnsNameOptionsPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) EnableResourceNameDnsARecord() pulumi.BoolPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) EnableResourceNameDnsAaaaRecord() pulumi.BoolPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) HostnameType() pulumi.StringPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput() LaunchTemplatePrivateDnsNameOptionsPtrOutput
- func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsPtrOutput
- type LaunchTemplateState
- type LaunchTemplateTagSpecification
- type LaunchTemplateTagSpecificationArgs
- func (LaunchTemplateTagSpecificationArgs) ElementType() reflect.Type
- func (i LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutput() LaunchTemplateTagSpecificationOutput
- func (i LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationOutput
- type LaunchTemplateTagSpecificationArray
- func (LaunchTemplateTagSpecificationArray) ElementType() reflect.Type
- func (i LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutput() LaunchTemplateTagSpecificationArrayOutput
- func (i LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationArrayOutput
- type LaunchTemplateTagSpecificationArrayInput
- type LaunchTemplateTagSpecificationArrayOutput
- func (LaunchTemplateTagSpecificationArrayOutput) ElementType() reflect.Type
- func (o LaunchTemplateTagSpecificationArrayOutput) Index(i pulumi.IntInput) LaunchTemplateTagSpecificationOutput
- func (o LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutput() LaunchTemplateTagSpecificationArrayOutput
- func (o LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationArrayOutput
- type LaunchTemplateTagSpecificationInput
- type LaunchTemplateTagSpecificationOutput
- func (LaunchTemplateTagSpecificationOutput) ElementType() reflect.Type
- func (o LaunchTemplateTagSpecificationOutput) ResourceType() pulumi.StringPtrOutput
- func (o LaunchTemplateTagSpecificationOutput) Tags() pulumi.StringMapOutput
- func (o LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutput() LaunchTemplateTagSpecificationOutput
- func (o LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationOutput
- type LocalGatewayRoute
- type LocalGatewayRouteArgs
- type LocalGatewayRouteArray
- type LocalGatewayRouteArrayInput
- type LocalGatewayRouteArrayOutput
- func (LocalGatewayRouteArrayOutput) ElementType() reflect.Type
- func (o LocalGatewayRouteArrayOutput) Index(i pulumi.IntInput) LocalGatewayRouteOutput
- func (o LocalGatewayRouteArrayOutput) ToLocalGatewayRouteArrayOutput() LocalGatewayRouteArrayOutput
- func (o LocalGatewayRouteArrayOutput) ToLocalGatewayRouteArrayOutputWithContext(ctx context.Context) LocalGatewayRouteArrayOutput
- type LocalGatewayRouteInput
- type LocalGatewayRouteMap
- type LocalGatewayRouteMapInput
- type LocalGatewayRouteMapOutput
- func (LocalGatewayRouteMapOutput) ElementType() reflect.Type
- func (o LocalGatewayRouteMapOutput) MapIndex(k pulumi.StringInput) LocalGatewayRouteOutput
- func (o LocalGatewayRouteMapOutput) ToLocalGatewayRouteMapOutput() LocalGatewayRouteMapOutput
- func (o LocalGatewayRouteMapOutput) ToLocalGatewayRouteMapOutputWithContext(ctx context.Context) LocalGatewayRouteMapOutput
- type LocalGatewayRouteOutput
- type LocalGatewayRouteState
- type LocalGatewayRouteTableVpcAssociation
- func (*LocalGatewayRouteTableVpcAssociation) ElementType() reflect.Type
- func (i *LocalGatewayRouteTableVpcAssociation) ToLocalGatewayRouteTableVpcAssociationOutput() LocalGatewayRouteTableVpcAssociationOutput
- func (i *LocalGatewayRouteTableVpcAssociation) ToLocalGatewayRouteTableVpcAssociationOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationOutput
- type LocalGatewayRouteTableVpcAssociationArgs
- type LocalGatewayRouteTableVpcAssociationArray
- func (LocalGatewayRouteTableVpcAssociationArray) ElementType() reflect.Type
- func (i LocalGatewayRouteTableVpcAssociationArray) ToLocalGatewayRouteTableVpcAssociationArrayOutput() LocalGatewayRouteTableVpcAssociationArrayOutput
- func (i LocalGatewayRouteTableVpcAssociationArray) ToLocalGatewayRouteTableVpcAssociationArrayOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationArrayOutput
- type LocalGatewayRouteTableVpcAssociationArrayInput
- type LocalGatewayRouteTableVpcAssociationArrayOutput
- func (LocalGatewayRouteTableVpcAssociationArrayOutput) ElementType() reflect.Type
- func (o LocalGatewayRouteTableVpcAssociationArrayOutput) Index(i pulumi.IntInput) LocalGatewayRouteTableVpcAssociationOutput
- func (o LocalGatewayRouteTableVpcAssociationArrayOutput) ToLocalGatewayRouteTableVpcAssociationArrayOutput() LocalGatewayRouteTableVpcAssociationArrayOutput
- func (o LocalGatewayRouteTableVpcAssociationArrayOutput) ToLocalGatewayRouteTableVpcAssociationArrayOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationArrayOutput
- type LocalGatewayRouteTableVpcAssociationInput
- type LocalGatewayRouteTableVpcAssociationMap
- func (LocalGatewayRouteTableVpcAssociationMap) ElementType() reflect.Type
- func (i LocalGatewayRouteTableVpcAssociationMap) ToLocalGatewayRouteTableVpcAssociationMapOutput() LocalGatewayRouteTableVpcAssociationMapOutput
- func (i LocalGatewayRouteTableVpcAssociationMap) ToLocalGatewayRouteTableVpcAssociationMapOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationMapOutput
- type LocalGatewayRouteTableVpcAssociationMapInput
- type LocalGatewayRouteTableVpcAssociationMapOutput
- func (LocalGatewayRouteTableVpcAssociationMapOutput) ElementType() reflect.Type
- func (o LocalGatewayRouteTableVpcAssociationMapOutput) MapIndex(k pulumi.StringInput) LocalGatewayRouteTableVpcAssociationOutput
- func (o LocalGatewayRouteTableVpcAssociationMapOutput) ToLocalGatewayRouteTableVpcAssociationMapOutput() LocalGatewayRouteTableVpcAssociationMapOutput
- func (o LocalGatewayRouteTableVpcAssociationMapOutput) ToLocalGatewayRouteTableVpcAssociationMapOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationMapOutput
- type LocalGatewayRouteTableVpcAssociationOutput
- func (LocalGatewayRouteTableVpcAssociationOutput) ElementType() reflect.Type
- func (o LocalGatewayRouteTableVpcAssociationOutput) ToLocalGatewayRouteTableVpcAssociationOutput() LocalGatewayRouteTableVpcAssociationOutput
- func (o LocalGatewayRouteTableVpcAssociationOutput) ToLocalGatewayRouteTableVpcAssociationOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationOutput
- type LocalGatewayRouteTableVpcAssociationState
- type LookupAmiArgs
- type LookupAmiOutputArgs
- type LookupAmiResult
- type LookupAmiResultOutput
- func (o LookupAmiResultOutput) Architecture() pulumi.StringOutput
- func (o LookupAmiResultOutput) Arn() pulumi.StringOutput
- func (o LookupAmiResultOutput) BlockDeviceMappings() GetAmiBlockDeviceMappingArrayOutput
- func (o LookupAmiResultOutput) BootMode() pulumi.StringOutput
- func (o LookupAmiResultOutput) CreationDate() pulumi.StringOutput
- func (o LookupAmiResultOutput) Description() pulumi.StringOutput
- func (LookupAmiResultOutput) ElementType() reflect.Type
- func (o LookupAmiResultOutput) EnaSupport() pulumi.BoolOutput
- func (o LookupAmiResultOutput) ExecutableUsers() pulumi.StringArrayOutput
- func (o LookupAmiResultOutput) Filters() GetAmiFilterArrayOutput
- func (o LookupAmiResultOutput) Hypervisor() pulumi.StringOutput
- func (o LookupAmiResultOutput) Id() pulumi.StringOutput
- func (o LookupAmiResultOutput) ImageId() pulumi.StringOutput
- func (o LookupAmiResultOutput) ImageLocation() pulumi.StringOutput
- func (o LookupAmiResultOutput) ImageOwnerAlias() pulumi.StringOutput
- func (o LookupAmiResultOutput) ImageType() pulumi.StringOutput
- func (o LookupAmiResultOutput) KernelId() pulumi.StringOutput
- func (o LookupAmiResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o LookupAmiResultOutput) Name() pulumi.StringOutput
- func (o LookupAmiResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o LookupAmiResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupAmiResultOutput) Owners() pulumi.StringArrayOutput
- func (o LookupAmiResultOutput) Platform() pulumi.StringOutput
- func (o LookupAmiResultOutput) PlatformDetails() pulumi.StringOutput
- func (o LookupAmiResultOutput) ProductCodes() GetAmiProductCodeArrayOutput
- func (o LookupAmiResultOutput) Public() pulumi.BoolOutput
- func (o LookupAmiResultOutput) RamdiskId() pulumi.StringOutput
- func (o LookupAmiResultOutput) RootDeviceName() pulumi.StringOutput
- func (o LookupAmiResultOutput) RootDeviceType() pulumi.StringOutput
- func (o LookupAmiResultOutput) RootSnapshotId() pulumi.StringOutput
- func (o LookupAmiResultOutput) SriovNetSupport() pulumi.StringOutput
- func (o LookupAmiResultOutput) State() pulumi.StringOutput
- func (o LookupAmiResultOutput) StateReason() pulumi.StringMapOutput
- func (o LookupAmiResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupAmiResultOutput) ToLookupAmiResultOutput() LookupAmiResultOutput
- func (o LookupAmiResultOutput) ToLookupAmiResultOutputWithContext(ctx context.Context) LookupAmiResultOutput
- func (o LookupAmiResultOutput) UsageOperation() pulumi.StringOutput
- func (o LookupAmiResultOutput) VirtualizationType() pulumi.StringOutput
- type LookupCustomerGatewayArgs
- type LookupCustomerGatewayOutputArgs
- type LookupCustomerGatewayResult
- type LookupCustomerGatewayResultOutput
- func (o LookupCustomerGatewayResultOutput) Arn() pulumi.StringOutput
- func (o LookupCustomerGatewayResultOutput) BgpAsn() pulumi.IntOutput
- func (o LookupCustomerGatewayResultOutput) CertificateArn() pulumi.StringOutput
- func (o LookupCustomerGatewayResultOutput) DeviceName() pulumi.StringOutput
- func (LookupCustomerGatewayResultOutput) ElementType() reflect.Type
- func (o LookupCustomerGatewayResultOutput) Filters() GetCustomerGatewayFilterArrayOutput
- func (o LookupCustomerGatewayResultOutput) Id() pulumi.StringOutput
- func (o LookupCustomerGatewayResultOutput) IpAddress() pulumi.StringOutput
- func (o LookupCustomerGatewayResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupCustomerGatewayResultOutput) ToLookupCustomerGatewayResultOutput() LookupCustomerGatewayResultOutput
- func (o LookupCustomerGatewayResultOutput) ToLookupCustomerGatewayResultOutputWithContext(ctx context.Context) LookupCustomerGatewayResultOutput
- func (o LookupCustomerGatewayResultOutput) Type() pulumi.StringOutput
- type LookupDedicatedHostArgs
- type LookupDedicatedHostOutputArgs
- type LookupDedicatedHostResult
- type LookupDedicatedHostResultOutput
- func (o LookupDedicatedHostResultOutput) Arn() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) AutoPlacement() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) Cores() pulumi.IntOutput
- func (LookupDedicatedHostResultOutput) ElementType() reflect.Type
- func (o LookupDedicatedHostResultOutput) Filters() GetDedicatedHostFilterArrayOutput
- func (o LookupDedicatedHostResultOutput) HostId() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) HostRecovery() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) Id() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) InstanceFamily() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) InstanceType() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupDedicatedHostResultOutput) Sockets() pulumi.IntOutput
- func (o LookupDedicatedHostResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupDedicatedHostResultOutput) ToLookupDedicatedHostResultOutput() LookupDedicatedHostResultOutput
- func (o LookupDedicatedHostResultOutput) ToLookupDedicatedHostResultOutputWithContext(ctx context.Context) LookupDedicatedHostResultOutput
- func (o LookupDedicatedHostResultOutput) TotalVcpus() pulumi.IntOutput
- type LookupInstanceArgs
- type LookupInstanceOutputArgs
- type LookupInstanceResult
- type LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) Ami() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Arn() pulumi.StringOutput
- func (o LookupInstanceResultOutput) AssociatePublicIpAddress() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupInstanceResultOutput) CreditSpecifications() GetInstanceCreditSpecificationArrayOutput
- func (o LookupInstanceResultOutput) DisableApiTermination() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) EbsBlockDevices() GetInstanceEbsBlockDeviceArrayOutput
- func (o LookupInstanceResultOutput) EbsOptimized() pulumi.BoolOutput
- func (LookupInstanceResultOutput) ElementType() reflect.Type
- func (o LookupInstanceResultOutput) EnclaveOptions() GetInstanceEnclaveOptionArrayOutput
- func (o LookupInstanceResultOutput) EphemeralBlockDevices() GetInstanceEphemeralBlockDeviceArrayOutput
- func (o LookupInstanceResultOutput) Filters() GetInstanceFilterArrayOutput
- func (o LookupInstanceResultOutput) GetPasswordData() pulumi.BoolPtrOutput
- func (o LookupInstanceResultOutput) GetUserData() pulumi.BoolPtrOutput
- func (o LookupInstanceResultOutput) HostId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) IamInstanceProfile() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Id() pulumi.StringOutput
- func (o LookupInstanceResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o LookupInstanceResultOutput) InstanceState() pulumi.StringOutput
- func (o LookupInstanceResultOutput) InstanceTags() pulumi.StringMapOutput
- func (o LookupInstanceResultOutput) InstanceType() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Ipv6Addresses() pulumi.StringArrayOutput
- func (o LookupInstanceResultOutput) KeyName() pulumi.StringOutput
- func (o LookupInstanceResultOutput) MetadataOptions() GetInstanceMetadataOptionArrayOutput
- func (o LookupInstanceResultOutput) Monitoring() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) OutpostArn() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PasswordData() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PlacementGroup() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PlacementPartitionNumber() pulumi.IntOutput
- func (o LookupInstanceResultOutput) PrivateDns() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PrivateIp() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PublicDns() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PublicIp() pulumi.StringOutput
- func (o LookupInstanceResultOutput) RootBlockDevices() GetInstanceRootBlockDeviceArrayOutput
- func (o LookupInstanceResultOutput) SecondaryPrivateIps() pulumi.StringArrayOutput
- func (o LookupInstanceResultOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o LookupInstanceResultOutput) SourceDestCheck() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupInstanceResultOutput) Tenancy() pulumi.StringOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) UserData() pulumi.StringOutput
- func (o LookupInstanceResultOutput) UserDataBase64() pulumi.StringOutput
- func (o LookupInstanceResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- type LookupInternetGatewayArgs
- type LookupInternetGatewayOutputArgs
- type LookupInternetGatewayResult
- type LookupInternetGatewayResultOutput
- func (o LookupInternetGatewayResultOutput) Arn() pulumi.StringOutput
- func (o LookupInternetGatewayResultOutput) Attachments() GetInternetGatewayAttachmentTypeArrayOutput
- func (LookupInternetGatewayResultOutput) ElementType() reflect.Type
- func (o LookupInternetGatewayResultOutput) Filters() GetInternetGatewayFilterArrayOutput
- func (o LookupInternetGatewayResultOutput) Id() pulumi.StringOutput
- func (o LookupInternetGatewayResultOutput) InternetGatewayId() pulumi.StringOutput
- func (o LookupInternetGatewayResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupInternetGatewayResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupInternetGatewayResultOutput) ToLookupInternetGatewayResultOutput() LookupInternetGatewayResultOutput
- func (o LookupInternetGatewayResultOutput) ToLookupInternetGatewayResultOutputWithContext(ctx context.Context) LookupInternetGatewayResultOutput
- type LookupKeyPairArgs
- type LookupKeyPairOutputArgs
- type LookupKeyPairResult
- type LookupKeyPairResultOutput
- func (o LookupKeyPairResultOutput) Arn() pulumi.StringOutput
- func (LookupKeyPairResultOutput) ElementType() reflect.Type
- func (o LookupKeyPairResultOutput) Filters() GetKeyPairFilterArrayOutput
- func (o LookupKeyPairResultOutput) Fingerprint() pulumi.StringOutput
- func (o LookupKeyPairResultOutput) Id() pulumi.StringOutput
- func (o LookupKeyPairResultOutput) KeyName() pulumi.StringPtrOutput
- func (o LookupKeyPairResultOutput) KeyPairId() pulumi.StringPtrOutput
- func (o LookupKeyPairResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupKeyPairResultOutput) ToLookupKeyPairResultOutput() LookupKeyPairResultOutput
- func (o LookupKeyPairResultOutput) ToLookupKeyPairResultOutputWithContext(ctx context.Context) LookupKeyPairResultOutput
- type LookupLaunchConfigurationArgs
- type LookupLaunchConfigurationOutputArgs
- type LookupLaunchConfigurationResult
- type LookupLaunchConfigurationResultOutput
- func (o LookupLaunchConfigurationResultOutput) Arn() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) AssociatePublicIpAddress() pulumi.BoolOutput
- func (o LookupLaunchConfigurationResultOutput) EbsBlockDevices() GetLaunchConfigurationEbsBlockDeviceArrayOutput
- func (o LookupLaunchConfigurationResultOutput) EbsOptimized() pulumi.BoolOutput
- func (LookupLaunchConfigurationResultOutput) ElementType() reflect.Type
- func (o LookupLaunchConfigurationResultOutput) EnableMonitoring() pulumi.BoolOutput
- func (o LookupLaunchConfigurationResultOutput) EphemeralBlockDevices() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
- func (o LookupLaunchConfigurationResultOutput) IamInstanceProfile() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) Id() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) ImageId() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) InstanceType() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) KeyName() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) MetadataOptions() GetLaunchConfigurationMetadataOptionArrayOutput
- func (o LookupLaunchConfigurationResultOutput) Name() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) PlacementTenancy() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) RootBlockDevices() GetLaunchConfigurationRootBlockDeviceArrayOutput
- func (o LookupLaunchConfigurationResultOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o LookupLaunchConfigurationResultOutput) SpotPrice() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) ToLookupLaunchConfigurationResultOutput() LookupLaunchConfigurationResultOutput
- func (o LookupLaunchConfigurationResultOutput) ToLookupLaunchConfigurationResultOutputWithContext(ctx context.Context) LookupLaunchConfigurationResultOutput
- func (o LookupLaunchConfigurationResultOutput) UserData() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) VpcClassicLinkId() pulumi.StringOutput
- func (o LookupLaunchConfigurationResultOutput) VpcClassicLinkSecurityGroups() pulumi.StringArrayOutput
- type LookupLaunchTemplateArgs
- type LookupLaunchTemplateOutputArgs
- type LookupLaunchTemplateResult
- type LookupLaunchTemplateResultOutput
- func (o LookupLaunchTemplateResultOutput) Arn() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) BlockDeviceMappings() GetLaunchTemplateBlockDeviceMappingArrayOutput
- func (o LookupLaunchTemplateResultOutput) CapacityReservationSpecifications() GetLaunchTemplateCapacityReservationSpecificationArrayOutput
- func (o LookupLaunchTemplateResultOutput) CpuOptions() GetLaunchTemplateCpuOptionArrayOutput
- func (o LookupLaunchTemplateResultOutput) CreditSpecifications() GetLaunchTemplateCreditSpecificationArrayOutput
- func (o LookupLaunchTemplateResultOutput) DefaultVersion() pulumi.IntOutput
- func (o LookupLaunchTemplateResultOutput) Description() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) DisableApiTermination() pulumi.BoolOutput
- func (o LookupLaunchTemplateResultOutput) EbsOptimized() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) ElasticGpuSpecifications() GetLaunchTemplateElasticGpuSpecificationArrayOutput
- func (o LookupLaunchTemplateResultOutput) ElasticInferenceAccelerators() GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
- func (LookupLaunchTemplateResultOutput) ElementType() reflect.Type
- func (o LookupLaunchTemplateResultOutput) EnclaveOptions() GetLaunchTemplateEnclaveOptionArrayOutput
- func (o LookupLaunchTemplateResultOutput) Filters() GetLaunchTemplateFilterArrayOutput
- func (o LookupLaunchTemplateResultOutput) HibernationOptions() GetLaunchTemplateHibernationOptionArrayOutput
- func (o LookupLaunchTemplateResultOutput) IamInstanceProfiles() GetLaunchTemplateIamInstanceProfileArrayOutput
- func (o LookupLaunchTemplateResultOutput) Id() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) ImageId() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) InstanceInitiatedShutdownBehavior() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) InstanceMarketOptions() GetLaunchTemplateInstanceMarketOptionArrayOutput
- func (o LookupLaunchTemplateResultOutput) InstanceType() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) KernelId() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) KeyName() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) LatestVersion() pulumi.IntOutput
- func (o LookupLaunchTemplateResultOutput) LicenseSpecifications() GetLaunchTemplateLicenseSpecificationArrayOutput
- func (o LookupLaunchTemplateResultOutput) MetadataOptions() GetLaunchTemplateMetadataOptionArrayOutput
- func (o LookupLaunchTemplateResultOutput) Monitorings() GetLaunchTemplateMonitoringArrayOutput
- func (o LookupLaunchTemplateResultOutput) Name() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) NetworkInterfaces() GetLaunchTemplateNetworkInterfaceArrayOutput
- func (o LookupLaunchTemplateResultOutput) Placements() GetLaunchTemplatePlacementArrayOutput
- func (o LookupLaunchTemplateResultOutput) PrivateDnsNameOptions() GetLaunchTemplatePrivateDnsNameOptionArrayOutput
- func (o LookupLaunchTemplateResultOutput) RamDiskId() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) SecurityGroupNames() pulumi.StringArrayOutput
- func (o LookupLaunchTemplateResultOutput) TagSpecifications() GetLaunchTemplateTagSpecificationArrayOutput
- func (o LookupLaunchTemplateResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupLaunchTemplateResultOutput) ToLookupLaunchTemplateResultOutput() LookupLaunchTemplateResultOutput
- func (o LookupLaunchTemplateResultOutput) ToLookupLaunchTemplateResultOutputWithContext(ctx context.Context) LookupLaunchTemplateResultOutput
- func (o LookupLaunchTemplateResultOutput) UserData() pulumi.StringOutput
- func (o LookupLaunchTemplateResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- type LookupManagedPrefixListArgs
- type LookupManagedPrefixListOutputArgs
- type LookupManagedPrefixListResult
- type LookupManagedPrefixListResultOutput
- func (o LookupManagedPrefixListResultOutput) AddressFamily() pulumi.StringOutput
- func (o LookupManagedPrefixListResultOutput) Arn() pulumi.StringOutput
- func (LookupManagedPrefixListResultOutput) ElementType() reflect.Type
- func (o LookupManagedPrefixListResultOutput) Entries() GetManagedPrefixListEntryTypeArrayOutput
- func (o LookupManagedPrefixListResultOutput) Filters() GetManagedPrefixListFilterArrayOutput
- func (o LookupManagedPrefixListResultOutput) Id() pulumi.StringOutput
- func (o LookupManagedPrefixListResultOutput) MaxEntries() pulumi.IntOutput
- func (o LookupManagedPrefixListResultOutput) Name() pulumi.StringOutput
- func (o LookupManagedPrefixListResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupManagedPrefixListResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupManagedPrefixListResultOutput) ToLookupManagedPrefixListResultOutput() LookupManagedPrefixListResultOutput
- func (o LookupManagedPrefixListResultOutput) ToLookupManagedPrefixListResultOutputWithContext(ctx context.Context) LookupManagedPrefixListResultOutput
- func (o LookupManagedPrefixListResultOutput) Version() pulumi.IntOutput
- type LookupNatGatewayArgs
- type LookupNatGatewayOutputArgs
- type LookupNatGatewayResult
- type LookupNatGatewayResultOutput
- func (o LookupNatGatewayResultOutput) AllocationId() pulumi.StringOutput
- func (o LookupNatGatewayResultOutput) ConnectivityType() pulumi.StringOutput
- func (LookupNatGatewayResultOutput) ElementType() reflect.Type
- func (o LookupNatGatewayResultOutput) Filters() GetNatGatewayFilterArrayOutput
- func (o LookupNatGatewayResultOutput) Id() pulumi.StringOutput
- func (o LookupNatGatewayResultOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o LookupNatGatewayResultOutput) PrivateIp() pulumi.StringOutput
- func (o LookupNatGatewayResultOutput) PublicIp() pulumi.StringOutput
- func (o LookupNatGatewayResultOutput) State() pulumi.StringOutput
- func (o LookupNatGatewayResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupNatGatewayResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupNatGatewayResultOutput) ToLookupNatGatewayResultOutput() LookupNatGatewayResultOutput
- func (o LookupNatGatewayResultOutput) ToLookupNatGatewayResultOutputWithContext(ctx context.Context) LookupNatGatewayResultOutput
- func (o LookupNatGatewayResultOutput) VpcId() pulumi.StringOutput
- type LookupNetworkInterfaceArgs
- type LookupNetworkInterfaceOutputArgs
- type LookupNetworkInterfaceResult
- type LookupNetworkInterfaceResultOutput
- func (o LookupNetworkInterfaceResultOutput) Arn() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) Associations() GetNetworkInterfaceAssociationArrayOutput
- func (o LookupNetworkInterfaceResultOutput) Attachments() GetNetworkInterfaceAttachmentTypeArrayOutput
- func (o LookupNetworkInterfaceResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) Description() pulumi.StringOutput
- func (LookupNetworkInterfaceResultOutput) ElementType() reflect.Type
- func (o LookupNetworkInterfaceResultOutput) Filters() GetNetworkInterfaceFilterArrayOutput
- func (o LookupNetworkInterfaceResultOutput) Id() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) InterfaceType() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) Ipv6Addresses() pulumi.StringArrayOutput
- func (o LookupNetworkInterfaceResultOutput) MacAddress() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) OutpostArn() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) PrivateDnsName() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) PrivateIp() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) PrivateIps() pulumi.StringArrayOutput
- func (o LookupNetworkInterfaceResultOutput) RequesterId() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o LookupNetworkInterfaceResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupNetworkInterfaceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupNetworkInterfaceResultOutput) ToLookupNetworkInterfaceResultOutput() LookupNetworkInterfaceResultOutput
- func (o LookupNetworkInterfaceResultOutput) ToLookupNetworkInterfaceResultOutputWithContext(ctx context.Context) LookupNetworkInterfaceResultOutput
- func (o LookupNetworkInterfaceResultOutput) VpcId() pulumi.StringOutput
- type LookupRouteArgs
- type LookupRouteOutputArgs
- type LookupRouteResult
- type LookupRouteResultOutput
- func (o LookupRouteResultOutput) CarrierGatewayId() pulumi.StringOutput
- func (o LookupRouteResultOutput) DestinationCidrBlock() pulumi.StringOutput
- func (o LookupRouteResultOutput) DestinationIpv6CidrBlock() pulumi.StringOutput
- func (o LookupRouteResultOutput) DestinationPrefixListId() pulumi.StringOutput
- func (o LookupRouteResultOutput) EgressOnlyGatewayId() pulumi.StringOutput
- func (LookupRouteResultOutput) ElementType() reflect.Type
- func (o LookupRouteResultOutput) GatewayId() pulumi.StringOutput
- func (o LookupRouteResultOutput) Id() pulumi.StringOutput
- func (o LookupRouteResultOutput) InstanceId() pulumi.StringOutput
- func (o LookupRouteResultOutput) LocalGatewayId() pulumi.StringOutput
- func (o LookupRouteResultOutput) NatGatewayId() pulumi.StringOutput
- func (o LookupRouteResultOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o LookupRouteResultOutput) RouteTableId() pulumi.StringOutput
- func (o LookupRouteResultOutput) ToLookupRouteResultOutput() LookupRouteResultOutput
- func (o LookupRouteResultOutput) ToLookupRouteResultOutputWithContext(ctx context.Context) LookupRouteResultOutput
- func (o LookupRouteResultOutput) TransitGatewayId() pulumi.StringOutput
- func (o LookupRouteResultOutput) VpcPeeringConnectionId() pulumi.StringOutput
- type LookupRouteTableArgs
- type LookupRouteTableOutputArgs
- type LookupRouteTableResult
- type LookupRouteTableResultOutput
- func (o LookupRouteTableResultOutput) Arn() pulumi.StringOutput
- func (o LookupRouteTableResultOutput) Associations() GetRouteTableAssociationTypeArrayOutput
- func (LookupRouteTableResultOutput) ElementType() reflect.Type
- func (o LookupRouteTableResultOutput) Filters() GetRouteTableFilterArrayOutput
- func (o LookupRouteTableResultOutput) GatewayId() pulumi.StringOutput
- func (o LookupRouteTableResultOutput) Id() pulumi.StringOutput
- func (o LookupRouteTableResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupRouteTableResultOutput) RouteTableId() pulumi.StringOutput
- func (o LookupRouteTableResultOutput) Routes() GetRouteTableRouteArrayOutput
- func (o LookupRouteTableResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupRouteTableResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutput() LookupRouteTableResultOutput
- func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutputWithContext(ctx context.Context) LookupRouteTableResultOutput
- func (o LookupRouteTableResultOutput) VpcId() pulumi.StringOutput
- type LookupSecurityGroupArgs
- type LookupSecurityGroupOutputArgs
- type LookupSecurityGroupResult
- type LookupSecurityGroupResultOutput
- func (o LookupSecurityGroupResultOutput) Arn() pulumi.StringOutput
- func (o LookupSecurityGroupResultOutput) Description() pulumi.StringOutput
- func (LookupSecurityGroupResultOutput) ElementType() reflect.Type
- func (o LookupSecurityGroupResultOutput) Filters() GetSecurityGroupFilterArrayOutput
- func (o LookupSecurityGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupSecurityGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupSecurityGroupResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSecurityGroupResultOutput) ToLookupSecurityGroupResultOutput() LookupSecurityGroupResultOutput
- func (o LookupSecurityGroupResultOutput) ToLookupSecurityGroupResultOutputWithContext(ctx context.Context) LookupSecurityGroupResultOutput
- func (o LookupSecurityGroupResultOutput) VpcId() pulumi.StringOutput
- type LookupSerialConsoleAccessResult
- type LookupSubnetArgs
- type LookupSubnetOutputArgs
- type LookupSubnetResult
- type LookupSubnetResultOutput
- func (o LookupSubnetResultOutput) Arn() pulumi.StringOutput
- func (o LookupSubnetResultOutput) AssignIpv6AddressOnCreation() pulumi.BoolOutput
- func (o LookupSubnetResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupSubnetResultOutput) AvailabilityZoneId() pulumi.StringOutput
- func (o LookupSubnetResultOutput) AvailableIpAddressCount() pulumi.IntOutput
- func (o LookupSubnetResultOutput) CidrBlock() pulumi.StringOutput
- func (o LookupSubnetResultOutput) CustomerOwnedIpv4Pool() pulumi.StringOutput
- func (o LookupSubnetResultOutput) DefaultForAz() pulumi.BoolOutput
- func (LookupSubnetResultOutput) ElementType() reflect.Type
- func (o LookupSubnetResultOutput) EnableDns64() pulumi.BoolOutput
- func (o LookupSubnetResultOutput) EnableResourceNameDnsARecordOnLaunch() pulumi.BoolOutput
- func (o LookupSubnetResultOutput) EnableResourceNameDnsAaaaRecordOnLaunch() pulumi.BoolOutput
- func (o LookupSubnetResultOutput) Filters() GetSubnetFilterArrayOutput
- func (o LookupSubnetResultOutput) Id() pulumi.StringOutput
- func (o LookupSubnetResultOutput) Ipv6CidrBlock() pulumi.StringOutput
- func (o LookupSubnetResultOutput) Ipv6CidrBlockAssociationId() pulumi.StringOutput
- func (o LookupSubnetResultOutput) Ipv6Native() pulumi.BoolOutput
- func (o LookupSubnetResultOutput) MapCustomerOwnedIpOnLaunch() pulumi.BoolOutput
- func (o LookupSubnetResultOutput) MapPublicIpOnLaunch() pulumi.BoolOutput
- func (o LookupSubnetResultOutput) OutpostArn() pulumi.StringOutput
- func (o LookupSubnetResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupSubnetResultOutput) PrivateDnsHostnameTypeOnLaunch() pulumi.StringOutput
- func (o LookupSubnetResultOutput) State() pulumi.StringOutput
- func (o LookupSubnetResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSubnetResultOutput) ToLookupSubnetResultOutput() LookupSubnetResultOutput
- func (o LookupSubnetResultOutput) ToLookupSubnetResultOutputWithContext(ctx context.Context) LookupSubnetResultOutput
- func (o LookupSubnetResultOutput) VpcId() pulumi.StringOutput
- type LookupVpcArgs
- type LookupVpcDhcpOptionsArgs
- type LookupVpcDhcpOptionsOutputArgs
- type LookupVpcDhcpOptionsResult
- type LookupVpcDhcpOptionsResultOutput
- func (o LookupVpcDhcpOptionsResultOutput) Arn() pulumi.StringOutput
- func (o LookupVpcDhcpOptionsResultOutput) DhcpOptionsId() pulumi.StringOutput
- func (o LookupVpcDhcpOptionsResultOutput) DomainName() pulumi.StringOutput
- func (o LookupVpcDhcpOptionsResultOutput) DomainNameServers() pulumi.StringArrayOutput
- func (LookupVpcDhcpOptionsResultOutput) ElementType() reflect.Type
- func (o LookupVpcDhcpOptionsResultOutput) Filters() GetVpcDhcpOptionsFilterArrayOutput
- func (o LookupVpcDhcpOptionsResultOutput) Id() pulumi.StringOutput
- func (o LookupVpcDhcpOptionsResultOutput) NetbiosNameServers() pulumi.StringArrayOutput
- func (o LookupVpcDhcpOptionsResultOutput) NetbiosNodeType() pulumi.StringOutput
- func (o LookupVpcDhcpOptionsResultOutput) NtpServers() pulumi.StringArrayOutput
- func (o LookupVpcDhcpOptionsResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupVpcDhcpOptionsResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupVpcDhcpOptionsResultOutput) ToLookupVpcDhcpOptionsResultOutput() LookupVpcDhcpOptionsResultOutput
- func (o LookupVpcDhcpOptionsResultOutput) ToLookupVpcDhcpOptionsResultOutputWithContext(ctx context.Context) LookupVpcDhcpOptionsResultOutput
- type LookupVpcEndpointArgs
- type LookupVpcEndpointOutputArgs
- type LookupVpcEndpointResult
- type LookupVpcEndpointResultOutput
- func (o LookupVpcEndpointResultOutput) Arn() pulumi.StringOutput
- func (o LookupVpcEndpointResultOutput) CidrBlocks() pulumi.StringArrayOutput
- func (o LookupVpcEndpointResultOutput) DnsEntries() GetVpcEndpointDnsEntryArrayOutput
- func (LookupVpcEndpointResultOutput) ElementType() reflect.Type
- func (o LookupVpcEndpointResultOutput) Filters() GetVpcEndpointFilterArrayOutput
- func (o LookupVpcEndpointResultOutput) Id() pulumi.StringOutput
- func (o LookupVpcEndpointResultOutput) NetworkInterfaceIds() pulumi.StringArrayOutput
- func (o LookupVpcEndpointResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupVpcEndpointResultOutput) Policy() pulumi.StringOutput
- func (o LookupVpcEndpointResultOutput) PrefixListId() pulumi.StringOutput
- func (o LookupVpcEndpointResultOutput) PrivateDnsEnabled() pulumi.BoolOutput
- func (o LookupVpcEndpointResultOutput) RequesterManaged() pulumi.BoolOutput
- func (o LookupVpcEndpointResultOutput) RouteTableIds() pulumi.StringArrayOutput
- func (o LookupVpcEndpointResultOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o LookupVpcEndpointResultOutput) ServiceName() pulumi.StringOutput
- func (o LookupVpcEndpointResultOutput) State() pulumi.StringOutput
- func (o LookupVpcEndpointResultOutput) SubnetIds() pulumi.StringArrayOutput
- func (o LookupVpcEndpointResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupVpcEndpointResultOutput) ToLookupVpcEndpointResultOutput() LookupVpcEndpointResultOutput
- func (o LookupVpcEndpointResultOutput) ToLookupVpcEndpointResultOutputWithContext(ctx context.Context) LookupVpcEndpointResultOutput
- func (o LookupVpcEndpointResultOutput) VpcEndpointType() pulumi.StringOutput
- func (o LookupVpcEndpointResultOutput) VpcId() pulumi.StringOutput
- type LookupVpcEndpointServiceArgs
- type LookupVpcEndpointServiceOutputArgs
- type LookupVpcEndpointServiceResult
- type LookupVpcEndpointServiceResultOutput
- func (o LookupVpcEndpointServiceResultOutput) AcceptanceRequired() pulumi.BoolOutput
- func (o LookupVpcEndpointServiceResultOutput) Arn() pulumi.StringOutput
- func (o LookupVpcEndpointServiceResultOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o LookupVpcEndpointServiceResultOutput) BaseEndpointDnsNames() pulumi.StringArrayOutput
- func (LookupVpcEndpointServiceResultOutput) ElementType() reflect.Type
- func (o LookupVpcEndpointServiceResultOutput) Filters() GetVpcEndpointServiceFilterArrayOutput
- func (o LookupVpcEndpointServiceResultOutput) Id() pulumi.StringOutput
- func (o LookupVpcEndpointServiceResultOutput) ManagesVpcEndpoints() pulumi.BoolOutput
- func (o LookupVpcEndpointServiceResultOutput) Owner() pulumi.StringOutput
- func (o LookupVpcEndpointServiceResultOutput) PrivateDnsName() pulumi.StringOutput
- func (o LookupVpcEndpointServiceResultOutput) Service() pulumi.StringPtrOutput
- func (o LookupVpcEndpointServiceResultOutput) ServiceId() pulumi.StringOutput
- func (o LookupVpcEndpointServiceResultOutput) ServiceName() pulumi.StringOutput
- func (o LookupVpcEndpointServiceResultOutput) ServiceType() pulumi.StringOutput
- func (o LookupVpcEndpointServiceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupVpcEndpointServiceResultOutput) ToLookupVpcEndpointServiceResultOutput() LookupVpcEndpointServiceResultOutput
- func (o LookupVpcEndpointServiceResultOutput) ToLookupVpcEndpointServiceResultOutputWithContext(ctx context.Context) LookupVpcEndpointServiceResultOutput
- func (o LookupVpcEndpointServiceResultOutput) VpcEndpointPolicySupported() pulumi.BoolOutput
- type LookupVpcOutputArgs
- type LookupVpcPeeringConnectionArgs
- type LookupVpcPeeringConnectionOutputArgs
- type LookupVpcPeeringConnectionResult
- type LookupVpcPeeringConnectionResultOutput
- func (o LookupVpcPeeringConnectionResultOutput) Accepter() pulumi.BoolMapOutput
- func (o LookupVpcPeeringConnectionResultOutput) CidrBlock() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) CidrBlockSets() GetVpcPeeringConnectionCidrBlockSetArrayOutput
- func (LookupVpcPeeringConnectionResultOutput) ElementType() reflect.Type
- func (o LookupVpcPeeringConnectionResultOutput) Filters() GetVpcPeeringConnectionFilterArrayOutput
- func (o LookupVpcPeeringConnectionResultOutput) Id() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) PeerCidrBlock() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) PeerCidrBlockSets() GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
- func (o LookupVpcPeeringConnectionResultOutput) PeerOwnerId() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) PeerRegion() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) PeerVpcId() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) Region() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) Requester() pulumi.BoolMapOutput
- func (o LookupVpcPeeringConnectionResultOutput) Status() pulumi.StringOutput
- func (o LookupVpcPeeringConnectionResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupVpcPeeringConnectionResultOutput) ToLookupVpcPeeringConnectionResultOutput() LookupVpcPeeringConnectionResultOutput
- func (o LookupVpcPeeringConnectionResultOutput) ToLookupVpcPeeringConnectionResultOutputWithContext(ctx context.Context) LookupVpcPeeringConnectionResultOutput
- func (o LookupVpcPeeringConnectionResultOutput) VpcId() pulumi.StringOutput
- type LookupVpcResult
- type LookupVpcResultOutput
- func (o LookupVpcResultOutput) Arn() pulumi.StringOutput
- func (o LookupVpcResultOutput) CidrBlock() pulumi.StringOutput
- func (o LookupVpcResultOutput) CidrBlockAssociations() GetVpcCidrBlockAssociationArrayOutput
- func (o LookupVpcResultOutput) Default() pulumi.BoolOutput
- func (o LookupVpcResultOutput) DhcpOptionsId() pulumi.StringOutput
- func (LookupVpcResultOutput) ElementType() reflect.Type
- func (o LookupVpcResultOutput) EnableDnsHostnames() pulumi.BoolOutput
- func (o LookupVpcResultOutput) EnableDnsSupport() pulumi.BoolOutput
- func (o LookupVpcResultOutput) Filters() GetVpcFilterArrayOutput
- func (o LookupVpcResultOutput) Id() pulumi.StringOutput
- func (o LookupVpcResultOutput) InstanceTenancy() pulumi.StringOutput
- func (o LookupVpcResultOutput) Ipv6AssociationId() pulumi.StringOutput
- func (o LookupVpcResultOutput) Ipv6CidrBlock() pulumi.StringOutput
- func (o LookupVpcResultOutput) MainRouteTableId() pulumi.StringOutput
- func (o LookupVpcResultOutput) OwnerId() pulumi.StringOutput
- func (o LookupVpcResultOutput) State() pulumi.StringOutput
- func (o LookupVpcResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupVpcResultOutput) ToLookupVpcResultOutput() LookupVpcResultOutput
- func (o LookupVpcResultOutput) ToLookupVpcResultOutputWithContext(ctx context.Context) LookupVpcResultOutput
- type LookupVpnGatewayArgs
- type LookupVpnGatewayOutputArgs
- type LookupVpnGatewayResult
- type LookupVpnGatewayResultOutput
- func (o LookupVpnGatewayResultOutput) AmazonSideAsn() pulumi.StringOutput
- func (o LookupVpnGatewayResultOutput) Arn() pulumi.StringOutput
- func (o LookupVpnGatewayResultOutput) AttachedVpcId() pulumi.StringOutput
- func (o LookupVpnGatewayResultOutput) AvailabilityZone() pulumi.StringOutput
- func (LookupVpnGatewayResultOutput) ElementType() reflect.Type
- func (o LookupVpnGatewayResultOutput) Filters() GetVpnGatewayFilterArrayOutput
- func (o LookupVpnGatewayResultOutput) Id() pulumi.StringOutput
- func (o LookupVpnGatewayResultOutput) State() pulumi.StringOutput
- func (o LookupVpnGatewayResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutput() LookupVpnGatewayResultOutput
- func (o LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutputWithContext(ctx context.Context) LookupVpnGatewayResultOutput
- type MainRouteTableAssociation
- type MainRouteTableAssociationArgs
- type MainRouteTableAssociationArray
- func (MainRouteTableAssociationArray) ElementType() reflect.Type
- func (i MainRouteTableAssociationArray) ToMainRouteTableAssociationArrayOutput() MainRouteTableAssociationArrayOutput
- func (i MainRouteTableAssociationArray) ToMainRouteTableAssociationArrayOutputWithContext(ctx context.Context) MainRouteTableAssociationArrayOutput
- type MainRouteTableAssociationArrayInput
- type MainRouteTableAssociationArrayOutput
- func (MainRouteTableAssociationArrayOutput) ElementType() reflect.Type
- func (o MainRouteTableAssociationArrayOutput) Index(i pulumi.IntInput) MainRouteTableAssociationOutput
- func (o MainRouteTableAssociationArrayOutput) ToMainRouteTableAssociationArrayOutput() MainRouteTableAssociationArrayOutput
- func (o MainRouteTableAssociationArrayOutput) ToMainRouteTableAssociationArrayOutputWithContext(ctx context.Context) MainRouteTableAssociationArrayOutput
- type MainRouteTableAssociationInput
- type MainRouteTableAssociationMap
- func (MainRouteTableAssociationMap) ElementType() reflect.Type
- func (i MainRouteTableAssociationMap) ToMainRouteTableAssociationMapOutput() MainRouteTableAssociationMapOutput
- func (i MainRouteTableAssociationMap) ToMainRouteTableAssociationMapOutputWithContext(ctx context.Context) MainRouteTableAssociationMapOutput
- type MainRouteTableAssociationMapInput
- type MainRouteTableAssociationMapOutput
- func (MainRouteTableAssociationMapOutput) ElementType() reflect.Type
- func (o MainRouteTableAssociationMapOutput) MapIndex(k pulumi.StringInput) MainRouteTableAssociationOutput
- func (o MainRouteTableAssociationMapOutput) ToMainRouteTableAssociationMapOutput() MainRouteTableAssociationMapOutput
- func (o MainRouteTableAssociationMapOutput) ToMainRouteTableAssociationMapOutputWithContext(ctx context.Context) MainRouteTableAssociationMapOutput
- type MainRouteTableAssociationOutput
- func (MainRouteTableAssociationOutput) ElementType() reflect.Type
- func (o MainRouteTableAssociationOutput) ToMainRouteTableAssociationOutput() MainRouteTableAssociationOutput
- func (o MainRouteTableAssociationOutput) ToMainRouteTableAssociationOutputWithContext(ctx context.Context) MainRouteTableAssociationOutput
- type MainRouteTableAssociationState
- type ManagedPrefixList
- type ManagedPrefixListArgs
- type ManagedPrefixListArray
- type ManagedPrefixListArrayInput
- type ManagedPrefixListArrayOutput
- func (ManagedPrefixListArrayOutput) ElementType() reflect.Type
- func (o ManagedPrefixListArrayOutput) Index(i pulumi.IntInput) ManagedPrefixListOutput
- func (o ManagedPrefixListArrayOutput) ToManagedPrefixListArrayOutput() ManagedPrefixListArrayOutput
- func (o ManagedPrefixListArrayOutput) ToManagedPrefixListArrayOutputWithContext(ctx context.Context) ManagedPrefixListArrayOutput
- type ManagedPrefixListEntry
- type ManagedPrefixListEntryArgs
- type ManagedPrefixListEntryArray
- func (ManagedPrefixListEntryArray) ElementType() reflect.Type
- func (i ManagedPrefixListEntryArray) ToManagedPrefixListEntryArrayOutput() ManagedPrefixListEntryArrayOutput
- func (i ManagedPrefixListEntryArray) ToManagedPrefixListEntryArrayOutputWithContext(ctx context.Context) ManagedPrefixListEntryArrayOutput
- type ManagedPrefixListEntryArrayInput
- type ManagedPrefixListEntryArrayOutput
- func (ManagedPrefixListEntryArrayOutput) ElementType() reflect.Type
- func (o ManagedPrefixListEntryArrayOutput) Index(i pulumi.IntInput) ManagedPrefixListEntryOutput
- func (o ManagedPrefixListEntryArrayOutput) ToManagedPrefixListEntryArrayOutput() ManagedPrefixListEntryArrayOutput
- func (o ManagedPrefixListEntryArrayOutput) ToManagedPrefixListEntryArrayOutputWithContext(ctx context.Context) ManagedPrefixListEntryArrayOutput
- type ManagedPrefixListEntryInput
- type ManagedPrefixListEntryMap
- type ManagedPrefixListEntryMapInput
- type ManagedPrefixListEntryMapOutput
- func (ManagedPrefixListEntryMapOutput) ElementType() reflect.Type
- func (o ManagedPrefixListEntryMapOutput) MapIndex(k pulumi.StringInput) ManagedPrefixListEntryOutput
- func (o ManagedPrefixListEntryMapOutput) ToManagedPrefixListEntryMapOutput() ManagedPrefixListEntryMapOutput
- func (o ManagedPrefixListEntryMapOutput) ToManagedPrefixListEntryMapOutputWithContext(ctx context.Context) ManagedPrefixListEntryMapOutput
- type ManagedPrefixListEntryOutput
- type ManagedPrefixListEntryState
- type ManagedPrefixListEntryType
- type ManagedPrefixListEntryTypeArgs
- func (ManagedPrefixListEntryTypeArgs) ElementType() reflect.Type
- func (i ManagedPrefixListEntryTypeArgs) ToManagedPrefixListEntryTypeOutput() ManagedPrefixListEntryTypeOutput
- func (i ManagedPrefixListEntryTypeArgs) ToManagedPrefixListEntryTypeOutputWithContext(ctx context.Context) ManagedPrefixListEntryTypeOutput
- type ManagedPrefixListEntryTypeArray
- func (ManagedPrefixListEntryTypeArray) ElementType() reflect.Type
- func (i ManagedPrefixListEntryTypeArray) ToManagedPrefixListEntryTypeArrayOutput() ManagedPrefixListEntryTypeArrayOutput
- func (i ManagedPrefixListEntryTypeArray) ToManagedPrefixListEntryTypeArrayOutputWithContext(ctx context.Context) ManagedPrefixListEntryTypeArrayOutput
- type ManagedPrefixListEntryTypeArrayInput
- type ManagedPrefixListEntryTypeArrayOutput
- func (ManagedPrefixListEntryTypeArrayOutput) ElementType() reflect.Type
- func (o ManagedPrefixListEntryTypeArrayOutput) Index(i pulumi.IntInput) ManagedPrefixListEntryTypeOutput
- func (o ManagedPrefixListEntryTypeArrayOutput) ToManagedPrefixListEntryTypeArrayOutput() ManagedPrefixListEntryTypeArrayOutput
- func (o ManagedPrefixListEntryTypeArrayOutput) ToManagedPrefixListEntryTypeArrayOutputWithContext(ctx context.Context) ManagedPrefixListEntryTypeArrayOutput
- type ManagedPrefixListEntryTypeInput
- type ManagedPrefixListEntryTypeOutput
- func (o ManagedPrefixListEntryTypeOutput) Cidr() pulumi.StringOutput
- func (o ManagedPrefixListEntryTypeOutput) Description() pulumi.StringPtrOutput
- func (ManagedPrefixListEntryTypeOutput) ElementType() reflect.Type
- func (o ManagedPrefixListEntryTypeOutput) ToManagedPrefixListEntryTypeOutput() ManagedPrefixListEntryTypeOutput
- func (o ManagedPrefixListEntryTypeOutput) ToManagedPrefixListEntryTypeOutputWithContext(ctx context.Context) ManagedPrefixListEntryTypeOutput
- type ManagedPrefixListInput
- type ManagedPrefixListMap
- type ManagedPrefixListMapInput
- type ManagedPrefixListMapOutput
- func (ManagedPrefixListMapOutput) ElementType() reflect.Type
- func (o ManagedPrefixListMapOutput) MapIndex(k pulumi.StringInput) ManagedPrefixListOutput
- func (o ManagedPrefixListMapOutput) ToManagedPrefixListMapOutput() ManagedPrefixListMapOutput
- func (o ManagedPrefixListMapOutput) ToManagedPrefixListMapOutputWithContext(ctx context.Context) ManagedPrefixListMapOutput
- type ManagedPrefixListOutput
- type ManagedPrefixListState
- type NatGateway
- type NatGatewayArgs
- type NatGatewayArray
- type NatGatewayArrayInput
- type NatGatewayArrayOutput
- func (NatGatewayArrayOutput) ElementType() reflect.Type
- func (o NatGatewayArrayOutput) Index(i pulumi.IntInput) NatGatewayOutput
- func (o NatGatewayArrayOutput) ToNatGatewayArrayOutput() NatGatewayArrayOutput
- func (o NatGatewayArrayOutput) ToNatGatewayArrayOutputWithContext(ctx context.Context) NatGatewayArrayOutput
- type NatGatewayInput
- type NatGatewayMap
- type NatGatewayMapInput
- type NatGatewayMapOutput
- func (NatGatewayMapOutput) ElementType() reflect.Type
- func (o NatGatewayMapOutput) MapIndex(k pulumi.StringInput) NatGatewayOutput
- func (o NatGatewayMapOutput) ToNatGatewayMapOutput() NatGatewayMapOutput
- func (o NatGatewayMapOutput) ToNatGatewayMapOutputWithContext(ctx context.Context) NatGatewayMapOutput
- type NatGatewayOutput
- type NatGatewayState
- type NetworkAcl
- type NetworkAclArgs
- type NetworkAclArray
- type NetworkAclArrayInput
- type NetworkAclArrayOutput
- func (NetworkAclArrayOutput) ElementType() reflect.Type
- func (o NetworkAclArrayOutput) Index(i pulumi.IntInput) NetworkAclOutput
- func (o NetworkAclArrayOutput) ToNetworkAclArrayOutput() NetworkAclArrayOutput
- func (o NetworkAclArrayOutput) ToNetworkAclArrayOutputWithContext(ctx context.Context) NetworkAclArrayOutput
- type NetworkAclAssociation
- type NetworkAclAssociationArgs
- type NetworkAclAssociationArray
- func (NetworkAclAssociationArray) ElementType() reflect.Type
- func (i NetworkAclAssociationArray) ToNetworkAclAssociationArrayOutput() NetworkAclAssociationArrayOutput
- func (i NetworkAclAssociationArray) ToNetworkAclAssociationArrayOutputWithContext(ctx context.Context) NetworkAclAssociationArrayOutput
- type NetworkAclAssociationArrayInput
- type NetworkAclAssociationArrayOutput
- func (NetworkAclAssociationArrayOutput) ElementType() reflect.Type
- func (o NetworkAclAssociationArrayOutput) Index(i pulumi.IntInput) NetworkAclAssociationOutput
- func (o NetworkAclAssociationArrayOutput) ToNetworkAclAssociationArrayOutput() NetworkAclAssociationArrayOutput
- func (o NetworkAclAssociationArrayOutput) ToNetworkAclAssociationArrayOutputWithContext(ctx context.Context) NetworkAclAssociationArrayOutput
- type NetworkAclAssociationInput
- type NetworkAclAssociationMap
- type NetworkAclAssociationMapInput
- type NetworkAclAssociationMapOutput
- func (NetworkAclAssociationMapOutput) ElementType() reflect.Type
- func (o NetworkAclAssociationMapOutput) MapIndex(k pulumi.StringInput) NetworkAclAssociationOutput
- func (o NetworkAclAssociationMapOutput) ToNetworkAclAssociationMapOutput() NetworkAclAssociationMapOutput
- func (o NetworkAclAssociationMapOutput) ToNetworkAclAssociationMapOutputWithContext(ctx context.Context) NetworkAclAssociationMapOutput
- type NetworkAclAssociationOutput
- type NetworkAclAssociationState
- type NetworkAclEgress
- type NetworkAclEgressArgs
- type NetworkAclEgressArray
- type NetworkAclEgressArrayInput
- type NetworkAclEgressArrayOutput
- func (NetworkAclEgressArrayOutput) ElementType() reflect.Type
- func (o NetworkAclEgressArrayOutput) Index(i pulumi.IntInput) NetworkAclEgressOutput
- func (o NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutput() NetworkAclEgressArrayOutput
- func (o NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutputWithContext(ctx context.Context) NetworkAclEgressArrayOutput
- type NetworkAclEgressInput
- type NetworkAclEgressOutput
- func (o NetworkAclEgressOutput) Action() pulumi.StringOutput
- func (o NetworkAclEgressOutput) CidrBlock() pulumi.StringPtrOutput
- func (NetworkAclEgressOutput) ElementType() reflect.Type
- func (o NetworkAclEgressOutput) FromPort() pulumi.IntOutput
- func (o NetworkAclEgressOutput) IcmpCode() pulumi.IntPtrOutput
- func (o NetworkAclEgressOutput) IcmpType() pulumi.IntPtrOutput
- func (o NetworkAclEgressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
- func (o NetworkAclEgressOutput) Protocol() pulumi.StringOutput
- func (o NetworkAclEgressOutput) RuleNo() pulumi.IntOutput
- func (o NetworkAclEgressOutput) ToNetworkAclEgressOutput() NetworkAclEgressOutput
- func (o NetworkAclEgressOutput) ToNetworkAclEgressOutputWithContext(ctx context.Context) NetworkAclEgressOutput
- func (o NetworkAclEgressOutput) ToPort() pulumi.IntOutput
- type NetworkAclIngress
- type NetworkAclIngressArgs
- type NetworkAclIngressArray
- type NetworkAclIngressArrayInput
- type NetworkAclIngressArrayOutput
- func (NetworkAclIngressArrayOutput) ElementType() reflect.Type
- func (o NetworkAclIngressArrayOutput) Index(i pulumi.IntInput) NetworkAclIngressOutput
- func (o NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutput() NetworkAclIngressArrayOutput
- func (o NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutputWithContext(ctx context.Context) NetworkAclIngressArrayOutput
- type NetworkAclIngressInput
- type NetworkAclIngressOutput
- func (o NetworkAclIngressOutput) Action() pulumi.StringOutput
- func (o NetworkAclIngressOutput) CidrBlock() pulumi.StringPtrOutput
- func (NetworkAclIngressOutput) ElementType() reflect.Type
- func (o NetworkAclIngressOutput) FromPort() pulumi.IntOutput
- func (o NetworkAclIngressOutput) IcmpCode() pulumi.IntPtrOutput
- func (o NetworkAclIngressOutput) IcmpType() pulumi.IntPtrOutput
- func (o NetworkAclIngressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
- func (o NetworkAclIngressOutput) Protocol() pulumi.StringOutput
- func (o NetworkAclIngressOutput) RuleNo() pulumi.IntOutput
- func (o NetworkAclIngressOutput) ToNetworkAclIngressOutput() NetworkAclIngressOutput
- func (o NetworkAclIngressOutput) ToNetworkAclIngressOutputWithContext(ctx context.Context) NetworkAclIngressOutput
- func (o NetworkAclIngressOutput) ToPort() pulumi.IntOutput
- type NetworkAclInput
- type NetworkAclMap
- type NetworkAclMapInput
- type NetworkAclMapOutput
- func (NetworkAclMapOutput) ElementType() reflect.Type
- func (o NetworkAclMapOutput) MapIndex(k pulumi.StringInput) NetworkAclOutput
- func (o NetworkAclMapOutput) ToNetworkAclMapOutput() NetworkAclMapOutput
- func (o NetworkAclMapOutput) ToNetworkAclMapOutputWithContext(ctx context.Context) NetworkAclMapOutput
- type NetworkAclOutput
- type NetworkAclRule
- type NetworkAclRuleArgs
- type NetworkAclRuleArray
- type NetworkAclRuleArrayInput
- type NetworkAclRuleArrayOutput
- func (NetworkAclRuleArrayOutput) ElementType() reflect.Type
- func (o NetworkAclRuleArrayOutput) Index(i pulumi.IntInput) NetworkAclRuleOutput
- func (o NetworkAclRuleArrayOutput) ToNetworkAclRuleArrayOutput() NetworkAclRuleArrayOutput
- func (o NetworkAclRuleArrayOutput) ToNetworkAclRuleArrayOutputWithContext(ctx context.Context) NetworkAclRuleArrayOutput
- type NetworkAclRuleInput
- type NetworkAclRuleMap
- type NetworkAclRuleMapInput
- type NetworkAclRuleMapOutput
- func (NetworkAclRuleMapOutput) ElementType() reflect.Type
- func (o NetworkAclRuleMapOutput) MapIndex(k pulumi.StringInput) NetworkAclRuleOutput
- func (o NetworkAclRuleMapOutput) ToNetworkAclRuleMapOutput() NetworkAclRuleMapOutput
- func (o NetworkAclRuleMapOutput) ToNetworkAclRuleMapOutputWithContext(ctx context.Context) NetworkAclRuleMapOutput
- type NetworkAclRuleOutput
- type NetworkAclRuleState
- type NetworkAclState
- type NetworkInsightsPath
- type NetworkInsightsPathArgs
- type NetworkInsightsPathArray
- type NetworkInsightsPathArrayInput
- type NetworkInsightsPathArrayOutput
- func (NetworkInsightsPathArrayOutput) ElementType() reflect.Type
- func (o NetworkInsightsPathArrayOutput) Index(i pulumi.IntInput) NetworkInsightsPathOutput
- func (o NetworkInsightsPathArrayOutput) ToNetworkInsightsPathArrayOutput() NetworkInsightsPathArrayOutput
- func (o NetworkInsightsPathArrayOutput) ToNetworkInsightsPathArrayOutputWithContext(ctx context.Context) NetworkInsightsPathArrayOutput
- type NetworkInsightsPathInput
- type NetworkInsightsPathMap
- type NetworkInsightsPathMapInput
- type NetworkInsightsPathMapOutput
- func (NetworkInsightsPathMapOutput) ElementType() reflect.Type
- func (o NetworkInsightsPathMapOutput) MapIndex(k pulumi.StringInput) NetworkInsightsPathOutput
- func (o NetworkInsightsPathMapOutput) ToNetworkInsightsPathMapOutput() NetworkInsightsPathMapOutput
- func (o NetworkInsightsPathMapOutput) ToNetworkInsightsPathMapOutputWithContext(ctx context.Context) NetworkInsightsPathMapOutput
- type NetworkInsightsPathOutput
- type NetworkInsightsPathState
- type NetworkInterface
- type NetworkInterfaceArgs
- type NetworkInterfaceArray
- type NetworkInterfaceArrayInput
- type NetworkInterfaceArrayOutput
- func (NetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o NetworkInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceOutput
- func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutput() NetworkInterfaceArrayOutput
- func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ctx context.Context) NetworkInterfaceArrayOutput
- type NetworkInterfaceAttachment
- func (*NetworkInterfaceAttachment) ElementType() reflect.Type
- func (i *NetworkInterfaceAttachment) ToNetworkInterfaceAttachmentOutput() NetworkInterfaceAttachmentOutput
- func (i *NetworkInterfaceAttachment) ToNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentOutput
- type NetworkInterfaceAttachmentArgs
- type NetworkInterfaceAttachmentArray
- func (NetworkInterfaceAttachmentArray) ElementType() reflect.Type
- func (i NetworkInterfaceAttachmentArray) ToNetworkInterfaceAttachmentArrayOutput() NetworkInterfaceAttachmentArrayOutput
- func (i NetworkInterfaceAttachmentArray) ToNetworkInterfaceAttachmentArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentArrayOutput
- type NetworkInterfaceAttachmentArrayInput
- type NetworkInterfaceAttachmentArrayOutput
- func (NetworkInterfaceAttachmentArrayOutput) ElementType() reflect.Type
- func (o NetworkInterfaceAttachmentArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceAttachmentOutput
- func (o NetworkInterfaceAttachmentArrayOutput) ToNetworkInterfaceAttachmentArrayOutput() NetworkInterfaceAttachmentArrayOutput
- func (o NetworkInterfaceAttachmentArrayOutput) ToNetworkInterfaceAttachmentArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentArrayOutput
- type NetworkInterfaceAttachmentInput
- type NetworkInterfaceAttachmentMap
- func (NetworkInterfaceAttachmentMap) ElementType() reflect.Type
- func (i NetworkInterfaceAttachmentMap) ToNetworkInterfaceAttachmentMapOutput() NetworkInterfaceAttachmentMapOutput
- func (i NetworkInterfaceAttachmentMap) ToNetworkInterfaceAttachmentMapOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentMapOutput
- type NetworkInterfaceAttachmentMapInput
- type NetworkInterfaceAttachmentMapOutput
- func (NetworkInterfaceAttachmentMapOutput) ElementType() reflect.Type
- func (o NetworkInterfaceAttachmentMapOutput) MapIndex(k pulumi.StringInput) NetworkInterfaceAttachmentOutput
- func (o NetworkInterfaceAttachmentMapOutput) ToNetworkInterfaceAttachmentMapOutput() NetworkInterfaceAttachmentMapOutput
- func (o NetworkInterfaceAttachmentMapOutput) ToNetworkInterfaceAttachmentMapOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentMapOutput
- type NetworkInterfaceAttachmentOutput
- func (NetworkInterfaceAttachmentOutput) ElementType() reflect.Type
- func (o NetworkInterfaceAttachmentOutput) ToNetworkInterfaceAttachmentOutput() NetworkInterfaceAttachmentOutput
- func (o NetworkInterfaceAttachmentOutput) ToNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentOutput
- type NetworkInterfaceAttachmentState
- type NetworkInterfaceAttachmentType
- type NetworkInterfaceAttachmentTypeArgs
- func (NetworkInterfaceAttachmentTypeArgs) ElementType() reflect.Type
- func (i NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutput() NetworkInterfaceAttachmentTypeOutput
- func (i NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeOutput
- type NetworkInterfaceAttachmentTypeArray
- func (NetworkInterfaceAttachmentTypeArray) ElementType() reflect.Type
- func (i NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutput() NetworkInterfaceAttachmentTypeArrayOutput
- func (i NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeArrayOutput
- type NetworkInterfaceAttachmentTypeArrayInput
- type NetworkInterfaceAttachmentTypeArrayOutput
- func (NetworkInterfaceAttachmentTypeArrayOutput) ElementType() reflect.Type
- func (o NetworkInterfaceAttachmentTypeArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceAttachmentTypeOutput
- func (o NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutput() NetworkInterfaceAttachmentTypeArrayOutput
- func (o NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeArrayOutput
- type NetworkInterfaceAttachmentTypeInput
- type NetworkInterfaceAttachmentTypeOutput
- func (o NetworkInterfaceAttachmentTypeOutput) AttachmentId() pulumi.StringPtrOutput
- func (o NetworkInterfaceAttachmentTypeOutput) DeviceIndex() pulumi.IntOutput
- func (NetworkInterfaceAttachmentTypeOutput) ElementType() reflect.Type
- func (o NetworkInterfaceAttachmentTypeOutput) Instance() pulumi.StringOutput
- func (o NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutput() NetworkInterfaceAttachmentTypeOutput
- func (o NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeOutput
- type NetworkInterfaceInput
- type NetworkInterfaceMap
- type NetworkInterfaceMapInput
- type NetworkInterfaceMapOutput
- func (NetworkInterfaceMapOutput) ElementType() reflect.Type
- func (o NetworkInterfaceMapOutput) MapIndex(k pulumi.StringInput) NetworkInterfaceOutput
- func (o NetworkInterfaceMapOutput) ToNetworkInterfaceMapOutput() NetworkInterfaceMapOutput
- func (o NetworkInterfaceMapOutput) ToNetworkInterfaceMapOutputWithContext(ctx context.Context) NetworkInterfaceMapOutput
- type NetworkInterfaceOutput
- type NetworkInterfaceSecurityGroupAttachment
- func (*NetworkInterfaceSecurityGroupAttachment) ElementType() reflect.Type
- func (i *NetworkInterfaceSecurityGroupAttachment) ToNetworkInterfaceSecurityGroupAttachmentOutput() NetworkInterfaceSecurityGroupAttachmentOutput
- func (i *NetworkInterfaceSecurityGroupAttachment) ToNetworkInterfaceSecurityGroupAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentOutput
- type NetworkInterfaceSecurityGroupAttachmentArgs
- type NetworkInterfaceSecurityGroupAttachmentArray
- func (NetworkInterfaceSecurityGroupAttachmentArray) ElementType() reflect.Type
- func (i NetworkInterfaceSecurityGroupAttachmentArray) ToNetworkInterfaceSecurityGroupAttachmentArrayOutput() NetworkInterfaceSecurityGroupAttachmentArrayOutput
- func (i NetworkInterfaceSecurityGroupAttachmentArray) ToNetworkInterfaceSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentArrayOutput
- type NetworkInterfaceSecurityGroupAttachmentArrayInput
- type NetworkInterfaceSecurityGroupAttachmentArrayOutput
- func (NetworkInterfaceSecurityGroupAttachmentArrayOutput) ElementType() reflect.Type
- func (o NetworkInterfaceSecurityGroupAttachmentArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceSecurityGroupAttachmentOutput
- func (o NetworkInterfaceSecurityGroupAttachmentArrayOutput) ToNetworkInterfaceSecurityGroupAttachmentArrayOutput() NetworkInterfaceSecurityGroupAttachmentArrayOutput
- func (o NetworkInterfaceSecurityGroupAttachmentArrayOutput) ToNetworkInterfaceSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentArrayOutput
- type NetworkInterfaceSecurityGroupAttachmentInput
- type NetworkInterfaceSecurityGroupAttachmentMap
- func (NetworkInterfaceSecurityGroupAttachmentMap) ElementType() reflect.Type
- func (i NetworkInterfaceSecurityGroupAttachmentMap) ToNetworkInterfaceSecurityGroupAttachmentMapOutput() NetworkInterfaceSecurityGroupAttachmentMapOutput
- func (i NetworkInterfaceSecurityGroupAttachmentMap) ToNetworkInterfaceSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentMapOutput
- type NetworkInterfaceSecurityGroupAttachmentMapInput
- type NetworkInterfaceSecurityGroupAttachmentMapOutput
- func (NetworkInterfaceSecurityGroupAttachmentMapOutput) ElementType() reflect.Type
- func (o NetworkInterfaceSecurityGroupAttachmentMapOutput) MapIndex(k pulumi.StringInput) NetworkInterfaceSecurityGroupAttachmentOutput
- func (o NetworkInterfaceSecurityGroupAttachmentMapOutput) ToNetworkInterfaceSecurityGroupAttachmentMapOutput() NetworkInterfaceSecurityGroupAttachmentMapOutput
- func (o NetworkInterfaceSecurityGroupAttachmentMapOutput) ToNetworkInterfaceSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentMapOutput
- type NetworkInterfaceSecurityGroupAttachmentOutput
- func (NetworkInterfaceSecurityGroupAttachmentOutput) ElementType() reflect.Type
- func (o NetworkInterfaceSecurityGroupAttachmentOutput) ToNetworkInterfaceSecurityGroupAttachmentOutput() NetworkInterfaceSecurityGroupAttachmentOutput
- func (o NetworkInterfaceSecurityGroupAttachmentOutput) ToNetworkInterfaceSecurityGroupAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentOutput
- type NetworkInterfaceSecurityGroupAttachmentState
- type NetworkInterfaceState
- type PeeringConnectionOptions
- type PeeringConnectionOptionsAccepter
- type PeeringConnectionOptionsAccepterArgs
- func (PeeringConnectionOptionsAccepterArgs) ElementType() reflect.Type
- func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutput() PeeringConnectionOptionsAccepterOutput
- func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterOutput
- func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput
- func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput
- type PeeringConnectionOptionsAccepterInput
- type PeeringConnectionOptionsAccepterOutput
- func (o PeeringConnectionOptionsAccepterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsAccepterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsAccepterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (PeeringConnectionOptionsAccepterOutput) ElementType() reflect.Type
- func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutput() PeeringConnectionOptionsAccepterOutput
- func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterOutput
- func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput
- func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput
- type PeeringConnectionOptionsAccepterPtrInput
- type PeeringConnectionOptionsAccepterPtrOutput
- func (o PeeringConnectionOptionsAccepterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsAccepterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsAccepterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsAccepterPtrOutput) Elem() PeeringConnectionOptionsAccepterOutput
- func (PeeringConnectionOptionsAccepterPtrOutput) ElementType() reflect.Type
- func (o PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput
- func (o PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput
- type PeeringConnectionOptionsArgs
- type PeeringConnectionOptionsArray
- func (PeeringConnectionOptionsArray) ElementType() reflect.Type
- func (i PeeringConnectionOptionsArray) ToPeeringConnectionOptionsArrayOutput() PeeringConnectionOptionsArrayOutput
- func (i PeeringConnectionOptionsArray) ToPeeringConnectionOptionsArrayOutputWithContext(ctx context.Context) PeeringConnectionOptionsArrayOutput
- type PeeringConnectionOptionsArrayInput
- type PeeringConnectionOptionsArrayOutput
- func (PeeringConnectionOptionsArrayOutput) ElementType() reflect.Type
- func (o PeeringConnectionOptionsArrayOutput) Index(i pulumi.IntInput) PeeringConnectionOptionsOutput
- func (o PeeringConnectionOptionsArrayOutput) ToPeeringConnectionOptionsArrayOutput() PeeringConnectionOptionsArrayOutput
- func (o PeeringConnectionOptionsArrayOutput) ToPeeringConnectionOptionsArrayOutputWithContext(ctx context.Context) PeeringConnectionOptionsArrayOutput
- type PeeringConnectionOptionsInput
- type PeeringConnectionOptionsMap
- func (PeeringConnectionOptionsMap) ElementType() reflect.Type
- func (i PeeringConnectionOptionsMap) ToPeeringConnectionOptionsMapOutput() PeeringConnectionOptionsMapOutput
- func (i PeeringConnectionOptionsMap) ToPeeringConnectionOptionsMapOutputWithContext(ctx context.Context) PeeringConnectionOptionsMapOutput
- type PeeringConnectionOptionsMapInput
- type PeeringConnectionOptionsMapOutput
- func (PeeringConnectionOptionsMapOutput) ElementType() reflect.Type
- func (o PeeringConnectionOptionsMapOutput) MapIndex(k pulumi.StringInput) PeeringConnectionOptionsOutput
- func (o PeeringConnectionOptionsMapOutput) ToPeeringConnectionOptionsMapOutput() PeeringConnectionOptionsMapOutput
- func (o PeeringConnectionOptionsMapOutput) ToPeeringConnectionOptionsMapOutputWithContext(ctx context.Context) PeeringConnectionOptionsMapOutput
- type PeeringConnectionOptionsOutput
- func (PeeringConnectionOptionsOutput) ElementType() reflect.Type
- func (o PeeringConnectionOptionsOutput) ToPeeringConnectionOptionsOutput() PeeringConnectionOptionsOutput
- func (o PeeringConnectionOptionsOutput) ToPeeringConnectionOptionsOutputWithContext(ctx context.Context) PeeringConnectionOptionsOutput
- type PeeringConnectionOptionsRequester
- type PeeringConnectionOptionsRequesterArgs
- func (PeeringConnectionOptionsRequesterArgs) ElementType() reflect.Type
- func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutput() PeeringConnectionOptionsRequesterOutput
- func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterOutput
- func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput
- func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput
- type PeeringConnectionOptionsRequesterInput
- type PeeringConnectionOptionsRequesterOutput
- func (o PeeringConnectionOptionsRequesterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsRequesterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsRequesterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (PeeringConnectionOptionsRequesterOutput) ElementType() reflect.Type
- func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutput() PeeringConnectionOptionsRequesterOutput
- func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterOutput
- func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput
- func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput
- type PeeringConnectionOptionsRequesterPtrInput
- type PeeringConnectionOptionsRequesterPtrOutput
- func (o PeeringConnectionOptionsRequesterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsRequesterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsRequesterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (o PeeringConnectionOptionsRequesterPtrOutput) Elem() PeeringConnectionOptionsRequesterOutput
- func (PeeringConnectionOptionsRequesterPtrOutput) ElementType() reflect.Type
- func (o PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput
- func (o PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput
- type PeeringConnectionOptionsState
- type PlacementGroup
- type PlacementGroupArgs
- type PlacementGroupArray
- type PlacementGroupArrayInput
- type PlacementGroupArrayOutput
- func (PlacementGroupArrayOutput) ElementType() reflect.Type
- func (o PlacementGroupArrayOutput) Index(i pulumi.IntInput) PlacementGroupOutput
- func (o PlacementGroupArrayOutput) ToPlacementGroupArrayOutput() PlacementGroupArrayOutput
- func (o PlacementGroupArrayOutput) ToPlacementGroupArrayOutputWithContext(ctx context.Context) PlacementGroupArrayOutput
- type PlacementGroupInput
- type PlacementGroupMap
- type PlacementGroupMapInput
- type PlacementGroupMapOutput
- func (PlacementGroupMapOutput) ElementType() reflect.Type
- func (o PlacementGroupMapOutput) MapIndex(k pulumi.StringInput) PlacementGroupOutput
- func (o PlacementGroupMapOutput) ToPlacementGroupMapOutput() PlacementGroupMapOutput
- func (o PlacementGroupMapOutput) ToPlacementGroupMapOutputWithContext(ctx context.Context) PlacementGroupMapOutput
- type PlacementGroupOutput
- type PlacementGroupState
- type PlacementStrategy
- func (PlacementStrategy) ElementType() reflect.Type
- func (e PlacementStrategy) ToPlacementStrategyOutput() PlacementStrategyOutput
- func (e PlacementStrategy) ToPlacementStrategyOutputWithContext(ctx context.Context) PlacementStrategyOutput
- func (e PlacementStrategy) ToPlacementStrategyPtrOutput() PlacementStrategyPtrOutput
- func (e PlacementStrategy) ToPlacementStrategyPtrOutputWithContext(ctx context.Context) PlacementStrategyPtrOutput
- func (e PlacementStrategy) ToStringOutput() pulumi.StringOutput
- func (e PlacementStrategy) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e PlacementStrategy) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e PlacementStrategy) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type PlacementStrategyInput
- type PlacementStrategyOutput
- func (PlacementStrategyOutput) ElementType() reflect.Type
- func (o PlacementStrategyOutput) ToPlacementStrategyOutput() PlacementStrategyOutput
- func (o PlacementStrategyOutput) ToPlacementStrategyOutputWithContext(ctx context.Context) PlacementStrategyOutput
- func (o PlacementStrategyOutput) ToPlacementStrategyPtrOutput() PlacementStrategyPtrOutput
- func (o PlacementStrategyOutput) ToPlacementStrategyPtrOutputWithContext(ctx context.Context) PlacementStrategyPtrOutput
- func (o PlacementStrategyOutput) ToStringOutput() pulumi.StringOutput
- func (o PlacementStrategyOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o PlacementStrategyOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o PlacementStrategyOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type PlacementStrategyPtrInput
- type PlacementStrategyPtrOutput
- func (o PlacementStrategyPtrOutput) Elem() PlacementStrategyOutput
- func (PlacementStrategyPtrOutput) ElementType() reflect.Type
- func (o PlacementStrategyPtrOutput) ToPlacementStrategyPtrOutput() PlacementStrategyPtrOutput
- func (o PlacementStrategyPtrOutput) ToPlacementStrategyPtrOutputWithContext(ctx context.Context) PlacementStrategyPtrOutput
- func (o PlacementStrategyPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o PlacementStrategyPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ProtocolType
- func (ProtocolType) ElementType() reflect.Type
- func (e ProtocolType) ToProtocolTypeOutput() ProtocolTypeOutput
- func (e ProtocolType) ToProtocolTypeOutputWithContext(ctx context.Context) ProtocolTypeOutput
- func (e ProtocolType) ToProtocolTypePtrOutput() ProtocolTypePtrOutput
- func (e ProtocolType) ToProtocolTypePtrOutputWithContext(ctx context.Context) ProtocolTypePtrOutput
- func (e ProtocolType) ToStringOutput() pulumi.StringOutput
- func (e ProtocolType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e ProtocolType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e ProtocolType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ProtocolTypeInput
- type ProtocolTypeOutput
- func (ProtocolTypeOutput) ElementType() reflect.Type
- func (o ProtocolTypeOutput) ToProtocolTypeOutput() ProtocolTypeOutput
- func (o ProtocolTypeOutput) ToProtocolTypeOutputWithContext(ctx context.Context) ProtocolTypeOutput
- func (o ProtocolTypeOutput) ToProtocolTypePtrOutput() ProtocolTypePtrOutput
- func (o ProtocolTypeOutput) ToProtocolTypePtrOutputWithContext(ctx context.Context) ProtocolTypePtrOutput
- func (o ProtocolTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o ProtocolTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o ProtocolTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o ProtocolTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ProtocolTypePtrInput
- type ProtocolTypePtrOutput
- func (o ProtocolTypePtrOutput) Elem() ProtocolTypeOutput
- func (ProtocolTypePtrOutput) ElementType() reflect.Type
- func (o ProtocolTypePtrOutput) ToProtocolTypePtrOutput() ProtocolTypePtrOutput
- func (o ProtocolTypePtrOutput) ToProtocolTypePtrOutputWithContext(ctx context.Context) ProtocolTypePtrOutput
- func (o ProtocolTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o ProtocolTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ProxyProtocolPolicy
- type ProxyProtocolPolicyArgs
- type ProxyProtocolPolicyArray
- type ProxyProtocolPolicyArrayInput
- type ProxyProtocolPolicyArrayOutput
- func (ProxyProtocolPolicyArrayOutput) ElementType() reflect.Type
- func (o ProxyProtocolPolicyArrayOutput) Index(i pulumi.IntInput) ProxyProtocolPolicyOutput
- func (o ProxyProtocolPolicyArrayOutput) ToProxyProtocolPolicyArrayOutput() ProxyProtocolPolicyArrayOutput
- func (o ProxyProtocolPolicyArrayOutput) ToProxyProtocolPolicyArrayOutputWithContext(ctx context.Context) ProxyProtocolPolicyArrayOutput
- type ProxyProtocolPolicyInput
- type ProxyProtocolPolicyMap
- type ProxyProtocolPolicyMapInput
- type ProxyProtocolPolicyMapOutput
- func (ProxyProtocolPolicyMapOutput) ElementType() reflect.Type
- func (o ProxyProtocolPolicyMapOutput) MapIndex(k pulumi.StringInput) ProxyProtocolPolicyOutput
- func (o ProxyProtocolPolicyMapOutput) ToProxyProtocolPolicyMapOutput() ProxyProtocolPolicyMapOutput
- func (o ProxyProtocolPolicyMapOutput) ToProxyProtocolPolicyMapOutputWithContext(ctx context.Context) ProxyProtocolPolicyMapOutput
- type ProxyProtocolPolicyOutput
- type ProxyProtocolPolicyState
- type Route
- type RouteArgs
- type RouteArray
- type RouteArrayInput
- type RouteArrayOutput
- type RouteInput
- type RouteMap
- type RouteMapInput
- type RouteMapOutput
- type RouteOutput
- type RouteState
- type RouteTable
- type RouteTableArgs
- type RouteTableArray
- type RouteTableArrayInput
- type RouteTableArrayOutput
- func (RouteTableArrayOutput) ElementType() reflect.Type
- func (o RouteTableArrayOutput) Index(i pulumi.IntInput) RouteTableOutput
- func (o RouteTableArrayOutput) ToRouteTableArrayOutput() RouteTableArrayOutput
- func (o RouteTableArrayOutput) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput
- type RouteTableAssociation
- type RouteTableAssociationArgs
- type RouteTableAssociationArray
- func (RouteTableAssociationArray) ElementType() reflect.Type
- func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
- func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput
- type RouteTableAssociationArrayInput
- type RouteTableAssociationArrayOutput
- func (RouteTableAssociationArrayOutput) ElementType() reflect.Type
- func (o RouteTableAssociationArrayOutput) Index(i pulumi.IntInput) RouteTableAssociationOutput
- func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
- func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput
- type RouteTableAssociationInput
- type RouteTableAssociationMap
- type RouteTableAssociationMapInput
- type RouteTableAssociationMapOutput
- func (RouteTableAssociationMapOutput) ElementType() reflect.Type
- func (o RouteTableAssociationMapOutput) MapIndex(k pulumi.StringInput) RouteTableAssociationOutput
- func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
- func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput
- type RouteTableAssociationOutput
- type RouteTableAssociationState
- type RouteTableInput
- type RouteTableMap
- type RouteTableMapInput
- type RouteTableMapOutput
- func (RouteTableMapOutput) ElementType() reflect.Type
- func (o RouteTableMapOutput) MapIndex(k pulumi.StringInput) RouteTableOutput
- func (o RouteTableMapOutput) ToRouteTableMapOutput() RouteTableMapOutput
- func (o RouteTableMapOutput) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput
- type RouteTableOutput
- type RouteTableRoute
- type RouteTableRouteArgs
- type RouteTableRouteArray
- type RouteTableRouteArrayInput
- type RouteTableRouteArrayOutput
- func (RouteTableRouteArrayOutput) ElementType() reflect.Type
- func (o RouteTableRouteArrayOutput) Index(i pulumi.IntInput) RouteTableRouteOutput
- func (o RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput
- func (o RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutputWithContext(ctx context.Context) RouteTableRouteArrayOutput
- type RouteTableRouteInput
- type RouteTableRouteOutput
- func (o RouteTableRouteOutput) CarrierGatewayId() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) CidrBlock() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) DestinationPrefixListId() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringPtrOutput
- func (RouteTableRouteOutput) ElementType() reflect.Type
- func (o RouteTableRouteOutput) GatewayId() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) InstanceId() pulumi.StringPtrOutputdeprecated
- func (o RouteTableRouteOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) LocalGatewayId() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) NatGatewayId() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) NetworkInterfaceId() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) ToRouteTableRouteOutput() RouteTableRouteOutput
- func (o RouteTableRouteOutput) ToRouteTableRouteOutputWithContext(ctx context.Context) RouteTableRouteOutput
- func (o RouteTableRouteOutput) TransitGatewayId() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) VpcEndpointId() pulumi.StringPtrOutput
- func (o RouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringPtrOutput
- type RouteTableState
- type SecurityGroup
- type SecurityGroupArgs
- type SecurityGroupArray
- type SecurityGroupArrayInput
- type SecurityGroupArrayOutput
- func (SecurityGroupArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupArrayOutput) Index(i pulumi.IntInput) SecurityGroupOutput
- func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
- func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
- type SecurityGroupAssociation
- type SecurityGroupAssociationArgs
- type SecurityGroupAssociationArray
- func (SecurityGroupAssociationArray) ElementType() reflect.Type
- func (i SecurityGroupAssociationArray) ToSecurityGroupAssociationArrayOutput() SecurityGroupAssociationArrayOutput
- func (i SecurityGroupAssociationArray) ToSecurityGroupAssociationArrayOutputWithContext(ctx context.Context) SecurityGroupAssociationArrayOutput
- type SecurityGroupAssociationArrayInput
- type SecurityGroupAssociationArrayOutput
- func (SecurityGroupAssociationArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupAssociationArrayOutput) Index(i pulumi.IntInput) SecurityGroupAssociationOutput
- func (o SecurityGroupAssociationArrayOutput) ToSecurityGroupAssociationArrayOutput() SecurityGroupAssociationArrayOutput
- func (o SecurityGroupAssociationArrayOutput) ToSecurityGroupAssociationArrayOutputWithContext(ctx context.Context) SecurityGroupAssociationArrayOutput
- type SecurityGroupAssociationInput
- type SecurityGroupAssociationMap
- func (SecurityGroupAssociationMap) ElementType() reflect.Type
- func (i SecurityGroupAssociationMap) ToSecurityGroupAssociationMapOutput() SecurityGroupAssociationMapOutput
- func (i SecurityGroupAssociationMap) ToSecurityGroupAssociationMapOutputWithContext(ctx context.Context) SecurityGroupAssociationMapOutput
- type SecurityGroupAssociationMapInput
- type SecurityGroupAssociationMapOutput
- func (SecurityGroupAssociationMapOutput) ElementType() reflect.Type
- func (o SecurityGroupAssociationMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupAssociationOutput
- func (o SecurityGroupAssociationMapOutput) ToSecurityGroupAssociationMapOutput() SecurityGroupAssociationMapOutput
- func (o SecurityGroupAssociationMapOutput) ToSecurityGroupAssociationMapOutputWithContext(ctx context.Context) SecurityGroupAssociationMapOutput
- type SecurityGroupAssociationOutput
- func (SecurityGroupAssociationOutput) ElementType() reflect.Type
- func (o SecurityGroupAssociationOutput) ToSecurityGroupAssociationOutput() SecurityGroupAssociationOutput
- func (o SecurityGroupAssociationOutput) ToSecurityGroupAssociationOutputWithContext(ctx context.Context) SecurityGroupAssociationOutput
- type SecurityGroupAssociationState
- type SecurityGroupEgress
- type SecurityGroupEgressArgs
- type SecurityGroupEgressArray
- type SecurityGroupEgressArrayInput
- type SecurityGroupEgressArrayOutput
- func (SecurityGroupEgressArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupEgressArrayOutput) Index(i pulumi.IntInput) SecurityGroupEgressOutput
- func (o SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutput() SecurityGroupEgressArrayOutput
- func (o SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutputWithContext(ctx context.Context) SecurityGroupEgressArrayOutput
- type SecurityGroupEgressInput
- type SecurityGroupEgressOutput
- func (o SecurityGroupEgressOutput) CidrBlocks() pulumi.StringArrayOutput
- func (o SecurityGroupEgressOutput) Description() pulumi.StringPtrOutput
- func (SecurityGroupEgressOutput) ElementType() reflect.Type
- func (o SecurityGroupEgressOutput) FromPort() pulumi.IntOutput
- func (o SecurityGroupEgressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput
- func (o SecurityGroupEgressOutput) PrefixListIds() pulumi.StringArrayOutput
- func (o SecurityGroupEgressOutput) Protocol() pulumi.StringOutput
- func (o SecurityGroupEgressOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o SecurityGroupEgressOutput) Self() pulumi.BoolPtrOutput
- func (o SecurityGroupEgressOutput) ToPort() pulumi.IntOutput
- func (o SecurityGroupEgressOutput) ToSecurityGroupEgressOutput() SecurityGroupEgressOutput
- func (o SecurityGroupEgressOutput) ToSecurityGroupEgressOutputWithContext(ctx context.Context) SecurityGroupEgressOutput
- type SecurityGroupIngress
- type SecurityGroupIngressArgs
- type SecurityGroupIngressArray
- type SecurityGroupIngressArrayInput
- type SecurityGroupIngressArrayOutput
- func (SecurityGroupIngressArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupIngressArrayOutput) Index(i pulumi.IntInput) SecurityGroupIngressOutput
- func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput
- func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutputWithContext(ctx context.Context) SecurityGroupIngressArrayOutput
- type SecurityGroupIngressInput
- type SecurityGroupIngressOutput
- func (o SecurityGroupIngressOutput) CidrBlocks() pulumi.StringArrayOutput
- func (o SecurityGroupIngressOutput) Description() pulumi.StringPtrOutput
- func (SecurityGroupIngressOutput) ElementType() reflect.Type
- func (o SecurityGroupIngressOutput) FromPort() pulumi.IntOutput
- func (o SecurityGroupIngressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput
- func (o SecurityGroupIngressOutput) PrefixListIds() pulumi.StringArrayOutput
- func (o SecurityGroupIngressOutput) Protocol() pulumi.StringOutput
- func (o SecurityGroupIngressOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o SecurityGroupIngressOutput) Self() pulumi.BoolPtrOutput
- func (o SecurityGroupIngressOutput) ToPort() pulumi.IntOutput
- func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutput() SecurityGroupIngressOutput
- func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutputWithContext(ctx context.Context) SecurityGroupIngressOutput
- type SecurityGroupInput
- type SecurityGroupMap
- type SecurityGroupMapInput
- type SecurityGroupMapOutput
- func (SecurityGroupMapOutput) ElementType() reflect.Type
- func (o SecurityGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupOutput
- func (o SecurityGroupMapOutput) ToSecurityGroupMapOutput() SecurityGroupMapOutput
- func (o SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
- type SecurityGroupOutput
- type SecurityGroupRule
- type SecurityGroupRuleArgs
- type SecurityGroupRuleArray
- type SecurityGroupRuleArrayInput
- type SecurityGroupRuleArrayOutput
- func (SecurityGroupRuleArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupRuleArrayOutput) Index(i pulumi.IntInput) SecurityGroupRuleOutput
- func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput
- func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput
- type SecurityGroupRuleInput
- type SecurityGroupRuleMap
- type SecurityGroupRuleMapInput
- type SecurityGroupRuleMapOutput
- func (SecurityGroupRuleMapOutput) ElementType() reflect.Type
- func (o SecurityGroupRuleMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupRuleOutput
- func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput
- func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutputWithContext(ctx context.Context) SecurityGroupRuleMapOutput
- type SecurityGroupRuleOutput
- type SecurityGroupRuleState
- type SecurityGroupState
- type SerialConsoleAccess
- type SerialConsoleAccessArgs
- type SerialConsoleAccessArray
- type SerialConsoleAccessArrayInput
- type SerialConsoleAccessArrayOutput
- func (SerialConsoleAccessArrayOutput) ElementType() reflect.Type
- func (o SerialConsoleAccessArrayOutput) Index(i pulumi.IntInput) SerialConsoleAccessOutput
- func (o SerialConsoleAccessArrayOutput) ToSerialConsoleAccessArrayOutput() SerialConsoleAccessArrayOutput
- func (o SerialConsoleAccessArrayOutput) ToSerialConsoleAccessArrayOutputWithContext(ctx context.Context) SerialConsoleAccessArrayOutput
- type SerialConsoleAccessInput
- type SerialConsoleAccessMap
- type SerialConsoleAccessMapInput
- type SerialConsoleAccessMapOutput
- func (SerialConsoleAccessMapOutput) ElementType() reflect.Type
- func (o SerialConsoleAccessMapOutput) MapIndex(k pulumi.StringInput) SerialConsoleAccessOutput
- func (o SerialConsoleAccessMapOutput) ToSerialConsoleAccessMapOutput() SerialConsoleAccessMapOutput
- func (o SerialConsoleAccessMapOutput) ToSerialConsoleAccessMapOutputWithContext(ctx context.Context) SerialConsoleAccessMapOutput
- type SerialConsoleAccessOutput
- type SerialConsoleAccessState
- type SnapshotCreateVolumePermission
- func (*SnapshotCreateVolumePermission) ElementType() reflect.Type
- func (i *SnapshotCreateVolumePermission) ToSnapshotCreateVolumePermissionOutput() SnapshotCreateVolumePermissionOutput
- func (i *SnapshotCreateVolumePermission) ToSnapshotCreateVolumePermissionOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionOutput
- type SnapshotCreateVolumePermissionArgs
- type SnapshotCreateVolumePermissionArray
- func (SnapshotCreateVolumePermissionArray) ElementType() reflect.Type
- func (i SnapshotCreateVolumePermissionArray) ToSnapshotCreateVolumePermissionArrayOutput() SnapshotCreateVolumePermissionArrayOutput
- func (i SnapshotCreateVolumePermissionArray) ToSnapshotCreateVolumePermissionArrayOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionArrayOutput
- type SnapshotCreateVolumePermissionArrayInput
- type SnapshotCreateVolumePermissionArrayOutput
- func (SnapshotCreateVolumePermissionArrayOutput) ElementType() reflect.Type
- func (o SnapshotCreateVolumePermissionArrayOutput) Index(i pulumi.IntInput) SnapshotCreateVolumePermissionOutput
- func (o SnapshotCreateVolumePermissionArrayOutput) ToSnapshotCreateVolumePermissionArrayOutput() SnapshotCreateVolumePermissionArrayOutput
- func (o SnapshotCreateVolumePermissionArrayOutput) ToSnapshotCreateVolumePermissionArrayOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionArrayOutput
- type SnapshotCreateVolumePermissionInput
- type SnapshotCreateVolumePermissionMap
- func (SnapshotCreateVolumePermissionMap) ElementType() reflect.Type
- func (i SnapshotCreateVolumePermissionMap) ToSnapshotCreateVolumePermissionMapOutput() SnapshotCreateVolumePermissionMapOutput
- func (i SnapshotCreateVolumePermissionMap) ToSnapshotCreateVolumePermissionMapOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionMapOutput
- type SnapshotCreateVolumePermissionMapInput
- type SnapshotCreateVolumePermissionMapOutput
- func (SnapshotCreateVolumePermissionMapOutput) ElementType() reflect.Type
- func (o SnapshotCreateVolumePermissionMapOutput) MapIndex(k pulumi.StringInput) SnapshotCreateVolumePermissionOutput
- func (o SnapshotCreateVolumePermissionMapOutput) ToSnapshotCreateVolumePermissionMapOutput() SnapshotCreateVolumePermissionMapOutput
- func (o SnapshotCreateVolumePermissionMapOutput) ToSnapshotCreateVolumePermissionMapOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionMapOutput
- type SnapshotCreateVolumePermissionOutput
- func (SnapshotCreateVolumePermissionOutput) ElementType() reflect.Type
- func (o SnapshotCreateVolumePermissionOutput) ToSnapshotCreateVolumePermissionOutput() SnapshotCreateVolumePermissionOutput
- func (o SnapshotCreateVolumePermissionOutput) ToSnapshotCreateVolumePermissionOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionOutput
- type SnapshotCreateVolumePermissionState
- type SpotDatafeedSubscription
- type SpotDatafeedSubscriptionArgs
- type SpotDatafeedSubscriptionArray
- func (SpotDatafeedSubscriptionArray) ElementType() reflect.Type
- func (i SpotDatafeedSubscriptionArray) ToSpotDatafeedSubscriptionArrayOutput() SpotDatafeedSubscriptionArrayOutput
- func (i SpotDatafeedSubscriptionArray) ToSpotDatafeedSubscriptionArrayOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionArrayOutput
- type SpotDatafeedSubscriptionArrayInput
- type SpotDatafeedSubscriptionArrayOutput
- func (SpotDatafeedSubscriptionArrayOutput) ElementType() reflect.Type
- func (o SpotDatafeedSubscriptionArrayOutput) Index(i pulumi.IntInput) SpotDatafeedSubscriptionOutput
- func (o SpotDatafeedSubscriptionArrayOutput) ToSpotDatafeedSubscriptionArrayOutput() SpotDatafeedSubscriptionArrayOutput
- func (o SpotDatafeedSubscriptionArrayOutput) ToSpotDatafeedSubscriptionArrayOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionArrayOutput
- type SpotDatafeedSubscriptionInput
- type SpotDatafeedSubscriptionMap
- func (SpotDatafeedSubscriptionMap) ElementType() reflect.Type
- func (i SpotDatafeedSubscriptionMap) ToSpotDatafeedSubscriptionMapOutput() SpotDatafeedSubscriptionMapOutput
- func (i SpotDatafeedSubscriptionMap) ToSpotDatafeedSubscriptionMapOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionMapOutput
- type SpotDatafeedSubscriptionMapInput
- type SpotDatafeedSubscriptionMapOutput
- func (SpotDatafeedSubscriptionMapOutput) ElementType() reflect.Type
- func (o SpotDatafeedSubscriptionMapOutput) MapIndex(k pulumi.StringInput) SpotDatafeedSubscriptionOutput
- func (o SpotDatafeedSubscriptionMapOutput) ToSpotDatafeedSubscriptionMapOutput() SpotDatafeedSubscriptionMapOutput
- func (o SpotDatafeedSubscriptionMapOutput) ToSpotDatafeedSubscriptionMapOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionMapOutput
- type SpotDatafeedSubscriptionOutput
- func (SpotDatafeedSubscriptionOutput) ElementType() reflect.Type
- func (o SpotDatafeedSubscriptionOutput) ToSpotDatafeedSubscriptionOutput() SpotDatafeedSubscriptionOutput
- func (o SpotDatafeedSubscriptionOutput) ToSpotDatafeedSubscriptionOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionOutput
- type SpotDatafeedSubscriptionState
- type SpotFleetRequest
- type SpotFleetRequestArgs
- type SpotFleetRequestArray
- type SpotFleetRequestArrayInput
- type SpotFleetRequestArrayOutput
- func (SpotFleetRequestArrayOutput) ElementType() reflect.Type
- func (o SpotFleetRequestArrayOutput) Index(i pulumi.IntInput) SpotFleetRequestOutput
- func (o SpotFleetRequestArrayOutput) ToSpotFleetRequestArrayOutput() SpotFleetRequestArrayOutput
- func (o SpotFleetRequestArrayOutput) ToSpotFleetRequestArrayOutputWithContext(ctx context.Context) SpotFleetRequestArrayOutput
- type SpotFleetRequestInput
- type SpotFleetRequestLaunchSpecification
- type SpotFleetRequestLaunchSpecificationArgs
- func (SpotFleetRequestLaunchSpecificationArgs) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutput() SpotFleetRequestLaunchSpecificationOutput
- func (i SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationOutput
- type SpotFleetRequestLaunchSpecificationArray
- func (SpotFleetRequestLaunchSpecificationArray) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutput() SpotFleetRequestLaunchSpecificationArrayOutput
- func (i SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationArrayOutput
- type SpotFleetRequestLaunchSpecificationArrayInput
- type SpotFleetRequestLaunchSpecificationArrayOutput
- func (SpotFleetRequestLaunchSpecificationArrayOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchSpecificationArrayOutput) Index(i pulumi.IntInput) SpotFleetRequestLaunchSpecificationOutput
- func (o SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutput() SpotFleetRequestLaunchSpecificationArrayOutput
- func (o SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationArrayOutput
- type SpotFleetRequestLaunchSpecificationEbsBlockDevice
- type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs
- func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
- func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
- type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray
- func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
- func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
- type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput
- type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
- func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
- type SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput
- type SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type SpotFleetRequestLaunchSpecificationEphemeralBlockDevice
- type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs
- func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
- func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
- type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray
- func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
- func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
- type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput
- type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
- func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
- func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
- type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput
- type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) VirtualName() pulumi.StringOutput
- type SpotFleetRequestLaunchSpecificationInput
- type SpotFleetRequestLaunchSpecificationOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) Ami() pulumi.StringOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) AssociatePublicIpAddress() pulumi.BoolPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) EbsBlockDevices() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) EbsOptimized() pulumi.BoolPtrOutput
- func (SpotFleetRequestLaunchSpecificationOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchSpecificationOutput) EphemeralBlockDevices() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfile() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfileArn() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) InstanceType() pulumi.StringOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) KeyName() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) Monitoring() pulumi.BoolPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) PlacementGroup() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) PlacementTenancy() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) RootBlockDevices() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) SpotPrice() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) SubnetId() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) Tags() pulumi.StringMapOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutput() SpotFleetRequestLaunchSpecificationOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) UserData() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- func (o SpotFleetRequestLaunchSpecificationOutput) WeightedCapacity() pulumi.StringPtrOutput
- type SpotFleetRequestLaunchSpecificationRootBlockDevice
- type SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs
- func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
- func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
- type SpotFleetRequestLaunchSpecificationRootBlockDeviceArray
- func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
- func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
- type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput
- type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
- func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) Index(i pulumi.IntInput) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
- type SpotFleetRequestLaunchSpecificationRootBlockDeviceInput
- type SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type SpotFleetRequestLaunchTemplateConfig
- type SpotFleetRequestLaunchTemplateConfigArgs
- func (SpotFleetRequestLaunchTemplateConfigArgs) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchTemplateConfigArgs) ToSpotFleetRequestLaunchTemplateConfigOutput() SpotFleetRequestLaunchTemplateConfigOutput
- func (i SpotFleetRequestLaunchTemplateConfigArgs) ToSpotFleetRequestLaunchTemplateConfigOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOutput
- type SpotFleetRequestLaunchTemplateConfigArray
- func (SpotFleetRequestLaunchTemplateConfigArray) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchTemplateConfigArray) ToSpotFleetRequestLaunchTemplateConfigArrayOutput() SpotFleetRequestLaunchTemplateConfigArrayOutput
- func (i SpotFleetRequestLaunchTemplateConfigArray) ToSpotFleetRequestLaunchTemplateConfigArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigArrayOutput
- type SpotFleetRequestLaunchTemplateConfigArrayInput
- type SpotFleetRequestLaunchTemplateConfigArrayOutput
- func (SpotFleetRequestLaunchTemplateConfigArrayOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchTemplateConfigArrayOutput) Index(i pulumi.IntInput) SpotFleetRequestLaunchTemplateConfigOutput
- func (o SpotFleetRequestLaunchTemplateConfigArrayOutput) ToSpotFleetRequestLaunchTemplateConfigArrayOutput() SpotFleetRequestLaunchTemplateConfigArrayOutput
- func (o SpotFleetRequestLaunchTemplateConfigArrayOutput) ToSpotFleetRequestLaunchTemplateConfigArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigArrayOutput
- type SpotFleetRequestLaunchTemplateConfigInput
- type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecification
- type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs
- func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput() SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (i SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
- type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationInput
- type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Id() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Name() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput() SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Version() pulumi.StringPtrOutput
- type SpotFleetRequestLaunchTemplateConfigOutput
- func (SpotFleetRequestLaunchTemplateConfigOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchTemplateConfigOutput) LaunchTemplateSpecification() SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
- func (o SpotFleetRequestLaunchTemplateConfigOutput) Overrides() SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
- func (o SpotFleetRequestLaunchTemplateConfigOutput) ToSpotFleetRequestLaunchTemplateConfigOutput() SpotFleetRequestLaunchTemplateConfigOutput
- func (o SpotFleetRequestLaunchTemplateConfigOutput) ToSpotFleetRequestLaunchTemplateConfigOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOutput
- type SpotFleetRequestLaunchTemplateConfigOverride
- type SpotFleetRequestLaunchTemplateConfigOverrideArgs
- func (SpotFleetRequestLaunchTemplateConfigOverrideArgs) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchTemplateConfigOverrideArgs) ToSpotFleetRequestLaunchTemplateConfigOverrideOutput() SpotFleetRequestLaunchTemplateConfigOverrideOutput
- func (i SpotFleetRequestLaunchTemplateConfigOverrideArgs) ToSpotFleetRequestLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOverrideOutput
- type SpotFleetRequestLaunchTemplateConfigOverrideArray
- func (SpotFleetRequestLaunchTemplateConfigOverrideArray) ElementType() reflect.Type
- func (i SpotFleetRequestLaunchTemplateConfigOverrideArray) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutput() SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
- func (i SpotFleetRequestLaunchTemplateConfigOverrideArray) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
- type SpotFleetRequestLaunchTemplateConfigOverrideArrayInput
- type SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
- func (SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) Index(i pulumi.IntInput) SpotFleetRequestLaunchTemplateConfigOverrideOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutput() SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
- type SpotFleetRequestLaunchTemplateConfigOverrideInput
- type SpotFleetRequestLaunchTemplateConfigOverrideOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) ElementType() reflect.Type
- func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) InstanceType() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) Priority() pulumi.Float64PtrOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) SpotPrice() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) SubnetId() pulumi.StringPtrOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideOutput() SpotFleetRequestLaunchTemplateConfigOverrideOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOverrideOutput
- func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) WeightedCapacity() pulumi.Float64PtrOutput
- type SpotFleetRequestMap
- type SpotFleetRequestMapInput
- type SpotFleetRequestMapOutput
- func (SpotFleetRequestMapOutput) ElementType() reflect.Type
- func (o SpotFleetRequestMapOutput) MapIndex(k pulumi.StringInput) SpotFleetRequestOutput
- func (o SpotFleetRequestMapOutput) ToSpotFleetRequestMapOutput() SpotFleetRequestMapOutput
- func (o SpotFleetRequestMapOutput) ToSpotFleetRequestMapOutputWithContext(ctx context.Context) SpotFleetRequestMapOutput
- type SpotFleetRequestOutput
- type SpotFleetRequestSpotMaintenanceStrategies
- type SpotFleetRequestSpotMaintenanceStrategiesArgs
- func (SpotFleetRequestSpotMaintenanceStrategiesArgs) ElementType() reflect.Type
- func (i SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesOutput() SpotFleetRequestSpotMaintenanceStrategiesOutput
- func (i SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesOutput
- func (i SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput() SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
- func (i SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
- type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalance
- type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs
- func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ElementType() reflect.Type
- func (i SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
- func (i SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
- func (i SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- func (i SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceInput
- type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
- func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ElementType() reflect.Type
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ReplacementStrategy() pulumi.StringPtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrInput
- type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) Elem() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
- func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ElementType() reflect.Type
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ReplacementStrategy() pulumi.StringPtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- type SpotFleetRequestSpotMaintenanceStrategiesInput
- type SpotFleetRequestSpotMaintenanceStrategiesOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) CapacityRebalance() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- func (SpotFleetRequestSpotMaintenanceStrategiesOutput) ElementType() reflect.Type
- func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesOutput() SpotFleetRequestSpotMaintenanceStrategiesOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput() SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
- type SpotFleetRequestSpotMaintenanceStrategiesPtrInput
- type SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) CapacityRebalance() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) Elem() SpotFleetRequestSpotMaintenanceStrategiesOutput
- func (SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ElementType() reflect.Type
- func (o SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput() SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
- func (o SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
- type SpotFleetRequestState
- type SpotInstanceRequest
- type SpotInstanceRequestArgs
- type SpotInstanceRequestArray
- type SpotInstanceRequestArrayInput
- type SpotInstanceRequestArrayOutput
- func (SpotInstanceRequestArrayOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestArrayOutput) Index(i pulumi.IntInput) SpotInstanceRequestOutput
- func (o SpotInstanceRequestArrayOutput) ToSpotInstanceRequestArrayOutput() SpotInstanceRequestArrayOutput
- func (o SpotInstanceRequestArrayOutput) ToSpotInstanceRequestArrayOutputWithContext(ctx context.Context) SpotInstanceRequestArrayOutput
- type SpotInstanceRequestCapacityReservationSpecification
- type SpotInstanceRequestCapacityReservationSpecificationArgs
- func (SpotInstanceRequestCapacityReservationSpecificationArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationOutput() SpotInstanceRequestCapacityReservationSpecificationOutput
- func (i SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationOutput
- func (i SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput() SpotInstanceRequestCapacityReservationSpecificationPtrOutput
- func (i SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationPtrOutput
- type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTarget
- type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs
- func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput() ...
- func (i SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) ...
- func (i SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput() ...
- func (i SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) ...
- type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetInput
- type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId() pulumi.StringPtrOutput
- func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput() ...
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) ...
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput() ...
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) ...
- type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrInput
- type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId() pulumi.StringPtrOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) Elem() ...
- func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput() ...
- func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) ...
- type SpotInstanceRequestCapacityReservationSpecificationInput
- type SpotInstanceRequestCapacityReservationSpecificationOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationOutput) CapacityReservationPreference() pulumi.StringPtrOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationOutput) CapacityReservationTarget() ...
- func (SpotInstanceRequestCapacityReservationSpecificationOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationOutput() SpotInstanceRequestCapacityReservationSpecificationOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput() SpotInstanceRequestCapacityReservationSpecificationPtrOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationPtrOutput
- type SpotInstanceRequestCapacityReservationSpecificationPtrInput
- type SpotInstanceRequestCapacityReservationSpecificationPtrOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) CapacityReservationPreference() pulumi.StringPtrOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) CapacityReservationTarget() ...
- func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) Elem() SpotInstanceRequestCapacityReservationSpecificationOutput
- func (SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput() SpotInstanceRequestCapacityReservationSpecificationPtrOutput
- func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationPtrOutput
- type SpotInstanceRequestCreditSpecification
- type SpotInstanceRequestCreditSpecificationArgs
- func (SpotInstanceRequestCreditSpecificationArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutput() SpotInstanceRequestCreditSpecificationOutput
- func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationOutput
- func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput
- func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput
- type SpotInstanceRequestCreditSpecificationInput
- type SpotInstanceRequestCreditSpecificationOutput
- func (o SpotInstanceRequestCreditSpecificationOutput) CpuCredits() pulumi.StringPtrOutput
- func (SpotInstanceRequestCreditSpecificationOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutput() SpotInstanceRequestCreditSpecificationOutput
- func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationOutput
- func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput
- func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput
- type SpotInstanceRequestCreditSpecificationPtrInput
- type SpotInstanceRequestCreditSpecificationPtrOutput
- func (o SpotInstanceRequestCreditSpecificationPtrOutput) CpuCredits() pulumi.StringPtrOutput
- func (o SpotInstanceRequestCreditSpecificationPtrOutput) Elem() SpotInstanceRequestCreditSpecificationOutput
- func (SpotInstanceRequestCreditSpecificationPtrOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput
- func (o SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput
- type SpotInstanceRequestEbsBlockDevice
- type SpotInstanceRequestEbsBlockDeviceArgs
- func (SpotInstanceRequestEbsBlockDeviceArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutput() SpotInstanceRequestEbsBlockDeviceOutput
- func (i SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceOutput
- type SpotInstanceRequestEbsBlockDeviceArray
- func (SpotInstanceRequestEbsBlockDeviceArray) ElementType() reflect.Type
- func (i SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutput() SpotInstanceRequestEbsBlockDeviceArrayOutput
- func (i SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceArrayOutput
- type SpotInstanceRequestEbsBlockDeviceArrayInput
- type SpotInstanceRequestEbsBlockDeviceArrayOutput
- func (SpotInstanceRequestEbsBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) SpotInstanceRequestEbsBlockDeviceOutput
- func (o SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutput() SpotInstanceRequestEbsBlockDeviceArrayOutput
- func (o SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceArrayOutput
- type SpotInstanceRequestEbsBlockDeviceInput
- type SpotInstanceRequestEbsBlockDeviceOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (SpotInstanceRequestEbsBlockDeviceOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) Tags() pulumi.StringMapOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutput() SpotInstanceRequestEbsBlockDeviceOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) VolumeId() pulumi.StringPtrOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o SpotInstanceRequestEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type SpotInstanceRequestEnclaveOptions
- type SpotInstanceRequestEnclaveOptionsArgs
- func (SpotInstanceRequestEnclaveOptionsArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsOutput() SpotInstanceRequestEnclaveOptionsOutput
- func (i SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsOutput
- func (i SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsPtrOutput() SpotInstanceRequestEnclaveOptionsPtrOutput
- func (i SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsPtrOutput
- type SpotInstanceRequestEnclaveOptionsInput
- type SpotInstanceRequestEnclaveOptionsOutput
- func (SpotInstanceRequestEnclaveOptionsOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestEnclaveOptionsOutput) Enabled() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsOutput() SpotInstanceRequestEnclaveOptionsOutput
- func (o SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsOutput
- func (o SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutput() SpotInstanceRequestEnclaveOptionsPtrOutput
- func (o SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsPtrOutput
- type SpotInstanceRequestEnclaveOptionsPtrInput
- type SpotInstanceRequestEnclaveOptionsPtrOutput
- func (o SpotInstanceRequestEnclaveOptionsPtrOutput) Elem() SpotInstanceRequestEnclaveOptionsOutput
- func (SpotInstanceRequestEnclaveOptionsPtrOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestEnclaveOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestEnclaveOptionsPtrOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutput() SpotInstanceRequestEnclaveOptionsPtrOutput
- func (o SpotInstanceRequestEnclaveOptionsPtrOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsPtrOutput
- type SpotInstanceRequestEphemeralBlockDevice
- type SpotInstanceRequestEphemeralBlockDeviceArgs
- func (SpotInstanceRequestEphemeralBlockDeviceArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutput() SpotInstanceRequestEphemeralBlockDeviceOutput
- func (i SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceOutput
- type SpotInstanceRequestEphemeralBlockDeviceArray
- func (SpotInstanceRequestEphemeralBlockDeviceArray) ElementType() reflect.Type
- func (i SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput() SpotInstanceRequestEphemeralBlockDeviceArrayOutput
- func (i SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceArrayOutput
- type SpotInstanceRequestEphemeralBlockDeviceArrayInput
- type SpotInstanceRequestEphemeralBlockDeviceArrayOutput
- func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) SpotInstanceRequestEphemeralBlockDeviceOutput
- func (o SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput() SpotInstanceRequestEphemeralBlockDeviceArrayOutput
- func (o SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceArrayOutput
- type SpotInstanceRequestEphemeralBlockDeviceInput
- type SpotInstanceRequestEphemeralBlockDeviceOutput
- func (o SpotInstanceRequestEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
- func (SpotInstanceRequestEphemeralBlockDeviceOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestEphemeralBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutput() SpotInstanceRequestEphemeralBlockDeviceOutput
- func (o SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceOutput
- func (o SpotInstanceRequestEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
- type SpotInstanceRequestInput
- type SpotInstanceRequestLaunchTemplate
- type SpotInstanceRequestLaunchTemplateArgs
- func (SpotInstanceRequestLaunchTemplateArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplateOutput() SpotInstanceRequestLaunchTemplateOutput
- func (i SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplateOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplateOutput
- func (i SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplatePtrOutput() SpotInstanceRequestLaunchTemplatePtrOutput
- func (i SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplatePtrOutput
- type SpotInstanceRequestLaunchTemplateInput
- type SpotInstanceRequestLaunchTemplateOutput
- func (SpotInstanceRequestLaunchTemplateOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestLaunchTemplateOutput) Id() pulumi.StringPtrOutput
- func (o SpotInstanceRequestLaunchTemplateOutput) Name() pulumi.StringPtrOutput
- func (o SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplateOutput() SpotInstanceRequestLaunchTemplateOutput
- func (o SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplateOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplateOutput
- func (o SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplatePtrOutput() SpotInstanceRequestLaunchTemplatePtrOutput
- func (o SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplatePtrOutput
- func (o SpotInstanceRequestLaunchTemplateOutput) Version() pulumi.StringPtrOutput
- type SpotInstanceRequestLaunchTemplatePtrInput
- type SpotInstanceRequestLaunchTemplatePtrOutput
- func (o SpotInstanceRequestLaunchTemplatePtrOutput) Elem() SpotInstanceRequestLaunchTemplateOutput
- func (SpotInstanceRequestLaunchTemplatePtrOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestLaunchTemplatePtrOutput) Id() pulumi.StringPtrOutput
- func (o SpotInstanceRequestLaunchTemplatePtrOutput) Name() pulumi.StringPtrOutput
- func (o SpotInstanceRequestLaunchTemplatePtrOutput) ToSpotInstanceRequestLaunchTemplatePtrOutput() SpotInstanceRequestLaunchTemplatePtrOutput
- func (o SpotInstanceRequestLaunchTemplatePtrOutput) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplatePtrOutput
- func (o SpotInstanceRequestLaunchTemplatePtrOutput) Version() pulumi.StringPtrOutput
- type SpotInstanceRequestMap
- type SpotInstanceRequestMapInput
- type SpotInstanceRequestMapOutput
- func (SpotInstanceRequestMapOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestMapOutput) MapIndex(k pulumi.StringInput) SpotInstanceRequestOutput
- func (o SpotInstanceRequestMapOutput) ToSpotInstanceRequestMapOutput() SpotInstanceRequestMapOutput
- func (o SpotInstanceRequestMapOutput) ToSpotInstanceRequestMapOutputWithContext(ctx context.Context) SpotInstanceRequestMapOutput
- type SpotInstanceRequestMetadataOptions
- type SpotInstanceRequestMetadataOptionsArgs
- func (SpotInstanceRequestMetadataOptionsArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsOutput() SpotInstanceRequestMetadataOptionsOutput
- func (i SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsOutput
- func (i SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsPtrOutput() SpotInstanceRequestMetadataOptionsPtrOutput
- func (i SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsPtrOutput
- type SpotInstanceRequestMetadataOptionsInput
- type SpotInstanceRequestMetadataOptionsOutput
- func (SpotInstanceRequestMetadataOptionsOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestMetadataOptionsOutput) HttpEndpoint() pulumi.StringPtrOutput
- func (o SpotInstanceRequestMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
- func (o SpotInstanceRequestMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput
- func (o SpotInstanceRequestMetadataOptionsOutput) InstanceMetadataTags() pulumi.StringPtrOutput
- func (o SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsOutput() SpotInstanceRequestMetadataOptionsOutput
- func (o SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsOutput
- func (o SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsPtrOutput() SpotInstanceRequestMetadataOptionsPtrOutput
- func (o SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsPtrOutput
- type SpotInstanceRequestMetadataOptionsPtrInput
- type SpotInstanceRequestMetadataOptionsPtrOutput
- func (o SpotInstanceRequestMetadataOptionsPtrOutput) Elem() SpotInstanceRequestMetadataOptionsOutput
- func (SpotInstanceRequestMetadataOptionsPtrOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestMetadataOptionsPtrOutput) HttpEndpoint() pulumi.StringPtrOutput
- func (o SpotInstanceRequestMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
- func (o SpotInstanceRequestMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput
- func (o SpotInstanceRequestMetadataOptionsPtrOutput) InstanceMetadataTags() pulumi.StringPtrOutput
- func (o SpotInstanceRequestMetadataOptionsPtrOutput) ToSpotInstanceRequestMetadataOptionsPtrOutput() SpotInstanceRequestMetadataOptionsPtrOutput
- func (o SpotInstanceRequestMetadataOptionsPtrOutput) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsPtrOutput
- type SpotInstanceRequestNetworkInterface
- type SpotInstanceRequestNetworkInterfaceArgs
- func (SpotInstanceRequestNetworkInterfaceArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutput() SpotInstanceRequestNetworkInterfaceOutput
- func (i SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceOutput
- type SpotInstanceRequestNetworkInterfaceArray
- func (SpotInstanceRequestNetworkInterfaceArray) ElementType() reflect.Type
- func (i SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutput() SpotInstanceRequestNetworkInterfaceArrayOutput
- func (i SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceArrayOutput
- type SpotInstanceRequestNetworkInterfaceArrayInput
- type SpotInstanceRequestNetworkInterfaceArrayOutput
- func (SpotInstanceRequestNetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) SpotInstanceRequestNetworkInterfaceOutput
- func (o SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutput() SpotInstanceRequestNetworkInterfaceArrayOutput
- func (o SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceArrayOutput
- type SpotInstanceRequestNetworkInterfaceInput
- type SpotInstanceRequestNetworkInterfaceOutput
- func (o SpotInstanceRequestNetworkInterfaceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestNetworkInterfaceOutput) DeviceIndex() pulumi.IntOutput
- func (SpotInstanceRequestNetworkInterfaceOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutput() SpotInstanceRequestNetworkInterfaceOutput
- func (o SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceOutput
- type SpotInstanceRequestOutput
- type SpotInstanceRequestRootBlockDevice
- type SpotInstanceRequestRootBlockDeviceArgs
- func (SpotInstanceRequestRootBlockDeviceArgs) ElementType() reflect.Type
- func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutput() SpotInstanceRequestRootBlockDeviceOutput
- func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDeviceOutput
- func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput
- func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput
- type SpotInstanceRequestRootBlockDeviceInput
- type SpotInstanceRequestRootBlockDeviceOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
- func (SpotInstanceRequestRootBlockDeviceOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestRootBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) Iops() pulumi.IntPtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) Tags() pulumi.StringMapOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutput() SpotInstanceRequestRootBlockDeviceOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDeviceOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) VolumeId() pulumi.StringPtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
- func (o SpotInstanceRequestRootBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
- type SpotInstanceRequestRootBlockDevicePtrInput
- type SpotInstanceRequestRootBlockDevicePtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) DeleteOnTermination() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) DeviceName() pulumi.StringPtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) Elem() SpotInstanceRequestRootBlockDeviceOutput
- func (SpotInstanceRequestRootBlockDevicePtrOutput) ElementType() reflect.Type
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) Encrypted() pulumi.BoolPtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) Iops() pulumi.IntPtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) Tags() pulumi.StringMapOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) Throughput() pulumi.IntPtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) VolumeId() pulumi.StringPtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) VolumeSize() pulumi.IntPtrOutput
- func (o SpotInstanceRequestRootBlockDevicePtrOutput) VolumeType() pulumi.StringPtrOutput
- type SpotInstanceRequestState
- type Subnet
- type SubnetArgs
- type SubnetArray
- type SubnetArrayInput
- type SubnetArrayOutput
- type SubnetCidrReservation
- type SubnetCidrReservationArgs
- type SubnetCidrReservationArray
- func (SubnetCidrReservationArray) ElementType() reflect.Type
- func (i SubnetCidrReservationArray) ToSubnetCidrReservationArrayOutput() SubnetCidrReservationArrayOutput
- func (i SubnetCidrReservationArray) ToSubnetCidrReservationArrayOutputWithContext(ctx context.Context) SubnetCidrReservationArrayOutput
- type SubnetCidrReservationArrayInput
- type SubnetCidrReservationArrayOutput
- func (SubnetCidrReservationArrayOutput) ElementType() reflect.Type
- func (o SubnetCidrReservationArrayOutput) Index(i pulumi.IntInput) SubnetCidrReservationOutput
- func (o SubnetCidrReservationArrayOutput) ToSubnetCidrReservationArrayOutput() SubnetCidrReservationArrayOutput
- func (o SubnetCidrReservationArrayOutput) ToSubnetCidrReservationArrayOutputWithContext(ctx context.Context) SubnetCidrReservationArrayOutput
- type SubnetCidrReservationInput
- type SubnetCidrReservationMap
- type SubnetCidrReservationMapInput
- type SubnetCidrReservationMapOutput
- func (SubnetCidrReservationMapOutput) ElementType() reflect.Type
- func (o SubnetCidrReservationMapOutput) MapIndex(k pulumi.StringInput) SubnetCidrReservationOutput
- func (o SubnetCidrReservationMapOutput) ToSubnetCidrReservationMapOutput() SubnetCidrReservationMapOutput
- func (o SubnetCidrReservationMapOutput) ToSubnetCidrReservationMapOutputWithContext(ctx context.Context) SubnetCidrReservationMapOutput
- type SubnetCidrReservationOutput
- type SubnetCidrReservationState
- type SubnetInput
- type SubnetMap
- type SubnetMapInput
- type SubnetMapOutput
- type SubnetOutput
- type SubnetState
- type Tag
- type TagArgs
- type TagArray
- type TagArrayInput
- type TagArrayOutput
- type TagInput
- type TagMap
- type TagMapInput
- type TagMapOutput
- type TagOutput
- type TagState
- type Tenancy
- func (Tenancy) ElementType() reflect.Type
- func (e Tenancy) ToStringOutput() pulumi.StringOutput
- func (e Tenancy) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e Tenancy) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e Tenancy) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (e Tenancy) ToTenancyOutput() TenancyOutput
- func (e Tenancy) ToTenancyOutputWithContext(ctx context.Context) TenancyOutput
- func (e Tenancy) ToTenancyPtrOutput() TenancyPtrOutput
- func (e Tenancy) ToTenancyPtrOutputWithContext(ctx context.Context) TenancyPtrOutput
- type TenancyInput
- type TenancyOutput
- func (TenancyOutput) ElementType() reflect.Type
- func (o TenancyOutput) ToStringOutput() pulumi.StringOutput
- func (o TenancyOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o TenancyOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o TenancyOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (o TenancyOutput) ToTenancyOutput() TenancyOutput
- func (o TenancyOutput) ToTenancyOutputWithContext(ctx context.Context) TenancyOutput
- func (o TenancyOutput) ToTenancyPtrOutput() TenancyPtrOutput
- func (o TenancyOutput) ToTenancyPtrOutputWithContext(ctx context.Context) TenancyPtrOutput
- type TenancyPtrInput
- type TenancyPtrOutput
- func (o TenancyPtrOutput) Elem() TenancyOutput
- func (TenancyPtrOutput) ElementType() reflect.Type
- func (o TenancyPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o TenancyPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (o TenancyPtrOutput) ToTenancyPtrOutput() TenancyPtrOutput
- func (o TenancyPtrOutput) ToTenancyPtrOutputWithContext(ctx context.Context) TenancyPtrOutput
- type TrafficMirrorFilter
- type TrafficMirrorFilterArgs
- type TrafficMirrorFilterArray
- type TrafficMirrorFilterArrayInput
- type TrafficMirrorFilterArrayOutput
- func (TrafficMirrorFilterArrayOutput) ElementType() reflect.Type
- func (o TrafficMirrorFilterArrayOutput) Index(i pulumi.IntInput) TrafficMirrorFilterOutput
- func (o TrafficMirrorFilterArrayOutput) ToTrafficMirrorFilterArrayOutput() TrafficMirrorFilterArrayOutput
- func (o TrafficMirrorFilterArrayOutput) ToTrafficMirrorFilterArrayOutputWithContext(ctx context.Context) TrafficMirrorFilterArrayOutput
- type TrafficMirrorFilterInput
- type TrafficMirrorFilterMap
- type TrafficMirrorFilterMapInput
- type TrafficMirrorFilterMapOutput
- func (TrafficMirrorFilterMapOutput) ElementType() reflect.Type
- func (o TrafficMirrorFilterMapOutput) MapIndex(k pulumi.StringInput) TrafficMirrorFilterOutput
- func (o TrafficMirrorFilterMapOutput) ToTrafficMirrorFilterMapOutput() TrafficMirrorFilterMapOutput
- func (o TrafficMirrorFilterMapOutput) ToTrafficMirrorFilterMapOutputWithContext(ctx context.Context) TrafficMirrorFilterMapOutput
- type TrafficMirrorFilterOutput
- type TrafficMirrorFilterRule
- type TrafficMirrorFilterRuleArgs
- type TrafficMirrorFilterRuleArray
- func (TrafficMirrorFilterRuleArray) ElementType() reflect.Type
- func (i TrafficMirrorFilterRuleArray) ToTrafficMirrorFilterRuleArrayOutput() TrafficMirrorFilterRuleArrayOutput
- func (i TrafficMirrorFilterRuleArray) ToTrafficMirrorFilterRuleArrayOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleArrayOutput
- type TrafficMirrorFilterRuleArrayInput
- type TrafficMirrorFilterRuleArrayOutput
- func (TrafficMirrorFilterRuleArrayOutput) ElementType() reflect.Type
- func (o TrafficMirrorFilterRuleArrayOutput) Index(i pulumi.IntInput) TrafficMirrorFilterRuleOutput
- func (o TrafficMirrorFilterRuleArrayOutput) ToTrafficMirrorFilterRuleArrayOutput() TrafficMirrorFilterRuleArrayOutput
- func (o TrafficMirrorFilterRuleArrayOutput) ToTrafficMirrorFilterRuleArrayOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleArrayOutput
- type TrafficMirrorFilterRuleDestinationPortRange
- type TrafficMirrorFilterRuleDestinationPortRangeArgs
- func (TrafficMirrorFilterRuleDestinationPortRangeArgs) ElementType() reflect.Type
- func (i TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangeOutput() TrafficMirrorFilterRuleDestinationPortRangeOutput
- func (i TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangeOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangeOutput
- func (i TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput() TrafficMirrorFilterRuleDestinationPortRangePtrOutput
- func (i TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangePtrOutput
- type TrafficMirrorFilterRuleDestinationPortRangeInput
- type TrafficMirrorFilterRuleDestinationPortRangeOutput
- func (TrafficMirrorFilterRuleDestinationPortRangeOutput) ElementType() reflect.Type
- func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) FromPort() pulumi.IntPtrOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToPort() pulumi.IntPtrOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangeOutput() TrafficMirrorFilterRuleDestinationPortRangeOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangeOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangeOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput() TrafficMirrorFilterRuleDestinationPortRangePtrOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangePtrOutput
- type TrafficMirrorFilterRuleDestinationPortRangePtrInput
- type TrafficMirrorFilterRuleDestinationPortRangePtrOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) Elem() TrafficMirrorFilterRuleDestinationPortRangeOutput
- func (TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ElementType() reflect.Type
- func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) FromPort() pulumi.IntPtrOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToPort() pulumi.IntPtrOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput() TrafficMirrorFilterRuleDestinationPortRangePtrOutput
- func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangePtrOutput
- type TrafficMirrorFilterRuleInput
- type TrafficMirrorFilterRuleMap
- func (TrafficMirrorFilterRuleMap) ElementType() reflect.Type
- func (i TrafficMirrorFilterRuleMap) ToTrafficMirrorFilterRuleMapOutput() TrafficMirrorFilterRuleMapOutput
- func (i TrafficMirrorFilterRuleMap) ToTrafficMirrorFilterRuleMapOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleMapOutput
- type TrafficMirrorFilterRuleMapInput
- type TrafficMirrorFilterRuleMapOutput
- func (TrafficMirrorFilterRuleMapOutput) ElementType() reflect.Type
- func (o TrafficMirrorFilterRuleMapOutput) MapIndex(k pulumi.StringInput) TrafficMirrorFilterRuleOutput
- func (o TrafficMirrorFilterRuleMapOutput) ToTrafficMirrorFilterRuleMapOutput() TrafficMirrorFilterRuleMapOutput
- func (o TrafficMirrorFilterRuleMapOutput) ToTrafficMirrorFilterRuleMapOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleMapOutput
- type TrafficMirrorFilterRuleOutput
- type TrafficMirrorFilterRuleSourcePortRange
- type TrafficMirrorFilterRuleSourcePortRangeArgs
- func (TrafficMirrorFilterRuleSourcePortRangeArgs) ElementType() reflect.Type
- func (i TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangeOutput() TrafficMirrorFilterRuleSourcePortRangeOutput
- func (i TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangeOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangeOutput
- func (i TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput() TrafficMirrorFilterRuleSourcePortRangePtrOutput
- func (i TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangePtrOutput
- type TrafficMirrorFilterRuleSourcePortRangeInput
- type TrafficMirrorFilterRuleSourcePortRangeOutput
- func (TrafficMirrorFilterRuleSourcePortRangeOutput) ElementType() reflect.Type
- func (o TrafficMirrorFilterRuleSourcePortRangeOutput) FromPort() pulumi.IntPtrOutput
- func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToPort() pulumi.IntPtrOutput
- func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangeOutput() TrafficMirrorFilterRuleSourcePortRangeOutput
- func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangeOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangeOutput
- func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput() TrafficMirrorFilterRuleSourcePortRangePtrOutput
- func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangePtrOutput
- type TrafficMirrorFilterRuleSourcePortRangePtrInput
- type TrafficMirrorFilterRuleSourcePortRangePtrOutput
- func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) Elem() TrafficMirrorFilterRuleSourcePortRangeOutput
- func (TrafficMirrorFilterRuleSourcePortRangePtrOutput) ElementType() reflect.Type
- func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) FromPort() pulumi.IntPtrOutput
- func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToPort() pulumi.IntPtrOutput
- func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput() TrafficMirrorFilterRuleSourcePortRangePtrOutput
- func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangePtrOutput
- type TrafficMirrorFilterRuleState
- type TrafficMirrorFilterState
- type TrafficMirrorSession
- type TrafficMirrorSessionArgs
- type TrafficMirrorSessionArray
- type TrafficMirrorSessionArrayInput
- type TrafficMirrorSessionArrayOutput
- func (TrafficMirrorSessionArrayOutput) ElementType() reflect.Type
- func (o TrafficMirrorSessionArrayOutput) Index(i pulumi.IntInput) TrafficMirrorSessionOutput
- func (o TrafficMirrorSessionArrayOutput) ToTrafficMirrorSessionArrayOutput() TrafficMirrorSessionArrayOutput
- func (o TrafficMirrorSessionArrayOutput) ToTrafficMirrorSessionArrayOutputWithContext(ctx context.Context) TrafficMirrorSessionArrayOutput
- type TrafficMirrorSessionInput
- type TrafficMirrorSessionMap
- type TrafficMirrorSessionMapInput
- type TrafficMirrorSessionMapOutput
- func (TrafficMirrorSessionMapOutput) ElementType() reflect.Type
- func (o TrafficMirrorSessionMapOutput) MapIndex(k pulumi.StringInput) TrafficMirrorSessionOutput
- func (o TrafficMirrorSessionMapOutput) ToTrafficMirrorSessionMapOutput() TrafficMirrorSessionMapOutput
- func (o TrafficMirrorSessionMapOutput) ToTrafficMirrorSessionMapOutputWithContext(ctx context.Context) TrafficMirrorSessionMapOutput
- type TrafficMirrorSessionOutput
- type TrafficMirrorSessionState
- type TrafficMirrorTarget
- type TrafficMirrorTargetArgs
- type TrafficMirrorTargetArray
- type TrafficMirrorTargetArrayInput
- type TrafficMirrorTargetArrayOutput
- func (TrafficMirrorTargetArrayOutput) ElementType() reflect.Type
- func (o TrafficMirrorTargetArrayOutput) Index(i pulumi.IntInput) TrafficMirrorTargetOutput
- func (o TrafficMirrorTargetArrayOutput) ToTrafficMirrorTargetArrayOutput() TrafficMirrorTargetArrayOutput
- func (o TrafficMirrorTargetArrayOutput) ToTrafficMirrorTargetArrayOutputWithContext(ctx context.Context) TrafficMirrorTargetArrayOutput
- type TrafficMirrorTargetInput
- type TrafficMirrorTargetMap
- type TrafficMirrorTargetMapInput
- type TrafficMirrorTargetMapOutput
- func (TrafficMirrorTargetMapOutput) ElementType() reflect.Type
- func (o TrafficMirrorTargetMapOutput) MapIndex(k pulumi.StringInput) TrafficMirrorTargetOutput
- func (o TrafficMirrorTargetMapOutput) ToTrafficMirrorTargetMapOutput() TrafficMirrorTargetMapOutput
- func (o TrafficMirrorTargetMapOutput) ToTrafficMirrorTargetMapOutputWithContext(ctx context.Context) TrafficMirrorTargetMapOutput
- type TrafficMirrorTargetOutput
- type TrafficMirrorTargetState
- type TransitGatewayPeeringAttachmentAccepter
- func (*TransitGatewayPeeringAttachmentAccepter) ElementType() reflect.Type
- func (i *TransitGatewayPeeringAttachmentAccepter) ToTransitGatewayPeeringAttachmentAccepterOutput() TransitGatewayPeeringAttachmentAccepterOutput
- func (i *TransitGatewayPeeringAttachmentAccepter) ToTransitGatewayPeeringAttachmentAccepterOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterOutput
- type TransitGatewayPeeringAttachmentAccepterArgs
- type TransitGatewayPeeringAttachmentAccepterArray
- func (TransitGatewayPeeringAttachmentAccepterArray) ElementType() reflect.Type
- func (i TransitGatewayPeeringAttachmentAccepterArray) ToTransitGatewayPeeringAttachmentAccepterArrayOutput() TransitGatewayPeeringAttachmentAccepterArrayOutput
- func (i TransitGatewayPeeringAttachmentAccepterArray) ToTransitGatewayPeeringAttachmentAccepterArrayOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterArrayOutput
- type TransitGatewayPeeringAttachmentAccepterArrayInput
- type TransitGatewayPeeringAttachmentAccepterArrayOutput
- func (TransitGatewayPeeringAttachmentAccepterArrayOutput) ElementType() reflect.Type
- func (o TransitGatewayPeeringAttachmentAccepterArrayOutput) Index(i pulumi.IntInput) TransitGatewayPeeringAttachmentAccepterOutput
- func (o TransitGatewayPeeringAttachmentAccepterArrayOutput) ToTransitGatewayPeeringAttachmentAccepterArrayOutput() TransitGatewayPeeringAttachmentAccepterArrayOutput
- func (o TransitGatewayPeeringAttachmentAccepterArrayOutput) ToTransitGatewayPeeringAttachmentAccepterArrayOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterArrayOutput
- type TransitGatewayPeeringAttachmentAccepterInput
- type TransitGatewayPeeringAttachmentAccepterMap
- func (TransitGatewayPeeringAttachmentAccepterMap) ElementType() reflect.Type
- func (i TransitGatewayPeeringAttachmentAccepterMap) ToTransitGatewayPeeringAttachmentAccepterMapOutput() TransitGatewayPeeringAttachmentAccepterMapOutput
- func (i TransitGatewayPeeringAttachmentAccepterMap) ToTransitGatewayPeeringAttachmentAccepterMapOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterMapOutput
- type TransitGatewayPeeringAttachmentAccepterMapInput
- type TransitGatewayPeeringAttachmentAccepterMapOutput
- func (TransitGatewayPeeringAttachmentAccepterMapOutput) ElementType() reflect.Type
- func (o TransitGatewayPeeringAttachmentAccepterMapOutput) MapIndex(k pulumi.StringInput) TransitGatewayPeeringAttachmentAccepterOutput
- func (o TransitGatewayPeeringAttachmentAccepterMapOutput) ToTransitGatewayPeeringAttachmentAccepterMapOutput() TransitGatewayPeeringAttachmentAccepterMapOutput
- func (o TransitGatewayPeeringAttachmentAccepterMapOutput) ToTransitGatewayPeeringAttachmentAccepterMapOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterMapOutput
- type TransitGatewayPeeringAttachmentAccepterOutput
- func (TransitGatewayPeeringAttachmentAccepterOutput) ElementType() reflect.Type
- func (o TransitGatewayPeeringAttachmentAccepterOutput) ToTransitGatewayPeeringAttachmentAccepterOutput() TransitGatewayPeeringAttachmentAccepterOutput
- func (o TransitGatewayPeeringAttachmentAccepterOutput) ToTransitGatewayPeeringAttachmentAccepterOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterOutput
- type TransitGatewayPeeringAttachmentAccepterState
- type VolumeAttachment
- type VolumeAttachmentArgs
- type VolumeAttachmentArray
- type VolumeAttachmentArrayInput
- type VolumeAttachmentArrayOutput
- func (VolumeAttachmentArrayOutput) ElementType() reflect.Type
- func (o VolumeAttachmentArrayOutput) Index(i pulumi.IntInput) VolumeAttachmentOutput
- func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
- func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
- type VolumeAttachmentInput
- type VolumeAttachmentMap
- type VolumeAttachmentMapInput
- type VolumeAttachmentMapOutput
- func (VolumeAttachmentMapOutput) ElementType() reflect.Type
- func (o VolumeAttachmentMapOutput) MapIndex(k pulumi.StringInput) VolumeAttachmentOutput
- func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
- func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
- type VolumeAttachmentOutput
- type VolumeAttachmentState
- type Vpc
- type VpcArgs
- type VpcArray
- type VpcArrayInput
- type VpcArrayOutput
- type VpcDhcpOptions
- type VpcDhcpOptionsArgs
- type VpcDhcpOptionsArray
- type VpcDhcpOptionsArrayInput
- type VpcDhcpOptionsArrayOutput
- func (VpcDhcpOptionsArrayOutput) ElementType() reflect.Type
- func (o VpcDhcpOptionsArrayOutput) Index(i pulumi.IntInput) VpcDhcpOptionsOutput
- func (o VpcDhcpOptionsArrayOutput) ToVpcDhcpOptionsArrayOutput() VpcDhcpOptionsArrayOutput
- func (o VpcDhcpOptionsArrayOutput) ToVpcDhcpOptionsArrayOutputWithContext(ctx context.Context) VpcDhcpOptionsArrayOutput
- type VpcDhcpOptionsAssociation
- type VpcDhcpOptionsAssociationArgs
- type VpcDhcpOptionsAssociationArray
- func (VpcDhcpOptionsAssociationArray) ElementType() reflect.Type
- func (i VpcDhcpOptionsAssociationArray) ToVpcDhcpOptionsAssociationArrayOutput() VpcDhcpOptionsAssociationArrayOutput
- func (i VpcDhcpOptionsAssociationArray) ToVpcDhcpOptionsAssociationArrayOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationArrayOutput
- type VpcDhcpOptionsAssociationArrayInput
- type VpcDhcpOptionsAssociationArrayOutput
- func (VpcDhcpOptionsAssociationArrayOutput) ElementType() reflect.Type
- func (o VpcDhcpOptionsAssociationArrayOutput) Index(i pulumi.IntInput) VpcDhcpOptionsAssociationOutput
- func (o VpcDhcpOptionsAssociationArrayOutput) ToVpcDhcpOptionsAssociationArrayOutput() VpcDhcpOptionsAssociationArrayOutput
- func (o VpcDhcpOptionsAssociationArrayOutput) ToVpcDhcpOptionsAssociationArrayOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationArrayOutput
- type VpcDhcpOptionsAssociationInput
- type VpcDhcpOptionsAssociationMap
- func (VpcDhcpOptionsAssociationMap) ElementType() reflect.Type
- func (i VpcDhcpOptionsAssociationMap) ToVpcDhcpOptionsAssociationMapOutput() VpcDhcpOptionsAssociationMapOutput
- func (i VpcDhcpOptionsAssociationMap) ToVpcDhcpOptionsAssociationMapOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationMapOutput
- type VpcDhcpOptionsAssociationMapInput
- type VpcDhcpOptionsAssociationMapOutput
- func (VpcDhcpOptionsAssociationMapOutput) ElementType() reflect.Type
- func (o VpcDhcpOptionsAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcDhcpOptionsAssociationOutput
- func (o VpcDhcpOptionsAssociationMapOutput) ToVpcDhcpOptionsAssociationMapOutput() VpcDhcpOptionsAssociationMapOutput
- func (o VpcDhcpOptionsAssociationMapOutput) ToVpcDhcpOptionsAssociationMapOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationMapOutput
- type VpcDhcpOptionsAssociationOutput
- func (VpcDhcpOptionsAssociationOutput) ElementType() reflect.Type
- func (o VpcDhcpOptionsAssociationOutput) ToVpcDhcpOptionsAssociationOutput() VpcDhcpOptionsAssociationOutput
- func (o VpcDhcpOptionsAssociationOutput) ToVpcDhcpOptionsAssociationOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationOutput
- type VpcDhcpOptionsAssociationState
- type VpcDhcpOptionsInput
- type VpcDhcpOptionsMap
- type VpcDhcpOptionsMapInput
- type VpcDhcpOptionsMapOutput
- func (VpcDhcpOptionsMapOutput) ElementType() reflect.Type
- func (o VpcDhcpOptionsMapOutput) MapIndex(k pulumi.StringInput) VpcDhcpOptionsOutput
- func (o VpcDhcpOptionsMapOutput) ToVpcDhcpOptionsMapOutput() VpcDhcpOptionsMapOutput
- func (o VpcDhcpOptionsMapOutput) ToVpcDhcpOptionsMapOutputWithContext(ctx context.Context) VpcDhcpOptionsMapOutput
- type VpcDhcpOptionsOutput
- type VpcDhcpOptionsState
- type VpcEndpoint
- type VpcEndpointArgs
- type VpcEndpointArray
- type VpcEndpointArrayInput
- type VpcEndpointArrayOutput
- func (VpcEndpointArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointArrayOutput) Index(i pulumi.IntInput) VpcEndpointOutput
- func (o VpcEndpointArrayOutput) ToVpcEndpointArrayOutput() VpcEndpointArrayOutput
- func (o VpcEndpointArrayOutput) ToVpcEndpointArrayOutputWithContext(ctx context.Context) VpcEndpointArrayOutput
- type VpcEndpointConnectionAccepter
- func (*VpcEndpointConnectionAccepter) ElementType() reflect.Type
- func (i *VpcEndpointConnectionAccepter) ToVpcEndpointConnectionAccepterOutput() VpcEndpointConnectionAccepterOutput
- func (i *VpcEndpointConnectionAccepter) ToVpcEndpointConnectionAccepterOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterOutput
- type VpcEndpointConnectionAccepterArgs
- type VpcEndpointConnectionAccepterArray
- func (VpcEndpointConnectionAccepterArray) ElementType() reflect.Type
- func (i VpcEndpointConnectionAccepterArray) ToVpcEndpointConnectionAccepterArrayOutput() VpcEndpointConnectionAccepterArrayOutput
- func (i VpcEndpointConnectionAccepterArray) ToVpcEndpointConnectionAccepterArrayOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterArrayOutput
- type VpcEndpointConnectionAccepterArrayInput
- type VpcEndpointConnectionAccepterArrayOutput
- func (VpcEndpointConnectionAccepterArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointConnectionAccepterArrayOutput) Index(i pulumi.IntInput) VpcEndpointConnectionAccepterOutput
- func (o VpcEndpointConnectionAccepterArrayOutput) ToVpcEndpointConnectionAccepterArrayOutput() VpcEndpointConnectionAccepterArrayOutput
- func (o VpcEndpointConnectionAccepterArrayOutput) ToVpcEndpointConnectionAccepterArrayOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterArrayOutput
- type VpcEndpointConnectionAccepterInput
- type VpcEndpointConnectionAccepterMap
- func (VpcEndpointConnectionAccepterMap) ElementType() reflect.Type
- func (i VpcEndpointConnectionAccepterMap) ToVpcEndpointConnectionAccepterMapOutput() VpcEndpointConnectionAccepterMapOutput
- func (i VpcEndpointConnectionAccepterMap) ToVpcEndpointConnectionAccepterMapOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterMapOutput
- type VpcEndpointConnectionAccepterMapInput
- type VpcEndpointConnectionAccepterMapOutput
- func (VpcEndpointConnectionAccepterMapOutput) ElementType() reflect.Type
- func (o VpcEndpointConnectionAccepterMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointConnectionAccepterOutput
- func (o VpcEndpointConnectionAccepterMapOutput) ToVpcEndpointConnectionAccepterMapOutput() VpcEndpointConnectionAccepterMapOutput
- func (o VpcEndpointConnectionAccepterMapOutput) ToVpcEndpointConnectionAccepterMapOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterMapOutput
- type VpcEndpointConnectionAccepterOutput
- func (VpcEndpointConnectionAccepterOutput) ElementType() reflect.Type
- func (o VpcEndpointConnectionAccepterOutput) ToVpcEndpointConnectionAccepterOutput() VpcEndpointConnectionAccepterOutput
- func (o VpcEndpointConnectionAccepterOutput) ToVpcEndpointConnectionAccepterOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterOutput
- type VpcEndpointConnectionAccepterState
- type VpcEndpointConnectionNotification
- func GetVpcEndpointConnectionNotification(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*VpcEndpointConnectionNotification, error)
- func NewVpcEndpointConnectionNotification(ctx *pulumi.Context, name string, args *VpcEndpointConnectionNotificationArgs, ...) (*VpcEndpointConnectionNotification, error)
- func (*VpcEndpointConnectionNotification) ElementType() reflect.Type
- func (i *VpcEndpointConnectionNotification) ToVpcEndpointConnectionNotificationOutput() VpcEndpointConnectionNotificationOutput
- func (i *VpcEndpointConnectionNotification) ToVpcEndpointConnectionNotificationOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationOutput
- type VpcEndpointConnectionNotificationArgs
- type VpcEndpointConnectionNotificationArray
- func (VpcEndpointConnectionNotificationArray) ElementType() reflect.Type
- func (i VpcEndpointConnectionNotificationArray) ToVpcEndpointConnectionNotificationArrayOutput() VpcEndpointConnectionNotificationArrayOutput
- func (i VpcEndpointConnectionNotificationArray) ToVpcEndpointConnectionNotificationArrayOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationArrayOutput
- type VpcEndpointConnectionNotificationArrayInput
- type VpcEndpointConnectionNotificationArrayOutput
- func (VpcEndpointConnectionNotificationArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointConnectionNotificationArrayOutput) Index(i pulumi.IntInput) VpcEndpointConnectionNotificationOutput
- func (o VpcEndpointConnectionNotificationArrayOutput) ToVpcEndpointConnectionNotificationArrayOutput() VpcEndpointConnectionNotificationArrayOutput
- func (o VpcEndpointConnectionNotificationArrayOutput) ToVpcEndpointConnectionNotificationArrayOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationArrayOutput
- type VpcEndpointConnectionNotificationInput
- type VpcEndpointConnectionNotificationMap
- func (VpcEndpointConnectionNotificationMap) ElementType() reflect.Type
- func (i VpcEndpointConnectionNotificationMap) ToVpcEndpointConnectionNotificationMapOutput() VpcEndpointConnectionNotificationMapOutput
- func (i VpcEndpointConnectionNotificationMap) ToVpcEndpointConnectionNotificationMapOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationMapOutput
- type VpcEndpointConnectionNotificationMapInput
- type VpcEndpointConnectionNotificationMapOutput
- func (VpcEndpointConnectionNotificationMapOutput) ElementType() reflect.Type
- func (o VpcEndpointConnectionNotificationMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointConnectionNotificationOutput
- func (o VpcEndpointConnectionNotificationMapOutput) ToVpcEndpointConnectionNotificationMapOutput() VpcEndpointConnectionNotificationMapOutput
- func (o VpcEndpointConnectionNotificationMapOutput) ToVpcEndpointConnectionNotificationMapOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationMapOutput
- type VpcEndpointConnectionNotificationOutput
- func (VpcEndpointConnectionNotificationOutput) ElementType() reflect.Type
- func (o VpcEndpointConnectionNotificationOutput) ToVpcEndpointConnectionNotificationOutput() VpcEndpointConnectionNotificationOutput
- func (o VpcEndpointConnectionNotificationOutput) ToVpcEndpointConnectionNotificationOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationOutput
- type VpcEndpointConnectionNotificationState
- type VpcEndpointDnsEntry
- type VpcEndpointDnsEntryArgs
- type VpcEndpointDnsEntryArray
- type VpcEndpointDnsEntryArrayInput
- type VpcEndpointDnsEntryArrayOutput
- func (VpcEndpointDnsEntryArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointDnsEntryArrayOutput) Index(i pulumi.IntInput) VpcEndpointDnsEntryOutput
- func (o VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutput() VpcEndpointDnsEntryArrayOutput
- func (o VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) VpcEndpointDnsEntryArrayOutput
- type VpcEndpointDnsEntryInput
- type VpcEndpointDnsEntryOutput
- func (o VpcEndpointDnsEntryOutput) DnsName() pulumi.StringPtrOutput
- func (VpcEndpointDnsEntryOutput) ElementType() reflect.Type
- func (o VpcEndpointDnsEntryOutput) HostedZoneId() pulumi.StringPtrOutput
- func (o VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutput() VpcEndpointDnsEntryOutput
- func (o VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutputWithContext(ctx context.Context) VpcEndpointDnsEntryOutput
- type VpcEndpointInput
- type VpcEndpointMap
- type VpcEndpointMapInput
- type VpcEndpointMapOutput
- func (VpcEndpointMapOutput) ElementType() reflect.Type
- func (o VpcEndpointMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointOutput
- func (o VpcEndpointMapOutput) ToVpcEndpointMapOutput() VpcEndpointMapOutput
- func (o VpcEndpointMapOutput) ToVpcEndpointMapOutputWithContext(ctx context.Context) VpcEndpointMapOutput
- type VpcEndpointOutput
- type VpcEndpointPolicy
- type VpcEndpointPolicyArgs
- type VpcEndpointPolicyArray
- type VpcEndpointPolicyArrayInput
- type VpcEndpointPolicyArrayOutput
- func (VpcEndpointPolicyArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointPolicyArrayOutput) Index(i pulumi.IntInput) VpcEndpointPolicyOutput
- func (o VpcEndpointPolicyArrayOutput) ToVpcEndpointPolicyArrayOutput() VpcEndpointPolicyArrayOutput
- func (o VpcEndpointPolicyArrayOutput) ToVpcEndpointPolicyArrayOutputWithContext(ctx context.Context) VpcEndpointPolicyArrayOutput
- type VpcEndpointPolicyInput
- type VpcEndpointPolicyMap
- type VpcEndpointPolicyMapInput
- type VpcEndpointPolicyMapOutput
- func (VpcEndpointPolicyMapOutput) ElementType() reflect.Type
- func (o VpcEndpointPolicyMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointPolicyOutput
- func (o VpcEndpointPolicyMapOutput) ToVpcEndpointPolicyMapOutput() VpcEndpointPolicyMapOutput
- func (o VpcEndpointPolicyMapOutput) ToVpcEndpointPolicyMapOutputWithContext(ctx context.Context) VpcEndpointPolicyMapOutput
- type VpcEndpointPolicyOutput
- type VpcEndpointPolicyState
- type VpcEndpointRouteTableAssociation
- func GetVpcEndpointRouteTableAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*VpcEndpointRouteTableAssociation, error)
- func NewVpcEndpointRouteTableAssociation(ctx *pulumi.Context, name string, args *VpcEndpointRouteTableAssociationArgs, ...) (*VpcEndpointRouteTableAssociation, error)
- func (*VpcEndpointRouteTableAssociation) ElementType() reflect.Type
- func (i *VpcEndpointRouteTableAssociation) ToVpcEndpointRouteTableAssociationOutput() VpcEndpointRouteTableAssociationOutput
- func (i *VpcEndpointRouteTableAssociation) ToVpcEndpointRouteTableAssociationOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationOutput
- type VpcEndpointRouteTableAssociationArgs
- type VpcEndpointRouteTableAssociationArray
- func (VpcEndpointRouteTableAssociationArray) ElementType() reflect.Type
- func (i VpcEndpointRouteTableAssociationArray) ToVpcEndpointRouteTableAssociationArrayOutput() VpcEndpointRouteTableAssociationArrayOutput
- func (i VpcEndpointRouteTableAssociationArray) ToVpcEndpointRouteTableAssociationArrayOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationArrayOutput
- type VpcEndpointRouteTableAssociationArrayInput
- type VpcEndpointRouteTableAssociationArrayOutput
- func (VpcEndpointRouteTableAssociationArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointRouteTableAssociationArrayOutput) Index(i pulumi.IntInput) VpcEndpointRouteTableAssociationOutput
- func (o VpcEndpointRouteTableAssociationArrayOutput) ToVpcEndpointRouteTableAssociationArrayOutput() VpcEndpointRouteTableAssociationArrayOutput
- func (o VpcEndpointRouteTableAssociationArrayOutput) ToVpcEndpointRouteTableAssociationArrayOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationArrayOutput
- type VpcEndpointRouteTableAssociationInput
- type VpcEndpointRouteTableAssociationMap
- func (VpcEndpointRouteTableAssociationMap) ElementType() reflect.Type
- func (i VpcEndpointRouteTableAssociationMap) ToVpcEndpointRouteTableAssociationMapOutput() VpcEndpointRouteTableAssociationMapOutput
- func (i VpcEndpointRouteTableAssociationMap) ToVpcEndpointRouteTableAssociationMapOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationMapOutput
- type VpcEndpointRouteTableAssociationMapInput
- type VpcEndpointRouteTableAssociationMapOutput
- func (VpcEndpointRouteTableAssociationMapOutput) ElementType() reflect.Type
- func (o VpcEndpointRouteTableAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointRouteTableAssociationOutput
- func (o VpcEndpointRouteTableAssociationMapOutput) ToVpcEndpointRouteTableAssociationMapOutput() VpcEndpointRouteTableAssociationMapOutput
- func (o VpcEndpointRouteTableAssociationMapOutput) ToVpcEndpointRouteTableAssociationMapOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationMapOutput
- type VpcEndpointRouteTableAssociationOutput
- func (VpcEndpointRouteTableAssociationOutput) ElementType() reflect.Type
- func (o VpcEndpointRouteTableAssociationOutput) ToVpcEndpointRouteTableAssociationOutput() VpcEndpointRouteTableAssociationOutput
- func (o VpcEndpointRouteTableAssociationOutput) ToVpcEndpointRouteTableAssociationOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationOutput
- type VpcEndpointRouteTableAssociationState
- type VpcEndpointService
- type VpcEndpointServiceAllowedPrinciple
- func GetVpcEndpointServiceAllowedPrinciple(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*VpcEndpointServiceAllowedPrinciple, error)
- func NewVpcEndpointServiceAllowedPrinciple(ctx *pulumi.Context, name string, args *VpcEndpointServiceAllowedPrincipleArgs, ...) (*VpcEndpointServiceAllowedPrinciple, error)
- func (*VpcEndpointServiceAllowedPrinciple) ElementType() reflect.Type
- func (i *VpcEndpointServiceAllowedPrinciple) ToVpcEndpointServiceAllowedPrincipleOutput() VpcEndpointServiceAllowedPrincipleOutput
- func (i *VpcEndpointServiceAllowedPrinciple) ToVpcEndpointServiceAllowedPrincipleOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleOutput
- type VpcEndpointServiceAllowedPrincipleArgs
- type VpcEndpointServiceAllowedPrincipleArray
- func (VpcEndpointServiceAllowedPrincipleArray) ElementType() reflect.Type
- func (i VpcEndpointServiceAllowedPrincipleArray) ToVpcEndpointServiceAllowedPrincipleArrayOutput() VpcEndpointServiceAllowedPrincipleArrayOutput
- func (i VpcEndpointServiceAllowedPrincipleArray) ToVpcEndpointServiceAllowedPrincipleArrayOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleArrayOutput
- type VpcEndpointServiceAllowedPrincipleArrayInput
- type VpcEndpointServiceAllowedPrincipleArrayOutput
- func (VpcEndpointServiceAllowedPrincipleArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceAllowedPrincipleArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceAllowedPrincipleOutput
- func (o VpcEndpointServiceAllowedPrincipleArrayOutput) ToVpcEndpointServiceAllowedPrincipleArrayOutput() VpcEndpointServiceAllowedPrincipleArrayOutput
- func (o VpcEndpointServiceAllowedPrincipleArrayOutput) ToVpcEndpointServiceAllowedPrincipleArrayOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleArrayOutput
- type VpcEndpointServiceAllowedPrincipleInput
- type VpcEndpointServiceAllowedPrincipleMap
- func (VpcEndpointServiceAllowedPrincipleMap) ElementType() reflect.Type
- func (i VpcEndpointServiceAllowedPrincipleMap) ToVpcEndpointServiceAllowedPrincipleMapOutput() VpcEndpointServiceAllowedPrincipleMapOutput
- func (i VpcEndpointServiceAllowedPrincipleMap) ToVpcEndpointServiceAllowedPrincipleMapOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleMapOutput
- type VpcEndpointServiceAllowedPrincipleMapInput
- type VpcEndpointServiceAllowedPrincipleMapOutput
- func (VpcEndpointServiceAllowedPrincipleMapOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceAllowedPrincipleMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceAllowedPrincipleOutput
- func (o VpcEndpointServiceAllowedPrincipleMapOutput) ToVpcEndpointServiceAllowedPrincipleMapOutput() VpcEndpointServiceAllowedPrincipleMapOutput
- func (o VpcEndpointServiceAllowedPrincipleMapOutput) ToVpcEndpointServiceAllowedPrincipleMapOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleMapOutput
- type VpcEndpointServiceAllowedPrincipleOutput
- func (VpcEndpointServiceAllowedPrincipleOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceAllowedPrincipleOutput) ToVpcEndpointServiceAllowedPrincipleOutput() VpcEndpointServiceAllowedPrincipleOutput
- func (o VpcEndpointServiceAllowedPrincipleOutput) ToVpcEndpointServiceAllowedPrincipleOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleOutput
- type VpcEndpointServiceAllowedPrincipleState
- type VpcEndpointServiceArgs
- type VpcEndpointServiceArray
- type VpcEndpointServiceArrayInput
- type VpcEndpointServiceArrayOutput
- func (VpcEndpointServiceArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceOutput
- func (o VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutput() VpcEndpointServiceArrayOutput
- func (o VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceArrayOutput
- type VpcEndpointServiceInput
- type VpcEndpointServiceMap
- type VpcEndpointServiceMapInput
- type VpcEndpointServiceMapOutput
- func (VpcEndpointServiceMapOutput) ElementType() reflect.Type
- func (o VpcEndpointServiceMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceOutput
- func (o VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutput() VpcEndpointServiceMapOutput
- func (o VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutputWithContext(ctx context.Context) VpcEndpointServiceMapOutput
- type VpcEndpointServiceOutput
- type VpcEndpointServicePrivateDnsNameConfiguration
- type VpcEndpointServicePrivateDnsNameConfigurationArgs
- func (VpcEndpointServicePrivateDnsNameConfigurationArgs) ElementType() reflect.Type
- func (i VpcEndpointServicePrivateDnsNameConfigurationArgs) ToVpcEndpointServicePrivateDnsNameConfigurationOutput() VpcEndpointServicePrivateDnsNameConfigurationOutput
- func (i VpcEndpointServicePrivateDnsNameConfigurationArgs) ToVpcEndpointServicePrivateDnsNameConfigurationOutputWithContext(ctx context.Context) VpcEndpointServicePrivateDnsNameConfigurationOutput
- type VpcEndpointServicePrivateDnsNameConfigurationArray
- func (VpcEndpointServicePrivateDnsNameConfigurationArray) ElementType() reflect.Type
- func (i VpcEndpointServicePrivateDnsNameConfigurationArray) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutput() VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
- func (i VpcEndpointServicePrivateDnsNameConfigurationArray) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutputWithContext(ctx context.Context) VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
- type VpcEndpointServicePrivateDnsNameConfigurationArrayInput
- type VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
- func (VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) Index(i pulumi.IntInput) VpcEndpointServicePrivateDnsNameConfigurationOutput
- func (o VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutput() VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
- func (o VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutputWithContext(ctx context.Context) VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
- type VpcEndpointServicePrivateDnsNameConfigurationInput
- type VpcEndpointServicePrivateDnsNameConfigurationOutput
- func (VpcEndpointServicePrivateDnsNameConfigurationOutput) ElementType() reflect.Type
- func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) Name() pulumi.StringPtrOutput
- func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) State() pulumi.StringPtrOutput
- func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) ToVpcEndpointServicePrivateDnsNameConfigurationOutput() VpcEndpointServicePrivateDnsNameConfigurationOutput
- func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) ToVpcEndpointServicePrivateDnsNameConfigurationOutputWithContext(ctx context.Context) VpcEndpointServicePrivateDnsNameConfigurationOutput
- func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) Type() pulumi.StringPtrOutput
- func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) Value() pulumi.StringPtrOutput
- type VpcEndpointServiceState
- type VpcEndpointState
- type VpcEndpointSubnetAssociation
- func (*VpcEndpointSubnetAssociation) ElementType() reflect.Type
- func (i *VpcEndpointSubnetAssociation) ToVpcEndpointSubnetAssociationOutput() VpcEndpointSubnetAssociationOutput
- func (i *VpcEndpointSubnetAssociation) ToVpcEndpointSubnetAssociationOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationOutput
- type VpcEndpointSubnetAssociationArgs
- type VpcEndpointSubnetAssociationArray
- func (VpcEndpointSubnetAssociationArray) ElementType() reflect.Type
- func (i VpcEndpointSubnetAssociationArray) ToVpcEndpointSubnetAssociationArrayOutput() VpcEndpointSubnetAssociationArrayOutput
- func (i VpcEndpointSubnetAssociationArray) ToVpcEndpointSubnetAssociationArrayOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationArrayOutput
- type VpcEndpointSubnetAssociationArrayInput
- type VpcEndpointSubnetAssociationArrayOutput
- func (VpcEndpointSubnetAssociationArrayOutput) ElementType() reflect.Type
- func (o VpcEndpointSubnetAssociationArrayOutput) Index(i pulumi.IntInput) VpcEndpointSubnetAssociationOutput
- func (o VpcEndpointSubnetAssociationArrayOutput) ToVpcEndpointSubnetAssociationArrayOutput() VpcEndpointSubnetAssociationArrayOutput
- func (o VpcEndpointSubnetAssociationArrayOutput) ToVpcEndpointSubnetAssociationArrayOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationArrayOutput
- type VpcEndpointSubnetAssociationInput
- type VpcEndpointSubnetAssociationMap
- func (VpcEndpointSubnetAssociationMap) ElementType() reflect.Type
- func (i VpcEndpointSubnetAssociationMap) ToVpcEndpointSubnetAssociationMapOutput() VpcEndpointSubnetAssociationMapOutput
- func (i VpcEndpointSubnetAssociationMap) ToVpcEndpointSubnetAssociationMapOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationMapOutput
- type VpcEndpointSubnetAssociationMapInput
- type VpcEndpointSubnetAssociationMapOutput
- func (VpcEndpointSubnetAssociationMapOutput) ElementType() reflect.Type
- func (o VpcEndpointSubnetAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointSubnetAssociationOutput
- func (o VpcEndpointSubnetAssociationMapOutput) ToVpcEndpointSubnetAssociationMapOutput() VpcEndpointSubnetAssociationMapOutput
- func (o VpcEndpointSubnetAssociationMapOutput) ToVpcEndpointSubnetAssociationMapOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationMapOutput
- type VpcEndpointSubnetAssociationOutput
- func (VpcEndpointSubnetAssociationOutput) ElementType() reflect.Type
- func (o VpcEndpointSubnetAssociationOutput) ToVpcEndpointSubnetAssociationOutput() VpcEndpointSubnetAssociationOutput
- func (o VpcEndpointSubnetAssociationOutput) ToVpcEndpointSubnetAssociationOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationOutput
- type VpcEndpointSubnetAssociationState
- type VpcInput
- type VpcIpam
- type VpcIpamArgs
- type VpcIpamArray
- type VpcIpamArrayInput
- type VpcIpamArrayOutput
- type VpcIpamInput
- type VpcIpamMap
- type VpcIpamMapInput
- type VpcIpamMapOutput
- type VpcIpamOperatingRegion
- type VpcIpamOperatingRegionArgs
- type VpcIpamOperatingRegionArray
- func (VpcIpamOperatingRegionArray) ElementType() reflect.Type
- func (i VpcIpamOperatingRegionArray) ToVpcIpamOperatingRegionArrayOutput() VpcIpamOperatingRegionArrayOutput
- func (i VpcIpamOperatingRegionArray) ToVpcIpamOperatingRegionArrayOutputWithContext(ctx context.Context) VpcIpamOperatingRegionArrayOutput
- type VpcIpamOperatingRegionArrayInput
- type VpcIpamOperatingRegionArrayOutput
- func (VpcIpamOperatingRegionArrayOutput) ElementType() reflect.Type
- func (o VpcIpamOperatingRegionArrayOutput) Index(i pulumi.IntInput) VpcIpamOperatingRegionOutput
- func (o VpcIpamOperatingRegionArrayOutput) ToVpcIpamOperatingRegionArrayOutput() VpcIpamOperatingRegionArrayOutput
- func (o VpcIpamOperatingRegionArrayOutput) ToVpcIpamOperatingRegionArrayOutputWithContext(ctx context.Context) VpcIpamOperatingRegionArrayOutput
- type VpcIpamOperatingRegionInput
- type VpcIpamOperatingRegionOutput
- func (VpcIpamOperatingRegionOutput) ElementType() reflect.Type
- func (o VpcIpamOperatingRegionOutput) RegionName() pulumi.StringOutput
- func (o VpcIpamOperatingRegionOutput) ToVpcIpamOperatingRegionOutput() VpcIpamOperatingRegionOutput
- func (o VpcIpamOperatingRegionOutput) ToVpcIpamOperatingRegionOutputWithContext(ctx context.Context) VpcIpamOperatingRegionOutput
- type VpcIpamOrganizationAdminAccount
- func GetVpcIpamOrganizationAdminAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*VpcIpamOrganizationAdminAccount, error)
- func NewVpcIpamOrganizationAdminAccount(ctx *pulumi.Context, name string, args *VpcIpamOrganizationAdminAccountArgs, ...) (*VpcIpamOrganizationAdminAccount, error)
- func (*VpcIpamOrganizationAdminAccount) ElementType() reflect.Type
- func (i *VpcIpamOrganizationAdminAccount) ToVpcIpamOrganizationAdminAccountOutput() VpcIpamOrganizationAdminAccountOutput
- func (i *VpcIpamOrganizationAdminAccount) ToVpcIpamOrganizationAdminAccountOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountOutput
- type VpcIpamOrganizationAdminAccountArgs
- type VpcIpamOrganizationAdminAccountArray
- func (VpcIpamOrganizationAdminAccountArray) ElementType() reflect.Type
- func (i VpcIpamOrganizationAdminAccountArray) ToVpcIpamOrganizationAdminAccountArrayOutput() VpcIpamOrganizationAdminAccountArrayOutput
- func (i VpcIpamOrganizationAdminAccountArray) ToVpcIpamOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountArrayOutput
- type VpcIpamOrganizationAdminAccountArrayInput
- type VpcIpamOrganizationAdminAccountArrayOutput
- func (VpcIpamOrganizationAdminAccountArrayOutput) ElementType() reflect.Type
- func (o VpcIpamOrganizationAdminAccountArrayOutput) Index(i pulumi.IntInput) VpcIpamOrganizationAdminAccountOutput
- func (o VpcIpamOrganizationAdminAccountArrayOutput) ToVpcIpamOrganizationAdminAccountArrayOutput() VpcIpamOrganizationAdminAccountArrayOutput
- func (o VpcIpamOrganizationAdminAccountArrayOutput) ToVpcIpamOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountArrayOutput
- type VpcIpamOrganizationAdminAccountInput
- type VpcIpamOrganizationAdminAccountMap
- func (VpcIpamOrganizationAdminAccountMap) ElementType() reflect.Type
- func (i VpcIpamOrganizationAdminAccountMap) ToVpcIpamOrganizationAdminAccountMapOutput() VpcIpamOrganizationAdminAccountMapOutput
- func (i VpcIpamOrganizationAdminAccountMap) ToVpcIpamOrganizationAdminAccountMapOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountMapOutput
- type VpcIpamOrganizationAdminAccountMapInput
- type VpcIpamOrganizationAdminAccountMapOutput
- func (VpcIpamOrganizationAdminAccountMapOutput) ElementType() reflect.Type
- func (o VpcIpamOrganizationAdminAccountMapOutput) MapIndex(k pulumi.StringInput) VpcIpamOrganizationAdminAccountOutput
- func (o VpcIpamOrganizationAdminAccountMapOutput) ToVpcIpamOrganizationAdminAccountMapOutput() VpcIpamOrganizationAdminAccountMapOutput
- func (o VpcIpamOrganizationAdminAccountMapOutput) ToVpcIpamOrganizationAdminAccountMapOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountMapOutput
- type VpcIpamOrganizationAdminAccountOutput
- func (VpcIpamOrganizationAdminAccountOutput) ElementType() reflect.Type
- func (o VpcIpamOrganizationAdminAccountOutput) ToVpcIpamOrganizationAdminAccountOutput() VpcIpamOrganizationAdminAccountOutput
- func (o VpcIpamOrganizationAdminAccountOutput) ToVpcIpamOrganizationAdminAccountOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountOutput
- type VpcIpamOrganizationAdminAccountState
- type VpcIpamOutput
- type VpcIpamPool
- type VpcIpamPoolArgs
- type VpcIpamPoolArray
- type VpcIpamPoolArrayInput
- type VpcIpamPoolArrayOutput
- func (VpcIpamPoolArrayOutput) ElementType() reflect.Type
- func (o VpcIpamPoolArrayOutput) Index(i pulumi.IntInput) VpcIpamPoolOutput
- func (o VpcIpamPoolArrayOutput) ToVpcIpamPoolArrayOutput() VpcIpamPoolArrayOutput
- func (o VpcIpamPoolArrayOutput) ToVpcIpamPoolArrayOutputWithContext(ctx context.Context) VpcIpamPoolArrayOutput
- type VpcIpamPoolCidr
- type VpcIpamPoolCidrAllocation
- type VpcIpamPoolCidrAllocationArgs
- type VpcIpamPoolCidrAllocationArray
- func (VpcIpamPoolCidrAllocationArray) ElementType() reflect.Type
- func (i VpcIpamPoolCidrAllocationArray) ToVpcIpamPoolCidrAllocationArrayOutput() VpcIpamPoolCidrAllocationArrayOutput
- func (i VpcIpamPoolCidrAllocationArray) ToVpcIpamPoolCidrAllocationArrayOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationArrayOutput
- type VpcIpamPoolCidrAllocationArrayInput
- type VpcIpamPoolCidrAllocationArrayOutput
- func (VpcIpamPoolCidrAllocationArrayOutput) ElementType() reflect.Type
- func (o VpcIpamPoolCidrAllocationArrayOutput) Index(i pulumi.IntInput) VpcIpamPoolCidrAllocationOutput
- func (o VpcIpamPoolCidrAllocationArrayOutput) ToVpcIpamPoolCidrAllocationArrayOutput() VpcIpamPoolCidrAllocationArrayOutput
- func (o VpcIpamPoolCidrAllocationArrayOutput) ToVpcIpamPoolCidrAllocationArrayOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationArrayOutput
- type VpcIpamPoolCidrAllocationInput
- type VpcIpamPoolCidrAllocationMap
- func (VpcIpamPoolCidrAllocationMap) ElementType() reflect.Type
- func (i VpcIpamPoolCidrAllocationMap) ToVpcIpamPoolCidrAllocationMapOutput() VpcIpamPoolCidrAllocationMapOutput
- func (i VpcIpamPoolCidrAllocationMap) ToVpcIpamPoolCidrAllocationMapOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationMapOutput
- type VpcIpamPoolCidrAllocationMapInput
- type VpcIpamPoolCidrAllocationMapOutput
- func (VpcIpamPoolCidrAllocationMapOutput) ElementType() reflect.Type
- func (o VpcIpamPoolCidrAllocationMapOutput) MapIndex(k pulumi.StringInput) VpcIpamPoolCidrAllocationOutput
- func (o VpcIpamPoolCidrAllocationMapOutput) ToVpcIpamPoolCidrAllocationMapOutput() VpcIpamPoolCidrAllocationMapOutput
- func (o VpcIpamPoolCidrAllocationMapOutput) ToVpcIpamPoolCidrAllocationMapOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationMapOutput
- type VpcIpamPoolCidrAllocationOutput
- func (VpcIpamPoolCidrAllocationOutput) ElementType() reflect.Type
- func (o VpcIpamPoolCidrAllocationOutput) ToVpcIpamPoolCidrAllocationOutput() VpcIpamPoolCidrAllocationOutput
- func (o VpcIpamPoolCidrAllocationOutput) ToVpcIpamPoolCidrAllocationOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationOutput
- type VpcIpamPoolCidrAllocationState
- type VpcIpamPoolCidrArgs
- type VpcIpamPoolCidrArray
- type VpcIpamPoolCidrArrayInput
- type VpcIpamPoolCidrArrayOutput
- func (VpcIpamPoolCidrArrayOutput) ElementType() reflect.Type
- func (o VpcIpamPoolCidrArrayOutput) Index(i pulumi.IntInput) VpcIpamPoolCidrOutput
- func (o VpcIpamPoolCidrArrayOutput) ToVpcIpamPoolCidrArrayOutput() VpcIpamPoolCidrArrayOutput
- func (o VpcIpamPoolCidrArrayOutput) ToVpcIpamPoolCidrArrayOutputWithContext(ctx context.Context) VpcIpamPoolCidrArrayOutput
- type VpcIpamPoolCidrCidrAuthorizationContext
- type VpcIpamPoolCidrCidrAuthorizationContextArgs
- func (VpcIpamPoolCidrCidrAuthorizationContextArgs) ElementType() reflect.Type
- func (i VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextOutput() VpcIpamPoolCidrCidrAuthorizationContextOutput
- func (i VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextOutput
- func (i VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput() VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
- func (i VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
- type VpcIpamPoolCidrCidrAuthorizationContextInput
- type VpcIpamPoolCidrCidrAuthorizationContextOutput
- func (VpcIpamPoolCidrCidrAuthorizationContextOutput) ElementType() reflect.Type
- func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) Message() pulumi.StringPtrOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) Signature() pulumi.StringPtrOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextOutput() VpcIpamPoolCidrCidrAuthorizationContextOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput() VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
- type VpcIpamPoolCidrCidrAuthorizationContextPtrInput
- type VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) Elem() VpcIpamPoolCidrCidrAuthorizationContextOutput
- func (VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ElementType() reflect.Type
- func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) Message() pulumi.StringPtrOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) Signature() pulumi.StringPtrOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput() VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
- func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
- type VpcIpamPoolCidrInput
- type VpcIpamPoolCidrMap
- type VpcIpamPoolCidrMapInput
- type VpcIpamPoolCidrMapOutput
- func (VpcIpamPoolCidrMapOutput) ElementType() reflect.Type
- func (o VpcIpamPoolCidrMapOutput) MapIndex(k pulumi.StringInput) VpcIpamPoolCidrOutput
- func (o VpcIpamPoolCidrMapOutput) ToVpcIpamPoolCidrMapOutput() VpcIpamPoolCidrMapOutput
- func (o VpcIpamPoolCidrMapOutput) ToVpcIpamPoolCidrMapOutputWithContext(ctx context.Context) VpcIpamPoolCidrMapOutput
- type VpcIpamPoolCidrOutput
- type VpcIpamPoolCidrState
- type VpcIpamPoolInput
- type VpcIpamPoolMap
- type VpcIpamPoolMapInput
- type VpcIpamPoolMapOutput
- func (VpcIpamPoolMapOutput) ElementType() reflect.Type
- func (o VpcIpamPoolMapOutput) MapIndex(k pulumi.StringInput) VpcIpamPoolOutput
- func (o VpcIpamPoolMapOutput) ToVpcIpamPoolMapOutput() VpcIpamPoolMapOutput
- func (o VpcIpamPoolMapOutput) ToVpcIpamPoolMapOutputWithContext(ctx context.Context) VpcIpamPoolMapOutput
- type VpcIpamPoolOutput
- type VpcIpamPoolState
- type VpcIpamPreviewNextCidr
- type VpcIpamPreviewNextCidrArgs
- type VpcIpamPreviewNextCidrArray
- func (VpcIpamPreviewNextCidrArray) ElementType() reflect.Type
- func (i VpcIpamPreviewNextCidrArray) ToVpcIpamPreviewNextCidrArrayOutput() VpcIpamPreviewNextCidrArrayOutput
- func (i VpcIpamPreviewNextCidrArray) ToVpcIpamPreviewNextCidrArrayOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrArrayOutput
- type VpcIpamPreviewNextCidrArrayInput
- type VpcIpamPreviewNextCidrArrayOutput
- func (VpcIpamPreviewNextCidrArrayOutput) ElementType() reflect.Type
- func (o VpcIpamPreviewNextCidrArrayOutput) Index(i pulumi.IntInput) VpcIpamPreviewNextCidrOutput
- func (o VpcIpamPreviewNextCidrArrayOutput) ToVpcIpamPreviewNextCidrArrayOutput() VpcIpamPreviewNextCidrArrayOutput
- func (o VpcIpamPreviewNextCidrArrayOutput) ToVpcIpamPreviewNextCidrArrayOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrArrayOutput
- type VpcIpamPreviewNextCidrInput
- type VpcIpamPreviewNextCidrMap
- type VpcIpamPreviewNextCidrMapInput
- type VpcIpamPreviewNextCidrMapOutput
- func (VpcIpamPreviewNextCidrMapOutput) ElementType() reflect.Type
- func (o VpcIpamPreviewNextCidrMapOutput) MapIndex(k pulumi.StringInput) VpcIpamPreviewNextCidrOutput
- func (o VpcIpamPreviewNextCidrMapOutput) ToVpcIpamPreviewNextCidrMapOutput() VpcIpamPreviewNextCidrMapOutput
- func (o VpcIpamPreviewNextCidrMapOutput) ToVpcIpamPreviewNextCidrMapOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrMapOutput
- type VpcIpamPreviewNextCidrOutput
- type VpcIpamPreviewNextCidrState
- type VpcIpamScope
- type VpcIpamScopeArgs
- type VpcIpamScopeArray
- type VpcIpamScopeArrayInput
- type VpcIpamScopeArrayOutput
- func (VpcIpamScopeArrayOutput) ElementType() reflect.Type
- func (o VpcIpamScopeArrayOutput) Index(i pulumi.IntInput) VpcIpamScopeOutput
- func (o VpcIpamScopeArrayOutput) ToVpcIpamScopeArrayOutput() VpcIpamScopeArrayOutput
- func (o VpcIpamScopeArrayOutput) ToVpcIpamScopeArrayOutputWithContext(ctx context.Context) VpcIpamScopeArrayOutput
- type VpcIpamScopeInput
- type VpcIpamScopeMap
- type VpcIpamScopeMapInput
- type VpcIpamScopeMapOutput
- func (VpcIpamScopeMapOutput) ElementType() reflect.Type
- func (o VpcIpamScopeMapOutput) MapIndex(k pulumi.StringInput) VpcIpamScopeOutput
- func (o VpcIpamScopeMapOutput) ToVpcIpamScopeMapOutput() VpcIpamScopeMapOutput
- func (o VpcIpamScopeMapOutput) ToVpcIpamScopeMapOutputWithContext(ctx context.Context) VpcIpamScopeMapOutput
- type VpcIpamScopeOutput
- type VpcIpamScopeState
- type VpcIpamState
- type VpcIpv4CidrBlockAssociation
- func (*VpcIpv4CidrBlockAssociation) ElementType() reflect.Type
- func (i *VpcIpv4CidrBlockAssociation) ToVpcIpv4CidrBlockAssociationOutput() VpcIpv4CidrBlockAssociationOutput
- func (i *VpcIpv4CidrBlockAssociation) ToVpcIpv4CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationOutput
- type VpcIpv4CidrBlockAssociationArgs
- type VpcIpv4CidrBlockAssociationArray
- func (VpcIpv4CidrBlockAssociationArray) ElementType() reflect.Type
- func (i VpcIpv4CidrBlockAssociationArray) ToVpcIpv4CidrBlockAssociationArrayOutput() VpcIpv4CidrBlockAssociationArrayOutput
- func (i VpcIpv4CidrBlockAssociationArray) ToVpcIpv4CidrBlockAssociationArrayOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationArrayOutput
- type VpcIpv4CidrBlockAssociationArrayInput
- type VpcIpv4CidrBlockAssociationArrayOutput
- func (VpcIpv4CidrBlockAssociationArrayOutput) ElementType() reflect.Type
- func (o VpcIpv4CidrBlockAssociationArrayOutput) Index(i pulumi.IntInput) VpcIpv4CidrBlockAssociationOutput
- func (o VpcIpv4CidrBlockAssociationArrayOutput) ToVpcIpv4CidrBlockAssociationArrayOutput() VpcIpv4CidrBlockAssociationArrayOutput
- func (o VpcIpv4CidrBlockAssociationArrayOutput) ToVpcIpv4CidrBlockAssociationArrayOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationArrayOutput
- type VpcIpv4CidrBlockAssociationInput
- type VpcIpv4CidrBlockAssociationMap
- func (VpcIpv4CidrBlockAssociationMap) ElementType() reflect.Type
- func (i VpcIpv4CidrBlockAssociationMap) ToVpcIpv4CidrBlockAssociationMapOutput() VpcIpv4CidrBlockAssociationMapOutput
- func (i VpcIpv4CidrBlockAssociationMap) ToVpcIpv4CidrBlockAssociationMapOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationMapOutput
- type VpcIpv4CidrBlockAssociationMapInput
- type VpcIpv4CidrBlockAssociationMapOutput
- func (VpcIpv4CidrBlockAssociationMapOutput) ElementType() reflect.Type
- func (o VpcIpv4CidrBlockAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcIpv4CidrBlockAssociationOutput
- func (o VpcIpv4CidrBlockAssociationMapOutput) ToVpcIpv4CidrBlockAssociationMapOutput() VpcIpv4CidrBlockAssociationMapOutput
- func (o VpcIpv4CidrBlockAssociationMapOutput) ToVpcIpv4CidrBlockAssociationMapOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationMapOutput
- type VpcIpv4CidrBlockAssociationOutput
- func (VpcIpv4CidrBlockAssociationOutput) ElementType() reflect.Type
- func (o VpcIpv4CidrBlockAssociationOutput) ToVpcIpv4CidrBlockAssociationOutput() VpcIpv4CidrBlockAssociationOutput
- func (o VpcIpv4CidrBlockAssociationOutput) ToVpcIpv4CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationOutput
- type VpcIpv4CidrBlockAssociationState
- type VpcIpv6CidrBlockAssociation
- func (*VpcIpv6CidrBlockAssociation) ElementType() reflect.Type
- func (i *VpcIpv6CidrBlockAssociation) ToVpcIpv6CidrBlockAssociationOutput() VpcIpv6CidrBlockAssociationOutput
- func (i *VpcIpv6CidrBlockAssociation) ToVpcIpv6CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationOutput
- type VpcIpv6CidrBlockAssociationArgs
- type VpcIpv6CidrBlockAssociationArray
- func (VpcIpv6CidrBlockAssociationArray) ElementType() reflect.Type
- func (i VpcIpv6CidrBlockAssociationArray) ToVpcIpv6CidrBlockAssociationArrayOutput() VpcIpv6CidrBlockAssociationArrayOutput
- func (i VpcIpv6CidrBlockAssociationArray) ToVpcIpv6CidrBlockAssociationArrayOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationArrayOutput
- type VpcIpv6CidrBlockAssociationArrayInput
- type VpcIpv6CidrBlockAssociationArrayOutput
- func (VpcIpv6CidrBlockAssociationArrayOutput) ElementType() reflect.Type
- func (o VpcIpv6CidrBlockAssociationArrayOutput) Index(i pulumi.IntInput) VpcIpv6CidrBlockAssociationOutput
- func (o VpcIpv6CidrBlockAssociationArrayOutput) ToVpcIpv6CidrBlockAssociationArrayOutput() VpcIpv6CidrBlockAssociationArrayOutput
- func (o VpcIpv6CidrBlockAssociationArrayOutput) ToVpcIpv6CidrBlockAssociationArrayOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationArrayOutput
- type VpcIpv6CidrBlockAssociationInput
- type VpcIpv6CidrBlockAssociationMap
- func (VpcIpv6CidrBlockAssociationMap) ElementType() reflect.Type
- func (i VpcIpv6CidrBlockAssociationMap) ToVpcIpv6CidrBlockAssociationMapOutput() VpcIpv6CidrBlockAssociationMapOutput
- func (i VpcIpv6CidrBlockAssociationMap) ToVpcIpv6CidrBlockAssociationMapOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationMapOutput
- type VpcIpv6CidrBlockAssociationMapInput
- type VpcIpv6CidrBlockAssociationMapOutput
- func (VpcIpv6CidrBlockAssociationMapOutput) ElementType() reflect.Type
- func (o VpcIpv6CidrBlockAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcIpv6CidrBlockAssociationOutput
- func (o VpcIpv6CidrBlockAssociationMapOutput) ToVpcIpv6CidrBlockAssociationMapOutput() VpcIpv6CidrBlockAssociationMapOutput
- func (o VpcIpv6CidrBlockAssociationMapOutput) ToVpcIpv6CidrBlockAssociationMapOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationMapOutput
- type VpcIpv6CidrBlockAssociationOutput
- func (VpcIpv6CidrBlockAssociationOutput) ElementType() reflect.Type
- func (o VpcIpv6CidrBlockAssociationOutput) ToVpcIpv6CidrBlockAssociationOutput() VpcIpv6CidrBlockAssociationOutput
- func (o VpcIpv6CidrBlockAssociationOutput) ToVpcIpv6CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationOutput
- type VpcIpv6CidrBlockAssociationState
- type VpcMap
- type VpcMapInput
- type VpcMapOutput
- type VpcOutput
- type VpcPeeringConnection
- type VpcPeeringConnectionAccepter
- func (*VpcPeeringConnectionAccepter) ElementType() reflect.Type
- func (i *VpcPeeringConnectionAccepter) ToVpcPeeringConnectionAccepterOutput() VpcPeeringConnectionAccepterOutput
- func (i *VpcPeeringConnectionAccepter) ToVpcPeeringConnectionAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterOutput
- type VpcPeeringConnectionAccepterAccepter
- type VpcPeeringConnectionAccepterAccepterArgs
- func (VpcPeeringConnectionAccepterAccepterArgs) ElementType() reflect.Type
- func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutput() VpcPeeringConnectionAccepterAccepterOutput
- func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterOutput
- func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput
- func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput
- type VpcPeeringConnectionAccepterAccepterInput
- type VpcPeeringConnectionAccepterAccepterOutput
- func (o VpcPeeringConnectionAccepterAccepterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterAccepterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterAccepterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (VpcPeeringConnectionAccepterAccepterOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutput() VpcPeeringConnectionAccepterAccepterOutput
- func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterOutput
- func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput
- func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput
- type VpcPeeringConnectionAccepterAccepterPtrInput
- type VpcPeeringConnectionAccepterAccepterPtrOutput
- func (o VpcPeeringConnectionAccepterAccepterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterAccepterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterAccepterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterAccepterPtrOutput) Elem() VpcPeeringConnectionAccepterAccepterOutput
- func (VpcPeeringConnectionAccepterAccepterPtrOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput
- func (o VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput
- type VpcPeeringConnectionAccepterArgs
- type VpcPeeringConnectionAccepterArray
- func (VpcPeeringConnectionAccepterArray) ElementType() reflect.Type
- func (i VpcPeeringConnectionAccepterArray) ToVpcPeeringConnectionAccepterArrayOutput() VpcPeeringConnectionAccepterArrayOutput
- func (i VpcPeeringConnectionAccepterArray) ToVpcPeeringConnectionAccepterArrayOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterArrayOutput
- type VpcPeeringConnectionAccepterArrayInput
- type VpcPeeringConnectionAccepterArrayOutput
- func (VpcPeeringConnectionAccepterArrayOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterArrayOutput) Index(i pulumi.IntInput) VpcPeeringConnectionAccepterOutput
- func (o VpcPeeringConnectionAccepterArrayOutput) ToVpcPeeringConnectionAccepterArrayOutput() VpcPeeringConnectionAccepterArrayOutput
- func (o VpcPeeringConnectionAccepterArrayOutput) ToVpcPeeringConnectionAccepterArrayOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterArrayOutput
- type VpcPeeringConnectionAccepterInput
- type VpcPeeringConnectionAccepterMap
- func (VpcPeeringConnectionAccepterMap) ElementType() reflect.Type
- func (i VpcPeeringConnectionAccepterMap) ToVpcPeeringConnectionAccepterMapOutput() VpcPeeringConnectionAccepterMapOutput
- func (i VpcPeeringConnectionAccepterMap) ToVpcPeeringConnectionAccepterMapOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterMapOutput
- type VpcPeeringConnectionAccepterMapInput
- type VpcPeeringConnectionAccepterMapOutput
- func (VpcPeeringConnectionAccepterMapOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterMapOutput) MapIndex(k pulumi.StringInput) VpcPeeringConnectionAccepterOutput
- func (o VpcPeeringConnectionAccepterMapOutput) ToVpcPeeringConnectionAccepterMapOutput() VpcPeeringConnectionAccepterMapOutput
- func (o VpcPeeringConnectionAccepterMapOutput) ToVpcPeeringConnectionAccepterMapOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterMapOutput
- type VpcPeeringConnectionAccepterOutput
- func (VpcPeeringConnectionAccepterOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterOutput) ToVpcPeeringConnectionAccepterOutput() VpcPeeringConnectionAccepterOutput
- func (o VpcPeeringConnectionAccepterOutput) ToVpcPeeringConnectionAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterOutput
- type VpcPeeringConnectionAccepterRequester
- type VpcPeeringConnectionAccepterRequesterArgs
- func (VpcPeeringConnectionAccepterRequesterArgs) ElementType() reflect.Type
- func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutput() VpcPeeringConnectionAccepterRequesterOutput
- func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterOutput
- func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput
- func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput
- type VpcPeeringConnectionAccepterRequesterInput
- type VpcPeeringConnectionAccepterRequesterOutput
- func (o VpcPeeringConnectionAccepterRequesterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterRequesterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterRequesterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (VpcPeeringConnectionAccepterRequesterOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutput() VpcPeeringConnectionAccepterRequesterOutput
- func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterOutput
- func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput
- func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput
- type VpcPeeringConnectionAccepterRequesterPtrInput
- type VpcPeeringConnectionAccepterRequesterPtrOutput
- func (o VpcPeeringConnectionAccepterRequesterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterRequesterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterRequesterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterRequesterPtrOutput) Elem() VpcPeeringConnectionAccepterRequesterOutput
- func (VpcPeeringConnectionAccepterRequesterPtrOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput
- func (o VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput
- type VpcPeeringConnectionAccepterState
- type VpcPeeringConnectionAccepterType
- type VpcPeeringConnectionAccepterTypeArgs
- func (VpcPeeringConnectionAccepterTypeArgs) ElementType() reflect.Type
- func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutput() VpcPeeringConnectionAccepterTypeOutput
- func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypeOutput
- func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput
- func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput
- type VpcPeeringConnectionAccepterTypeInput
- type VpcPeeringConnectionAccepterTypeOutput
- func (o VpcPeeringConnectionAccepterTypeOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterTypeOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterTypeOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (VpcPeeringConnectionAccepterTypeOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutput() VpcPeeringConnectionAccepterTypeOutput
- func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypeOutput
- func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput
- func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput
- type VpcPeeringConnectionAccepterTypePtrInput
- type VpcPeeringConnectionAccepterTypePtrOutput
- func (o VpcPeeringConnectionAccepterTypePtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterTypePtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterTypePtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionAccepterTypePtrOutput) Elem() VpcPeeringConnectionAccepterTypeOutput
- func (VpcPeeringConnectionAccepterTypePtrOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput
- func (o VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput
- type VpcPeeringConnectionArgs
- type VpcPeeringConnectionArray
- type VpcPeeringConnectionArrayInput
- type VpcPeeringConnectionArrayOutput
- func (VpcPeeringConnectionArrayOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionArrayOutput) Index(i pulumi.IntInput) VpcPeeringConnectionOutput
- func (o VpcPeeringConnectionArrayOutput) ToVpcPeeringConnectionArrayOutput() VpcPeeringConnectionArrayOutput
- func (o VpcPeeringConnectionArrayOutput) ToVpcPeeringConnectionArrayOutputWithContext(ctx context.Context) VpcPeeringConnectionArrayOutput
- type VpcPeeringConnectionInput
- type VpcPeeringConnectionMap
- type VpcPeeringConnectionMapInput
- type VpcPeeringConnectionMapOutput
- func (VpcPeeringConnectionMapOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionMapOutput) MapIndex(k pulumi.StringInput) VpcPeeringConnectionOutput
- func (o VpcPeeringConnectionMapOutput) ToVpcPeeringConnectionMapOutput() VpcPeeringConnectionMapOutput
- func (o VpcPeeringConnectionMapOutput) ToVpcPeeringConnectionMapOutputWithContext(ctx context.Context) VpcPeeringConnectionMapOutput
- type VpcPeeringConnectionOutput
- type VpcPeeringConnectionRequester
- type VpcPeeringConnectionRequesterArgs
- func (VpcPeeringConnectionRequesterArgs) ElementType() reflect.Type
- func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutput() VpcPeeringConnectionRequesterOutput
- func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterOutput
- func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput
- func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterPtrOutput
- type VpcPeeringConnectionRequesterInput
- type VpcPeeringConnectionRequesterOutput
- func (o VpcPeeringConnectionRequesterOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionRequesterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionRequesterOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (VpcPeeringConnectionRequesterOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutput() VpcPeeringConnectionRequesterOutput
- func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterOutput
- func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput
- func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterPtrOutput
- type VpcPeeringConnectionRequesterPtrInput
- type VpcPeeringConnectionRequesterPtrOutput
- func (o VpcPeeringConnectionRequesterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionRequesterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionRequesterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
- func (o VpcPeeringConnectionRequesterPtrOutput) Elem() VpcPeeringConnectionRequesterOutput
- func (VpcPeeringConnectionRequesterPtrOutput) ElementType() reflect.Type
- func (o VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput
- func (o VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterPtrOutput
- type VpcPeeringConnectionState
- type VpcState
- type VpnConnection
- type VpnConnectionArgs
- type VpnConnectionArray
- type VpnConnectionArrayInput
- type VpnConnectionArrayOutput
- func (VpnConnectionArrayOutput) ElementType() reflect.Type
- func (o VpnConnectionArrayOutput) Index(i pulumi.IntInput) VpnConnectionOutput
- func (o VpnConnectionArrayOutput) ToVpnConnectionArrayOutput() VpnConnectionArrayOutput
- func (o VpnConnectionArrayOutput) ToVpnConnectionArrayOutputWithContext(ctx context.Context) VpnConnectionArrayOutput
- type VpnConnectionInput
- type VpnConnectionMap
- type VpnConnectionMapInput
- type VpnConnectionMapOutput
- func (VpnConnectionMapOutput) ElementType() reflect.Type
- func (o VpnConnectionMapOutput) MapIndex(k pulumi.StringInput) VpnConnectionOutput
- func (o VpnConnectionMapOutput) ToVpnConnectionMapOutput() VpnConnectionMapOutput
- func (o VpnConnectionMapOutput) ToVpnConnectionMapOutputWithContext(ctx context.Context) VpnConnectionMapOutput
- type VpnConnectionOutput
- type VpnConnectionRoute
- type VpnConnectionRouteArgs
- type VpnConnectionRouteArray
- type VpnConnectionRouteArrayInput
- type VpnConnectionRouteArrayOutput
- func (VpnConnectionRouteArrayOutput) ElementType() reflect.Type
- func (o VpnConnectionRouteArrayOutput) Index(i pulumi.IntInput) VpnConnectionRouteOutput
- func (o VpnConnectionRouteArrayOutput) ToVpnConnectionRouteArrayOutput() VpnConnectionRouteArrayOutput
- func (o VpnConnectionRouteArrayOutput) ToVpnConnectionRouteArrayOutputWithContext(ctx context.Context) VpnConnectionRouteArrayOutput
- type VpnConnectionRouteInput
- type VpnConnectionRouteMap
- type VpnConnectionRouteMapInput
- type VpnConnectionRouteMapOutput
- func (VpnConnectionRouteMapOutput) ElementType() reflect.Type
- func (o VpnConnectionRouteMapOutput) MapIndex(k pulumi.StringInput) VpnConnectionRouteOutput
- func (o VpnConnectionRouteMapOutput) ToVpnConnectionRouteMapOutput() VpnConnectionRouteMapOutput
- func (o VpnConnectionRouteMapOutput) ToVpnConnectionRouteMapOutputWithContext(ctx context.Context) VpnConnectionRouteMapOutput
- type VpnConnectionRouteOutput
- type VpnConnectionRouteState
- type VpnConnectionRouteType
- type VpnConnectionRouteTypeArgs
- type VpnConnectionRouteTypeArray
- func (VpnConnectionRouteTypeArray) ElementType() reflect.Type
- func (i VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput
- func (i VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) VpnConnectionRouteTypeArrayOutput
- type VpnConnectionRouteTypeArrayInput
- type VpnConnectionRouteTypeArrayOutput
- func (VpnConnectionRouteTypeArrayOutput) ElementType() reflect.Type
- func (o VpnConnectionRouteTypeArrayOutput) Index(i pulumi.IntInput) VpnConnectionRouteTypeOutput
- func (o VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput
- func (o VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) VpnConnectionRouteTypeArrayOutput
- type VpnConnectionRouteTypeInput
- type VpnConnectionRouteTypeOutput
- func (o VpnConnectionRouteTypeOutput) DestinationCidrBlock() pulumi.StringPtrOutput
- func (VpnConnectionRouteTypeOutput) ElementType() reflect.Type
- func (o VpnConnectionRouteTypeOutput) Source() pulumi.StringPtrOutput
- func (o VpnConnectionRouteTypeOutput) State() pulumi.StringPtrOutput
- func (o VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput
- func (o VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutputWithContext(ctx context.Context) VpnConnectionRouteTypeOutput
- type VpnConnectionState
- type VpnConnectionVgwTelemetry
- type VpnConnectionVgwTelemetryArgs
- func (VpnConnectionVgwTelemetryArgs) ElementType() reflect.Type
- func (i VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput
- func (i VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryOutput
- type VpnConnectionVgwTelemetryArray
- func (VpnConnectionVgwTelemetryArray) ElementType() reflect.Type
- func (i VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput
- func (i VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryArrayOutput
- type VpnConnectionVgwTelemetryArrayInput
- type VpnConnectionVgwTelemetryArrayOutput
- func (VpnConnectionVgwTelemetryArrayOutput) ElementType() reflect.Type
- func (o VpnConnectionVgwTelemetryArrayOutput) Index(i pulumi.IntInput) VpnConnectionVgwTelemetryOutput
- func (o VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput
- func (o VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryArrayOutput
- type VpnConnectionVgwTelemetryInput
- type VpnConnectionVgwTelemetryOutput
- func (o VpnConnectionVgwTelemetryOutput) AcceptedRouteCount() pulumi.IntPtrOutput
- func (o VpnConnectionVgwTelemetryOutput) CertificateArn() pulumi.StringPtrOutput
- func (VpnConnectionVgwTelemetryOutput) ElementType() reflect.Type
- func (o VpnConnectionVgwTelemetryOutput) LastStatusChange() pulumi.StringPtrOutput
- func (o VpnConnectionVgwTelemetryOutput) OutsideIpAddress() pulumi.StringPtrOutput
- func (o VpnConnectionVgwTelemetryOutput) Status() pulumi.StringPtrOutput
- func (o VpnConnectionVgwTelemetryOutput) StatusMessage() pulumi.StringPtrOutput
- func (o VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput
- func (o VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryOutput
- type VpnGateway
- type VpnGatewayArgs
- type VpnGatewayArray
- type VpnGatewayArrayInput
- type VpnGatewayArrayOutput
- func (VpnGatewayArrayOutput) ElementType() reflect.Type
- func (o VpnGatewayArrayOutput) Index(i pulumi.IntInput) VpnGatewayOutput
- func (o VpnGatewayArrayOutput) ToVpnGatewayArrayOutput() VpnGatewayArrayOutput
- func (o VpnGatewayArrayOutput) ToVpnGatewayArrayOutputWithContext(ctx context.Context) VpnGatewayArrayOutput
- type VpnGatewayAttachment
- type VpnGatewayAttachmentArgs
- type VpnGatewayAttachmentArray
- type VpnGatewayAttachmentArrayInput
- type VpnGatewayAttachmentArrayOutput
- func (VpnGatewayAttachmentArrayOutput) ElementType() reflect.Type
- func (o VpnGatewayAttachmentArrayOutput) Index(i pulumi.IntInput) VpnGatewayAttachmentOutput
- func (o VpnGatewayAttachmentArrayOutput) ToVpnGatewayAttachmentArrayOutput() VpnGatewayAttachmentArrayOutput
- func (o VpnGatewayAttachmentArrayOutput) ToVpnGatewayAttachmentArrayOutputWithContext(ctx context.Context) VpnGatewayAttachmentArrayOutput
- type VpnGatewayAttachmentInput
- type VpnGatewayAttachmentMap
- type VpnGatewayAttachmentMapInput
- type VpnGatewayAttachmentMapOutput
- func (VpnGatewayAttachmentMapOutput) ElementType() reflect.Type
- func (o VpnGatewayAttachmentMapOutput) MapIndex(k pulumi.StringInput) VpnGatewayAttachmentOutput
- func (o VpnGatewayAttachmentMapOutput) ToVpnGatewayAttachmentMapOutput() VpnGatewayAttachmentMapOutput
- func (o VpnGatewayAttachmentMapOutput) ToVpnGatewayAttachmentMapOutputWithContext(ctx context.Context) VpnGatewayAttachmentMapOutput
- type VpnGatewayAttachmentOutput
- type VpnGatewayAttachmentState
- type VpnGatewayInput
- type VpnGatewayMap
- type VpnGatewayMapInput
- type VpnGatewayMapOutput
- func (VpnGatewayMapOutput) ElementType() reflect.Type
- func (o VpnGatewayMapOutput) MapIndex(k pulumi.StringInput) VpnGatewayOutput
- func (o VpnGatewayMapOutput) ToVpnGatewayMapOutput() VpnGatewayMapOutput
- func (o VpnGatewayMapOutput) ToVpnGatewayMapOutputWithContext(ctx context.Context) VpnGatewayMapOutput
- type VpnGatewayOutput
- type VpnGatewayRoutePropagation
- func (*VpnGatewayRoutePropagation) ElementType() reflect.Type
- func (i *VpnGatewayRoutePropagation) ToVpnGatewayRoutePropagationOutput() VpnGatewayRoutePropagationOutput
- func (i *VpnGatewayRoutePropagation) ToVpnGatewayRoutePropagationOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationOutput
- type VpnGatewayRoutePropagationArgs
- type VpnGatewayRoutePropagationArray
- func (VpnGatewayRoutePropagationArray) ElementType() reflect.Type
- func (i VpnGatewayRoutePropagationArray) ToVpnGatewayRoutePropagationArrayOutput() VpnGatewayRoutePropagationArrayOutput
- func (i VpnGatewayRoutePropagationArray) ToVpnGatewayRoutePropagationArrayOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationArrayOutput
- type VpnGatewayRoutePropagationArrayInput
- type VpnGatewayRoutePropagationArrayOutput
- func (VpnGatewayRoutePropagationArrayOutput) ElementType() reflect.Type
- func (o VpnGatewayRoutePropagationArrayOutput) Index(i pulumi.IntInput) VpnGatewayRoutePropagationOutput
- func (o VpnGatewayRoutePropagationArrayOutput) ToVpnGatewayRoutePropagationArrayOutput() VpnGatewayRoutePropagationArrayOutput
- func (o VpnGatewayRoutePropagationArrayOutput) ToVpnGatewayRoutePropagationArrayOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationArrayOutput
- type VpnGatewayRoutePropagationInput
- type VpnGatewayRoutePropagationMap
- func (VpnGatewayRoutePropagationMap) ElementType() reflect.Type
- func (i VpnGatewayRoutePropagationMap) ToVpnGatewayRoutePropagationMapOutput() VpnGatewayRoutePropagationMapOutput
- func (i VpnGatewayRoutePropagationMap) ToVpnGatewayRoutePropagationMapOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationMapOutput
- type VpnGatewayRoutePropagationMapInput
- type VpnGatewayRoutePropagationMapOutput
- func (VpnGatewayRoutePropagationMapOutput) ElementType() reflect.Type
- func (o VpnGatewayRoutePropagationMapOutput) MapIndex(k pulumi.StringInput) VpnGatewayRoutePropagationOutput
- func (o VpnGatewayRoutePropagationMapOutput) ToVpnGatewayRoutePropagationMapOutput() VpnGatewayRoutePropagationMapOutput
- func (o VpnGatewayRoutePropagationMapOutput) ToVpnGatewayRoutePropagationMapOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationMapOutput
- type VpnGatewayRoutePropagationOutput
- func (VpnGatewayRoutePropagationOutput) ElementType() reflect.Type
- func (o VpnGatewayRoutePropagationOutput) ToVpnGatewayRoutePropagationOutput() VpnGatewayRoutePropagationOutput
- func (o VpnGatewayRoutePropagationOutput) ToVpnGatewayRoutePropagationOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationOutput
- type VpnGatewayRoutePropagationState
- type VpnGatewayState
Constants ¶
const ( InstancePlatformLinuxUnix = InstancePlatform("Linux/UNIX") InstancePlatformRedHatEnterpriseLinux = InstancePlatform("Red Hat Enterprise Linux") InstancePlatformSuseLinux = InstancePlatform("SUSE Linux") InstancePlatformWindows = InstancePlatform("Windows") InstancePlatformWindowsWithSqlServer = InstancePlatform("Windows with SQL Server") InstancePlatformWindowsWithSqlServerEnterprise = InstancePlatform("Windows with SQL Server Enterprise") InstancePlatformWindowsWithSqlServerStandard = InstancePlatform("Windows with SQL Server Standard") InstancePlatformWindowsWithSqlServerWeb = InstancePlatform("Windows with SQL Server Web") )
const ( InstanceType_A1_2XLarge = InstanceType("a1.2xlarge") InstanceType_A1_4XLarge = InstanceType("a1.4xlarge") InstanceType_A1_Large = InstanceType("a1.large") InstanceType_A1_Medium = InstanceType("a1.medium") InstanceType_A1_Metal = InstanceType("a1.metal") InstanceType_A1_XLarge = InstanceType("a1.xlarge") InstanceType_C1_Medium = InstanceType("c1.medium") InstanceType_C1_XLarge = InstanceType("c1.xlarge") InstanceType_C3_2XLarge = InstanceType("c3.2xlarge") InstanceType_C3_4XLarge = InstanceType("c3.4xlarge") InstanceType_C3_8XLarge = InstanceType("c3.8xlarge") InstanceType_C3_Large = InstanceType("c3.large") InstanceType_C3_XLarge = InstanceType("c3.xlarge") InstanceType_C4_2XLarge = InstanceType("c4.2xlarge") InstanceType_C4_4XLarge = InstanceType("c4.4xlarge") InstanceType_C4_8XLarge = InstanceType("c4.8xlarge") InstanceType_C4_Large = InstanceType("c4.large") InstanceType_C4_XLarge = InstanceType("c4.xlarge") InstanceType_C5_12XLarge = InstanceType("c5.12xlarge") InstanceType_C5_18XLarge = InstanceType("c5.18xlarge") InstanceType_C5_24XLarge = InstanceType("c5.24xlarge") InstanceType_C5_2XLarge = InstanceType("c5.2xlarge") InstanceType_C5_4XLarge = InstanceType("c5.4xlarge") InstanceType_C5_9XLarge = InstanceType("c5.9xlarge") InstanceType_C5_Large = InstanceType("c5.large") InstanceType_C5_Metal = InstanceType("c5.metal") InstanceType_C5_XLarge = InstanceType("c5.xlarge") InstanceType_C5a_12XLarge = InstanceType("c5a.12xlarge") InstanceType_C5a_16XLarge = InstanceType("c5a.16xlarge") InstanceType_C5a_24XLarge = InstanceType("c5a.24xlarge") InstanceType_C5a_2XLarge = InstanceType("c5a.2xlarge") InstanceType_C5a_4XLarge = InstanceType("c5a.4xlarge") InstanceType_C5a_8XLarge = InstanceType("c5a.8xlarge") InstanceType_C5a_Large = InstanceType("c5a.large") InstanceType_C5a_XLarge = InstanceType("c5a.xlarge") InstanceType_C5ad_12XLarge = InstanceType("c5ad.12xlarge") InstanceType_C5ad_16XLarge = InstanceType("c5ad.16xlarge") InstanceType_C5ad_24XLarge = InstanceType("c5ad.24xlarge") InstanceType_C5ad_2XLarge = InstanceType("c5ad.2xlarge") InstanceType_C5ad_4XLarge = InstanceType("c5ad.4xlarge") InstanceType_C5ad_8XLarge = InstanceType("c5ad.8xlarge") InstanceType_C5ad_Large = InstanceType("c5ad.large") InstanceType_C5ad_XLarge = InstanceType("c5ad.xlarge") InstanceType_C5d_12XLarge = InstanceType("c5d.12xlarge") InstanceType_C5d_18XLarge = InstanceType("c5d.18xlarge") InstanceType_C5d_24XLarge = InstanceType("c5d.24xlarge") InstanceType_C5d_2XLarge = InstanceType("c5d.2xlarge") InstanceType_C5d_4XLarge = InstanceType("c5d.4xlarge") InstanceType_C5d_9XLarge = InstanceType("c5d.9xlarge") InstanceType_C5d_Large = InstanceType("c5d.large") InstanceType_C5d_Metal = InstanceType("c5d.metal") InstanceType_C5d_XLarge = InstanceType("c5d.xlarge") InstanceType_C5n_18XLarge = InstanceType("c5n.18xlarge") InstanceType_C5n_2XLarge = InstanceType("c5n.2xlarge") InstanceType_C5n_4XLarge = InstanceType("c5n.4xlarge") InstanceType_C5n_9XLarge = InstanceType("c5n.9xlarge") InstanceType_C5n_Large = InstanceType("c5n.large") InstanceType_C5n_Metal = InstanceType("c5n.metal") InstanceType_C5n_XLarge = InstanceType("c5n.xlarge") InstanceType_C6g_12XLarge = InstanceType("c6g.12xlarge") InstanceType_C6g_16XLarge = InstanceType("c6g.16xlarge") InstanceType_C6g_2XLarge = InstanceType("c6g.2xlarge") InstanceType_C6g_4XLarge = InstanceType("c6g.4xlarge") InstanceType_C6g_8XLarge = InstanceType("c6g.8xlarge") InstanceType_C6g_Large = InstanceType("c6g.large") InstanceType_C6g_Medium = InstanceType("c6g.medium") InstanceType_C6g_Metal = InstanceType("c6g.metal") InstanceType_C6g_XLarge = InstanceType("c6g.xlarge") InstanceType_C6gd_12XLarge = InstanceType("c6gd.12xlarge") InstanceType_C6gd_16XLarge = InstanceType("c6gd.16xlarge") InstanceType_C6gd_2XLarge = InstanceType("c6gd.2xlarge") InstanceType_C6gd_4XLarge = InstanceType("c6gd.4xlarge") InstanceType_C6gd_8XLarge = InstanceType("c6gd.8xlarge") InstanceType_C6gd_Large = InstanceType("c6gd.large") InstanceType_C6gd_Medium = InstanceType("c6gd.medium") InstanceType_C6gd_Metal = InstanceType("c6gd.metal") InstanceType_C6gd_XLarge = InstanceType("c6gd.xlarge") InstanceType_Cc2_8XLarge = InstanceType("cc2.8xlarge") InstanceType_D2_2XLarge = InstanceType("d2.2xlarge") InstanceType_D2_4XLarge = InstanceType("d2.4xlarge") InstanceType_D2_8XLarge = InstanceType("d2.8xlarge") InstanceType_D2_XLarge = InstanceType("d2.xlarge") InstanceType_D3_2XLarge = InstanceType("d3.2xlarge") InstanceType_D3_4XLarge = InstanceType("d3.4xlarge") InstanceType_D3_8XLarge = InstanceType("d3.8xlarge") InstanceType_D3_XLarge = InstanceType("d3.xlarge") InstanceType_D3en_12XLarge = InstanceType("d3en.12xlarge") InstanceType_D3en_2XLarge = InstanceType("d3en.2xlarge") InstanceType_D3en_4XLarge = InstanceType("d3en.4xlarge") InstanceType_D3en_6XLarge = InstanceType("d3en.6xlarge") InstanceType_D3en_8XLarge = InstanceType("d3en.8xlarge") InstanceType_D3en_XLarge = InstanceType("d3en.xlarge") InstanceType_F1_16XLarge = InstanceType("f1.16xlarge") InstanceType_F1_2XLarge = InstanceType("f1.2xlarge") InstanceType_F1_4XLarge = InstanceType("f1.4xlarge") InstanceType_G2_2XLarge = InstanceType("g2.2xlarge") InstanceType_G2_8XLarge = InstanceType("g2.8xlarge") InstanceType_G3_16XLarge = InstanceType("g3.16xlarge") InstanceType_G3_4XLarge = InstanceType("g3.4xlarge") InstanceType_G3_8XLarge = InstanceType("g3.8xlarge") InstanceType_G3s_XLarge = InstanceType("g3s.xlarge") InstanceType_G4ad_16XLarge = InstanceType("g4ad.16xlarge") InstanceType_G4ad_XLarge = InstanceType("g4ad.xlarge") InstanceType_G4ad_2XLarge = InstanceType("g4ad.2xlarge") InstanceType_G4ad_4XLarge = InstanceType("g4ad.4xlarge") InstanceType_G4ad_8XLarge = InstanceType("g4ad.8xlarge") InstanceType_G4dn_12XLarge = InstanceType("g4dn.12xlarge") InstanceType_G4dn_16XLarge = InstanceType("g4dn.16xlarge") InstanceType_G4dn_2XLarge = InstanceType("g4dn.2xlarge") InstanceType_G4dn_4XLarge = InstanceType("g4dn.4xlarge") InstanceType_G4dn_8XLarge = InstanceType("g4dn.8xlarge") InstanceType_G4dn_Metal = InstanceType("g4dn.metal") InstanceType_G4dn_XLarge = InstanceType("g4dn.xlarge") InstanceType_H1_16XLarge = InstanceType("h1.16xlarge") InstanceType_H1_2XLarge = InstanceType("h1.2xlarge") InstanceType_H1_4XLarge = InstanceType("h1.4xlarge") InstanceType_H1_8XLarge = InstanceType("h1.8xlarge") InstanceType_I2_2XLarge = InstanceType("i2.2xlarge") InstanceType_I2_4XLarge = InstanceType("i2.4xlarge") InstanceType_I2_8XLarge = InstanceType("i2.8xlarge") InstanceType_I2_XLarge = InstanceType("i2.xlarge") InstanceType_I3_16XLarge = InstanceType("i3.16xlarge") InstanceType_I3_2XLarge = InstanceType("i3.2xlarge") InstanceType_I3_4XLarge = InstanceType("i3.4xlarge") InstanceType_I3_8XLarge = InstanceType("i3.8xlarge") InstanceType_I3_Large = InstanceType("i3.large") InstanceType_I3_XLarge = InstanceType("i3.xlarge") InstanceType_I3_Metal = InstanceType("i3.metal") InstanceType_I3en_12XLarge = InstanceType("i3en.12xlarge") InstanceType_I3en_24XLarge = InstanceType("i3en.24xlarge") InstanceType_I3en_2XLarge = InstanceType("i3en.2xlarge") InstanceType_I3en_3XLarge = InstanceType("i3en.3xlarge") InstanceType_I3en_6XLarge = InstanceType("i3en.6xlarge") InstanceType_I3en_Large = InstanceType("i3en.large") InstanceType_I3en_Metal = InstanceType("i3en.metal") InstanceType_I3en_XLarge = InstanceType("i3en.xlarge") InstanceType_Inf1_24XLarge = InstanceType("inf1.24xlarge") InstanceType_Inf1_2XLarge = InstanceType("inf1.2xlarge") InstanceType_Inf1_6XLarge = InstanceType("inf1.6xlarge") InstanceType_Inf1_XLarge = InstanceType("inf1.xlarge") InstanceType_M1_Large = InstanceType("m1.large") InstanceType_M1_Medium = InstanceType("m1.medium") InstanceType_M1_Small = InstanceType("m1.small") InstanceType_M1_XLarge = InstanceType("m1.xlarge") InstanceType_M2_2XLarge = InstanceType("m2.2xlarge") InstanceType_M2_4XLarge = InstanceType("m2.4xlarge") InstanceType_M2_XLarge = InstanceType("m2.xlarge") InstanceType_M3_2XLarge = InstanceType("m3.2xlarge") InstanceType_M3_Large = InstanceType("m3.large") InstanceType_M3_Medium = InstanceType("m3.medium") InstanceType_M3_XLarge = InstanceType("m3.xlarge") InstanceType_M4_10XLarge = InstanceType("m4.10xlarge") InstanceType_M4_16XLarge = InstanceType("m4.16xlarge") InstanceType_M4_2XLarge = InstanceType("m4.2xlarge") InstanceType_M4_4XLarge = InstanceType("m4.4xlarge") InstanceType_M4_Large = InstanceType("m4.large") InstanceType_M4_XLarge = InstanceType("m4.xlarge") InstanceType_M5_12XLarge = InstanceType("m5.12xlarge") InstanceType_M5_16XLarge = InstanceType("m5.16xlarge") InstanceType_M5_24XLarge = InstanceType("m5.24xlarge") InstanceType_M5_2XLarge = InstanceType("m5.2xlarge") InstanceType_M5_4XLarge = InstanceType("m5.4xlarge") InstanceType_M5_8XLarge = InstanceType("m5.8xlarge") InstanceType_M5_Large = InstanceType("m5.large") InstanceType_M5_Metal = InstanceType("m5.metal") InstanceType_M5_XLarge = InstanceType("m5.xlarge") InstanceType_M5a_12XLarge = InstanceType("m5a.12xlarge") InstanceType_M5a_16XLarge = InstanceType("m5a.16xlarge") InstanceType_M5a_24XLarge = InstanceType("m5a.24xlarge") InstanceType_M5a_2XLarge = InstanceType("m5a.2xlarge") InstanceType_M5a_4XLarge = InstanceType("m5a.4xlarge") InstanceType_M5a_8XLarge = InstanceType("m5a.8xlarge") InstanceType_M5a_Large = InstanceType("m5a.large") InstanceType_M5a_XLarge = InstanceType("m5a.xlarge") InstanceType_M5ad_12XLarge = InstanceType("m5ad.12xlarge") InstanceType_M5ad_16XLarge = InstanceType("m5ad.16xlarge") InstanceType_M5ad_24XLarge = InstanceType("m5ad.24xlarge") InstanceType_M5ad_2XLarge = InstanceType("m5ad.2xlarge") InstanceType_M5ad_4XLarge = InstanceType("m5ad.4xlarge") InstanceType_M5ad_8XLarge = InstanceType("m5ad.8xlarge") InstanceType_M5ad_Large = InstanceType("m5ad.large") InstanceType_M5as_XLarge = InstanceType("m5ad.xlarge") InstanceType_M5d_12XLarge = InstanceType("m5d.12xlarge") InstanceType_M5d_16XLarge = InstanceType("m5d.16xlarge") InstanceType_M5d_24XLarge = InstanceType("m5d.24xlarge") InstanceType_M5d_2XLarge = InstanceType("m5d.2xlarge") InstanceType_M5d_4XLarge = InstanceType("m5d.4xlarge") InstanceType_M5d_8XLarge = InstanceType("m5d.8xlarge") InstanceType_M5d_Large = InstanceType("m5d.large") InstanceType_M5d_Metal = InstanceType("m5d.metal") InstanceType_M5d_XLarge = InstanceType("m5d.xlarge") InstanceType_M5dn_12XLarge = InstanceType("m5dn.12xlarge") InstanceType_M5dn_16XLarge = InstanceType("m5dn.16xlarge") InstanceType_M5dn_24XLarge = InstanceType("m5dn.24xlarge") InstanceType_M5dn_2XLarge = InstanceType("m5dn.2xlarge") InstanceType_M5dn_4XLarge = InstanceType("m5dn.4xlarge") InstanceType_M5dn_8XLarge = InstanceType("m5dn.8xlarge") InstanceType_M5dn_Large = InstanceType("m5dn.large") InstanceType_M5dn_XLarge = InstanceType("m5dn.xlarge") InstanceType_M5n_12XLarge = InstanceType("m5n.12xlarge") InstanceType_M5n_16XLarge = InstanceType("m5n.16xlarge") InstanceType_M5n_24XLarge = InstanceType("m5n.24xlarge") InstanceType_M5n_2XLarge = InstanceType("m5n.2xlarge") InstanceType_M5n_4XLarge = InstanceType("m5n.4xlarge") InstanceType_M5n_8XLarge = InstanceType("m5n.8xlarge") InstanceType_M5n_Large = InstanceType("m5n.large") InstanceType_M5n_XLarge = InstanceType("m5n.xlarge") InstanceType_M5zn_12XLarge = InstanceType("m5zn.12xlarge") InstanceType_M5zn_2XLarge = InstanceType("m5zn.2xlarge") InstanceType_M5zn_3XLarge = InstanceType("m5zn.3xlarge") InstanceType_M5zn_6XLarge = InstanceType("m5zn.6xlarge") InstanceType_M5zn_Large = InstanceType("m5zn.large") InstanceType_M5zn_Metal = InstanceType("m5zn.metal") InstanceType_M5zn_XLarge = InstanceType("m5zn.xlarge") InstanceType_M6a_Large = InstanceType("m6a.large") InstanceType_M6a_XLarge = InstanceType("m6a.xlarge") InstanceType_M6a_2XLarge = InstanceType("m6a.2xlarge") InstanceType_M6a_4XLarge = InstanceType("m6a.4xlarge") InstanceType_M6a_8XLarge = InstanceType("m6a.8xlarge") InstanceType_M6a_12XLarge = InstanceType("m6a.12xlarge") InstanceType_M6a_16XLarge = InstanceType("m6a.16xlarge") InstanceType_M6a_24XLarge = InstanceType("m6a.24xlarge") InstanceType_M6a_32XLarge = InstanceType("m6a.32xlarge") InstanceType_M6a_48XLarge = InstanceType("m6a.48xlarge") InstanceType_M6g_12XLarge = InstanceType("m6g.12xlarge") InstanceType_M6g_16XLarge = InstanceType("m6g.16xlarge") InstanceType_M6g_2XLarge = InstanceType("m6g.2xlarge") InstanceType_M6g_4XLarge = InstanceType("m6g.4xlarge") InstanceType_M6g_8XLarge = InstanceType("m6g.8xlarge") InstanceType_M6g_Large = InstanceType("m6g.large") InstanceType_M6g_Medium = InstanceType("m6g.medium") InstanceType_M6g_Metal = InstanceType("m6g.metal") InstanceType_M6g_XLarge = InstanceType("m6g.xlarge") InstanceType_M6gd_12XLarge = InstanceType("m6gd.12xlarge") InstanceType_M6gd_16XLarge = InstanceType("m6gd.16xlarge") InstanceType_M6gd_2XLarge = InstanceType("m6gd.2xlarge") InstanceType_M6gd_4XLarge = InstanceType("m6gd.4xlarge") InstanceType_M6gd_8XLarge = InstanceType("m6gd.8xlarge") InstanceType_M6gd_Large = InstanceType("m6gd.large") InstanceType_M6gd_Medium = InstanceType("m6gd.medium") InstanceType_M6gd_Metal = InstanceType("m6gd.metal") InstanceType_M6gd_XLarge = InstanceType("m6gd.xlarge") InstanceType_M6i_Large = InstanceType("m6i.large") InstanceType_M6i_XLarge = InstanceType("m6i.xlarge") InstanceType_M6i_2XLarge = InstanceType("m6i.2xlarge") InstanceType_M6i_4XLarge = InstanceType("m6i.4xlarge") InstanceType_M6i_8XLarge = InstanceType("m6i.8xlarge") InstanceType_M6i_12XLarge = InstanceType("m6i.12xlarge") InstanceType_M6i_16XLarge = InstanceType("m6i.16xlarge") InstanceType_M6i_24XLarge = InstanceType("m6i.24xlarge") InstanceType_M6i_32XLarge = InstanceType("m6i.32xlarge") InstanceType_M6i_Metal = InstanceType("m6i.metal") InstanceType_Mac1_Metal = InstanceType("mac1.metal") InstanceType_P2_16XLarge = InstanceType("p2.16xlarge") InstanceType_P2_8XLarge = InstanceType("p2.8xlarge") InstanceType_P2_XLarge = InstanceType("p2.xlarge") InstanceType_P3_16XLarge = InstanceType("p3.16xlarge") InstanceType_P3_2XLarge = InstanceType("p3.2xlarge") InstanceType_P3_8XLarge = InstanceType("p3.8xlarge") InstanceType_P3dn_24XLarge = InstanceType("p3dn.24xlarge") InstanceType_P4d_24XLarge = InstanceType("p4d.24xlarge") InstanceType_R3_2XLarge = InstanceType("r3.2xlarge") InstanceType_R3_4XLarge = InstanceType("r3.4xlarge") InstanceType_R3_8XLarge = InstanceType("r3.8xlarge") InstanceType_R3_Large = InstanceType("r3.large") InstanceType_R3_XLarge = InstanceType("r3.xlarge") InstanceType_R4_16XLarge = InstanceType("r4.16xlarge") InstanceType_R4_2XLarge = InstanceType("r4.2xlarge") InstanceType_R4_4XLarge = InstanceType("r4.4xlarge") InstanceType_R4_8XLarge = InstanceType("r4.8xlarge") InstanceType_R4_Large = InstanceType("r4.large") InstanceType_R4_XLarge = InstanceType("r4.xlarge") InstanceType_R5_12XLarge = InstanceType("r5.12xlarge") InstanceType_R5_16XLarge = InstanceType("r5.16xlarge") InstanceType_R5_24XLarge = InstanceType("r5.24xlarge") InstanceType_R5_2XLarge = InstanceType("r5.2xlarge") InstanceType_R5_4XLarge = InstanceType("r5.4xlarge") InstanceType_R5_8XLarge = InstanceType("r5.8xlarge") InstanceType_R5_Large = InstanceType("r5.large") InstanceType_R5_Metal = InstanceType("r5.metal") InstanceType_R5_XLarge = InstanceType("r5.xlarge") InstanceType_R5a_12XLarge = InstanceType("r5a.12xlarge") InstanceType_R5a_16XLarge = InstanceType("r5a.16xlarge") InstanceType_R5a_24XLarge = InstanceType("r5a.24xlarge") InstanceType_R5a_2XLarge = InstanceType("r5a.2xlarge") InstanceType_R5a_4XLarge = InstanceType("r5a.4xlarge") InstanceType_R5a_8XLarge = InstanceType("r5a.8xlarge") InstanceType_R5a_Large = InstanceType("r5a.large") InstanceType_R5a_XLarge = InstanceType("r5a.xlarge") InstanceType_R5ad_12XLarge = InstanceType("r5ad.12xlarge") InstanceType_R5ad_16XLarge = InstanceType("r5ad.16xlarge") InstanceType_R5ad_24XLarge = InstanceType("r5ad.24xlarge") InstanceType_R5ad_2XLarge = InstanceType("r5ad.2xlarge") InstanceType_R5ad_4XLarge = InstanceType("r5ad.4xlarge") InstanceType_R5ad_8XLarge = InstanceType("r5ad.8xlarge") InstanceType_R5ad_Large = InstanceType("r5ad.large") InstanceType_R5ad_XLarge = InstanceType("r5ad.xlarge") InstanceType_R5b_12XLarge = InstanceType("r5b.12xlarge") InstanceType_R5b_16XLarge = InstanceType("r5b.16xlarge") InstanceType_R5b_24XLarge = InstanceType("r5b.24xlarge") InstanceType_R5b_2XLarge = InstanceType("r5b.2xlarge") InstanceType_R5b_4XLarge = InstanceType("r5b.4xlarge") InstanceType_R5b_8XLarge = InstanceType("r5b.8xlarge") InstanceType_R5b_Large = InstanceType("r5b.large") InstanceType_R5b_Metal = InstanceType("r5b.metal") InstanceType_R5b_XLarge = InstanceType("r5b.xlarge") InstanceType_R5d_12XLarge = InstanceType("r5d.12xlarge") InstanceType_R5d_16XLarge = InstanceType("r5d.16xlarge") InstanceType_R5d_24XLarge = InstanceType("r5d.24xlarge") InstanceType_R5d_2XLarge = InstanceType("r5d.2xlarge") InstanceType_R5d_4XLarge = InstanceType("r5d.4xlarge") InstanceType_R5d_8XLarge = InstanceType("r5d.8xlarge") InstanceType_R5d_Large = InstanceType("r5d.large") InstanceType_R5d_Metal = InstanceType("r5d.metal") InstanceType_R5d_XLarge = InstanceType("r5d.xlarge") InstanceType_R5dn_12XLarge = InstanceType("r5dn.12xlarge") InstanceType_R5dn_16XLarge = InstanceType("r5dn.16xlarge") InstanceType_R5dn_24XLarge = InstanceType("r5dn.24xlarge") InstanceType_R5dn_2XLarge = InstanceType("r5dn.2xlarge") InstanceType_R5dn_4XLarge = InstanceType("r5dn.4xlarge") InstanceType_R5dn_8XLarge = InstanceType("r5dn.8xlarge") InstanceType_R5dn_Large = InstanceType("r5dn.large") InstanceType_R5dn_XLarge = InstanceType("r5dn.xlarge") InstanceType_R5n_12XLarge = InstanceType("r5n.12xlarge") InstanceType_R5n_16XLarge = InstanceType("r5n.16xlarge") InstanceType_R5n_24XLarge = InstanceType("r5n.24xlarge") InstanceType_R5n_2XLarge = InstanceType("r5n.2xlarge") InstanceType_R5n_4XLarge = InstanceType("r5n.4xlarge") InstanceType_R5n_8XLarge = InstanceType("r5n.8xlarge") InstanceType_R5n_Large = InstanceType("r5n.large") InstanceType_R5n_XLarge = InstanceType("r5n.xlarge") InstanceType_R6g_12XLarge = InstanceType("r6g.12xlarge") InstanceType_R6g_16XLarge = InstanceType("r6g.16xlarge") InstanceType_R6g_2XLarge = InstanceType("r6g.2xlarge") InstanceType_R6g_4XLarge = InstanceType("r6g.4xlarge") InstanceType_R6g_8XLarge = InstanceType("r6g.8xlarge") InstanceType_R6g_Large = InstanceType("r6g.large") InstanceType_R6g_Medium = InstanceType("r6g.medium") InstanceType_R6g_Metal = InstanceType("r6g.metal") InstanceType_R6g_XLarge = InstanceType("r6g.xlarge") InstanceType_R6gd_12XLarge = InstanceType("r6gd.12xlarge") InstanceType_R6gd_16XLarge = InstanceType("r6gd.16xlarge") InstanceType_R6gd_2XLarge = InstanceType("r6gd.2xlarge") InstanceType_R6gd_4XLarge = InstanceType("r6gd.4xlarge") InstanceType_R6gd_8XLarge = InstanceType("r6gd.8xlarge") InstanceType_R6gd_Large = InstanceType("r6gd.large") InstanceType_R6gd_Medium = InstanceType("r6gd.medium") InstanceType_R6gd_Metal = InstanceType("r6gd.metal") InstanceType_R6gd_XLarge = InstanceType("r6gd.xlarge") InstanceType_T1_Micro = InstanceType("t1.micro") InstanceType_T2_2XLarge = InstanceType("t2.2xlarge") InstanceType_T2_Large = InstanceType("t2.large") InstanceType_T2_Medium = InstanceType("t2.medium") InstanceType_T2_Micro = InstanceType("t2.micro") InstanceType_T2_Nano = InstanceType("t2.nano") InstanceType_T2_Small = InstanceType("t2.small") InstanceType_T2_XLarge = InstanceType("t2.xlarge") InstanceType_T3_2XLarge = InstanceType("t3.2xlarge") InstanceType_T3_Large = InstanceType("t3.large") InstanceType_T3_Medium = InstanceType("t3.medium") InstanceType_T3_Micro = InstanceType("t3.micro") InstanceType_T3_Nano = InstanceType("t3.nano") InstanceType_T3_Small = InstanceType("t3.small") InstanceType_T3_XLarge = InstanceType("t3.xlarge") InstanceType_T3a_2XLarge = InstanceType("t3a.2xlarge") InstanceType_T3a_Large = InstanceType("t3a.large") InstanceType_T3a_Medium = InstanceType("t3a.medium") InstanceType_T3a_Micro = InstanceType("t3a.micro") InstanceType_T3a_Nano = InstanceType("t3a.nano") InstanceType_T3a_Small = InstanceType("t3a.small") InstanceType_T3a_XLarge = InstanceType("t3a.xlarge") InstanceType_T4g_2XLarge = InstanceType("t4g.2xlarge") InstanceType_T4g_Large = InstanceType("t4g.large") InstanceType_T4g_Medium = InstanceType("t4g.medium") InstanceType_T4g_Micro = InstanceType("t4g.micro") InstanceType_T4g_Nano = InstanceType("t4g.nano") InstanceType_T4g_Small = InstanceType("t4g.small") InstanceType_T4g_XLarge = InstanceType("t4g.xlarge") InstanceType_X1_16XLarge = InstanceType("x1.16xlarge") InstanceType_X1_32XLarge = InstanceType("x1.32xlarge") InstanceType_X1e_16XLarge = InstanceType("x1e.16xlarge") InstanceType_X1e_2XLarge = InstanceType("x1e.2xlarge") InstanceType_X1e_32XLarge = InstanceType("x1e.32xlarge") InstanceType_X1e_4XLarge = InstanceType("x1e.4xlarge") InstanceType_X1e_8XLarge = InstanceType("x1e.8xlarge") InstanceType_X1e_XLarge = InstanceType("x1e.xlarge") InstanceType_Z1d_12XLarge = InstanceType("z1d.12xlarge") InstanceType_Z1d_2XLarge = InstanceType("z1d.2xlarge") InstanceType_Z1d_3XLarge = InstanceType("z1d.3xlarge") InstanceType_Z1d_6XLarge = InstanceType("z1d.6xlarge") InstanceType_Z1d_Large = InstanceType("z1d.large") InstanceType_Z1d_Metal = InstanceType("z1d.metal") InstanceType_Z1d_XLarge = InstanceType("z1d.xlarge") // Deprecated: This instancetype has been deprecated InstanceType_U_12tb1Metal = InstanceType("u-12tb1.metal") // Deprecated: This instancetype has been deprecated InstanceType_U_6tb1Metal = InstanceType("u-6tb1.metal") // Deprecated: This instancetype has been deprecated InstanceType_U_9tb1Metal = InstanceType("u-9tb1.metal") // Deprecated: This instancetype has been deprecated InstanceType_Hs1_8XLarge = InstanceType("hs1.8xlarge") )
const ( // A `spread` placement group places instances on distinct hardware. PlacementStrategySpread = PlacementStrategy("spread") // A `cluster` placement group is a logical grouping of instances within a single // Availability Zone that benefit from low network latency, high network throughput. PlacementStrategyCluster = PlacementStrategy("cluster") )
const ( ProtocolTypeAll = ProtocolType("all") ProtocolTypeTCP = ProtocolType("tcp") ProtocolTypeUDP = ProtocolType("udp") ProtocolTypeICMP = ProtocolType("icmp") )
const ( TenancyDefault = Tenancy("default") TenancyDedicated = Tenancy("dedicated") )
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package.
Types ¶
type Ami ¶
type Ami struct {
pulumi.CustomResourceState
// Machine architecture for created instances. Defaults to "x8664".
Architecture pulumi.StringPtrOutput `pulumi:"architecture"`
// The ARN of the AMI.
Arn pulumi.StringOutput `pulumi:"arn"`
// The boot mode of the AMI. For more information, see [Boot modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon Elastic Compute Cloud User Guide.
BootMode pulumi.StringPtrOutput `pulumi:"bootMode"`
// 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"`
// The hypervisor type of the image.
Hypervisor pulumi.StringOutput `pulumi:"hypervisor"`
// 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 AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.
ImageOwnerAlias pulumi.StringOutput `pulumi:"imageOwnerAlias"`
// The type of image.
ImageType pulumi.StringOutput `pulumi:"imageType"`
// 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 AWS account ID of the image owner.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// This value is set to windows for Windows AMIs; otherwise, it is blank.
Platform pulumi.StringOutput `pulumi:"platform"`
// The platform details associated with the billing code of the AMI.
PlatformDetails pulumi.StringOutput `pulumi:"platformDetails"`
// Indicates whether the image has public launch permissions.
Public pulumi.BoolOutput `pulumi:"public"`
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
UsageOperation pulumi.StringOutput `pulumi:"usageOperation"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewAmi(ctx, "example", &ec2.AmiArgs{
EbsBlockDevices: ec2.AmiEbsBlockDeviceArray{
&ec2.AmiEbsBlockDeviceArgs{
DeviceName: pulumi.String("/dev/xvda"),
SnapshotId: pulumi.String("snap-xxxxxxxx"),
VolumeSize: pulumi.Int(8),
},
},
RootDeviceName: pulumi.String("/dev/xvda"),
VirtualizationType: pulumi.String("hvm"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_ami` can be imported using the ID of the AMI, e.g.,
```sh
$ pulumi import aws:ec2/ami:Ami example ami-12345678
```
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.
func (*Ami) ElementType ¶
func (*Ami) ToAmiOutput ¶
type AmiArgs ¶
type AmiArgs struct {
// Machine architecture for created instances. Defaults to "x8664".
Architecture pulumi.StringPtrInput
// The boot mode of the AMI. For more information, see [Boot modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon Elastic Compute Cloud User Guide.
BootMode 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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 ¶
type AmiArray ¶
type AmiArray []AmiInput
func (AmiArray) ElementType ¶
func (AmiArray) ToAmiArrayOutput ¶
func (i AmiArray) ToAmiArrayOutput() AmiArrayOutput
func (AmiArray) ToAmiArrayOutputWithContext ¶
func (i AmiArray) ToAmiArrayOutputWithContext(ctx context.Context) AmiArrayOutput
type AmiArrayInput ¶
type AmiArrayInput interface {
pulumi.Input
ToAmiArrayOutput() AmiArrayOutput
ToAmiArrayOutputWithContext(context.Context) AmiArrayOutput
}
AmiArrayInput is an input type that accepts AmiArray and AmiArrayOutput values. You can construct a concrete instance of `AmiArrayInput` via:
AmiArray{ AmiArgs{...} }
type AmiArrayOutput ¶
type AmiArrayOutput struct{ *pulumi.OutputState }
func (AmiArrayOutput) ElementType ¶
func (AmiArrayOutput) ElementType() reflect.Type
func (AmiArrayOutput) ToAmiArrayOutput ¶
func (o AmiArrayOutput) ToAmiArrayOutput() AmiArrayOutput
func (AmiArrayOutput) ToAmiArrayOutputWithContext ¶
func (o AmiArrayOutput) ToAmiArrayOutputWithContext(ctx context.Context) AmiArrayOutput
type AmiCopy ¶
type AmiCopy struct {
pulumi.CustomResourceState
// Machine architecture for created instances. Defaults to "x8664".
Architecture pulumi.StringOutput `pulumi:"architecture"`
// The ARN of the AMI.
Arn pulumi.StringOutput `pulumi:"arn"`
// The boot mode of the AMI. For more information, see [Boot modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon Elastic Compute Cloud User Guide.
BootMode pulumi.StringOutput `pulumi:"bootMode"`
// A longer, human-readable description for the AMI.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The ARN of the Outpost to which to copy the AMI.
// Only specify this parameter when copying an AMI from an AWS Region to an Outpost. The AMI must be in the Region of the destination Outpost.
DestinationOutpostArn pulumi.StringPtrOutput `pulumi:"destinationOutpostArn"`
// 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"`
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
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"`
Hypervisor pulumi.StringOutput `pulumi:"hypervisor"`
// 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"`
ImageOwnerAlias pulumi.StringOutput `pulumi:"imageOwnerAlias"`
ImageType pulumi.StringOutput `pulumi:"imageType"`
// 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 AWS Key Management Service (AWS KMS) CMK to use when encrypting the snapshots of
// an image during a copy operation. This parameter is only required if you want to use a non-default CMK;
// if this parameter is not specified, the default CMK for EBS is used
KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"`
ManageEbsSnapshots pulumi.BoolOutput `pulumi:"manageEbsSnapshots"`
// A region-unique name for the AMI.
Name pulumi.StringOutput `pulumi:"name"`
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
Platform pulumi.StringOutput `pulumi:"platform"`
PlatformDetails pulumi.StringOutput `pulumi:"platformDetails"`
Public pulumi.BoolOutput `pulumi:"public"`
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
UsageOperation pulumi.StringOutput `pulumi:"usageOperation"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewAmiCopy(ctx, "example", &ec2.AmiCopyArgs{
Description: pulumi.String("A copy of ami-xxxxxxxx"),
SourceAmiId: pulumi.String("ami-xxxxxxxx"),
SourceAmiRegion: pulumi.String("us-west-1"),
Tags: pulumi.StringMap{
"Name": pulumi.String("HelloWorld"),
},
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*AmiCopy) ElementType ¶
func (*AmiCopy) ToAmiCopyOutput ¶
func (i *AmiCopy) ToAmiCopyOutput() AmiCopyOutput
func (*AmiCopy) ToAmiCopyOutputWithContext ¶
func (i *AmiCopy) ToAmiCopyOutputWithContext(ctx context.Context) AmiCopyOutput
type AmiCopyArgs ¶
type AmiCopyArgs struct {
// A longer, human-readable description for the AMI.
Description pulumi.StringPtrInput
// The ARN of the Outpost to which to copy the AMI.
// Only specify this parameter when copying an AMI from an AWS Region to an Outpost. The AMI must be in the Region of the destination Outpost.
DestinationOutpostArn 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
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
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 AWS Key Management Service (AWS KMS) CMK to use when encrypting the snapshots of
// an image during a copy operation. This parameter is only required if you want to use a non-default CMK;
// if this parameter is not specified, the default CMK for EBS is 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a AmiCopy resource.
func (AmiCopyArgs) ElementType ¶
func (AmiCopyArgs) ElementType() reflect.Type
type AmiCopyArray ¶
type AmiCopyArray []AmiCopyInput
func (AmiCopyArray) ElementType ¶
func (AmiCopyArray) ElementType() reflect.Type
func (AmiCopyArray) ToAmiCopyArrayOutput ¶
func (i AmiCopyArray) ToAmiCopyArrayOutput() AmiCopyArrayOutput
func (AmiCopyArray) ToAmiCopyArrayOutputWithContext ¶
func (i AmiCopyArray) ToAmiCopyArrayOutputWithContext(ctx context.Context) AmiCopyArrayOutput
type AmiCopyArrayInput ¶
type AmiCopyArrayInput interface {
pulumi.Input
ToAmiCopyArrayOutput() AmiCopyArrayOutput
ToAmiCopyArrayOutputWithContext(context.Context) AmiCopyArrayOutput
}
AmiCopyArrayInput is an input type that accepts AmiCopyArray and AmiCopyArrayOutput values. You can construct a concrete instance of `AmiCopyArrayInput` via:
AmiCopyArray{ AmiCopyArgs{...} }
type AmiCopyArrayOutput ¶
type AmiCopyArrayOutput struct{ *pulumi.OutputState }
func (AmiCopyArrayOutput) ElementType ¶
func (AmiCopyArrayOutput) ElementType() reflect.Type
func (AmiCopyArrayOutput) Index ¶
func (o AmiCopyArrayOutput) Index(i pulumi.IntInput) AmiCopyOutput
func (AmiCopyArrayOutput) ToAmiCopyArrayOutput ¶
func (o AmiCopyArrayOutput) ToAmiCopyArrayOutput() AmiCopyArrayOutput
func (AmiCopyArrayOutput) ToAmiCopyArrayOutputWithContext ¶
func (o AmiCopyArrayOutput) ToAmiCopyArrayOutputWithContext(ctx context.Context) AmiCopyArrayOutput
type AmiCopyEbsBlockDevice ¶
type AmiCopyEbsBlockDevice struct {
// Boolean controlling whether the EBS volumes created to
// support each created instance will be deleted once that instance is terminated.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// The path at which the device is exposed to created instances.
DeviceName *string `pulumi:"deviceName"`
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
Encrypted *bool `pulumi:"encrypted"`
// Number of I/O operations per second the
// created volumes will support.
Iops *int `pulumi:"iops"`
// The ARN of the Outpost on which the snapshot is stored.
OutpostArn *string `pulumi:"outpostArn"`
// The id of an EBS snapshot that will be used to initialize the created
// EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced
// snapshot.
SnapshotId *string `pulumi:"snapshotId"`
// The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
Throughput *int `pulumi:"throughput"`
// The size of created volumes in GiB.
// If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size
// as the selected snapshot.
VolumeSize *int `pulumi:"volumeSize"`
// The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
VolumeType *string `pulumi:"volumeType"`
}
type AmiCopyEbsBlockDeviceArgs ¶
type AmiCopyEbsBlockDeviceArgs struct {
// Boolean controlling whether the EBS volumes created to
// support each created instance will be deleted once that instance is terminated.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// The path at which the device is exposed to created instances.
DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
// Number of I/O operations per second the
// created volumes will support.
Iops pulumi.IntPtrInput `pulumi:"iops"`
// The ARN of the Outpost on which the snapshot is stored.
OutpostArn pulumi.StringPtrInput `pulumi:"outpostArn"`
// The id of an EBS snapshot that will be used to initialize the created
// EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced
// snapshot.
SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
// The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
// The size of created volumes in GiB.
// If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size
// as the selected snapshot.
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
// The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (AmiCopyEbsBlockDeviceArgs) ElementType ¶
func (AmiCopyEbsBlockDeviceArgs) ElementType() reflect.Type
func (AmiCopyEbsBlockDeviceArgs) ToAmiCopyEbsBlockDeviceOutput ¶
func (i AmiCopyEbsBlockDeviceArgs) ToAmiCopyEbsBlockDeviceOutput() AmiCopyEbsBlockDeviceOutput
func (AmiCopyEbsBlockDeviceArgs) ToAmiCopyEbsBlockDeviceOutputWithContext ¶
func (i AmiCopyEbsBlockDeviceArgs) ToAmiCopyEbsBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceOutput
type AmiCopyEbsBlockDeviceArray ¶
type AmiCopyEbsBlockDeviceArray []AmiCopyEbsBlockDeviceInput
func (AmiCopyEbsBlockDeviceArray) ElementType ¶
func (AmiCopyEbsBlockDeviceArray) ElementType() reflect.Type
func (AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutput ¶
func (i AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutput() AmiCopyEbsBlockDeviceArrayOutput
func (AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutputWithContext ¶
func (i AmiCopyEbsBlockDeviceArray) ToAmiCopyEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceArrayOutput
type AmiCopyEbsBlockDeviceArrayInput ¶
type AmiCopyEbsBlockDeviceArrayInput interface {
pulumi.Input
ToAmiCopyEbsBlockDeviceArrayOutput() AmiCopyEbsBlockDeviceArrayOutput
ToAmiCopyEbsBlockDeviceArrayOutputWithContext(context.Context) AmiCopyEbsBlockDeviceArrayOutput
}
AmiCopyEbsBlockDeviceArrayInput is an input type that accepts AmiCopyEbsBlockDeviceArray and AmiCopyEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `AmiCopyEbsBlockDeviceArrayInput` via:
AmiCopyEbsBlockDeviceArray{ AmiCopyEbsBlockDeviceArgs{...} }
type AmiCopyEbsBlockDeviceArrayOutput ¶
type AmiCopyEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (AmiCopyEbsBlockDeviceArrayOutput) ElementType ¶
func (AmiCopyEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (AmiCopyEbsBlockDeviceArrayOutput) Index ¶
func (o AmiCopyEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiCopyEbsBlockDeviceOutput
func (AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutput ¶
func (o AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutput() AmiCopyEbsBlockDeviceArrayOutput
func (AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutputWithContext ¶
func (o AmiCopyEbsBlockDeviceArrayOutput) ToAmiCopyEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceArrayOutput
type AmiCopyEbsBlockDeviceInput ¶
type AmiCopyEbsBlockDeviceInput interface {
pulumi.Input
ToAmiCopyEbsBlockDeviceOutput() AmiCopyEbsBlockDeviceOutput
ToAmiCopyEbsBlockDeviceOutputWithContext(context.Context) AmiCopyEbsBlockDeviceOutput
}
AmiCopyEbsBlockDeviceInput is an input type that accepts AmiCopyEbsBlockDeviceArgs and AmiCopyEbsBlockDeviceOutput values. You can construct a concrete instance of `AmiCopyEbsBlockDeviceInput` via:
AmiCopyEbsBlockDeviceArgs{...}
type AmiCopyEbsBlockDeviceOutput ¶
type AmiCopyEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (AmiCopyEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o AmiCopyEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Boolean controlling whether the EBS volumes created to support each created instance will be deleted once that instance is terminated.
func (AmiCopyEbsBlockDeviceOutput) DeviceName ¶
func (o AmiCopyEbsBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
The path at which the device is exposed to created instances.
func (AmiCopyEbsBlockDeviceOutput) ElementType ¶
func (AmiCopyEbsBlockDeviceOutput) ElementType() reflect.Type
func (AmiCopyEbsBlockDeviceOutput) Encrypted ¶
func (o AmiCopyEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
func (AmiCopyEbsBlockDeviceOutput) Iops ¶
func (o AmiCopyEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
Number of I/O operations per second the created volumes will support.
func (AmiCopyEbsBlockDeviceOutput) OutpostArn ¶
func (o AmiCopyEbsBlockDeviceOutput) OutpostArn() pulumi.StringPtrOutput
The ARN of the Outpost on which the snapshot is stored.
func (AmiCopyEbsBlockDeviceOutput) SnapshotId ¶
func (o AmiCopyEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
The id of an EBS snapshot that will be used to initialize the created EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced snapshot.
func (AmiCopyEbsBlockDeviceOutput) Throughput ¶
func (o AmiCopyEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
func (AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutput ¶
func (o AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutput() AmiCopyEbsBlockDeviceOutput
func (AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutputWithContext ¶
func (o AmiCopyEbsBlockDeviceOutput) ToAmiCopyEbsBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEbsBlockDeviceOutput
func (AmiCopyEbsBlockDeviceOutput) VolumeSize ¶
func (o AmiCopyEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
The size of created volumes in GiB. If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size as the selected snapshot.
func (AmiCopyEbsBlockDeviceOutput) VolumeType ¶
func (o AmiCopyEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
type AmiCopyEphemeralBlockDevice ¶
type AmiCopyEphemeralBlockDevice struct {
// The path at which the device is exposed to created instances.
DeviceName *string `pulumi:"deviceName"`
// A name for the ephemeral device, of the form "ephemeralN" where
// *N* is a volume number starting from zero.
VirtualName *string `pulumi:"virtualName"`
}
type AmiCopyEphemeralBlockDeviceArgs ¶
type AmiCopyEphemeralBlockDeviceArgs struct {
// The path at which the device is exposed to created instances.
DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
// A name for the ephemeral device, of the form "ephemeralN" where
// *N* is a volume number starting from zero.
VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}
func (AmiCopyEphemeralBlockDeviceArgs) ElementType ¶
func (AmiCopyEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutput ¶
func (i AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutput() AmiCopyEphemeralBlockDeviceOutput
func (AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutputWithContext ¶
func (i AmiCopyEphemeralBlockDeviceArgs) ToAmiCopyEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceOutput
type AmiCopyEphemeralBlockDeviceArray ¶
type AmiCopyEphemeralBlockDeviceArray []AmiCopyEphemeralBlockDeviceInput
func (AmiCopyEphemeralBlockDeviceArray) ElementType ¶
func (AmiCopyEphemeralBlockDeviceArray) ElementType() reflect.Type
func (AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutput ¶
func (i AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutput() AmiCopyEphemeralBlockDeviceArrayOutput
func (AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext ¶
func (i AmiCopyEphemeralBlockDeviceArray) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceArrayOutput
type AmiCopyEphemeralBlockDeviceArrayInput ¶
type AmiCopyEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToAmiCopyEphemeralBlockDeviceArrayOutput() AmiCopyEphemeralBlockDeviceArrayOutput
ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext(context.Context) AmiCopyEphemeralBlockDeviceArrayOutput
}
AmiCopyEphemeralBlockDeviceArrayInput is an input type that accepts AmiCopyEphemeralBlockDeviceArray and AmiCopyEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `AmiCopyEphemeralBlockDeviceArrayInput` via:
AmiCopyEphemeralBlockDeviceArray{ AmiCopyEphemeralBlockDeviceArgs{...} }
type AmiCopyEphemeralBlockDeviceArrayOutput ¶
type AmiCopyEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (AmiCopyEphemeralBlockDeviceArrayOutput) ElementType ¶
func (AmiCopyEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutput ¶
func (o AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutput() AmiCopyEphemeralBlockDeviceArrayOutput
func (AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext ¶
func (o AmiCopyEphemeralBlockDeviceArrayOutput) ToAmiCopyEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceArrayOutput
type AmiCopyEphemeralBlockDeviceInput ¶
type AmiCopyEphemeralBlockDeviceInput interface {
pulumi.Input
ToAmiCopyEphemeralBlockDeviceOutput() AmiCopyEphemeralBlockDeviceOutput
ToAmiCopyEphemeralBlockDeviceOutputWithContext(context.Context) AmiCopyEphemeralBlockDeviceOutput
}
AmiCopyEphemeralBlockDeviceInput is an input type that accepts AmiCopyEphemeralBlockDeviceArgs and AmiCopyEphemeralBlockDeviceOutput values. You can construct a concrete instance of `AmiCopyEphemeralBlockDeviceInput` via:
AmiCopyEphemeralBlockDeviceArgs{...}
type AmiCopyEphemeralBlockDeviceOutput ¶
type AmiCopyEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (AmiCopyEphemeralBlockDeviceOutput) DeviceName ¶
func (o AmiCopyEphemeralBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
The path at which the device is exposed to created instances.
func (AmiCopyEphemeralBlockDeviceOutput) ElementType ¶
func (AmiCopyEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutput ¶
func (o AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutput() AmiCopyEphemeralBlockDeviceOutput
func (AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutputWithContext ¶
func (o AmiCopyEphemeralBlockDeviceOutput) ToAmiCopyEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiCopyEphemeralBlockDeviceOutput
func (AmiCopyEphemeralBlockDeviceOutput) VirtualName ¶
func (o AmiCopyEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
A name for the ephemeral device, of the form "ephemeralN" where *N* is a volume number starting from zero.
type AmiCopyInput ¶
type AmiCopyInput interface {
pulumi.Input
ToAmiCopyOutput() AmiCopyOutput
ToAmiCopyOutputWithContext(ctx context.Context) AmiCopyOutput
}
type AmiCopyMap ¶
type AmiCopyMap map[string]AmiCopyInput
func (AmiCopyMap) ElementType ¶
func (AmiCopyMap) ElementType() reflect.Type
func (AmiCopyMap) ToAmiCopyMapOutput ¶
func (i AmiCopyMap) ToAmiCopyMapOutput() AmiCopyMapOutput
func (AmiCopyMap) ToAmiCopyMapOutputWithContext ¶
func (i AmiCopyMap) ToAmiCopyMapOutputWithContext(ctx context.Context) AmiCopyMapOutput
type AmiCopyMapInput ¶
type AmiCopyMapInput interface {
pulumi.Input
ToAmiCopyMapOutput() AmiCopyMapOutput
ToAmiCopyMapOutputWithContext(context.Context) AmiCopyMapOutput
}
AmiCopyMapInput is an input type that accepts AmiCopyMap and AmiCopyMapOutput values. You can construct a concrete instance of `AmiCopyMapInput` via:
AmiCopyMap{ "key": AmiCopyArgs{...} }
type AmiCopyMapOutput ¶
type AmiCopyMapOutput struct{ *pulumi.OutputState }
func (AmiCopyMapOutput) ElementType ¶
func (AmiCopyMapOutput) ElementType() reflect.Type
func (AmiCopyMapOutput) MapIndex ¶
func (o AmiCopyMapOutput) MapIndex(k pulumi.StringInput) AmiCopyOutput
func (AmiCopyMapOutput) ToAmiCopyMapOutput ¶
func (o AmiCopyMapOutput) ToAmiCopyMapOutput() AmiCopyMapOutput
func (AmiCopyMapOutput) ToAmiCopyMapOutputWithContext ¶
func (o AmiCopyMapOutput) ToAmiCopyMapOutputWithContext(ctx context.Context) AmiCopyMapOutput
type AmiCopyOutput ¶
type AmiCopyOutput struct{ *pulumi.OutputState }
func (AmiCopyOutput) ElementType ¶
func (AmiCopyOutput) ElementType() reflect.Type
func (AmiCopyOutput) ToAmiCopyOutput ¶
func (o AmiCopyOutput) ToAmiCopyOutput() AmiCopyOutput
func (AmiCopyOutput) ToAmiCopyOutputWithContext ¶
func (o AmiCopyOutput) ToAmiCopyOutputWithContext(ctx context.Context) AmiCopyOutput
type AmiCopyState ¶
type AmiCopyState struct {
// Machine architecture for created instances. Defaults to "x8664".
Architecture pulumi.StringPtrInput
// The ARN of the AMI.
Arn pulumi.StringPtrInput
// The boot mode of the AMI. For more information, see [Boot modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon Elastic Compute Cloud User Guide.
BootMode pulumi.StringPtrInput
// A longer, human-readable description for the AMI.
Description pulumi.StringPtrInput
// The ARN of the Outpost to which to copy the AMI.
// Only specify this parameter when copying an AMI from an AWS Region to an Outpost. The AMI must be in the Region of the destination Outpost.
DestinationOutpostArn 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
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
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
Hypervisor pulumi.StringPtrInput
// 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
ImageOwnerAlias pulumi.StringPtrInput
ImageType 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 AWS Key Management Service (AWS KMS) CMK to use when encrypting the snapshots of
// an image during a copy operation. This parameter is only required if you want to use a non-default CMK;
// if this parameter is not specified, the default CMK for EBS is used
KmsKeyId pulumi.StringPtrInput
ManageEbsSnapshots pulumi.BoolPtrInput
// A region-unique name for the AMI.
Name pulumi.StringPtrInput
OwnerId pulumi.StringPtrInput
Platform pulumi.StringPtrInput
PlatformDetails pulumi.StringPtrInput
Public pulumi.BoolPtrInput
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
TagsAll pulumi.StringMapInput
UsageOperation pulumi.StringPtrInput
// 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 ¶
func (AmiCopyState) ElementType() reflect.Type
type AmiEbsBlockDevice ¶
type AmiEbsBlockDevice struct {
// Boolean controlling whether the EBS volumes created to
// support each created instance will be deleted once that instance is terminated.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// The path at which the device is exposed to created instances.
DeviceName string `pulumi:"deviceName"`
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
Encrypted *bool `pulumi:"encrypted"`
// Number of I/O operations per second the
// created volumes will support.
Iops *int `pulumi:"iops"`
// The ARN of the Outpost on which the snapshot is stored.
OutpostArn *string `pulumi:"outpostArn"`
// The id of an EBS snapshot that will be used to initialize the created
// EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced
// snapshot.
SnapshotId *string `pulumi:"snapshotId"`
// The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
Throughput *int `pulumi:"throughput"`
// The size of created volumes in GiB.
// If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size
// as the selected snapshot.
VolumeSize *int `pulumi:"volumeSize"`
// The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
VolumeType *string `pulumi:"volumeType"`
}
type AmiEbsBlockDeviceArgs ¶
type AmiEbsBlockDeviceArgs struct {
// Boolean controlling whether the EBS volumes created to
// support each created instance will be deleted once that instance is terminated.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// The path at which the device is exposed to created instances.
DeviceName pulumi.StringInput `pulumi:"deviceName"`
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
// Number of I/O operations per second the
// created volumes will support.
Iops pulumi.IntPtrInput `pulumi:"iops"`
// The ARN of the Outpost on which the snapshot is stored.
OutpostArn pulumi.StringPtrInput `pulumi:"outpostArn"`
// The id of an EBS snapshot that will be used to initialize the created
// EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced
// snapshot.
SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
// The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
// The size of created volumes in GiB.
// If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size
// as the selected snapshot.
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
// The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (AmiEbsBlockDeviceArgs) ElementType ¶
func (AmiEbsBlockDeviceArgs) ElementType() reflect.Type
func (AmiEbsBlockDeviceArgs) ToAmiEbsBlockDeviceOutput ¶
func (i AmiEbsBlockDeviceArgs) ToAmiEbsBlockDeviceOutput() AmiEbsBlockDeviceOutput
func (AmiEbsBlockDeviceArgs) ToAmiEbsBlockDeviceOutputWithContext ¶
func (i AmiEbsBlockDeviceArgs) ToAmiEbsBlockDeviceOutputWithContext(ctx context.Context) AmiEbsBlockDeviceOutput
type AmiEbsBlockDeviceArray ¶
type AmiEbsBlockDeviceArray []AmiEbsBlockDeviceInput
func (AmiEbsBlockDeviceArray) ElementType ¶
func (AmiEbsBlockDeviceArray) ElementType() reflect.Type
func (AmiEbsBlockDeviceArray) ToAmiEbsBlockDeviceArrayOutput ¶
func (i AmiEbsBlockDeviceArray) ToAmiEbsBlockDeviceArrayOutput() AmiEbsBlockDeviceArrayOutput
func (AmiEbsBlockDeviceArray) ToAmiEbsBlockDeviceArrayOutputWithContext ¶
func (i AmiEbsBlockDeviceArray) ToAmiEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEbsBlockDeviceArrayOutput
type AmiEbsBlockDeviceArrayInput ¶
type AmiEbsBlockDeviceArrayInput interface {
pulumi.Input
ToAmiEbsBlockDeviceArrayOutput() AmiEbsBlockDeviceArrayOutput
ToAmiEbsBlockDeviceArrayOutputWithContext(context.Context) AmiEbsBlockDeviceArrayOutput
}
AmiEbsBlockDeviceArrayInput is an input type that accepts AmiEbsBlockDeviceArray and AmiEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `AmiEbsBlockDeviceArrayInput` via:
AmiEbsBlockDeviceArray{ AmiEbsBlockDeviceArgs{...} }
type AmiEbsBlockDeviceArrayOutput ¶
type AmiEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (AmiEbsBlockDeviceArrayOutput) ElementType ¶
func (AmiEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (AmiEbsBlockDeviceArrayOutput) Index ¶
func (o AmiEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiEbsBlockDeviceOutput
func (AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutput ¶
func (o AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutput() AmiEbsBlockDeviceArrayOutput
func (AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutputWithContext ¶
func (o AmiEbsBlockDeviceArrayOutput) ToAmiEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEbsBlockDeviceArrayOutput
type AmiEbsBlockDeviceInput ¶
type AmiEbsBlockDeviceInput interface {
pulumi.Input
ToAmiEbsBlockDeviceOutput() AmiEbsBlockDeviceOutput
ToAmiEbsBlockDeviceOutputWithContext(context.Context) AmiEbsBlockDeviceOutput
}
AmiEbsBlockDeviceInput is an input type that accepts AmiEbsBlockDeviceArgs and AmiEbsBlockDeviceOutput values. You can construct a concrete instance of `AmiEbsBlockDeviceInput` via:
AmiEbsBlockDeviceArgs{...}
type AmiEbsBlockDeviceOutput ¶
type AmiEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (AmiEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o AmiEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Boolean controlling whether the EBS volumes created to support each created instance will be deleted once that instance is terminated.
func (AmiEbsBlockDeviceOutput) DeviceName ¶
func (o AmiEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
The path at which the device is exposed to created instances.
func (AmiEbsBlockDeviceOutput) ElementType ¶
func (AmiEbsBlockDeviceOutput) ElementType() reflect.Type
func (AmiEbsBlockDeviceOutput) Encrypted ¶
func (o AmiEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
func (AmiEbsBlockDeviceOutput) Iops ¶
func (o AmiEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
Number of I/O operations per second the created volumes will support.
func (AmiEbsBlockDeviceOutput) OutpostArn ¶
func (o AmiEbsBlockDeviceOutput) OutpostArn() pulumi.StringPtrOutput
The ARN of the Outpost on which the snapshot is stored.
func (AmiEbsBlockDeviceOutput) SnapshotId ¶
func (o AmiEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
The id of an EBS snapshot that will be used to initialize the created EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced snapshot.
func (AmiEbsBlockDeviceOutput) Throughput ¶
func (o AmiEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
func (AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutput ¶
func (o AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutput() AmiEbsBlockDeviceOutput
func (AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutputWithContext ¶
func (o AmiEbsBlockDeviceOutput) ToAmiEbsBlockDeviceOutputWithContext(ctx context.Context) AmiEbsBlockDeviceOutput
func (AmiEbsBlockDeviceOutput) VolumeSize ¶
func (o AmiEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
The size of created volumes in GiB. If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size as the selected snapshot.
func (AmiEbsBlockDeviceOutput) VolumeType ¶
func (o AmiEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
type AmiEphemeralBlockDevice ¶
type AmiEphemeralBlockDeviceArgs ¶
type AmiEphemeralBlockDeviceArgs struct {
// The path at which the device is exposed to created instances.
DeviceName pulumi.StringInput `pulumi:"deviceName"`
// A name for the ephemeral device, of the form "ephemeralN" where
// *N* is a volume number starting from zero.
VirtualName pulumi.StringInput `pulumi:"virtualName"`
}
func (AmiEphemeralBlockDeviceArgs) ElementType ¶
func (AmiEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (AmiEphemeralBlockDeviceArgs) ToAmiEphemeralBlockDeviceOutput ¶
func (i AmiEphemeralBlockDeviceArgs) ToAmiEphemeralBlockDeviceOutput() AmiEphemeralBlockDeviceOutput
func (AmiEphemeralBlockDeviceArgs) ToAmiEphemeralBlockDeviceOutputWithContext ¶
func (i AmiEphemeralBlockDeviceArgs) ToAmiEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceOutput
type AmiEphemeralBlockDeviceArray ¶
type AmiEphemeralBlockDeviceArray []AmiEphemeralBlockDeviceInput
func (AmiEphemeralBlockDeviceArray) ElementType ¶
func (AmiEphemeralBlockDeviceArray) ElementType() reflect.Type
func (AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutput ¶
func (i AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutput() AmiEphemeralBlockDeviceArrayOutput
func (AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutputWithContext ¶
func (i AmiEphemeralBlockDeviceArray) ToAmiEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceArrayOutput
type AmiEphemeralBlockDeviceArrayInput ¶
type AmiEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToAmiEphemeralBlockDeviceArrayOutput() AmiEphemeralBlockDeviceArrayOutput
ToAmiEphemeralBlockDeviceArrayOutputWithContext(context.Context) AmiEphemeralBlockDeviceArrayOutput
}
AmiEphemeralBlockDeviceArrayInput is an input type that accepts AmiEphemeralBlockDeviceArray and AmiEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `AmiEphemeralBlockDeviceArrayInput` via:
AmiEphemeralBlockDeviceArray{ AmiEphemeralBlockDeviceArgs{...} }
type AmiEphemeralBlockDeviceArrayOutput ¶
type AmiEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (AmiEphemeralBlockDeviceArrayOutput) ElementType ¶
func (AmiEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (AmiEphemeralBlockDeviceArrayOutput) Index ¶
func (o AmiEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) AmiEphemeralBlockDeviceOutput
func (AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutput ¶
func (o AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutput() AmiEphemeralBlockDeviceArrayOutput
func (AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutputWithContext ¶
func (o AmiEphemeralBlockDeviceArrayOutput) ToAmiEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceArrayOutput
type AmiEphemeralBlockDeviceInput ¶
type AmiEphemeralBlockDeviceInput interface {
pulumi.Input
ToAmiEphemeralBlockDeviceOutput() AmiEphemeralBlockDeviceOutput
ToAmiEphemeralBlockDeviceOutputWithContext(context.Context) AmiEphemeralBlockDeviceOutput
}
AmiEphemeralBlockDeviceInput is an input type that accepts AmiEphemeralBlockDeviceArgs and AmiEphemeralBlockDeviceOutput values. You can construct a concrete instance of `AmiEphemeralBlockDeviceInput` via:
AmiEphemeralBlockDeviceArgs{...}
type AmiEphemeralBlockDeviceOutput ¶
type AmiEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (AmiEphemeralBlockDeviceOutput) DeviceName ¶
func (o AmiEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
The path at which the device is exposed to created instances.
func (AmiEphemeralBlockDeviceOutput) ElementType ¶
func (AmiEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutput ¶
func (o AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutput() AmiEphemeralBlockDeviceOutput
func (AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutputWithContext ¶
func (o AmiEphemeralBlockDeviceOutput) ToAmiEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiEphemeralBlockDeviceOutput
func (AmiEphemeralBlockDeviceOutput) VirtualName ¶
func (o AmiEphemeralBlockDeviceOutput) VirtualName() pulumi.StringOutput
A name for the ephemeral device, of the form "ephemeralN" where *N* is a volume number starting from zero.
type AmiFromInstance ¶
type AmiFromInstance struct {
pulumi.CustomResourceState
// Machine architecture for created instances. Defaults to "x8664".
Architecture pulumi.StringOutput `pulumi:"architecture"`
// The ARN of the AMI.
Arn pulumi.StringOutput `pulumi:"arn"`
// The boot mode of the AMI. For more information, see [Boot modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon Elastic Compute Cloud User Guide.
BootMode pulumi.StringOutput `pulumi:"bootMode"`
// 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"`
Hypervisor pulumi.StringOutput `pulumi:"hypervisor"`
// 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"`
ImageOwnerAlias pulumi.StringOutput `pulumi:"imageOwnerAlias"`
ImageType pulumi.StringOutput `pulumi:"imageType"`
// 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"`
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
Platform pulumi.StringOutput `pulumi:"platform"`
PlatformDetails pulumi.StringOutput `pulumi:"platformDetails"`
Public pulumi.BoolOutput `pulumi:"public"`
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
UsageOperation pulumi.StringOutput `pulumi:"usageOperation"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewAmiFromInstance(ctx, "example", &ec2.AmiFromInstanceArgs{
SourceInstanceId: pulumi.String("i-xxxxxxxx"),
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*AmiFromInstance) ElementType ¶
func (*AmiFromInstance) ElementType() reflect.Type
func (*AmiFromInstance) ToAmiFromInstanceOutput ¶
func (i *AmiFromInstance) ToAmiFromInstanceOutput() AmiFromInstanceOutput
func (*AmiFromInstance) ToAmiFromInstanceOutputWithContext ¶
func (i *AmiFromInstance) ToAmiFromInstanceOutputWithContext(ctx context.Context) AmiFromInstanceOutput
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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a AmiFromInstance resource.
func (AmiFromInstanceArgs) ElementType ¶
func (AmiFromInstanceArgs) ElementType() reflect.Type
type AmiFromInstanceArray ¶
type AmiFromInstanceArray []AmiFromInstanceInput
func (AmiFromInstanceArray) ElementType ¶
func (AmiFromInstanceArray) ElementType() reflect.Type
func (AmiFromInstanceArray) ToAmiFromInstanceArrayOutput ¶
func (i AmiFromInstanceArray) ToAmiFromInstanceArrayOutput() AmiFromInstanceArrayOutput
func (AmiFromInstanceArray) ToAmiFromInstanceArrayOutputWithContext ¶
func (i AmiFromInstanceArray) ToAmiFromInstanceArrayOutputWithContext(ctx context.Context) AmiFromInstanceArrayOutput
type AmiFromInstanceArrayInput ¶
type AmiFromInstanceArrayInput interface {
pulumi.Input
ToAmiFromInstanceArrayOutput() AmiFromInstanceArrayOutput
ToAmiFromInstanceArrayOutputWithContext(context.Context) AmiFromInstanceArrayOutput
}
AmiFromInstanceArrayInput is an input type that accepts AmiFromInstanceArray and AmiFromInstanceArrayOutput values. You can construct a concrete instance of `AmiFromInstanceArrayInput` via:
AmiFromInstanceArray{ AmiFromInstanceArgs{...} }
type AmiFromInstanceArrayOutput ¶
type AmiFromInstanceArrayOutput struct{ *pulumi.OutputState }
func (AmiFromInstanceArrayOutput) ElementType ¶
func (AmiFromInstanceArrayOutput) ElementType() reflect.Type
func (AmiFromInstanceArrayOutput) Index ¶
func (o AmiFromInstanceArrayOutput) Index(i pulumi.IntInput) AmiFromInstanceOutput
func (AmiFromInstanceArrayOutput) ToAmiFromInstanceArrayOutput ¶
func (o AmiFromInstanceArrayOutput) ToAmiFromInstanceArrayOutput() AmiFromInstanceArrayOutput
func (AmiFromInstanceArrayOutput) ToAmiFromInstanceArrayOutputWithContext ¶
func (o AmiFromInstanceArrayOutput) ToAmiFromInstanceArrayOutputWithContext(ctx context.Context) AmiFromInstanceArrayOutput
type AmiFromInstanceEbsBlockDevice ¶
type AmiFromInstanceEbsBlockDevice struct {
// Boolean controlling whether the EBS volumes created to
// support each created instance will be deleted once that instance is terminated.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// The path at which the device is exposed to created instances.
DeviceName *string `pulumi:"deviceName"`
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
Encrypted *bool `pulumi:"encrypted"`
// Number of I/O operations per second the
// created volumes will support.
Iops *int `pulumi:"iops"`
// The ARN of the Outpost on which the snapshot is stored.
OutpostArn *string `pulumi:"outpostArn"`
// The id of an EBS snapshot that will be used to initialize the created
// EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced
// snapshot.
SnapshotId *string `pulumi:"snapshotId"`
// The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
Throughput *int `pulumi:"throughput"`
// The size of created volumes in GiB.
// If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size
// as the selected snapshot.
VolumeSize *int `pulumi:"volumeSize"`
// The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
VolumeType *string `pulumi:"volumeType"`
}
type AmiFromInstanceEbsBlockDeviceArgs ¶
type AmiFromInstanceEbsBlockDeviceArgs struct {
// Boolean controlling whether the EBS volumes created to
// support each created instance will be deleted once that instance is terminated.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// The path at which the device is exposed to created instances.
DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
// Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
// Number of I/O operations per second the
// created volumes will support.
Iops pulumi.IntPtrInput `pulumi:"iops"`
// The ARN of the Outpost on which the snapshot is stored.
OutpostArn pulumi.StringPtrInput `pulumi:"outpostArn"`
// The id of an EBS snapshot that will be used to initialize the created
// EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced
// snapshot.
SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
// The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
// The size of created volumes in GiB.
// If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size
// as the selected snapshot.
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
// The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (AmiFromInstanceEbsBlockDeviceArgs) ElementType ¶
func (AmiFromInstanceEbsBlockDeviceArgs) ElementType() reflect.Type
func (AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutput ¶
func (i AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutput() AmiFromInstanceEbsBlockDeviceOutput
func (AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutputWithContext ¶
func (i AmiFromInstanceEbsBlockDeviceArgs) ToAmiFromInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceOutput
type AmiFromInstanceEbsBlockDeviceArray ¶
type AmiFromInstanceEbsBlockDeviceArray []AmiFromInstanceEbsBlockDeviceInput
func (AmiFromInstanceEbsBlockDeviceArray) ElementType ¶
func (AmiFromInstanceEbsBlockDeviceArray) ElementType() reflect.Type
func (AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutput ¶
func (i AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutput() AmiFromInstanceEbsBlockDeviceArrayOutput
func (AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext ¶
func (i AmiFromInstanceEbsBlockDeviceArray) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceArrayOutput
type AmiFromInstanceEbsBlockDeviceArrayInput ¶
type AmiFromInstanceEbsBlockDeviceArrayInput interface {
pulumi.Input
ToAmiFromInstanceEbsBlockDeviceArrayOutput() AmiFromInstanceEbsBlockDeviceArrayOutput
ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext(context.Context) AmiFromInstanceEbsBlockDeviceArrayOutput
}
AmiFromInstanceEbsBlockDeviceArrayInput is an input type that accepts AmiFromInstanceEbsBlockDeviceArray and AmiFromInstanceEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `AmiFromInstanceEbsBlockDeviceArrayInput` via:
AmiFromInstanceEbsBlockDeviceArray{ AmiFromInstanceEbsBlockDeviceArgs{...} }
type AmiFromInstanceEbsBlockDeviceArrayOutput ¶
type AmiFromInstanceEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (AmiFromInstanceEbsBlockDeviceArrayOutput) ElementType ¶
func (AmiFromInstanceEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutput ¶
func (o AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutput() AmiFromInstanceEbsBlockDeviceArrayOutput
func (AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext ¶
func (o AmiFromInstanceEbsBlockDeviceArrayOutput) ToAmiFromInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceArrayOutput
type AmiFromInstanceEbsBlockDeviceInput ¶
type AmiFromInstanceEbsBlockDeviceInput interface {
pulumi.Input
ToAmiFromInstanceEbsBlockDeviceOutput() AmiFromInstanceEbsBlockDeviceOutput
ToAmiFromInstanceEbsBlockDeviceOutputWithContext(context.Context) AmiFromInstanceEbsBlockDeviceOutput
}
AmiFromInstanceEbsBlockDeviceInput is an input type that accepts AmiFromInstanceEbsBlockDeviceArgs and AmiFromInstanceEbsBlockDeviceOutput values. You can construct a concrete instance of `AmiFromInstanceEbsBlockDeviceInput` via:
AmiFromInstanceEbsBlockDeviceArgs{...}
type AmiFromInstanceEbsBlockDeviceOutput ¶
type AmiFromInstanceEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (AmiFromInstanceEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Boolean controlling whether the EBS volumes created to support each created instance will be deleted once that instance is terminated.
func (AmiFromInstanceEbsBlockDeviceOutput) DeviceName ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
The path at which the device is exposed to created instances.
func (AmiFromInstanceEbsBlockDeviceOutput) ElementType ¶
func (AmiFromInstanceEbsBlockDeviceOutput) ElementType() reflect.Type
func (AmiFromInstanceEbsBlockDeviceOutput) Encrypted ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.
func (AmiFromInstanceEbsBlockDeviceOutput) Iops ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
Number of I/O operations per second the created volumes will support.
func (AmiFromInstanceEbsBlockDeviceOutput) OutpostArn ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) OutpostArn() pulumi.StringPtrOutput
The ARN of the Outpost on which the snapshot is stored.
func (AmiFromInstanceEbsBlockDeviceOutput) SnapshotId ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
The id of an EBS snapshot that will be used to initialize the created EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced snapshot.
func (AmiFromInstanceEbsBlockDeviceOutput) Throughput ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
The throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.
func (AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutput ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutput() AmiFromInstanceEbsBlockDeviceOutput
func (AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutputWithContext ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) ToAmiFromInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEbsBlockDeviceOutput
func (AmiFromInstanceEbsBlockDeviceOutput) VolumeSize ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
The size of created volumes in GiB. If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size as the selected snapshot.
func (AmiFromInstanceEbsBlockDeviceOutput) VolumeType ¶
func (o AmiFromInstanceEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
The type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).
type AmiFromInstanceEphemeralBlockDevice ¶
type AmiFromInstanceEphemeralBlockDevice struct {
// The path at which the device is exposed to created instances.
DeviceName *string `pulumi:"deviceName"`
// A name for the ephemeral device, of the form "ephemeralN" where
// *N* is a volume number starting from zero.
VirtualName *string `pulumi:"virtualName"`
}
type AmiFromInstanceEphemeralBlockDeviceArgs ¶
type AmiFromInstanceEphemeralBlockDeviceArgs struct {
// The path at which the device is exposed to created instances.
DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
// A name for the ephemeral device, of the form "ephemeralN" where
// *N* is a volume number starting from zero.
VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}
func (AmiFromInstanceEphemeralBlockDeviceArgs) ElementType ¶
func (AmiFromInstanceEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutput ¶
func (i AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutput() AmiFromInstanceEphemeralBlockDeviceOutput
func (AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext ¶
func (i AmiFromInstanceEphemeralBlockDeviceArgs) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceOutput
type AmiFromInstanceEphemeralBlockDeviceArray ¶
type AmiFromInstanceEphemeralBlockDeviceArray []AmiFromInstanceEphemeralBlockDeviceInput
func (AmiFromInstanceEphemeralBlockDeviceArray) ElementType ¶
func (AmiFromInstanceEphemeralBlockDeviceArray) ElementType() reflect.Type
func (AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput ¶
func (i AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput() AmiFromInstanceEphemeralBlockDeviceArrayOutput
func (AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext ¶
func (i AmiFromInstanceEphemeralBlockDeviceArray) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceArrayOutput
type AmiFromInstanceEphemeralBlockDeviceArrayInput ¶
type AmiFromInstanceEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToAmiFromInstanceEphemeralBlockDeviceArrayOutput() AmiFromInstanceEphemeralBlockDeviceArrayOutput
ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext(context.Context) AmiFromInstanceEphemeralBlockDeviceArrayOutput
}
AmiFromInstanceEphemeralBlockDeviceArrayInput is an input type that accepts AmiFromInstanceEphemeralBlockDeviceArray and AmiFromInstanceEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `AmiFromInstanceEphemeralBlockDeviceArrayInput` via:
AmiFromInstanceEphemeralBlockDeviceArray{ AmiFromInstanceEphemeralBlockDeviceArgs{...} }
type AmiFromInstanceEphemeralBlockDeviceArrayOutput ¶
type AmiFromInstanceEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) ElementType ¶
func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput ¶
func (o AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutput() AmiFromInstanceEphemeralBlockDeviceArrayOutput
func (AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext ¶
func (o AmiFromInstanceEphemeralBlockDeviceArrayOutput) ToAmiFromInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceArrayOutput
type AmiFromInstanceEphemeralBlockDeviceInput ¶
type AmiFromInstanceEphemeralBlockDeviceInput interface {
pulumi.Input
ToAmiFromInstanceEphemeralBlockDeviceOutput() AmiFromInstanceEphemeralBlockDeviceOutput
ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext(context.Context) AmiFromInstanceEphemeralBlockDeviceOutput
}
AmiFromInstanceEphemeralBlockDeviceInput is an input type that accepts AmiFromInstanceEphemeralBlockDeviceArgs and AmiFromInstanceEphemeralBlockDeviceOutput values. You can construct a concrete instance of `AmiFromInstanceEphemeralBlockDeviceInput` via:
AmiFromInstanceEphemeralBlockDeviceArgs{...}
type AmiFromInstanceEphemeralBlockDeviceOutput ¶
type AmiFromInstanceEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (AmiFromInstanceEphemeralBlockDeviceOutput) DeviceName ¶
func (o AmiFromInstanceEphemeralBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
The path at which the device is exposed to created instances.
func (AmiFromInstanceEphemeralBlockDeviceOutput) ElementType ¶
func (AmiFromInstanceEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutput ¶
func (o AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutput() AmiFromInstanceEphemeralBlockDeviceOutput
func (AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext ¶
func (o AmiFromInstanceEphemeralBlockDeviceOutput) ToAmiFromInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) AmiFromInstanceEphemeralBlockDeviceOutput
func (AmiFromInstanceEphemeralBlockDeviceOutput) VirtualName ¶
func (o AmiFromInstanceEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
A name for the ephemeral device, of the form "ephemeralN" where *N* is a volume number starting from zero.
type AmiFromInstanceInput ¶
type AmiFromInstanceInput interface {
pulumi.Input
ToAmiFromInstanceOutput() AmiFromInstanceOutput
ToAmiFromInstanceOutputWithContext(ctx context.Context) AmiFromInstanceOutput
}
type AmiFromInstanceMap ¶
type AmiFromInstanceMap map[string]AmiFromInstanceInput
func (AmiFromInstanceMap) ElementType ¶
func (AmiFromInstanceMap) ElementType() reflect.Type
func (AmiFromInstanceMap) ToAmiFromInstanceMapOutput ¶
func (i AmiFromInstanceMap) ToAmiFromInstanceMapOutput() AmiFromInstanceMapOutput
func (AmiFromInstanceMap) ToAmiFromInstanceMapOutputWithContext ¶
func (i AmiFromInstanceMap) ToAmiFromInstanceMapOutputWithContext(ctx context.Context) AmiFromInstanceMapOutput
type AmiFromInstanceMapInput ¶
type AmiFromInstanceMapInput interface {
pulumi.Input
ToAmiFromInstanceMapOutput() AmiFromInstanceMapOutput
ToAmiFromInstanceMapOutputWithContext(context.Context) AmiFromInstanceMapOutput
}
AmiFromInstanceMapInput is an input type that accepts AmiFromInstanceMap and AmiFromInstanceMapOutput values. You can construct a concrete instance of `AmiFromInstanceMapInput` via:
AmiFromInstanceMap{ "key": AmiFromInstanceArgs{...} }
type AmiFromInstanceMapOutput ¶
type AmiFromInstanceMapOutput struct{ *pulumi.OutputState }
func (AmiFromInstanceMapOutput) ElementType ¶
func (AmiFromInstanceMapOutput) ElementType() reflect.Type
func (AmiFromInstanceMapOutput) MapIndex ¶
func (o AmiFromInstanceMapOutput) MapIndex(k pulumi.StringInput) AmiFromInstanceOutput
func (AmiFromInstanceMapOutput) ToAmiFromInstanceMapOutput ¶
func (o AmiFromInstanceMapOutput) ToAmiFromInstanceMapOutput() AmiFromInstanceMapOutput
func (AmiFromInstanceMapOutput) ToAmiFromInstanceMapOutputWithContext ¶
func (o AmiFromInstanceMapOutput) ToAmiFromInstanceMapOutputWithContext(ctx context.Context) AmiFromInstanceMapOutput
type AmiFromInstanceOutput ¶
type AmiFromInstanceOutput struct{ *pulumi.OutputState }
func (AmiFromInstanceOutput) ElementType ¶
func (AmiFromInstanceOutput) ElementType() reflect.Type
func (AmiFromInstanceOutput) ToAmiFromInstanceOutput ¶
func (o AmiFromInstanceOutput) ToAmiFromInstanceOutput() AmiFromInstanceOutput
func (AmiFromInstanceOutput) ToAmiFromInstanceOutputWithContext ¶
func (o AmiFromInstanceOutput) ToAmiFromInstanceOutputWithContext(ctx context.Context) AmiFromInstanceOutput
type AmiFromInstanceState ¶
type AmiFromInstanceState struct {
// Machine architecture for created instances. Defaults to "x8664".
Architecture pulumi.StringPtrInput
// The ARN of the AMI.
Arn pulumi.StringPtrInput
// The boot mode of the AMI. For more information, see [Boot modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon Elastic Compute Cloud User Guide.
BootMode 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
Hypervisor pulumi.StringPtrInput
// 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
ImageOwnerAlias pulumi.StringPtrInput
ImageType 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
OwnerId pulumi.StringPtrInput
Platform pulumi.StringPtrInput
PlatformDetails pulumi.StringPtrInput
Public pulumi.BoolPtrInput
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
TagsAll pulumi.StringMapInput
UsageOperation pulumi.StringPtrInput
// 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 ¶
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewAmiLaunchPermission(ctx, "example", &ec2.AmiLaunchPermissionArgs{
AccountId: pulumi.String("123456789012"),
ImageId: pulumi.String("ami-12345678"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
AWS AMI Launch Permission can be imported using the `ACCOUNT-ID/IMAGE-ID`, e.g.,
```sh
$ pulumi import aws:ec2/amiLaunchPermission:AmiLaunchPermission example 123456789012/ami-12345678
```
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.
func (*AmiLaunchPermission) ElementType ¶
func (*AmiLaunchPermission) ElementType() reflect.Type
func (*AmiLaunchPermission) ToAmiLaunchPermissionOutput ¶
func (i *AmiLaunchPermission) ToAmiLaunchPermissionOutput() AmiLaunchPermissionOutput
func (*AmiLaunchPermission) ToAmiLaunchPermissionOutputWithContext ¶
func (i *AmiLaunchPermission) ToAmiLaunchPermissionOutputWithContext(ctx context.Context) AmiLaunchPermissionOutput
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 ¶
func (AmiLaunchPermissionArgs) ElementType() reflect.Type
type AmiLaunchPermissionArray ¶
type AmiLaunchPermissionArray []AmiLaunchPermissionInput
func (AmiLaunchPermissionArray) ElementType ¶
func (AmiLaunchPermissionArray) ElementType() reflect.Type
func (AmiLaunchPermissionArray) ToAmiLaunchPermissionArrayOutput ¶
func (i AmiLaunchPermissionArray) ToAmiLaunchPermissionArrayOutput() AmiLaunchPermissionArrayOutput
func (AmiLaunchPermissionArray) ToAmiLaunchPermissionArrayOutputWithContext ¶
func (i AmiLaunchPermissionArray) ToAmiLaunchPermissionArrayOutputWithContext(ctx context.Context) AmiLaunchPermissionArrayOutput
type AmiLaunchPermissionArrayInput ¶
type AmiLaunchPermissionArrayInput interface {
pulumi.Input
ToAmiLaunchPermissionArrayOutput() AmiLaunchPermissionArrayOutput
ToAmiLaunchPermissionArrayOutputWithContext(context.Context) AmiLaunchPermissionArrayOutput
}
AmiLaunchPermissionArrayInput is an input type that accepts AmiLaunchPermissionArray and AmiLaunchPermissionArrayOutput values. You can construct a concrete instance of `AmiLaunchPermissionArrayInput` via:
AmiLaunchPermissionArray{ AmiLaunchPermissionArgs{...} }
type AmiLaunchPermissionArrayOutput ¶
type AmiLaunchPermissionArrayOutput struct{ *pulumi.OutputState }
func (AmiLaunchPermissionArrayOutput) ElementType ¶
func (AmiLaunchPermissionArrayOutput) ElementType() reflect.Type
func (AmiLaunchPermissionArrayOutput) Index ¶
func (o AmiLaunchPermissionArrayOutput) Index(i pulumi.IntInput) AmiLaunchPermissionOutput
func (AmiLaunchPermissionArrayOutput) ToAmiLaunchPermissionArrayOutput ¶
func (o AmiLaunchPermissionArrayOutput) ToAmiLaunchPermissionArrayOutput() AmiLaunchPermissionArrayOutput
func (AmiLaunchPermissionArrayOutput) ToAmiLaunchPermissionArrayOutputWithContext ¶
func (o AmiLaunchPermissionArrayOutput) ToAmiLaunchPermissionArrayOutputWithContext(ctx context.Context) AmiLaunchPermissionArrayOutput
type AmiLaunchPermissionInput ¶
type AmiLaunchPermissionInput interface {
pulumi.Input
ToAmiLaunchPermissionOutput() AmiLaunchPermissionOutput
ToAmiLaunchPermissionOutputWithContext(ctx context.Context) AmiLaunchPermissionOutput
}
type AmiLaunchPermissionMap ¶
type AmiLaunchPermissionMap map[string]AmiLaunchPermissionInput
func (AmiLaunchPermissionMap) ElementType ¶
func (AmiLaunchPermissionMap) ElementType() reflect.Type
func (AmiLaunchPermissionMap) ToAmiLaunchPermissionMapOutput ¶
func (i AmiLaunchPermissionMap) ToAmiLaunchPermissionMapOutput() AmiLaunchPermissionMapOutput
func (AmiLaunchPermissionMap) ToAmiLaunchPermissionMapOutputWithContext ¶
func (i AmiLaunchPermissionMap) ToAmiLaunchPermissionMapOutputWithContext(ctx context.Context) AmiLaunchPermissionMapOutput
type AmiLaunchPermissionMapInput ¶
type AmiLaunchPermissionMapInput interface {
pulumi.Input
ToAmiLaunchPermissionMapOutput() AmiLaunchPermissionMapOutput
ToAmiLaunchPermissionMapOutputWithContext(context.Context) AmiLaunchPermissionMapOutput
}
AmiLaunchPermissionMapInput is an input type that accepts AmiLaunchPermissionMap and AmiLaunchPermissionMapOutput values. You can construct a concrete instance of `AmiLaunchPermissionMapInput` via:
AmiLaunchPermissionMap{ "key": AmiLaunchPermissionArgs{...} }
type AmiLaunchPermissionMapOutput ¶
type AmiLaunchPermissionMapOutput struct{ *pulumi.OutputState }
func (AmiLaunchPermissionMapOutput) ElementType ¶
func (AmiLaunchPermissionMapOutput) ElementType() reflect.Type
func (AmiLaunchPermissionMapOutput) MapIndex ¶
func (o AmiLaunchPermissionMapOutput) MapIndex(k pulumi.StringInput) AmiLaunchPermissionOutput
func (AmiLaunchPermissionMapOutput) ToAmiLaunchPermissionMapOutput ¶
func (o AmiLaunchPermissionMapOutput) ToAmiLaunchPermissionMapOutput() AmiLaunchPermissionMapOutput
func (AmiLaunchPermissionMapOutput) ToAmiLaunchPermissionMapOutputWithContext ¶
func (o AmiLaunchPermissionMapOutput) ToAmiLaunchPermissionMapOutputWithContext(ctx context.Context) AmiLaunchPermissionMapOutput
type AmiLaunchPermissionOutput ¶
type AmiLaunchPermissionOutput struct{ *pulumi.OutputState }
func (AmiLaunchPermissionOutput) ElementType ¶
func (AmiLaunchPermissionOutput) ElementType() reflect.Type
func (AmiLaunchPermissionOutput) ToAmiLaunchPermissionOutput ¶
func (o AmiLaunchPermissionOutput) ToAmiLaunchPermissionOutput() AmiLaunchPermissionOutput
func (AmiLaunchPermissionOutput) ToAmiLaunchPermissionOutputWithContext ¶
func (o AmiLaunchPermissionOutput) ToAmiLaunchPermissionOutputWithContext(ctx context.Context) AmiLaunchPermissionOutput
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 ¶
func (AmiLaunchPermissionState) ElementType() reflect.Type
type AmiMap ¶
func (AmiMap) ElementType ¶
func (AmiMap) ToAmiMapOutput ¶
func (i AmiMap) ToAmiMapOutput() AmiMapOutput
func (AmiMap) ToAmiMapOutputWithContext ¶
func (i AmiMap) ToAmiMapOutputWithContext(ctx context.Context) AmiMapOutput
type AmiMapInput ¶
type AmiMapInput interface {
pulumi.Input
ToAmiMapOutput() AmiMapOutput
ToAmiMapOutputWithContext(context.Context) AmiMapOutput
}
AmiMapInput is an input type that accepts AmiMap and AmiMapOutput values. You can construct a concrete instance of `AmiMapInput` via:
AmiMap{ "key": AmiArgs{...} }
type AmiMapOutput ¶
type AmiMapOutput struct{ *pulumi.OutputState }
func (AmiMapOutput) ElementType ¶
func (AmiMapOutput) ElementType() reflect.Type
func (AmiMapOutput) MapIndex ¶
func (o AmiMapOutput) MapIndex(k pulumi.StringInput) AmiOutput
func (AmiMapOutput) ToAmiMapOutput ¶
func (o AmiMapOutput) ToAmiMapOutput() AmiMapOutput
func (AmiMapOutput) ToAmiMapOutputWithContext ¶
func (o AmiMapOutput) ToAmiMapOutputWithContext(ctx context.Context) AmiMapOutput
type AmiOutput ¶
type AmiOutput struct{ *pulumi.OutputState }
func (AmiOutput) ElementType ¶
func (AmiOutput) ToAmiOutput ¶
type AmiState ¶
type AmiState struct {
// Machine architecture for created instances. Defaults to "x8664".
Architecture pulumi.StringPtrInput
// The ARN of the AMI.
Arn pulumi.StringPtrInput
// The boot mode of the AMI. For more information, see [Boot modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the Amazon Elastic Compute Cloud User Guide.
BootMode 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
// The hypervisor type of the image.
Hypervisor pulumi.StringPtrInput
// 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 AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.
ImageOwnerAlias pulumi.StringPtrInput
// The type of image.
ImageType 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 AWS account ID of the image owner.
OwnerId pulumi.StringPtrInput
// This value is set to windows for Windows AMIs; otherwise, it is blank.
Platform pulumi.StringPtrInput
// The platform details associated with the billing code of the AMI.
PlatformDetails pulumi.StringPtrInput
// Indicates whether the image has public launch permissions.
Public pulumi.BoolPtrInput
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
UsageOperation pulumi.StringPtrInput
// 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 ¶
type AvailabilityZoneGroup ¶
type AvailabilityZoneGroup struct {
pulumi.CustomResourceState
// Name of the Availability Zone Group.
GroupName pulumi.StringOutput `pulumi:"groupName"`
// Indicates whether to enable or disable Availability Zone Group. Valid values: `opted-in` or `not-opted-in`.
OptInStatus pulumi.StringOutput `pulumi:"optInStatus"`
}
Manages an EC2 Availability Zone Group, such as updating its opt-in status.
> **NOTE:** This is an advanced resource. The provider will automatically assume management of the EC2 Availability Zone Group without import and perform no actions on removal from configuration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewAvailabilityZoneGroup(ctx, "example", &ec2.AvailabilityZoneGroupArgs{
GroupName: pulumi.String("us-west-2-lax-1"),
OptInStatus: pulumi.String("opted-in"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
EC2 Availability Zone Groups can be imported using the group name, e.g.,
```sh
$ pulumi import aws:ec2/availabilityZoneGroup:AvailabilityZoneGroup example us-west-2-lax-1
```
func GetAvailabilityZoneGroup ¶
func GetAvailabilityZoneGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AvailabilityZoneGroupState, opts ...pulumi.ResourceOption) (*AvailabilityZoneGroup, error)
GetAvailabilityZoneGroup gets an existing AvailabilityZoneGroup 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 NewAvailabilityZoneGroup ¶
func NewAvailabilityZoneGroup(ctx *pulumi.Context, name string, args *AvailabilityZoneGroupArgs, opts ...pulumi.ResourceOption) (*AvailabilityZoneGroup, error)
NewAvailabilityZoneGroup registers a new resource with the given unique name, arguments, and options.
func (*AvailabilityZoneGroup) ElementType ¶
func (*AvailabilityZoneGroup) ElementType() reflect.Type
func (*AvailabilityZoneGroup) ToAvailabilityZoneGroupOutput ¶
func (i *AvailabilityZoneGroup) ToAvailabilityZoneGroupOutput() AvailabilityZoneGroupOutput
func (*AvailabilityZoneGroup) ToAvailabilityZoneGroupOutputWithContext ¶
func (i *AvailabilityZoneGroup) ToAvailabilityZoneGroupOutputWithContext(ctx context.Context) AvailabilityZoneGroupOutput
type AvailabilityZoneGroupArgs ¶
type AvailabilityZoneGroupArgs struct {
// Name of the Availability Zone Group.
GroupName pulumi.StringInput
// Indicates whether to enable or disable Availability Zone Group. Valid values: `opted-in` or `not-opted-in`.
OptInStatus pulumi.StringInput
}
The set of arguments for constructing a AvailabilityZoneGroup resource.
func (AvailabilityZoneGroupArgs) ElementType ¶
func (AvailabilityZoneGroupArgs) ElementType() reflect.Type
type AvailabilityZoneGroupArray ¶
type AvailabilityZoneGroupArray []AvailabilityZoneGroupInput
func (AvailabilityZoneGroupArray) ElementType ¶
func (AvailabilityZoneGroupArray) ElementType() reflect.Type
func (AvailabilityZoneGroupArray) ToAvailabilityZoneGroupArrayOutput ¶
func (i AvailabilityZoneGroupArray) ToAvailabilityZoneGroupArrayOutput() AvailabilityZoneGroupArrayOutput
func (AvailabilityZoneGroupArray) ToAvailabilityZoneGroupArrayOutputWithContext ¶
func (i AvailabilityZoneGroupArray) ToAvailabilityZoneGroupArrayOutputWithContext(ctx context.Context) AvailabilityZoneGroupArrayOutput
type AvailabilityZoneGroupArrayInput ¶
type AvailabilityZoneGroupArrayInput interface {
pulumi.Input
ToAvailabilityZoneGroupArrayOutput() AvailabilityZoneGroupArrayOutput
ToAvailabilityZoneGroupArrayOutputWithContext(context.Context) AvailabilityZoneGroupArrayOutput
}
AvailabilityZoneGroupArrayInput is an input type that accepts AvailabilityZoneGroupArray and AvailabilityZoneGroupArrayOutput values. You can construct a concrete instance of `AvailabilityZoneGroupArrayInput` via:
AvailabilityZoneGroupArray{ AvailabilityZoneGroupArgs{...} }
type AvailabilityZoneGroupArrayOutput ¶
type AvailabilityZoneGroupArrayOutput struct{ *pulumi.OutputState }
func (AvailabilityZoneGroupArrayOutput) ElementType ¶
func (AvailabilityZoneGroupArrayOutput) ElementType() reflect.Type
func (AvailabilityZoneGroupArrayOutput) Index ¶
func (o AvailabilityZoneGroupArrayOutput) Index(i pulumi.IntInput) AvailabilityZoneGroupOutput
func (AvailabilityZoneGroupArrayOutput) ToAvailabilityZoneGroupArrayOutput ¶
func (o AvailabilityZoneGroupArrayOutput) ToAvailabilityZoneGroupArrayOutput() AvailabilityZoneGroupArrayOutput
func (AvailabilityZoneGroupArrayOutput) ToAvailabilityZoneGroupArrayOutputWithContext ¶
func (o AvailabilityZoneGroupArrayOutput) ToAvailabilityZoneGroupArrayOutputWithContext(ctx context.Context) AvailabilityZoneGroupArrayOutput
type AvailabilityZoneGroupInput ¶
type AvailabilityZoneGroupInput interface {
pulumi.Input
ToAvailabilityZoneGroupOutput() AvailabilityZoneGroupOutput
ToAvailabilityZoneGroupOutputWithContext(ctx context.Context) AvailabilityZoneGroupOutput
}
type AvailabilityZoneGroupMap ¶
type AvailabilityZoneGroupMap map[string]AvailabilityZoneGroupInput
func (AvailabilityZoneGroupMap) ElementType ¶
func (AvailabilityZoneGroupMap) ElementType() reflect.Type
func (AvailabilityZoneGroupMap) ToAvailabilityZoneGroupMapOutput ¶
func (i AvailabilityZoneGroupMap) ToAvailabilityZoneGroupMapOutput() AvailabilityZoneGroupMapOutput
func (AvailabilityZoneGroupMap) ToAvailabilityZoneGroupMapOutputWithContext ¶
func (i AvailabilityZoneGroupMap) ToAvailabilityZoneGroupMapOutputWithContext(ctx context.Context) AvailabilityZoneGroupMapOutput
type AvailabilityZoneGroupMapInput ¶
type AvailabilityZoneGroupMapInput interface {
pulumi.Input
ToAvailabilityZoneGroupMapOutput() AvailabilityZoneGroupMapOutput
ToAvailabilityZoneGroupMapOutputWithContext(context.Context) AvailabilityZoneGroupMapOutput
}
AvailabilityZoneGroupMapInput is an input type that accepts AvailabilityZoneGroupMap and AvailabilityZoneGroupMapOutput values. You can construct a concrete instance of `AvailabilityZoneGroupMapInput` via:
AvailabilityZoneGroupMap{ "key": AvailabilityZoneGroupArgs{...} }
type AvailabilityZoneGroupMapOutput ¶
type AvailabilityZoneGroupMapOutput struct{ *pulumi.OutputState }
func (AvailabilityZoneGroupMapOutput) ElementType ¶
func (AvailabilityZoneGroupMapOutput) ElementType() reflect.Type
func (AvailabilityZoneGroupMapOutput) MapIndex ¶
func (o AvailabilityZoneGroupMapOutput) MapIndex(k pulumi.StringInput) AvailabilityZoneGroupOutput
func (AvailabilityZoneGroupMapOutput) ToAvailabilityZoneGroupMapOutput ¶
func (o AvailabilityZoneGroupMapOutput) ToAvailabilityZoneGroupMapOutput() AvailabilityZoneGroupMapOutput
func (AvailabilityZoneGroupMapOutput) ToAvailabilityZoneGroupMapOutputWithContext ¶
func (o AvailabilityZoneGroupMapOutput) ToAvailabilityZoneGroupMapOutputWithContext(ctx context.Context) AvailabilityZoneGroupMapOutput
type AvailabilityZoneGroupOutput ¶
type AvailabilityZoneGroupOutput struct{ *pulumi.OutputState }
func (AvailabilityZoneGroupOutput) ElementType ¶
func (AvailabilityZoneGroupOutput) ElementType() reflect.Type
func (AvailabilityZoneGroupOutput) ToAvailabilityZoneGroupOutput ¶
func (o AvailabilityZoneGroupOutput) ToAvailabilityZoneGroupOutput() AvailabilityZoneGroupOutput
func (AvailabilityZoneGroupOutput) ToAvailabilityZoneGroupOutputWithContext ¶
func (o AvailabilityZoneGroupOutput) ToAvailabilityZoneGroupOutputWithContext(ctx context.Context) AvailabilityZoneGroupOutput
type AvailabilityZoneGroupState ¶
type AvailabilityZoneGroupState struct {
// Name of the Availability Zone Group.
GroupName pulumi.StringPtrInput
// Indicates whether to enable or disable Availability Zone Group. Valid values: `opted-in` or `not-opted-in`.
OptInStatus pulumi.StringPtrInput
}
func (AvailabilityZoneGroupState) ElementType ¶
func (AvailabilityZoneGroupState) ElementType() reflect.Type
type CapacityReservation ¶
type CapacityReservation struct {
pulumi.CustomResourceState
// The ARN of the Capacity Reservation.
Arn pulumi.StringOutput `pulumi:"arn"`
// 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"`
// The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
OutpostArn pulumi.StringPtrOutput `pulumi:"outpostArn"`
// The ID of the AWS account that owns the Capacity Reservation.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewCapacityReservation(ctx, "default", &ec2.CapacityReservationArgs{
AvailabilityZone: pulumi.String("eu-west-1a"),
InstanceCount: pulumi.Int(1),
InstancePlatform: pulumi.String("Linux/UNIX"),
InstanceType: pulumi.String("t2.micro"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Capacity Reservations can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/capacityReservation:CapacityReservation web cr-0123456789abcdef0
```
func GetCapacityReservation ¶
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 ¶
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.
func (*CapacityReservation) ElementType ¶
func (*CapacityReservation) ElementType() reflect.Type
func (*CapacityReservation) ToCapacityReservationOutput ¶
func (i *CapacityReservation) ToCapacityReservationOutput() CapacityReservationOutput
func (*CapacityReservation) ToCapacityReservationOutputWithContext ¶
func (i *CapacityReservation) ToCapacityReservationOutputWithContext(ctx context.Context) CapacityReservationOutput
type CapacityReservationArgs ¶
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
// The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
OutpostArn pulumi.StringPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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 ¶
func (CapacityReservationArgs) ElementType() reflect.Type
type CapacityReservationArray ¶
type CapacityReservationArray []CapacityReservationInput
func (CapacityReservationArray) ElementType ¶
func (CapacityReservationArray) ElementType() reflect.Type
func (CapacityReservationArray) ToCapacityReservationArrayOutput ¶
func (i CapacityReservationArray) ToCapacityReservationArrayOutput() CapacityReservationArrayOutput
func (CapacityReservationArray) ToCapacityReservationArrayOutputWithContext ¶
func (i CapacityReservationArray) ToCapacityReservationArrayOutputWithContext(ctx context.Context) CapacityReservationArrayOutput
type CapacityReservationArrayInput ¶
type CapacityReservationArrayInput interface {
pulumi.Input
ToCapacityReservationArrayOutput() CapacityReservationArrayOutput
ToCapacityReservationArrayOutputWithContext(context.Context) CapacityReservationArrayOutput
}
CapacityReservationArrayInput is an input type that accepts CapacityReservationArray and CapacityReservationArrayOutput values. You can construct a concrete instance of `CapacityReservationArrayInput` via:
CapacityReservationArray{ CapacityReservationArgs{...} }
type CapacityReservationArrayOutput ¶
type CapacityReservationArrayOutput struct{ *pulumi.OutputState }
func (CapacityReservationArrayOutput) ElementType ¶
func (CapacityReservationArrayOutput) ElementType() reflect.Type
func (CapacityReservationArrayOutput) Index ¶
func (o CapacityReservationArrayOutput) Index(i pulumi.IntInput) CapacityReservationOutput
func (CapacityReservationArrayOutput) ToCapacityReservationArrayOutput ¶
func (o CapacityReservationArrayOutput) ToCapacityReservationArrayOutput() CapacityReservationArrayOutput
func (CapacityReservationArrayOutput) ToCapacityReservationArrayOutputWithContext ¶
func (o CapacityReservationArrayOutput) ToCapacityReservationArrayOutputWithContext(ctx context.Context) CapacityReservationArrayOutput
type CapacityReservationInput ¶
type CapacityReservationInput interface {
pulumi.Input
ToCapacityReservationOutput() CapacityReservationOutput
ToCapacityReservationOutputWithContext(ctx context.Context) CapacityReservationOutput
}
type CapacityReservationMap ¶
type CapacityReservationMap map[string]CapacityReservationInput
func (CapacityReservationMap) ElementType ¶
func (CapacityReservationMap) ElementType() reflect.Type
func (CapacityReservationMap) ToCapacityReservationMapOutput ¶
func (i CapacityReservationMap) ToCapacityReservationMapOutput() CapacityReservationMapOutput
func (CapacityReservationMap) ToCapacityReservationMapOutputWithContext ¶
func (i CapacityReservationMap) ToCapacityReservationMapOutputWithContext(ctx context.Context) CapacityReservationMapOutput
type CapacityReservationMapInput ¶
type CapacityReservationMapInput interface {
pulumi.Input
ToCapacityReservationMapOutput() CapacityReservationMapOutput
ToCapacityReservationMapOutputWithContext(context.Context) CapacityReservationMapOutput
}
CapacityReservationMapInput is an input type that accepts CapacityReservationMap and CapacityReservationMapOutput values. You can construct a concrete instance of `CapacityReservationMapInput` via:
CapacityReservationMap{ "key": CapacityReservationArgs{...} }
type CapacityReservationMapOutput ¶
type CapacityReservationMapOutput struct{ *pulumi.OutputState }
func (CapacityReservationMapOutput) ElementType ¶
func (CapacityReservationMapOutput) ElementType() reflect.Type
func (CapacityReservationMapOutput) MapIndex ¶
func (o CapacityReservationMapOutput) MapIndex(k pulumi.StringInput) CapacityReservationOutput
func (CapacityReservationMapOutput) ToCapacityReservationMapOutput ¶
func (o CapacityReservationMapOutput) ToCapacityReservationMapOutput() CapacityReservationMapOutput
func (CapacityReservationMapOutput) ToCapacityReservationMapOutputWithContext ¶
func (o CapacityReservationMapOutput) ToCapacityReservationMapOutputWithContext(ctx context.Context) CapacityReservationMapOutput
type CapacityReservationOutput ¶
type CapacityReservationOutput struct{ *pulumi.OutputState }
func (CapacityReservationOutput) ElementType ¶
func (CapacityReservationOutput) ElementType() reflect.Type
func (CapacityReservationOutput) ToCapacityReservationOutput ¶
func (o CapacityReservationOutput) ToCapacityReservationOutput() CapacityReservationOutput
func (CapacityReservationOutput) ToCapacityReservationOutputWithContext ¶
func (o CapacityReservationOutput) ToCapacityReservationOutputWithContext(ctx context.Context) CapacityReservationOutput
type CapacityReservationState ¶
type CapacityReservationState struct {
// The ARN of the Capacity Reservation.
Arn pulumi.StringPtrInput
// 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
// The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
OutpostArn pulumi.StringPtrInput
// The ID of the AWS account that owns the Capacity Reservation.
OwnerId pulumi.StringPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
TagsAll pulumi.StringMapInput
// Indicates the tenancy of the Capacity Reservation. Specify either `default` or `dedicated`.
Tenancy pulumi.StringPtrInput
}
func (CapacityReservationState) ElementType ¶
func (CapacityReservationState) ElementType() reflect.Type
type CarrierGateway ¶
type CarrierGateway struct {
pulumi.CustomResourceState
// The ARN of the carrier gateway.
Arn pulumi.StringOutput `pulumi:"arn"`
// The AWS account ID of the owner of the carrier gateway.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The ID of the VPC to associate with the carrier gateway.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Manages an EC2 Carrier Gateway. See the AWS [documentation](https://docs.aws.amazon.com/vpc/latest/userguide/Carrier_Gateway.html) for more information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewCarrierGateway(ctx, "example", &ec2.CarrierGatewayArgs{
VpcId: pulumi.Any(aws_vpc.Example.Id),
Tags: pulumi.StringMap{
"Name": pulumi.String("example-carrier-gateway"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_ec2_carrier_gateway` can be imported using the carrier gateway's ID, e.g.,
```sh
$ pulumi import aws:ec2/carrierGateway:CarrierGateway example cgw-12345
```
func GetCarrierGateway ¶
func GetCarrierGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CarrierGatewayState, opts ...pulumi.ResourceOption) (*CarrierGateway, error)
GetCarrierGateway gets an existing CarrierGateway 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 NewCarrierGateway ¶
func NewCarrierGateway(ctx *pulumi.Context, name string, args *CarrierGatewayArgs, opts ...pulumi.ResourceOption) (*CarrierGateway, error)
NewCarrierGateway registers a new resource with the given unique name, arguments, and options.
func (*CarrierGateway) ElementType ¶
func (*CarrierGateway) ElementType() reflect.Type
func (*CarrierGateway) ToCarrierGatewayOutput ¶
func (i *CarrierGateway) ToCarrierGatewayOutput() CarrierGatewayOutput
func (*CarrierGateway) ToCarrierGatewayOutputWithContext ¶
func (i *CarrierGateway) ToCarrierGatewayOutputWithContext(ctx context.Context) CarrierGatewayOutput
type CarrierGatewayArgs ¶
type CarrierGatewayArgs struct {
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The ID of the VPC to associate with the carrier gateway.
VpcId pulumi.StringInput
}
The set of arguments for constructing a CarrierGateway resource.
func (CarrierGatewayArgs) ElementType ¶
func (CarrierGatewayArgs) ElementType() reflect.Type
type CarrierGatewayArray ¶
type CarrierGatewayArray []CarrierGatewayInput
func (CarrierGatewayArray) ElementType ¶
func (CarrierGatewayArray) ElementType() reflect.Type
func (CarrierGatewayArray) ToCarrierGatewayArrayOutput ¶
func (i CarrierGatewayArray) ToCarrierGatewayArrayOutput() CarrierGatewayArrayOutput
func (CarrierGatewayArray) ToCarrierGatewayArrayOutputWithContext ¶
func (i CarrierGatewayArray) ToCarrierGatewayArrayOutputWithContext(ctx context.Context) CarrierGatewayArrayOutput
type CarrierGatewayArrayInput ¶
type CarrierGatewayArrayInput interface {
pulumi.Input
ToCarrierGatewayArrayOutput() CarrierGatewayArrayOutput
ToCarrierGatewayArrayOutputWithContext(context.Context) CarrierGatewayArrayOutput
}
CarrierGatewayArrayInput is an input type that accepts CarrierGatewayArray and CarrierGatewayArrayOutput values. You can construct a concrete instance of `CarrierGatewayArrayInput` via:
CarrierGatewayArray{ CarrierGatewayArgs{...} }
type CarrierGatewayArrayOutput ¶
type CarrierGatewayArrayOutput struct{ *pulumi.OutputState }
func (CarrierGatewayArrayOutput) ElementType ¶
func (CarrierGatewayArrayOutput) ElementType() reflect.Type
func (CarrierGatewayArrayOutput) Index ¶
func (o CarrierGatewayArrayOutput) Index(i pulumi.IntInput) CarrierGatewayOutput
func (CarrierGatewayArrayOutput) ToCarrierGatewayArrayOutput ¶
func (o CarrierGatewayArrayOutput) ToCarrierGatewayArrayOutput() CarrierGatewayArrayOutput
func (CarrierGatewayArrayOutput) ToCarrierGatewayArrayOutputWithContext ¶
func (o CarrierGatewayArrayOutput) ToCarrierGatewayArrayOutputWithContext(ctx context.Context) CarrierGatewayArrayOutput
type CarrierGatewayInput ¶
type CarrierGatewayInput interface {
pulumi.Input
ToCarrierGatewayOutput() CarrierGatewayOutput
ToCarrierGatewayOutputWithContext(ctx context.Context) CarrierGatewayOutput
}
type CarrierGatewayMap ¶
type CarrierGatewayMap map[string]CarrierGatewayInput
func (CarrierGatewayMap) ElementType ¶
func (CarrierGatewayMap) ElementType() reflect.Type
func (CarrierGatewayMap) ToCarrierGatewayMapOutput ¶
func (i CarrierGatewayMap) ToCarrierGatewayMapOutput() CarrierGatewayMapOutput
func (CarrierGatewayMap) ToCarrierGatewayMapOutputWithContext ¶
func (i CarrierGatewayMap) ToCarrierGatewayMapOutputWithContext(ctx context.Context) CarrierGatewayMapOutput
type CarrierGatewayMapInput ¶
type CarrierGatewayMapInput interface {
pulumi.Input
ToCarrierGatewayMapOutput() CarrierGatewayMapOutput
ToCarrierGatewayMapOutputWithContext(context.Context) CarrierGatewayMapOutput
}
CarrierGatewayMapInput is an input type that accepts CarrierGatewayMap and CarrierGatewayMapOutput values. You can construct a concrete instance of `CarrierGatewayMapInput` via:
CarrierGatewayMap{ "key": CarrierGatewayArgs{...} }
type CarrierGatewayMapOutput ¶
type CarrierGatewayMapOutput struct{ *pulumi.OutputState }
func (CarrierGatewayMapOutput) ElementType ¶
func (CarrierGatewayMapOutput) ElementType() reflect.Type
func (CarrierGatewayMapOutput) MapIndex ¶
func (o CarrierGatewayMapOutput) MapIndex(k pulumi.StringInput) CarrierGatewayOutput
func (CarrierGatewayMapOutput) ToCarrierGatewayMapOutput ¶
func (o CarrierGatewayMapOutput) ToCarrierGatewayMapOutput() CarrierGatewayMapOutput
func (CarrierGatewayMapOutput) ToCarrierGatewayMapOutputWithContext ¶
func (o CarrierGatewayMapOutput) ToCarrierGatewayMapOutputWithContext(ctx context.Context) CarrierGatewayMapOutput
type CarrierGatewayOutput ¶
type CarrierGatewayOutput struct{ *pulumi.OutputState }
func (CarrierGatewayOutput) ElementType ¶
func (CarrierGatewayOutput) ElementType() reflect.Type
func (CarrierGatewayOutput) ToCarrierGatewayOutput ¶
func (o CarrierGatewayOutput) ToCarrierGatewayOutput() CarrierGatewayOutput
func (CarrierGatewayOutput) ToCarrierGatewayOutputWithContext ¶
func (o CarrierGatewayOutput) ToCarrierGatewayOutputWithContext(ctx context.Context) CarrierGatewayOutput
type CarrierGatewayState ¶
type CarrierGatewayState struct {
// The ARN of the carrier gateway.
Arn pulumi.StringPtrInput
// The AWS account ID of the owner of the carrier gateway.
OwnerId pulumi.StringPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// The ID of the VPC to associate with the carrier gateway.
VpcId pulumi.StringPtrInput
}
func (CarrierGatewayState) ElementType ¶
func (CarrierGatewayState) ElementType() reflect.Type
type CustomerGateway ¶
type CustomerGateway struct {
pulumi.CustomResourceState
// The ARN of the customer gateway.
Arn pulumi.StringOutput `pulumi:"arn"`
// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
BgpAsn pulumi.StringOutput `pulumi:"bgpAsn"`
// The Amazon Resource Name (ARN) for the customer gateway certificate.
CertificateArn pulumi.StringPtrOutput `pulumi:"certificateArn"`
// A name for the customer gateway device.
DeviceName pulumi.StringPtrOutput `pulumi:"deviceName"`
// The IP address of the gateway's Internet-routable external interface.
IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
// Tags to apply to the gateway. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewCustomerGateway(ctx, "main", &ec2.CustomerGatewayArgs{
BgpAsn: pulumi.String("65000"),
IpAddress: pulumi.String("172.83.124.10"),
Tags: pulumi.StringMap{
"Name": pulumi.String("main-customer-gateway"),
},
Type: pulumi.String("ipsec.1"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Customer Gateways can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/customerGateway:CustomerGateway main cgw-b4dc3961
```
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.
func (*CustomerGateway) ElementType ¶
func (*CustomerGateway) ElementType() reflect.Type
func (*CustomerGateway) ToCustomerGatewayOutput ¶
func (i *CustomerGateway) ToCustomerGatewayOutput() CustomerGatewayOutput
func (*CustomerGateway) ToCustomerGatewayOutputWithContext ¶
func (i *CustomerGateway) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
type CustomerGatewayArgs ¶
type CustomerGatewayArgs struct {
// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
BgpAsn pulumi.StringInput
// The Amazon Resource Name (ARN) for the customer gateway certificate.
CertificateArn pulumi.StringPtrInput
// A name for the customer gateway device.
DeviceName pulumi.StringPtrInput
// The IP address of the gateway's Internet-routable external interface.
IpAddress pulumi.StringInput
// Tags to apply to the gateway. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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 ¶
func (CustomerGatewayArgs) ElementType() reflect.Type
type CustomerGatewayArray ¶
type CustomerGatewayArray []CustomerGatewayInput
func (CustomerGatewayArray) ElementType ¶
func (CustomerGatewayArray) ElementType() reflect.Type
func (CustomerGatewayArray) ToCustomerGatewayArrayOutput ¶
func (i CustomerGatewayArray) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput
func (CustomerGatewayArray) ToCustomerGatewayArrayOutputWithContext ¶
func (i CustomerGatewayArray) ToCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewayArrayOutput
type CustomerGatewayArrayInput ¶
type CustomerGatewayArrayInput interface {
pulumi.Input
ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput
ToCustomerGatewayArrayOutputWithContext(context.Context) CustomerGatewayArrayOutput
}
CustomerGatewayArrayInput is an input type that accepts CustomerGatewayArray and CustomerGatewayArrayOutput values. You can construct a concrete instance of `CustomerGatewayArrayInput` via:
CustomerGatewayArray{ CustomerGatewayArgs{...} }
type CustomerGatewayArrayOutput ¶
type CustomerGatewayArrayOutput struct{ *pulumi.OutputState }
func (CustomerGatewayArrayOutput) ElementType ¶
func (CustomerGatewayArrayOutput) ElementType() reflect.Type
func (CustomerGatewayArrayOutput) Index ¶
func (o CustomerGatewayArrayOutput) Index(i pulumi.IntInput) CustomerGatewayOutput
func (CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput ¶
func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput
func (CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext ¶
func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewayArrayOutput
type CustomerGatewayInput ¶
type CustomerGatewayInput interface {
pulumi.Input
ToCustomerGatewayOutput() CustomerGatewayOutput
ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
}
type CustomerGatewayMap ¶
type CustomerGatewayMap map[string]CustomerGatewayInput
func (CustomerGatewayMap) ElementType ¶
func (CustomerGatewayMap) ElementType() reflect.Type
func (CustomerGatewayMap) ToCustomerGatewayMapOutput ¶
func (i CustomerGatewayMap) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput
func (CustomerGatewayMap) ToCustomerGatewayMapOutputWithContext ¶
func (i CustomerGatewayMap) ToCustomerGatewayMapOutputWithContext(ctx context.Context) CustomerGatewayMapOutput
type CustomerGatewayMapInput ¶
type CustomerGatewayMapInput interface {
pulumi.Input
ToCustomerGatewayMapOutput() CustomerGatewayMapOutput
ToCustomerGatewayMapOutputWithContext(context.Context) CustomerGatewayMapOutput
}
CustomerGatewayMapInput is an input type that accepts CustomerGatewayMap and CustomerGatewayMapOutput values. You can construct a concrete instance of `CustomerGatewayMapInput` via:
CustomerGatewayMap{ "key": CustomerGatewayArgs{...} }
type CustomerGatewayMapOutput ¶
type CustomerGatewayMapOutput struct{ *pulumi.OutputState }
func (CustomerGatewayMapOutput) ElementType ¶
func (CustomerGatewayMapOutput) ElementType() reflect.Type
func (CustomerGatewayMapOutput) MapIndex ¶
func (o CustomerGatewayMapOutput) MapIndex(k pulumi.StringInput) CustomerGatewayOutput
func (CustomerGatewayMapOutput) ToCustomerGatewayMapOutput ¶
func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput
func (CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext ¶
func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext(ctx context.Context) CustomerGatewayMapOutput
type CustomerGatewayOutput ¶
type CustomerGatewayOutput struct{ *pulumi.OutputState }
func (CustomerGatewayOutput) ElementType ¶
func (CustomerGatewayOutput) ElementType() reflect.Type
func (CustomerGatewayOutput) ToCustomerGatewayOutput ¶
func (o CustomerGatewayOutput) ToCustomerGatewayOutput() CustomerGatewayOutput
func (CustomerGatewayOutput) ToCustomerGatewayOutputWithContext ¶
func (o CustomerGatewayOutput) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
type CustomerGatewayState ¶
type CustomerGatewayState struct {
// The ARN of the customer gateway.
Arn pulumi.StringPtrInput
// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
BgpAsn pulumi.StringPtrInput
// The Amazon Resource Name (ARN) for the customer gateway certificate.
CertificateArn pulumi.StringPtrInput
// A name for the customer gateway device.
DeviceName pulumi.StringPtrInput
// The IP address of the gateway's Internet-routable external interface.
IpAddress pulumi.StringPtrInput
// Tags to apply to the gateway. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The type of customer gateway. The only type AWS
// supports at this time is "ipsec.1".
Type pulumi.StringPtrInput
}
func (CustomerGatewayState) ElementType ¶
func (CustomerGatewayState) ElementType() reflect.Type
type DedicatedHost ¶
type DedicatedHost struct {
pulumi.CustomResourceState
// The ARN of the Dedicated Host.
Arn pulumi.StringOutput `pulumi:"arn"`
// Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. Valid values: `on`, `off`. Default: `on`.
AutoPlacement pulumi.StringPtrOutput `pulumi:"autoPlacement"`
// The Availability Zone in which to allocate the Dedicated Host.
AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
// Indicates whether to enable or disable host recovery for the Dedicated Host. Valid values: `on`, `off`. Default: `off`.
HostRecovery pulumi.StringPtrOutput `pulumi:"hostRecovery"`
// Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family. Exactly one of `instanceFamily` or `instanceType` must be specified.
InstanceFamily pulumi.StringPtrOutput `pulumi:"instanceFamily"`
// Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only. Exactly one of `instanceFamily` or `instanceType` must be specified.
InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"`
// The ID of the AWS account that owns the Dedicated Host.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides an EC2 Host resource. This allows Dedicated Hosts to be allocated, modified, and released.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewDedicatedHost(ctx, "test", &ec2.DedicatedHostArgs{
AutoPlacement: pulumi.String("on"),
AvailabilityZone: pulumi.String("us-west-2a"),
HostRecovery: pulumi.String("on"),
InstanceType: pulumi.String("c5.18xlarge"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Hosts can be imported using the host `id`, e.g.,
```sh
$ pulumi import aws:ec2/dedicatedHost:DedicatedHost example h-0385a99d0e4b20cbb
```
func GetDedicatedHost ¶
func GetDedicatedHost(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DedicatedHostState, opts ...pulumi.ResourceOption) (*DedicatedHost, error)
GetDedicatedHost gets an existing DedicatedHost 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 NewDedicatedHost ¶
func NewDedicatedHost(ctx *pulumi.Context, name string, args *DedicatedHostArgs, opts ...pulumi.ResourceOption) (*DedicatedHost, error)
NewDedicatedHost registers a new resource with the given unique name, arguments, and options.
func (*DedicatedHost) ElementType ¶
func (*DedicatedHost) ElementType() reflect.Type
func (*DedicatedHost) ToDedicatedHostOutput ¶
func (i *DedicatedHost) ToDedicatedHostOutput() DedicatedHostOutput
func (*DedicatedHost) ToDedicatedHostOutputWithContext ¶
func (i *DedicatedHost) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
type DedicatedHostArgs ¶
type DedicatedHostArgs struct {
// Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. Valid values: `on`, `off`. Default: `on`.
AutoPlacement pulumi.StringPtrInput
// The Availability Zone in which to allocate the Dedicated Host.
AvailabilityZone pulumi.StringInput
// Indicates whether to enable or disable host recovery for the Dedicated Host. Valid values: `on`, `off`. Default: `off`.
HostRecovery pulumi.StringPtrInput
// Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family. Exactly one of `instanceFamily` or `instanceType` must be specified.
InstanceFamily pulumi.StringPtrInput
// Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only. Exactly one of `instanceFamily` or `instanceType` must be specified.
InstanceType pulumi.StringPtrInput
// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a DedicatedHost resource.
func (DedicatedHostArgs) ElementType ¶
func (DedicatedHostArgs) ElementType() reflect.Type
type DedicatedHostArray ¶
type DedicatedHostArray []DedicatedHostInput
func (DedicatedHostArray) ElementType ¶
func (DedicatedHostArray) ElementType() reflect.Type
func (DedicatedHostArray) ToDedicatedHostArrayOutput ¶
func (i DedicatedHostArray) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
func (DedicatedHostArray) ToDedicatedHostArrayOutputWithContext ¶
func (i DedicatedHostArray) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
type DedicatedHostArrayInput ¶
type DedicatedHostArrayInput interface {
pulumi.Input
ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
ToDedicatedHostArrayOutputWithContext(context.Context) DedicatedHostArrayOutput
}
DedicatedHostArrayInput is an input type that accepts DedicatedHostArray and DedicatedHostArrayOutput values. You can construct a concrete instance of `DedicatedHostArrayInput` via:
DedicatedHostArray{ DedicatedHostArgs{...} }
type DedicatedHostArrayOutput ¶
type DedicatedHostArrayOutput struct{ *pulumi.OutputState }
func (DedicatedHostArrayOutput) ElementType ¶
func (DedicatedHostArrayOutput) ElementType() reflect.Type
func (DedicatedHostArrayOutput) Index ¶
func (o DedicatedHostArrayOutput) Index(i pulumi.IntInput) DedicatedHostOutput
func (DedicatedHostArrayOutput) ToDedicatedHostArrayOutput ¶
func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
func (DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext ¶
func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
type DedicatedHostInput ¶
type DedicatedHostInput interface {
pulumi.Input
ToDedicatedHostOutput() DedicatedHostOutput
ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
}
type DedicatedHostMap ¶
type DedicatedHostMap map[string]DedicatedHostInput
func (DedicatedHostMap) ElementType ¶
func (DedicatedHostMap) ElementType() reflect.Type
func (DedicatedHostMap) ToDedicatedHostMapOutput ¶
func (i DedicatedHostMap) ToDedicatedHostMapOutput() DedicatedHostMapOutput
func (DedicatedHostMap) ToDedicatedHostMapOutputWithContext ¶
func (i DedicatedHostMap) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
type DedicatedHostMapInput ¶
type DedicatedHostMapInput interface {
pulumi.Input
ToDedicatedHostMapOutput() DedicatedHostMapOutput
ToDedicatedHostMapOutputWithContext(context.Context) DedicatedHostMapOutput
}
DedicatedHostMapInput is an input type that accepts DedicatedHostMap and DedicatedHostMapOutput values. You can construct a concrete instance of `DedicatedHostMapInput` via:
DedicatedHostMap{ "key": DedicatedHostArgs{...} }
type DedicatedHostMapOutput ¶
type DedicatedHostMapOutput struct{ *pulumi.OutputState }
func (DedicatedHostMapOutput) ElementType ¶
func (DedicatedHostMapOutput) ElementType() reflect.Type
func (DedicatedHostMapOutput) MapIndex ¶
func (o DedicatedHostMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostOutput
func (DedicatedHostMapOutput) ToDedicatedHostMapOutput ¶
func (o DedicatedHostMapOutput) ToDedicatedHostMapOutput() DedicatedHostMapOutput
func (DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext ¶
func (o DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
type DedicatedHostOutput ¶
type DedicatedHostOutput struct{ *pulumi.OutputState }
func (DedicatedHostOutput) ElementType ¶
func (DedicatedHostOutput) ElementType() reflect.Type
func (DedicatedHostOutput) ToDedicatedHostOutput ¶
func (o DedicatedHostOutput) ToDedicatedHostOutput() DedicatedHostOutput
func (DedicatedHostOutput) ToDedicatedHostOutputWithContext ¶
func (o DedicatedHostOutput) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
type DedicatedHostState ¶
type DedicatedHostState struct {
// The ARN of the Dedicated Host.
Arn pulumi.StringPtrInput
// Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. Valid values: `on`, `off`. Default: `on`.
AutoPlacement pulumi.StringPtrInput
// The Availability Zone in which to allocate the Dedicated Host.
AvailabilityZone pulumi.StringPtrInput
// Indicates whether to enable or disable host recovery for the Dedicated Host. Valid values: `on`, `off`. Default: `off`.
HostRecovery pulumi.StringPtrInput
// Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family. Exactly one of `instanceFamily` or `instanceType` must be specified.
InstanceFamily pulumi.StringPtrInput
// Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only. Exactly one of `instanceFamily` or `instanceType` must be specified.
InstanceType pulumi.StringPtrInput
// The ID of the AWS account that owns the Dedicated Host.
OwnerId pulumi.StringPtrInput
// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (DedicatedHostState) ElementType ¶
func (DedicatedHostState) ElementType() reflect.Type
type DefaultNetworkAcl ¶
type DefaultNetworkAcl struct {
pulumi.CustomResourceState
// ARN of the Default Network ACL
Arn pulumi.StringOutput `pulumi:"arn"`
// Network ACL ID to manage. This attribute is exported from `ec2.Vpc`, or manually found via the AWS Console.
DefaultNetworkAclId pulumi.StringOutput `pulumi:"defaultNetworkAclId"`
// Configuration block for an egress rule. Detailed below.
Egress DefaultNetworkAclEgressArrayOutput `pulumi:"egress"`
// Configuration block for an ingress rule. Detailed below.
Ingress DefaultNetworkAclIngressArrayOutput `pulumi:"ingress"`
// ID of the AWS account that owns the Default Network ACL
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// 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"`
// Map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// ID of the associated VPC
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides a resource to manage a VPC's default network ACL. This resource can manage the default network ACL of the default or a non-default VPC.
> **NOTE:** This is an advanced resource with special caveats. Please read this document in its entirety before using this resource. The `ec2.DefaultNetworkAcl` behaves differently from normal resources. This provider does not _create_ this resource but instead attempts to "adopt" it into management.
Every VPC has a default network ACL that can be managed but not destroyed. When the 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].
## Example Usage ### Basic Example
The following config gives the Default Network ACL the same rules that AWS includes but pulls the resource under management by this provider. This means that any ACL rules added or changed will be detected as drift.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mainvpc, err := ec2.NewVpc(ctx, "mainvpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewDefaultNetworkAcl(ctx, "default", &ec2.DefaultNetworkAclArgs{
DefaultNetworkAclId: mainvpc.DefaultNetworkAclId,
Ingress: ec2.DefaultNetworkAclIngressArray{
&ec2.DefaultNetworkAclIngressArgs{
Protocol: pulumi.String("-1"),
RuleNo: pulumi.Int(100),
Action: pulumi.String("allow"),
CidrBlock: mainvpc.CidrBlock,
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(0),
},
},
Egress: ec2.DefaultNetworkAclEgressArray{
&ec2.DefaultNetworkAclEgressArgs{
Protocol: pulumi.String("-1"),
RuleNo: pulumi.Int(100),
Action: pulumi.String("allow"),
CidrBlock: pulumi.String("0.0.0.0/0"),
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(0),
},
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Example: Deny All Egress Traffic, Allow Ingress
The following denies all Egress traffic by omitting any `egress` rules, while including the default `ingress` rule to allow all traffic.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mainvpc, err := ec2.NewVpc(ctx, "mainvpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewDefaultNetworkAcl(ctx, "default", &ec2.DefaultNetworkAclArgs{
DefaultNetworkAclId: mainvpc.DefaultNetworkAclId,
Ingress: ec2.DefaultNetworkAclIngressArray{
&ec2.DefaultNetworkAclIngressArgs{
Protocol: pulumi.String("-1"),
RuleNo: pulumi.Int(100),
Action: pulumi.String("allow"),
CidrBlock: pulumi.Any(aws_default_vpc.Mainvpc.Cidr_block),
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(0),
},
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Example: Deny All Traffic To Any Subnet In The Default Network ACL
This config denies all traffic in the Default ACL. This can be useful if you want to lock down the VPC to force all resources to assign a non-default ACL.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mainvpc, err := ec2.NewVpc(ctx, "mainvpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewDefaultNetworkAcl(ctx, "default", &ec2.DefaultNetworkAclArgs{
DefaultNetworkAclId: mainvpc.DefaultNetworkAclId,
})
if err != nil {
return err
}
return nil
})
}
``` ### Managing Subnets In A Default Network ACL
Within a VPC, all Subnets must be associated with a Network ACL. In order to "delete" the association between a Subnet and a non-default Network ACL, the association is destroyed by replacing it with an association between the Subnet and the Default ACL instead.
When managing the Default Network ACL, you cannot "remove" Subnets. Instead, they must be reassigned to another Network ACL, or the Subnet itself must be destroyed. Because of these requirements, removing the `subnetIds` attribute from the configuration of a `ec2.DefaultNetworkAcl` resource may result in a reoccurring plan, until the Subnets are reassigned to another Network ACL or are destroyed.
Because Subnets are by default associated with the Default Network ACL, any non-explicit association will show up as a plan to remove the Subnet. For example: if you have a custom `ec2.NetworkAcl` with two subnets attached, and you remove the `ec2.NetworkAcl` resource, after successfully destroying this resource future plans will show a diff on the managed `ec2.DefaultNetworkAcl`, as those two Subnets have been orphaned by the now destroyed network acl and thus adopted by the Default Network ACL. In order to avoid a reoccurring plan, they will need to be reassigned, destroyed, or added to the `subnetIds` attribute of the `ec2.DefaultNetworkAcl` entry.
As an alternative to the above, you can also specify the following lifecycle configuration in your `ec2.DefaultNetworkAcl` resource:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewDefaultNetworkAcl(ctx, "default", nil)
if err != nil {
return err
}
return nil
})
}
``` ### Removing `ec2.DefaultNetworkAcl` From Your Configuration
Each AWS VPC comes with a Default Network ACL that cannot be deleted. The `ec2.DefaultNetworkAcl` allows you to manage this Network ACL, but the provider cannot destroy it. Removing this resource from your configuration will remove it from your statefile and management, **but will not destroy the Network ACL.** All Subnets associations and ingress or egress rules will be left as they are at the time of removal. You can resume managing them via the AWS Console.
## Import
Default Network ACLs can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/defaultNetworkAcl:DefaultNetworkAcl sample acl-7aaabd18
```
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.
func (*DefaultNetworkAcl) ElementType ¶
func (*DefaultNetworkAcl) ElementType() reflect.Type
func (*DefaultNetworkAcl) ToDefaultNetworkAclOutput ¶
func (i *DefaultNetworkAcl) ToDefaultNetworkAclOutput() DefaultNetworkAclOutput
func (*DefaultNetworkAcl) ToDefaultNetworkAclOutputWithContext ¶
func (i *DefaultNetworkAcl) ToDefaultNetworkAclOutputWithContext(ctx context.Context) DefaultNetworkAclOutput
type DefaultNetworkAclArgs ¶
type DefaultNetworkAclArgs struct {
// Network ACL ID to manage. This attribute is exported from `ec2.Vpc`, or manually found via the AWS Console.
DefaultNetworkAclId pulumi.StringInput
// Configuration block for an egress rule. Detailed below.
Egress DefaultNetworkAclEgressArrayInput
// Configuration block for an ingress rule. Detailed below.
Ingress DefaultNetworkAclIngressArrayInput
// List of Subnet IDs to apply the ACL to. See the notes below on managing Subnets in the Default Network ACL
SubnetIds pulumi.StringArrayInput
// Map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a DefaultNetworkAcl resource.
func (DefaultNetworkAclArgs) ElementType ¶
func (DefaultNetworkAclArgs) ElementType() reflect.Type
type DefaultNetworkAclArray ¶
type DefaultNetworkAclArray []DefaultNetworkAclInput
func (DefaultNetworkAclArray) ElementType ¶
func (DefaultNetworkAclArray) ElementType() reflect.Type
func (DefaultNetworkAclArray) ToDefaultNetworkAclArrayOutput ¶
func (i DefaultNetworkAclArray) ToDefaultNetworkAclArrayOutput() DefaultNetworkAclArrayOutput
func (DefaultNetworkAclArray) ToDefaultNetworkAclArrayOutputWithContext ¶
func (i DefaultNetworkAclArray) ToDefaultNetworkAclArrayOutputWithContext(ctx context.Context) DefaultNetworkAclArrayOutput
type DefaultNetworkAclArrayInput ¶
type DefaultNetworkAclArrayInput interface {
pulumi.Input
ToDefaultNetworkAclArrayOutput() DefaultNetworkAclArrayOutput
ToDefaultNetworkAclArrayOutputWithContext(context.Context) DefaultNetworkAclArrayOutput
}
DefaultNetworkAclArrayInput is an input type that accepts DefaultNetworkAclArray and DefaultNetworkAclArrayOutput values. You can construct a concrete instance of `DefaultNetworkAclArrayInput` via:
DefaultNetworkAclArray{ DefaultNetworkAclArgs{...} }
type DefaultNetworkAclArrayOutput ¶
type DefaultNetworkAclArrayOutput struct{ *pulumi.OutputState }
func (DefaultNetworkAclArrayOutput) ElementType ¶
func (DefaultNetworkAclArrayOutput) ElementType() reflect.Type
func (DefaultNetworkAclArrayOutput) Index ¶
func (o DefaultNetworkAclArrayOutput) Index(i pulumi.IntInput) DefaultNetworkAclOutput
func (DefaultNetworkAclArrayOutput) ToDefaultNetworkAclArrayOutput ¶
func (o DefaultNetworkAclArrayOutput) ToDefaultNetworkAclArrayOutput() DefaultNetworkAclArrayOutput
func (DefaultNetworkAclArrayOutput) ToDefaultNetworkAclArrayOutputWithContext ¶
func (o DefaultNetworkAclArrayOutput) ToDefaultNetworkAclArrayOutputWithContext(ctx context.Context) DefaultNetworkAclArrayOutput
type DefaultNetworkAclEgress ¶
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 ¶
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 ¶
func (DefaultNetworkAclEgressArgs) ElementType() reflect.Type
func (DefaultNetworkAclEgressArgs) ToDefaultNetworkAclEgressOutput ¶
func (i DefaultNetworkAclEgressArgs) ToDefaultNetworkAclEgressOutput() DefaultNetworkAclEgressOutput
func (DefaultNetworkAclEgressArgs) ToDefaultNetworkAclEgressOutputWithContext ¶
func (i DefaultNetworkAclEgressArgs) ToDefaultNetworkAclEgressOutputWithContext(ctx context.Context) DefaultNetworkAclEgressOutput
type DefaultNetworkAclEgressArray ¶
type DefaultNetworkAclEgressArray []DefaultNetworkAclEgressInput
func (DefaultNetworkAclEgressArray) ElementType ¶
func (DefaultNetworkAclEgressArray) ElementType() reflect.Type
func (DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutput ¶
func (i DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutput() DefaultNetworkAclEgressArrayOutput
func (DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutputWithContext ¶
func (i DefaultNetworkAclEgressArray) ToDefaultNetworkAclEgressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclEgressArrayOutput
type DefaultNetworkAclEgressArrayInput ¶
type DefaultNetworkAclEgressArrayInput interface {
pulumi.Input
ToDefaultNetworkAclEgressArrayOutput() DefaultNetworkAclEgressArrayOutput
ToDefaultNetworkAclEgressArrayOutputWithContext(context.Context) DefaultNetworkAclEgressArrayOutput
}
DefaultNetworkAclEgressArrayInput is an input type that accepts DefaultNetworkAclEgressArray and DefaultNetworkAclEgressArrayOutput values. You can construct a concrete instance of `DefaultNetworkAclEgressArrayInput` via:
DefaultNetworkAclEgressArray{ DefaultNetworkAclEgressArgs{...} }
type DefaultNetworkAclEgressArrayOutput ¶
type DefaultNetworkAclEgressArrayOutput struct{ *pulumi.OutputState }
func (DefaultNetworkAclEgressArrayOutput) ElementType ¶
func (DefaultNetworkAclEgressArrayOutput) ElementType() reflect.Type
func (DefaultNetworkAclEgressArrayOutput) Index ¶
func (o DefaultNetworkAclEgressArrayOutput) Index(i pulumi.IntInput) DefaultNetworkAclEgressOutput
func (DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutput ¶
func (o DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutput() DefaultNetworkAclEgressArrayOutput
func (DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutputWithContext ¶
func (o DefaultNetworkAclEgressArrayOutput) ToDefaultNetworkAclEgressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclEgressArrayOutput
type DefaultNetworkAclEgressInput ¶
type DefaultNetworkAclEgressInput interface {
pulumi.Input
ToDefaultNetworkAclEgressOutput() DefaultNetworkAclEgressOutput
ToDefaultNetworkAclEgressOutputWithContext(context.Context) DefaultNetworkAclEgressOutput
}
DefaultNetworkAclEgressInput is an input type that accepts DefaultNetworkAclEgressArgs and DefaultNetworkAclEgressOutput values. You can construct a concrete instance of `DefaultNetworkAclEgressInput` via:
DefaultNetworkAclEgressArgs{...}
type DefaultNetworkAclEgressOutput ¶
type DefaultNetworkAclEgressOutput struct{ *pulumi.OutputState }
func (DefaultNetworkAclEgressOutput) Action ¶
func (o DefaultNetworkAclEgressOutput) Action() pulumi.StringOutput
The action to take.
func (DefaultNetworkAclEgressOutput) CidrBlock ¶
func (o DefaultNetworkAclEgressOutput) CidrBlock() pulumi.StringPtrOutput
The CIDR block to match. This must be a valid network mask.
func (DefaultNetworkAclEgressOutput) ElementType ¶
func (DefaultNetworkAclEgressOutput) ElementType() reflect.Type
func (DefaultNetworkAclEgressOutput) FromPort ¶
func (o DefaultNetworkAclEgressOutput) FromPort() pulumi.IntOutput
The from port to match.
func (DefaultNetworkAclEgressOutput) IcmpCode ¶
func (o DefaultNetworkAclEgressOutput) IcmpCode() pulumi.IntPtrOutput
The ICMP type code to be used. Default 0.
func (DefaultNetworkAclEgressOutput) IcmpType ¶
func (o DefaultNetworkAclEgressOutput) IcmpType() pulumi.IntPtrOutput
The ICMP type to be used. Default 0.
func (DefaultNetworkAclEgressOutput) Ipv6CidrBlock ¶
func (o DefaultNetworkAclEgressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
The IPv6 CIDR block.
func (DefaultNetworkAclEgressOutput) Protocol ¶
func (o DefaultNetworkAclEgressOutput) Protocol() pulumi.StringOutput
The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.
func (DefaultNetworkAclEgressOutput) RuleNo ¶
func (o DefaultNetworkAclEgressOutput) RuleNo() pulumi.IntOutput
The rule number. Used for ordering.
func (DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutput ¶
func (o DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutput() DefaultNetworkAclEgressOutput
func (DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutputWithContext ¶
func (o DefaultNetworkAclEgressOutput) ToDefaultNetworkAclEgressOutputWithContext(ctx context.Context) DefaultNetworkAclEgressOutput
func (DefaultNetworkAclEgressOutput) ToPort ¶
func (o DefaultNetworkAclEgressOutput) ToPort() pulumi.IntOutput
The to port to match.
type DefaultNetworkAclIngress ¶
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 ¶
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 ¶
func (DefaultNetworkAclIngressArgs) ElementType() reflect.Type
func (DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutput ¶
func (i DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutput() DefaultNetworkAclIngressOutput
func (DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutputWithContext ¶
func (i DefaultNetworkAclIngressArgs) ToDefaultNetworkAclIngressOutputWithContext(ctx context.Context) DefaultNetworkAclIngressOutput
type DefaultNetworkAclIngressArray ¶
type DefaultNetworkAclIngressArray []DefaultNetworkAclIngressInput
func (DefaultNetworkAclIngressArray) ElementType ¶
func (DefaultNetworkAclIngressArray) ElementType() reflect.Type
func (DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutput ¶
func (i DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutput() DefaultNetworkAclIngressArrayOutput
func (DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutputWithContext ¶
func (i DefaultNetworkAclIngressArray) ToDefaultNetworkAclIngressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclIngressArrayOutput
type DefaultNetworkAclIngressArrayInput ¶
type DefaultNetworkAclIngressArrayInput interface {
pulumi.Input
ToDefaultNetworkAclIngressArrayOutput() DefaultNetworkAclIngressArrayOutput
ToDefaultNetworkAclIngressArrayOutputWithContext(context.Context) DefaultNetworkAclIngressArrayOutput
}
DefaultNetworkAclIngressArrayInput is an input type that accepts DefaultNetworkAclIngressArray and DefaultNetworkAclIngressArrayOutput values. You can construct a concrete instance of `DefaultNetworkAclIngressArrayInput` via:
DefaultNetworkAclIngressArray{ DefaultNetworkAclIngressArgs{...} }
type DefaultNetworkAclIngressArrayOutput ¶
type DefaultNetworkAclIngressArrayOutput struct{ *pulumi.OutputState }
func (DefaultNetworkAclIngressArrayOutput) ElementType ¶
func (DefaultNetworkAclIngressArrayOutput) ElementType() reflect.Type
func (DefaultNetworkAclIngressArrayOutput) Index ¶
func (o DefaultNetworkAclIngressArrayOutput) Index(i pulumi.IntInput) DefaultNetworkAclIngressOutput
func (DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutput ¶
func (o DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutput() DefaultNetworkAclIngressArrayOutput
func (DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutputWithContext ¶
func (o DefaultNetworkAclIngressArrayOutput) ToDefaultNetworkAclIngressArrayOutputWithContext(ctx context.Context) DefaultNetworkAclIngressArrayOutput
type DefaultNetworkAclIngressInput ¶
type DefaultNetworkAclIngressInput interface {
pulumi.Input
ToDefaultNetworkAclIngressOutput() DefaultNetworkAclIngressOutput
ToDefaultNetworkAclIngressOutputWithContext(context.Context) DefaultNetworkAclIngressOutput
}
DefaultNetworkAclIngressInput is an input type that accepts DefaultNetworkAclIngressArgs and DefaultNetworkAclIngressOutput values. You can construct a concrete instance of `DefaultNetworkAclIngressInput` via:
DefaultNetworkAclIngressArgs{...}
type DefaultNetworkAclIngressOutput ¶
type DefaultNetworkAclIngressOutput struct{ *pulumi.OutputState }
func (DefaultNetworkAclIngressOutput) Action ¶
func (o DefaultNetworkAclIngressOutput) Action() pulumi.StringOutput
The action to take.
func (DefaultNetworkAclIngressOutput) CidrBlock ¶
func (o DefaultNetworkAclIngressOutput) CidrBlock() pulumi.StringPtrOutput
The CIDR block to match. This must be a valid network mask.
func (DefaultNetworkAclIngressOutput) ElementType ¶
func (DefaultNetworkAclIngressOutput) ElementType() reflect.Type
func (DefaultNetworkAclIngressOutput) FromPort ¶
func (o DefaultNetworkAclIngressOutput) FromPort() pulumi.IntOutput
The from port to match.
func (DefaultNetworkAclIngressOutput) IcmpCode ¶
func (o DefaultNetworkAclIngressOutput) IcmpCode() pulumi.IntPtrOutput
The ICMP type code to be used. Default 0.
func (DefaultNetworkAclIngressOutput) IcmpType ¶
func (o DefaultNetworkAclIngressOutput) IcmpType() pulumi.IntPtrOutput
The ICMP type to be used. Default 0.
func (DefaultNetworkAclIngressOutput) Ipv6CidrBlock ¶
func (o DefaultNetworkAclIngressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
The IPv6 CIDR block.
func (DefaultNetworkAclIngressOutput) Protocol ¶
func (o DefaultNetworkAclIngressOutput) Protocol() pulumi.StringOutput
The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.
func (DefaultNetworkAclIngressOutput) RuleNo ¶
func (o DefaultNetworkAclIngressOutput) RuleNo() pulumi.IntOutput
The rule number. Used for ordering.
func (DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutput ¶
func (o DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutput() DefaultNetworkAclIngressOutput
func (DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutputWithContext ¶
func (o DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutputWithContext(ctx context.Context) DefaultNetworkAclIngressOutput
func (DefaultNetworkAclIngressOutput) ToPort ¶
func (o DefaultNetworkAclIngressOutput) ToPort() pulumi.IntOutput
The to port to match.
type DefaultNetworkAclInput ¶
type DefaultNetworkAclInput interface {
pulumi.Input
ToDefaultNetworkAclOutput() DefaultNetworkAclOutput
ToDefaultNetworkAclOutputWithContext(ctx context.Context) DefaultNetworkAclOutput
}
type DefaultNetworkAclMap ¶
type DefaultNetworkAclMap map[string]DefaultNetworkAclInput
func (DefaultNetworkAclMap) ElementType ¶
func (DefaultNetworkAclMap) ElementType() reflect.Type
func (DefaultNetworkAclMap) ToDefaultNetworkAclMapOutput ¶
func (i DefaultNetworkAclMap) ToDefaultNetworkAclMapOutput() DefaultNetworkAclMapOutput
func (DefaultNetworkAclMap) ToDefaultNetworkAclMapOutputWithContext ¶
func (i DefaultNetworkAclMap) ToDefaultNetworkAclMapOutputWithContext(ctx context.Context) DefaultNetworkAclMapOutput
type DefaultNetworkAclMapInput ¶
type DefaultNetworkAclMapInput interface {
pulumi.Input
ToDefaultNetworkAclMapOutput() DefaultNetworkAclMapOutput
ToDefaultNetworkAclMapOutputWithContext(context.Context) DefaultNetworkAclMapOutput
}
DefaultNetworkAclMapInput is an input type that accepts DefaultNetworkAclMap and DefaultNetworkAclMapOutput values. You can construct a concrete instance of `DefaultNetworkAclMapInput` via:
DefaultNetworkAclMap{ "key": DefaultNetworkAclArgs{...} }
type DefaultNetworkAclMapOutput ¶
type DefaultNetworkAclMapOutput struct{ *pulumi.OutputState }
func (DefaultNetworkAclMapOutput) ElementType ¶
func (DefaultNetworkAclMapOutput) ElementType() reflect.Type
func (DefaultNetworkAclMapOutput) MapIndex ¶
func (o DefaultNetworkAclMapOutput) MapIndex(k pulumi.StringInput) DefaultNetworkAclOutput
func (DefaultNetworkAclMapOutput) ToDefaultNetworkAclMapOutput ¶
func (o DefaultNetworkAclMapOutput) ToDefaultNetworkAclMapOutput() DefaultNetworkAclMapOutput
func (DefaultNetworkAclMapOutput) ToDefaultNetworkAclMapOutputWithContext ¶
func (o DefaultNetworkAclMapOutput) ToDefaultNetworkAclMapOutputWithContext(ctx context.Context) DefaultNetworkAclMapOutput
type DefaultNetworkAclOutput ¶
type DefaultNetworkAclOutput struct{ *pulumi.OutputState }
func (DefaultNetworkAclOutput) ElementType ¶
func (DefaultNetworkAclOutput) ElementType() reflect.Type
func (DefaultNetworkAclOutput) ToDefaultNetworkAclOutput ¶
func (o DefaultNetworkAclOutput) ToDefaultNetworkAclOutput() DefaultNetworkAclOutput
func (DefaultNetworkAclOutput) ToDefaultNetworkAclOutputWithContext ¶
func (o DefaultNetworkAclOutput) ToDefaultNetworkAclOutputWithContext(ctx context.Context) DefaultNetworkAclOutput
type DefaultNetworkAclState ¶
type DefaultNetworkAclState struct {
// ARN of the Default Network ACL
Arn pulumi.StringPtrInput
// Network ACL ID to manage. This attribute is exported from `ec2.Vpc`, or manually found via the AWS Console.
DefaultNetworkAclId pulumi.StringPtrInput
// Configuration block for an egress rule. Detailed below.
Egress DefaultNetworkAclEgressArrayInput
// Configuration block for an ingress rule. Detailed below.
Ingress DefaultNetworkAclIngressArrayInput
// ID of the AWS account that owns the Default Network ACL
OwnerId pulumi.StringPtrInput
// List of Subnet IDs to apply the ACL to. See the notes below on managing Subnets in the Default Network ACL
SubnetIds pulumi.StringArrayInput
// Map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// ID of the associated VPC
VpcId pulumi.StringPtrInput
}
func (DefaultNetworkAclState) ElementType ¶
func (DefaultNetworkAclState) ElementType() reflect.Type
type DefaultRouteTable ¶
type DefaultRouteTable struct {
pulumi.CustomResourceState
// The ARN of the route table.
Arn pulumi.StringOutput `pulumi:"arn"`
// ID of the default route table.
DefaultRouteTableId pulumi.StringOutput `pulumi:"defaultRouteTableId"`
// ID of the AWS account that owns the route table.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// List of virtual gateways for propagation.
PropagatingVgws pulumi.StringArrayOutput `pulumi:"propagatingVgws"`
// Set of objects. Detailed below
Routes DefaultRouteTableRouteArrayOutput `pulumi:"routes"`
// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// ID of the VPC.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides a resource to manage a default route table of a VPC. This resource can manage the default route table of the default or a non-default VPC.
> **NOTE:** This is an advanced resource with special caveats. Please read this document in its entirety before using this resource. The `ec2.DefaultRouteTable` resource behaves differently from normal resources. This provider does not _create_ this resource but instead attempts to "adopt" it into management. **Do not** use both `ec2.DefaultRouteTable` to manage a default route table **and** `ec2.MainRouteTableAssociation` with the same VPC due to possible route conflicts. See ec2.MainRouteTableAssociation documentation for more details.
Every VPC has a default route table that can be managed but not destroyed. When the provider first adopts a 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 exist in the default route table.
For more information, see the Amazon VPC User Guide on [Route Tables](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html). For information about managing normal route tables in this provider, see `ec2.RouteTable`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewDefaultRouteTable(ctx, "example", &ec2.DefaultRouteTableArgs{
DefaultRouteTableId: pulumi.Any(aws_vpc.Example.Default_route_table_id),
Routes: ec2.DefaultRouteTableRouteArray{
&ec2.DefaultRouteTableRouteArgs{
CidrBlock: pulumi.String("10.0.1.0/24"),
GatewayId: pulumi.Any(aws_internet_gateway.Example.Id),
},
&ec2.DefaultRouteTableRouteArgs{
Ipv6CidrBlock: pulumi.String("::/0"),
EgressOnlyGatewayId: pulumi.Any(aws_egress_only_internet_gateway.Example.Id),
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
```
To subsequently remove all managed routes:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewDefaultRouteTable(ctx, "example", &ec2.DefaultRouteTableArgs{
DefaultRouteTableId: pulumi.Any(aws_vpc.Example.Default_route_table_id),
Routes: ec2.DefaultRouteTableRouteArray{},
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Default VPC route tables can be imported using the `vpc_id`, e.g.,
```sh
$ pulumi import aws:ec2/defaultRouteTable:DefaultRouteTable example vpc-33cc44dd
```
[aws-route-tables]http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Route_Tables.html#Route_Replacing_Main_Table [tf-route-tables]/docs/providers/aws/r/route_table.html [tf-main-route-table-association]/docs/providers/aws/r/main_route_table_association.html
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.
func (*DefaultRouteTable) ElementType ¶
func (*DefaultRouteTable) ElementType() reflect.Type
func (*DefaultRouteTable) ToDefaultRouteTableOutput ¶
func (i *DefaultRouteTable) ToDefaultRouteTableOutput() DefaultRouteTableOutput
func (*DefaultRouteTable) ToDefaultRouteTableOutputWithContext ¶
func (i *DefaultRouteTable) ToDefaultRouteTableOutputWithContext(ctx context.Context) DefaultRouteTableOutput
type DefaultRouteTableArgs ¶
type DefaultRouteTableArgs struct {
// ID of the default route table.
DefaultRouteTableId pulumi.StringInput
// List of virtual gateways for propagation.
PropagatingVgws pulumi.StringArrayInput
// Set of objects. Detailed below
Routes DefaultRouteTableRouteArrayInput
// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a DefaultRouteTable resource.
func (DefaultRouteTableArgs) ElementType ¶
func (DefaultRouteTableArgs) ElementType() reflect.Type
type DefaultRouteTableArray ¶
type DefaultRouteTableArray []DefaultRouteTableInput
func (DefaultRouteTableArray) ElementType ¶
func (DefaultRouteTableArray) ElementType() reflect.Type
func (DefaultRouteTableArray) ToDefaultRouteTableArrayOutput ¶
func (i DefaultRouteTableArray) ToDefaultRouteTableArrayOutput() DefaultRouteTableArrayOutput
func (DefaultRouteTableArray) ToDefaultRouteTableArrayOutputWithContext ¶
func (i DefaultRouteTableArray) ToDefaultRouteTableArrayOutputWithContext(ctx context.Context) DefaultRouteTableArrayOutput
type DefaultRouteTableArrayInput ¶
type DefaultRouteTableArrayInput interface {
pulumi.Input
ToDefaultRouteTableArrayOutput() DefaultRouteTableArrayOutput
ToDefaultRouteTableArrayOutputWithContext(context.Context) DefaultRouteTableArrayOutput
}
DefaultRouteTableArrayInput is an input type that accepts DefaultRouteTableArray and DefaultRouteTableArrayOutput values. You can construct a concrete instance of `DefaultRouteTableArrayInput` via:
DefaultRouteTableArray{ DefaultRouteTableArgs{...} }
type DefaultRouteTableArrayOutput ¶
type DefaultRouteTableArrayOutput struct{ *pulumi.OutputState }
func (DefaultRouteTableArrayOutput) ElementType ¶
func (DefaultRouteTableArrayOutput) ElementType() reflect.Type
func (DefaultRouteTableArrayOutput) Index ¶
func (o DefaultRouteTableArrayOutput) Index(i pulumi.IntInput) DefaultRouteTableOutput
func (DefaultRouteTableArrayOutput) ToDefaultRouteTableArrayOutput ¶
func (o DefaultRouteTableArrayOutput) ToDefaultRouteTableArrayOutput() DefaultRouteTableArrayOutput
func (DefaultRouteTableArrayOutput) ToDefaultRouteTableArrayOutputWithContext ¶
func (o DefaultRouteTableArrayOutput) ToDefaultRouteTableArrayOutputWithContext(ctx context.Context) DefaultRouteTableArrayOutput
type DefaultRouteTableInput ¶
type DefaultRouteTableInput interface {
pulumi.Input
ToDefaultRouteTableOutput() DefaultRouteTableOutput
ToDefaultRouteTableOutputWithContext(ctx context.Context) DefaultRouteTableOutput
}
type DefaultRouteTableMap ¶
type DefaultRouteTableMap map[string]DefaultRouteTableInput
func (DefaultRouteTableMap) ElementType ¶
func (DefaultRouteTableMap) ElementType() reflect.Type
func (DefaultRouteTableMap) ToDefaultRouteTableMapOutput ¶
func (i DefaultRouteTableMap) ToDefaultRouteTableMapOutput() DefaultRouteTableMapOutput
func (DefaultRouteTableMap) ToDefaultRouteTableMapOutputWithContext ¶
func (i DefaultRouteTableMap) ToDefaultRouteTableMapOutputWithContext(ctx context.Context) DefaultRouteTableMapOutput
type DefaultRouteTableMapInput ¶
type DefaultRouteTableMapInput interface {
pulumi.Input
ToDefaultRouteTableMapOutput() DefaultRouteTableMapOutput
ToDefaultRouteTableMapOutputWithContext(context.Context) DefaultRouteTableMapOutput
}
DefaultRouteTableMapInput is an input type that accepts DefaultRouteTableMap and DefaultRouteTableMapOutput values. You can construct a concrete instance of `DefaultRouteTableMapInput` via:
DefaultRouteTableMap{ "key": DefaultRouteTableArgs{...} }
type DefaultRouteTableMapOutput ¶
type DefaultRouteTableMapOutput struct{ *pulumi.OutputState }
func (DefaultRouteTableMapOutput) ElementType ¶
func (DefaultRouteTableMapOutput) ElementType() reflect.Type
func (DefaultRouteTableMapOutput) MapIndex ¶
func (o DefaultRouteTableMapOutput) MapIndex(k pulumi.StringInput) DefaultRouteTableOutput
func (DefaultRouteTableMapOutput) ToDefaultRouteTableMapOutput ¶
func (o DefaultRouteTableMapOutput) ToDefaultRouteTableMapOutput() DefaultRouteTableMapOutput
func (DefaultRouteTableMapOutput) ToDefaultRouteTableMapOutputWithContext ¶
func (o DefaultRouteTableMapOutput) ToDefaultRouteTableMapOutputWithContext(ctx context.Context) DefaultRouteTableMapOutput
type DefaultRouteTableOutput ¶
type DefaultRouteTableOutput struct{ *pulumi.OutputState }
func (DefaultRouteTableOutput) ElementType ¶
func (DefaultRouteTableOutput) ElementType() reflect.Type
func (DefaultRouteTableOutput) ToDefaultRouteTableOutput ¶
func (o DefaultRouteTableOutput) ToDefaultRouteTableOutput() DefaultRouteTableOutput
func (DefaultRouteTableOutput) ToDefaultRouteTableOutputWithContext ¶
func (o DefaultRouteTableOutput) ToDefaultRouteTableOutputWithContext(ctx context.Context) DefaultRouteTableOutput
type DefaultRouteTableRoute ¶
type DefaultRouteTableRoute struct {
// The CIDR block of the route.
CidrBlock *string `pulumi:"cidrBlock"`
// The ID of a managed prefix list destination of the route.
DestinationPrefixListId *string `pulumi:"destinationPrefixListId"`
// 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 Endpoint. This route must be removed prior to VPC Endpoint deletion.
VpcEndpointId *string `pulumi:"vpcEndpointId"`
// Identifier of a VPC peering connection.
VpcPeeringConnectionId *string `pulumi:"vpcPeeringConnectionId"`
}
type DefaultRouteTableRouteArgs ¶
type DefaultRouteTableRouteArgs struct {
// The CIDR block of the route.
CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
// The ID of a managed prefix list destination of the route.
DestinationPrefixListId pulumi.StringPtrInput `pulumi:"destinationPrefixListId"`
// 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 Endpoint. This route must be removed prior to VPC Endpoint deletion.
VpcEndpointId pulumi.StringPtrInput `pulumi:"vpcEndpointId"`
// Identifier of a VPC peering connection.
VpcPeeringConnectionId pulumi.StringPtrInput `pulumi:"vpcPeeringConnectionId"`
}
func (DefaultRouteTableRouteArgs) ElementType ¶
func (DefaultRouteTableRouteArgs) ElementType() reflect.Type
func (DefaultRouteTableRouteArgs) ToDefaultRouteTableRouteOutput ¶
func (i DefaultRouteTableRouteArgs) ToDefaultRouteTableRouteOutput() DefaultRouteTableRouteOutput
func (DefaultRouteTableRouteArgs) ToDefaultRouteTableRouteOutputWithContext ¶
func (i DefaultRouteTableRouteArgs) ToDefaultRouteTableRouteOutputWithContext(ctx context.Context) DefaultRouteTableRouteOutput
type DefaultRouteTableRouteArray ¶
type DefaultRouteTableRouteArray []DefaultRouteTableRouteInput
func (DefaultRouteTableRouteArray) ElementType ¶
func (DefaultRouteTableRouteArray) ElementType() reflect.Type
func (DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutput ¶
func (i DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutput() DefaultRouteTableRouteArrayOutput
func (DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutputWithContext ¶
func (i DefaultRouteTableRouteArray) ToDefaultRouteTableRouteArrayOutputWithContext(ctx context.Context) DefaultRouteTableRouteArrayOutput
type DefaultRouteTableRouteArrayInput ¶
type DefaultRouteTableRouteArrayInput interface {
pulumi.Input
ToDefaultRouteTableRouteArrayOutput() DefaultRouteTableRouteArrayOutput
ToDefaultRouteTableRouteArrayOutputWithContext(context.Context) DefaultRouteTableRouteArrayOutput
}
DefaultRouteTableRouteArrayInput is an input type that accepts DefaultRouteTableRouteArray and DefaultRouteTableRouteArrayOutput values. You can construct a concrete instance of `DefaultRouteTableRouteArrayInput` via:
DefaultRouteTableRouteArray{ DefaultRouteTableRouteArgs{...} }
type DefaultRouteTableRouteArrayOutput ¶
type DefaultRouteTableRouteArrayOutput struct{ *pulumi.OutputState }
func (DefaultRouteTableRouteArrayOutput) ElementType ¶
func (DefaultRouteTableRouteArrayOutput) ElementType() reflect.Type
func (DefaultRouteTableRouteArrayOutput) Index ¶
func (o DefaultRouteTableRouteArrayOutput) Index(i pulumi.IntInput) DefaultRouteTableRouteOutput
func (DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutput ¶
func (o DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutput() DefaultRouteTableRouteArrayOutput
func (DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutputWithContext ¶
func (o DefaultRouteTableRouteArrayOutput) ToDefaultRouteTableRouteArrayOutputWithContext(ctx context.Context) DefaultRouteTableRouteArrayOutput
type DefaultRouteTableRouteInput ¶
type DefaultRouteTableRouteInput interface {
pulumi.Input
ToDefaultRouteTableRouteOutput() DefaultRouteTableRouteOutput
ToDefaultRouteTableRouteOutputWithContext(context.Context) DefaultRouteTableRouteOutput
}
DefaultRouteTableRouteInput is an input type that accepts DefaultRouteTableRouteArgs and DefaultRouteTableRouteOutput values. You can construct a concrete instance of `DefaultRouteTableRouteInput` via:
DefaultRouteTableRouteArgs{...}
type DefaultRouteTableRouteOutput ¶
type DefaultRouteTableRouteOutput struct{ *pulumi.OutputState }
func (DefaultRouteTableRouteOutput) CidrBlock ¶
func (o DefaultRouteTableRouteOutput) CidrBlock() pulumi.StringPtrOutput
The CIDR block of the route.
func (DefaultRouteTableRouteOutput) DestinationPrefixListId ¶
func (o DefaultRouteTableRouteOutput) DestinationPrefixListId() pulumi.StringPtrOutput
The ID of a managed prefix list destination of the route.
func (DefaultRouteTableRouteOutput) EgressOnlyGatewayId ¶
func (o DefaultRouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringPtrOutput
Identifier of a VPC Egress Only Internet Gateway.
func (DefaultRouteTableRouteOutput) ElementType ¶
func (DefaultRouteTableRouteOutput) ElementType() reflect.Type
func (DefaultRouteTableRouteOutput) GatewayId ¶
func (o DefaultRouteTableRouteOutput) GatewayId() pulumi.StringPtrOutput
Identifier of a VPC internet gateway or a virtual private gateway.
func (DefaultRouteTableRouteOutput) InstanceId ¶
func (o DefaultRouteTableRouteOutput) InstanceId() pulumi.StringPtrOutput
Identifier of an EC2 instance.
func (DefaultRouteTableRouteOutput) Ipv6CidrBlock ¶
func (o DefaultRouteTableRouteOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
The Ipv6 CIDR block of the route
func (DefaultRouteTableRouteOutput) NatGatewayId ¶
func (o DefaultRouteTableRouteOutput) NatGatewayId() pulumi.StringPtrOutput
Identifier of a VPC NAT gateway.
func (DefaultRouteTableRouteOutput) NetworkInterfaceId ¶
func (o DefaultRouteTableRouteOutput) NetworkInterfaceId() pulumi.StringPtrOutput
Identifier of an EC2 network interface.
func (DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutput ¶
func (o DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutput() DefaultRouteTableRouteOutput
func (DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutputWithContext ¶
func (o DefaultRouteTableRouteOutput) ToDefaultRouteTableRouteOutputWithContext(ctx context.Context) DefaultRouteTableRouteOutput
func (DefaultRouteTableRouteOutput) TransitGatewayId ¶
func (o DefaultRouteTableRouteOutput) TransitGatewayId() pulumi.StringPtrOutput
Identifier of an EC2 Transit Gateway.
func (DefaultRouteTableRouteOutput) VpcEndpointId ¶
func (o DefaultRouteTableRouteOutput) VpcEndpointId() pulumi.StringPtrOutput
Identifier of a VPC Endpoint. This route must be removed prior to VPC Endpoint deletion.
func (DefaultRouteTableRouteOutput) VpcPeeringConnectionId ¶
func (o DefaultRouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringPtrOutput
Identifier of a VPC peering connection.
type DefaultRouteTableState ¶
type DefaultRouteTableState struct {
// The ARN of the route table.
Arn pulumi.StringPtrInput
// ID of the default route table.
DefaultRouteTableId pulumi.StringPtrInput
// ID of the AWS account that owns the route table.
OwnerId pulumi.StringPtrInput
// List of virtual gateways for propagation.
PropagatingVgws pulumi.StringArrayInput
// Set of objects. Detailed below
Routes DefaultRouteTableRouteArrayInput
// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// ID of the VPC.
VpcId pulumi.StringPtrInput
}
func (DefaultRouteTableState) ElementType ¶
func (DefaultRouteTableState) ElementType() reflect.Type
type DefaultSecurityGroup ¶
type DefaultSecurityGroup struct {
pulumi.CustomResourceState
// ARN of the security group.
Arn pulumi.StringOutput `pulumi:"arn"`
// Description of this rule.
Description pulumi.StringOutput `pulumi:"description"`
// Configuration block. Detailed below.
Egress DefaultSecurityGroupEgressArrayOutput `pulumi:"egress"`
// Configuration block. Detailed below.
Ingress DefaultSecurityGroupIngressArrayOutput `pulumi:"ingress"`
// Name of the security group.
Name pulumi.StringOutput `pulumi:"name"`
// Owner ID.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
RevokeRulesOnDelete pulumi.BoolPtrOutput `pulumi:"revokeRulesOnDelete"`
// Map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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 a default security group. This resource can manage the default security group of the default or a non-default VPC.
> **NOTE:** This is an advanced resource with special caveats. Please read this document in its entirety before using this resource. The `ec2.DefaultSecurityGroup` resource behaves differently from normal resources. This provider does not _create_ this resource but instead attempts to "adopt" it into management.
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.
When the provider first adopts the default security group, it **immediately removes all ingress and egress rules in the Security Group**. It then creates any rules specified in the configuration. This way 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]. To manage normal security groups, see the `ec2.SecurityGroup` resource.
## Example Usage
The following config gives the default security group the same rules that AWS provides by default but under management by this provider. This means that any ingress or egress rules added or changed will be detected as drift.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mainvpc, err := ec2.NewVpc(ctx, "mainvpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewDefaultSecurityGroup(ctx, "default", &ec2.DefaultSecurityGroupArgs{
VpcId: mainvpc.ID(),
Ingress: ec2.DefaultSecurityGroupIngressArray{
&ec2.DefaultSecurityGroupIngressArgs{
Protocol: pulumi.String("-1"),
Self: pulumi.Bool(true),
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(0),
},
},
Egress: ec2.DefaultSecurityGroupEgressArray{
&ec2.DefaultSecurityGroupEgressArgs{
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(0),
Protocol: pulumi.String("-1"),
CidrBlocks: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Example Config To Deny All Egress Traffic, Allowing Ingress
The following denies all Egress traffic by omitting any `egress` rules, while including the default `ingress` rule to allow all traffic.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mainvpc, err := ec2.NewVpc(ctx, "mainvpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewDefaultSecurityGroup(ctx, "default", &ec2.DefaultSecurityGroupArgs{
VpcId: mainvpc.ID(),
Ingress: ec2.DefaultSecurityGroupIngressArray{
&ec2.DefaultSecurityGroupIngressArgs{
Protocol: pulumi.String("-1"),
Self: pulumi.Bool(true),
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(0),
},
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Removing `ec2.DefaultSecurityGroup` From Your Configuration
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.
## Import
Security Groups can be imported using the `security group id`, e.g.,
```sh
$ pulumi import aws:ec2/defaultSecurityGroup:DefaultSecurityGroup default_sg sg-903004f8
```
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.
func (*DefaultSecurityGroup) ElementType ¶
func (*DefaultSecurityGroup) ElementType() reflect.Type
func (*DefaultSecurityGroup) ToDefaultSecurityGroupOutput ¶
func (i *DefaultSecurityGroup) ToDefaultSecurityGroupOutput() DefaultSecurityGroupOutput
func (*DefaultSecurityGroup) ToDefaultSecurityGroupOutputWithContext ¶
func (i *DefaultSecurityGroup) ToDefaultSecurityGroupOutputWithContext(ctx context.Context) DefaultSecurityGroupOutput
type DefaultSecurityGroupArgs ¶
type DefaultSecurityGroupArgs struct {
// Configuration block. Detailed below.
Egress DefaultSecurityGroupEgressArrayInput
// Configuration block. Detailed below.
Ingress DefaultSecurityGroupIngressArrayInput
RevokeRulesOnDelete pulumi.BoolPtrInput
// Map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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 ¶
func (DefaultSecurityGroupArgs) ElementType() reflect.Type
type DefaultSecurityGroupArray ¶
type DefaultSecurityGroupArray []DefaultSecurityGroupInput
func (DefaultSecurityGroupArray) ElementType ¶
func (DefaultSecurityGroupArray) ElementType() reflect.Type
func (DefaultSecurityGroupArray) ToDefaultSecurityGroupArrayOutput ¶
func (i DefaultSecurityGroupArray) ToDefaultSecurityGroupArrayOutput() DefaultSecurityGroupArrayOutput
func (DefaultSecurityGroupArray) ToDefaultSecurityGroupArrayOutputWithContext ¶
func (i DefaultSecurityGroupArray) ToDefaultSecurityGroupArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupArrayOutput
type DefaultSecurityGroupArrayInput ¶
type DefaultSecurityGroupArrayInput interface {
pulumi.Input
ToDefaultSecurityGroupArrayOutput() DefaultSecurityGroupArrayOutput
ToDefaultSecurityGroupArrayOutputWithContext(context.Context) DefaultSecurityGroupArrayOutput
}
DefaultSecurityGroupArrayInput is an input type that accepts DefaultSecurityGroupArray and DefaultSecurityGroupArrayOutput values. You can construct a concrete instance of `DefaultSecurityGroupArrayInput` via:
DefaultSecurityGroupArray{ DefaultSecurityGroupArgs{...} }
type DefaultSecurityGroupArrayOutput ¶
type DefaultSecurityGroupArrayOutput struct{ *pulumi.OutputState }
func (DefaultSecurityGroupArrayOutput) ElementType ¶
func (DefaultSecurityGroupArrayOutput) ElementType() reflect.Type
func (DefaultSecurityGroupArrayOutput) Index ¶
func (o DefaultSecurityGroupArrayOutput) Index(i pulumi.IntInput) DefaultSecurityGroupOutput
func (DefaultSecurityGroupArrayOutput) ToDefaultSecurityGroupArrayOutput ¶
func (o DefaultSecurityGroupArrayOutput) ToDefaultSecurityGroupArrayOutput() DefaultSecurityGroupArrayOutput
func (DefaultSecurityGroupArrayOutput) ToDefaultSecurityGroupArrayOutputWithContext ¶
func (o DefaultSecurityGroupArrayOutput) ToDefaultSecurityGroupArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupArrayOutput
type DefaultSecurityGroupEgress ¶
type DefaultSecurityGroupEgress struct {
// List of CIDR blocks.
CidrBlocks []string `pulumi:"cidrBlocks"`
// Description of this rule.
Description *string `pulumi:"description"`
// Start port (or ICMP type number if protocol is `icmp`)
FromPort int `pulumi:"fromPort"`
// List of IPv6 CIDR blocks.
Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"`
// List of prefix list IDs (for allowing access to VPC endpoints)
PrefixListIds []string `pulumi:"prefixListIds"`
// Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
Protocol string `pulumi:"protocol"`
// List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
SecurityGroups []string `pulumi:"securityGroups"`
// Whether the security group itself will be added as a source to this egress rule.
Self *bool `pulumi:"self"`
// End range port (or ICMP code if protocol is `icmp`).
ToPort int `pulumi:"toPort"`
}
type DefaultSecurityGroupEgressArgs ¶
type DefaultSecurityGroupEgressArgs struct {
// List of CIDR blocks.
CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
// Description of this rule.
Description pulumi.StringPtrInput `pulumi:"description"`
// Start port (or ICMP type number if protocol is `icmp`)
FromPort pulumi.IntInput `pulumi:"fromPort"`
// List of IPv6 CIDR blocks.
Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"`
// List of prefix list IDs (for allowing access to VPC endpoints)
PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"`
// Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
Protocol pulumi.StringInput `pulumi:"protocol"`
// List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
// Whether the security group itself will be added as a source to this egress rule.
Self pulumi.BoolPtrInput `pulumi:"self"`
// End range port (or ICMP code if protocol is `icmp`).
ToPort pulumi.IntInput `pulumi:"toPort"`
}
func (DefaultSecurityGroupEgressArgs) ElementType ¶
func (DefaultSecurityGroupEgressArgs) ElementType() reflect.Type
func (DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutput ¶
func (i DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutput() DefaultSecurityGroupEgressOutput
func (DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutputWithContext ¶
func (i DefaultSecurityGroupEgressArgs) ToDefaultSecurityGroupEgressOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressOutput
type DefaultSecurityGroupEgressArray ¶
type DefaultSecurityGroupEgressArray []DefaultSecurityGroupEgressInput
func (DefaultSecurityGroupEgressArray) ElementType ¶
func (DefaultSecurityGroupEgressArray) ElementType() reflect.Type
func (DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutput ¶
func (i DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutput() DefaultSecurityGroupEgressArrayOutput
func (DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutputWithContext ¶
func (i DefaultSecurityGroupEgressArray) ToDefaultSecurityGroupEgressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressArrayOutput
type DefaultSecurityGroupEgressArrayInput ¶
type DefaultSecurityGroupEgressArrayInput interface {
pulumi.Input
ToDefaultSecurityGroupEgressArrayOutput() DefaultSecurityGroupEgressArrayOutput
ToDefaultSecurityGroupEgressArrayOutputWithContext(context.Context) DefaultSecurityGroupEgressArrayOutput
}
DefaultSecurityGroupEgressArrayInput is an input type that accepts DefaultSecurityGroupEgressArray and DefaultSecurityGroupEgressArrayOutput values. You can construct a concrete instance of `DefaultSecurityGroupEgressArrayInput` via:
DefaultSecurityGroupEgressArray{ DefaultSecurityGroupEgressArgs{...} }
type DefaultSecurityGroupEgressArrayOutput ¶
type DefaultSecurityGroupEgressArrayOutput struct{ *pulumi.OutputState }
func (DefaultSecurityGroupEgressArrayOutput) ElementType ¶
func (DefaultSecurityGroupEgressArrayOutput) ElementType() reflect.Type
func (DefaultSecurityGroupEgressArrayOutput) Index ¶
func (o DefaultSecurityGroupEgressArrayOutput) Index(i pulumi.IntInput) DefaultSecurityGroupEgressOutput
func (DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutput ¶
func (o DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutput() DefaultSecurityGroupEgressArrayOutput
func (DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutputWithContext ¶
func (o DefaultSecurityGroupEgressArrayOutput) ToDefaultSecurityGroupEgressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressArrayOutput
type DefaultSecurityGroupEgressInput ¶
type DefaultSecurityGroupEgressInput interface {
pulumi.Input
ToDefaultSecurityGroupEgressOutput() DefaultSecurityGroupEgressOutput
ToDefaultSecurityGroupEgressOutputWithContext(context.Context) DefaultSecurityGroupEgressOutput
}
DefaultSecurityGroupEgressInput is an input type that accepts DefaultSecurityGroupEgressArgs and DefaultSecurityGroupEgressOutput values. You can construct a concrete instance of `DefaultSecurityGroupEgressInput` via:
DefaultSecurityGroupEgressArgs{...}
type DefaultSecurityGroupEgressOutput ¶
type DefaultSecurityGroupEgressOutput struct{ *pulumi.OutputState }
func (DefaultSecurityGroupEgressOutput) CidrBlocks ¶
func (o DefaultSecurityGroupEgressOutput) CidrBlocks() pulumi.StringArrayOutput
List of CIDR blocks.
func (DefaultSecurityGroupEgressOutput) Description ¶
func (o DefaultSecurityGroupEgressOutput) Description() pulumi.StringPtrOutput
Description of this rule.
func (DefaultSecurityGroupEgressOutput) ElementType ¶
func (DefaultSecurityGroupEgressOutput) ElementType() reflect.Type
func (DefaultSecurityGroupEgressOutput) FromPort ¶
func (o DefaultSecurityGroupEgressOutput) FromPort() pulumi.IntOutput
Start port (or ICMP type number if protocol is `icmp`)
func (DefaultSecurityGroupEgressOutput) Ipv6CidrBlocks ¶
func (o DefaultSecurityGroupEgressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput
List of IPv6 CIDR blocks.
func (DefaultSecurityGroupEgressOutput) PrefixListIds ¶
func (o DefaultSecurityGroupEgressOutput) PrefixListIds() pulumi.StringArrayOutput
List of prefix list IDs (for allowing access to VPC endpoints)
func (DefaultSecurityGroupEgressOutput) Protocol ¶
func (o DefaultSecurityGroupEgressOutput) Protocol() pulumi.StringOutput
Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
func (DefaultSecurityGroupEgressOutput) SecurityGroups ¶
func (o DefaultSecurityGroupEgressOutput) SecurityGroups() pulumi.StringArrayOutput
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
func (DefaultSecurityGroupEgressOutput) Self ¶
func (o DefaultSecurityGroupEgressOutput) Self() pulumi.BoolPtrOutput
Whether the security group itself will be added as a source to this egress rule.
func (DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutput ¶
func (o DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutput() DefaultSecurityGroupEgressOutput
func (DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutputWithContext ¶
func (o DefaultSecurityGroupEgressOutput) ToDefaultSecurityGroupEgressOutputWithContext(ctx context.Context) DefaultSecurityGroupEgressOutput
func (DefaultSecurityGroupEgressOutput) ToPort ¶
func (o DefaultSecurityGroupEgressOutput) ToPort() pulumi.IntOutput
End range port (or ICMP code if protocol is `icmp`).
type DefaultSecurityGroupIngress ¶
type DefaultSecurityGroupIngress struct {
// List of CIDR blocks.
CidrBlocks []string `pulumi:"cidrBlocks"`
// Description of this rule.
Description *string `pulumi:"description"`
// Start port (or ICMP type number if protocol is `icmp`)
FromPort int `pulumi:"fromPort"`
// List of IPv6 CIDR blocks.
Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"`
// List of prefix list IDs (for allowing access to VPC endpoints)
PrefixListIds []string `pulumi:"prefixListIds"`
// Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
Protocol string `pulumi:"protocol"`
// List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
SecurityGroups []string `pulumi:"securityGroups"`
// Whether the security group itself will be added as a source to this egress rule.
Self *bool `pulumi:"self"`
// End range port (or ICMP code if protocol is `icmp`).
ToPort int `pulumi:"toPort"`
}
type DefaultSecurityGroupIngressArgs ¶
type DefaultSecurityGroupIngressArgs struct {
// List of CIDR blocks.
CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
// Description of this rule.
Description pulumi.StringPtrInput `pulumi:"description"`
// Start port (or ICMP type number if protocol is `icmp`)
FromPort pulumi.IntInput `pulumi:"fromPort"`
// List of IPv6 CIDR blocks.
Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"`
// List of prefix list IDs (for allowing access to VPC endpoints)
PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"`
// Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
Protocol pulumi.StringInput `pulumi:"protocol"`
// List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
// Whether the security group itself will be added as a source to this egress rule.
Self pulumi.BoolPtrInput `pulumi:"self"`
// End range port (or ICMP code if protocol is `icmp`).
ToPort pulumi.IntInput `pulumi:"toPort"`
}
func (DefaultSecurityGroupIngressArgs) ElementType ¶
func (DefaultSecurityGroupIngressArgs) ElementType() reflect.Type
func (DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutput ¶
func (i DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutput() DefaultSecurityGroupIngressOutput
func (DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutputWithContext ¶
func (i DefaultSecurityGroupIngressArgs) ToDefaultSecurityGroupIngressOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressOutput
type DefaultSecurityGroupIngressArray ¶
type DefaultSecurityGroupIngressArray []DefaultSecurityGroupIngressInput
func (DefaultSecurityGroupIngressArray) ElementType ¶
func (DefaultSecurityGroupIngressArray) ElementType() reflect.Type
func (DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutput ¶
func (i DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutput() DefaultSecurityGroupIngressArrayOutput
func (DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutputWithContext ¶
func (i DefaultSecurityGroupIngressArray) ToDefaultSecurityGroupIngressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressArrayOutput
type DefaultSecurityGroupIngressArrayInput ¶
type DefaultSecurityGroupIngressArrayInput interface {
pulumi.Input
ToDefaultSecurityGroupIngressArrayOutput() DefaultSecurityGroupIngressArrayOutput
ToDefaultSecurityGroupIngressArrayOutputWithContext(context.Context) DefaultSecurityGroupIngressArrayOutput
}
DefaultSecurityGroupIngressArrayInput is an input type that accepts DefaultSecurityGroupIngressArray and DefaultSecurityGroupIngressArrayOutput values. You can construct a concrete instance of `DefaultSecurityGroupIngressArrayInput` via:
DefaultSecurityGroupIngressArray{ DefaultSecurityGroupIngressArgs{...} }
type DefaultSecurityGroupIngressArrayOutput ¶
type DefaultSecurityGroupIngressArrayOutput struct{ *pulumi.OutputState }
func (DefaultSecurityGroupIngressArrayOutput) ElementType ¶
func (DefaultSecurityGroupIngressArrayOutput) ElementType() reflect.Type
func (DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutput ¶
func (o DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutput() DefaultSecurityGroupIngressArrayOutput
func (DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutputWithContext ¶
func (o DefaultSecurityGroupIngressArrayOutput) ToDefaultSecurityGroupIngressArrayOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressArrayOutput
type DefaultSecurityGroupIngressInput ¶
type DefaultSecurityGroupIngressInput interface {
pulumi.Input
ToDefaultSecurityGroupIngressOutput() DefaultSecurityGroupIngressOutput
ToDefaultSecurityGroupIngressOutputWithContext(context.Context) DefaultSecurityGroupIngressOutput
}
DefaultSecurityGroupIngressInput is an input type that accepts DefaultSecurityGroupIngressArgs and DefaultSecurityGroupIngressOutput values. You can construct a concrete instance of `DefaultSecurityGroupIngressInput` via:
DefaultSecurityGroupIngressArgs{...}
type DefaultSecurityGroupIngressOutput ¶
type DefaultSecurityGroupIngressOutput struct{ *pulumi.OutputState }
func (DefaultSecurityGroupIngressOutput) CidrBlocks ¶
func (o DefaultSecurityGroupIngressOutput) CidrBlocks() pulumi.StringArrayOutput
List of CIDR blocks.
func (DefaultSecurityGroupIngressOutput) Description ¶
func (o DefaultSecurityGroupIngressOutput) Description() pulumi.StringPtrOutput
Description of this rule.
func (DefaultSecurityGroupIngressOutput) ElementType ¶
func (DefaultSecurityGroupIngressOutput) ElementType() reflect.Type
func (DefaultSecurityGroupIngressOutput) FromPort ¶
func (o DefaultSecurityGroupIngressOutput) FromPort() pulumi.IntOutput
Start port (or ICMP type number if protocol is `icmp`)
func (DefaultSecurityGroupIngressOutput) Ipv6CidrBlocks ¶
func (o DefaultSecurityGroupIngressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput
List of IPv6 CIDR blocks.
func (DefaultSecurityGroupIngressOutput) PrefixListIds ¶
func (o DefaultSecurityGroupIngressOutput) PrefixListIds() pulumi.StringArrayOutput
List of prefix list IDs (for allowing access to VPC endpoints)
func (DefaultSecurityGroupIngressOutput) Protocol ¶
func (o DefaultSecurityGroupIngressOutput) Protocol() pulumi.StringOutput
Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
func (DefaultSecurityGroupIngressOutput) SecurityGroups ¶
func (o DefaultSecurityGroupIngressOutput) SecurityGroups() pulumi.StringArrayOutput
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
func (DefaultSecurityGroupIngressOutput) Self ¶
func (o DefaultSecurityGroupIngressOutput) Self() pulumi.BoolPtrOutput
Whether the security group itself will be added as a source to this egress rule.
func (DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutput ¶
func (o DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutput() DefaultSecurityGroupIngressOutput
func (DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutputWithContext ¶
func (o DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutputWithContext(ctx context.Context) DefaultSecurityGroupIngressOutput
func (DefaultSecurityGroupIngressOutput) ToPort ¶
func (o DefaultSecurityGroupIngressOutput) ToPort() pulumi.IntOutput
End range port (or ICMP code if protocol is `icmp`).
type DefaultSecurityGroupInput ¶
type DefaultSecurityGroupInput interface {
pulumi.Input
ToDefaultSecurityGroupOutput() DefaultSecurityGroupOutput
ToDefaultSecurityGroupOutputWithContext(ctx context.Context) DefaultSecurityGroupOutput
}
type DefaultSecurityGroupMap ¶
type DefaultSecurityGroupMap map[string]DefaultSecurityGroupInput
func (DefaultSecurityGroupMap) ElementType ¶
func (DefaultSecurityGroupMap) ElementType() reflect.Type
func (DefaultSecurityGroupMap) ToDefaultSecurityGroupMapOutput ¶
func (i DefaultSecurityGroupMap) ToDefaultSecurityGroupMapOutput() DefaultSecurityGroupMapOutput
func (DefaultSecurityGroupMap) ToDefaultSecurityGroupMapOutputWithContext ¶
func (i DefaultSecurityGroupMap) ToDefaultSecurityGroupMapOutputWithContext(ctx context.Context) DefaultSecurityGroupMapOutput
type DefaultSecurityGroupMapInput ¶
type DefaultSecurityGroupMapInput interface {
pulumi.Input
ToDefaultSecurityGroupMapOutput() DefaultSecurityGroupMapOutput
ToDefaultSecurityGroupMapOutputWithContext(context.Context) DefaultSecurityGroupMapOutput
}
DefaultSecurityGroupMapInput is an input type that accepts DefaultSecurityGroupMap and DefaultSecurityGroupMapOutput values. You can construct a concrete instance of `DefaultSecurityGroupMapInput` via:
DefaultSecurityGroupMap{ "key": DefaultSecurityGroupArgs{...} }
type DefaultSecurityGroupMapOutput ¶
type DefaultSecurityGroupMapOutput struct{ *pulumi.OutputState }
func (DefaultSecurityGroupMapOutput) ElementType ¶
func (DefaultSecurityGroupMapOutput) ElementType() reflect.Type
func (DefaultSecurityGroupMapOutput) MapIndex ¶
func (o DefaultSecurityGroupMapOutput) MapIndex(k pulumi.StringInput) DefaultSecurityGroupOutput
func (DefaultSecurityGroupMapOutput) ToDefaultSecurityGroupMapOutput ¶
func (o DefaultSecurityGroupMapOutput) ToDefaultSecurityGroupMapOutput() DefaultSecurityGroupMapOutput
func (DefaultSecurityGroupMapOutput) ToDefaultSecurityGroupMapOutputWithContext ¶
func (o DefaultSecurityGroupMapOutput) ToDefaultSecurityGroupMapOutputWithContext(ctx context.Context) DefaultSecurityGroupMapOutput
type DefaultSecurityGroupOutput ¶
type DefaultSecurityGroupOutput struct{ *pulumi.OutputState }
func (DefaultSecurityGroupOutput) ElementType ¶
func (DefaultSecurityGroupOutput) ElementType() reflect.Type
func (DefaultSecurityGroupOutput) ToDefaultSecurityGroupOutput ¶
func (o DefaultSecurityGroupOutput) ToDefaultSecurityGroupOutput() DefaultSecurityGroupOutput
func (DefaultSecurityGroupOutput) ToDefaultSecurityGroupOutputWithContext ¶
func (o DefaultSecurityGroupOutput) ToDefaultSecurityGroupOutputWithContext(ctx context.Context) DefaultSecurityGroupOutput
type DefaultSecurityGroupState ¶
type DefaultSecurityGroupState struct {
// ARN of the security group.
Arn pulumi.StringPtrInput
// Description of this rule.
Description pulumi.StringPtrInput
// Configuration block. Detailed below.
Egress DefaultSecurityGroupEgressArrayInput
// Configuration block. Detailed below.
Ingress DefaultSecurityGroupIngressArrayInput
// Name of the security group.
Name pulumi.StringPtrInput
// Owner ID.
OwnerId pulumi.StringPtrInput
RevokeRulesOnDelete pulumi.BoolPtrInput
// Map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// 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 ¶
func (DefaultSecurityGroupState) ElementType() reflect.Type
type DefaultSubnet ¶
type DefaultSubnet struct {
pulumi.CustomResourceState
Arn pulumi.StringOutput `pulumi:"arn"`
AssignIpv6AddressOnCreation pulumi.BoolPtrOutput `pulumi:"assignIpv6AddressOnCreation"`
// is required
// * The `availabilityZoneId`, `cidrBlock` and `vpcId` arguments become computed attributes
// * The default value for `mapPublicIpOnLaunch` is `true`
AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
// The AZ ID of the subnet
AvailabilityZoneId pulumi.StringOutput `pulumi:"availabilityZoneId"`
// The IPv4 CIDR block assigned to the subnet
CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
CustomerOwnedIpv4Pool pulumi.StringPtrOutput `pulumi:"customerOwnedIpv4Pool"`
EnableDns64 pulumi.BoolPtrOutput `pulumi:"enableDns64"`
EnableResourceNameDnsARecordOnLaunch pulumi.BoolPtrOutput `pulumi:"enableResourceNameDnsARecordOnLaunch"`
EnableResourceNameDnsAaaaRecordOnLaunch pulumi.BoolPtrOutput `pulumi:"enableResourceNameDnsAaaaRecordOnLaunch"`
ExistingDefaultSubnet pulumi.BoolOutput `pulumi:"existingDefaultSubnet"`
// Whether destroying the resource deletes the default subnet. Default: `false`
ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
Ipv6CidrBlock pulumi.StringOutput `pulumi:"ipv6CidrBlock"`
Ipv6CidrBlockAssociationId pulumi.StringOutput `pulumi:"ipv6CidrBlockAssociationId"`
Ipv6Native pulumi.BoolPtrOutput `pulumi:"ipv6Native"`
MapCustomerOwnedIpOnLaunch pulumi.BoolPtrOutput `pulumi:"mapCustomerOwnedIpOnLaunch"`
MapPublicIpOnLaunch pulumi.BoolPtrOutput `pulumi:"mapPublicIpOnLaunch"`
OutpostArn pulumi.StringOutput `pulumi:"outpostArn"`
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
PrivateDnsHostnameTypeOnLaunch pulumi.StringOutput `pulumi:"privateDnsHostnameTypeOnLaunch"`
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The ID of the VPC the subnet is in
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides a resource to manage a [default subnet](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html#default-vpc-basics) in the current region.
**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.DefaultSubnet` resource behaves differently from normal resources in that if a default subnet exists in the specified Availability Zone, this provider does not _create_ this resource, but instead "adopts" it into management. If no default subnet exists, this provider creates a new default subnet. By default, `pulumi destroy` does not delete the default subnet but does remove the resource from the state. Set the `forceDestroy` argument to `true` to delete the default subnet.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewDefaultSubnet(ctx, "defaultAz1", &ec2.DefaultSubnetArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
Tags: pulumi.StringMap{
"Name": pulumi.String("Default subnet for us-west-2a"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Subnets can be imported using the `subnet id`, e.g.,
```sh
$ pulumi import aws:ec2/defaultSubnet:DefaultSubnet public_subnet subnet-9d4a7b6c
```
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.
func (*DefaultSubnet) ElementType ¶
func (*DefaultSubnet) ElementType() reflect.Type
func (*DefaultSubnet) ToDefaultSubnetOutput ¶
func (i *DefaultSubnet) ToDefaultSubnetOutput() DefaultSubnetOutput
func (*DefaultSubnet) ToDefaultSubnetOutputWithContext ¶
func (i *DefaultSubnet) ToDefaultSubnetOutputWithContext(ctx context.Context) DefaultSubnetOutput
type DefaultSubnetArgs ¶
type DefaultSubnetArgs struct {
AssignIpv6AddressOnCreation pulumi.BoolPtrInput
// is required
// * The `availabilityZoneId`, `cidrBlock` and `vpcId` arguments become computed attributes
// * The default value for `mapPublicIpOnLaunch` is `true`
AvailabilityZone pulumi.StringInput
CustomerOwnedIpv4Pool pulumi.StringPtrInput
EnableDns64 pulumi.BoolPtrInput
EnableResourceNameDnsARecordOnLaunch pulumi.BoolPtrInput
EnableResourceNameDnsAaaaRecordOnLaunch pulumi.BoolPtrInput
// Whether destroying the resource deletes the default subnet. Default: `false`
ForceDestroy pulumi.BoolPtrInput
Ipv6CidrBlock pulumi.StringPtrInput
Ipv6Native pulumi.BoolPtrInput
MapCustomerOwnedIpOnLaunch pulumi.BoolPtrInput
MapPublicIpOnLaunch pulumi.BoolPtrInput
PrivateDnsHostnameTypeOnLaunch pulumi.StringPtrInput
Tags pulumi.StringMapInput
}
The set of arguments for constructing a DefaultSubnet resource.
func (DefaultSubnetArgs) ElementType ¶
func (DefaultSubnetArgs) ElementType() reflect.Type
type DefaultSubnetArray ¶
type DefaultSubnetArray []DefaultSubnetInput
func (DefaultSubnetArray) ElementType ¶
func (DefaultSubnetArray) ElementType() reflect.Type
func (DefaultSubnetArray) ToDefaultSubnetArrayOutput ¶
func (i DefaultSubnetArray) ToDefaultSubnetArrayOutput() DefaultSubnetArrayOutput
func (DefaultSubnetArray) ToDefaultSubnetArrayOutputWithContext ¶
func (i DefaultSubnetArray) ToDefaultSubnetArrayOutputWithContext(ctx context.Context) DefaultSubnetArrayOutput
type DefaultSubnetArrayInput ¶
type DefaultSubnetArrayInput interface {
pulumi.Input
ToDefaultSubnetArrayOutput() DefaultSubnetArrayOutput
ToDefaultSubnetArrayOutputWithContext(context.Context) DefaultSubnetArrayOutput
}
DefaultSubnetArrayInput is an input type that accepts DefaultSubnetArray and DefaultSubnetArrayOutput values. You can construct a concrete instance of `DefaultSubnetArrayInput` via:
DefaultSubnetArray{ DefaultSubnetArgs{...} }
type DefaultSubnetArrayOutput ¶
type DefaultSubnetArrayOutput struct{ *pulumi.OutputState }
func (DefaultSubnetArrayOutput) ElementType ¶
func (DefaultSubnetArrayOutput) ElementType() reflect.Type
func (DefaultSubnetArrayOutput) Index ¶
func (o DefaultSubnetArrayOutput) Index(i pulumi.IntInput) DefaultSubnetOutput
func (DefaultSubnetArrayOutput) ToDefaultSubnetArrayOutput ¶
func (o DefaultSubnetArrayOutput) ToDefaultSubnetArrayOutput() DefaultSubnetArrayOutput
func (DefaultSubnetArrayOutput) ToDefaultSubnetArrayOutputWithContext ¶
func (o DefaultSubnetArrayOutput) ToDefaultSubnetArrayOutputWithContext(ctx context.Context) DefaultSubnetArrayOutput
type DefaultSubnetInput ¶
type DefaultSubnetInput interface {
pulumi.Input
ToDefaultSubnetOutput() DefaultSubnetOutput
ToDefaultSubnetOutputWithContext(ctx context.Context) DefaultSubnetOutput
}
type DefaultSubnetMap ¶
type DefaultSubnetMap map[string]DefaultSubnetInput
func (DefaultSubnetMap) ElementType ¶
func (DefaultSubnetMap) ElementType() reflect.Type
func (DefaultSubnetMap) ToDefaultSubnetMapOutput ¶
func (i DefaultSubnetMap) ToDefaultSubnetMapOutput() DefaultSubnetMapOutput
func (DefaultSubnetMap) ToDefaultSubnetMapOutputWithContext ¶
func (i DefaultSubnetMap) ToDefaultSubnetMapOutputWithContext(ctx context.Context) DefaultSubnetMapOutput
type DefaultSubnetMapInput ¶
type DefaultSubnetMapInput interface {
pulumi.Input
ToDefaultSubnetMapOutput() DefaultSubnetMapOutput
ToDefaultSubnetMapOutputWithContext(context.Context) DefaultSubnetMapOutput
}
DefaultSubnetMapInput is an input type that accepts DefaultSubnetMap and DefaultSubnetMapOutput values. You can construct a concrete instance of `DefaultSubnetMapInput` via:
DefaultSubnetMap{ "key": DefaultSubnetArgs{...} }
type DefaultSubnetMapOutput ¶
type DefaultSubnetMapOutput struct{ *pulumi.OutputState }
func (DefaultSubnetMapOutput) ElementType ¶
func (DefaultSubnetMapOutput) ElementType() reflect.Type
func (DefaultSubnetMapOutput) MapIndex ¶
func (o DefaultSubnetMapOutput) MapIndex(k pulumi.StringInput) DefaultSubnetOutput
func (DefaultSubnetMapOutput) ToDefaultSubnetMapOutput ¶
func (o DefaultSubnetMapOutput) ToDefaultSubnetMapOutput() DefaultSubnetMapOutput
func (DefaultSubnetMapOutput) ToDefaultSubnetMapOutputWithContext ¶
func (o DefaultSubnetMapOutput) ToDefaultSubnetMapOutputWithContext(ctx context.Context) DefaultSubnetMapOutput
type DefaultSubnetOutput ¶
type DefaultSubnetOutput struct{ *pulumi.OutputState }
func (DefaultSubnetOutput) ElementType ¶
func (DefaultSubnetOutput) ElementType() reflect.Type
func (DefaultSubnetOutput) ToDefaultSubnetOutput ¶
func (o DefaultSubnetOutput) ToDefaultSubnetOutput() DefaultSubnetOutput
func (DefaultSubnetOutput) ToDefaultSubnetOutputWithContext ¶
func (o DefaultSubnetOutput) ToDefaultSubnetOutputWithContext(ctx context.Context) DefaultSubnetOutput
type DefaultSubnetState ¶
type DefaultSubnetState struct {
Arn pulumi.StringPtrInput
AssignIpv6AddressOnCreation pulumi.BoolPtrInput
// is required
// * The `availabilityZoneId`, `cidrBlock` and `vpcId` arguments become computed attributes
// * The default value for `mapPublicIpOnLaunch` is `true`
AvailabilityZone pulumi.StringPtrInput
// The AZ ID of the subnet
AvailabilityZoneId pulumi.StringPtrInput
// The IPv4 CIDR block assigned to the subnet
CidrBlock pulumi.StringPtrInput
CustomerOwnedIpv4Pool pulumi.StringPtrInput
EnableDns64 pulumi.BoolPtrInput
EnableResourceNameDnsARecordOnLaunch pulumi.BoolPtrInput
EnableResourceNameDnsAaaaRecordOnLaunch pulumi.BoolPtrInput
ExistingDefaultSubnet pulumi.BoolPtrInput
// Whether destroying the resource deletes the default subnet. Default: `false`
ForceDestroy pulumi.BoolPtrInput
Ipv6CidrBlock pulumi.StringPtrInput
Ipv6CidrBlockAssociationId pulumi.StringPtrInput
Ipv6Native pulumi.BoolPtrInput
MapCustomerOwnedIpOnLaunch pulumi.BoolPtrInput
MapPublicIpOnLaunch pulumi.BoolPtrInput
OutpostArn pulumi.StringPtrInput
OwnerId pulumi.StringPtrInput
PrivateDnsHostnameTypeOnLaunch pulumi.StringPtrInput
Tags pulumi.StringMapInput
TagsAll pulumi.StringMapInput
// The ID of the VPC the subnet is in
VpcId pulumi.StringPtrInput
}
func (DefaultSubnetState) ElementType ¶
func (DefaultSubnetState) ElementType() reflect.Type
type DefaultVpc ¶
type DefaultVpc struct {
pulumi.CustomResourceState
Arn pulumi.StringOutput `pulumi:"arn"`
AssignGeneratedIpv6CidrBlock pulumi.BoolPtrOutput `pulumi:"assignGeneratedIpv6CidrBlock"`
// The primary IPv4 CIDR block for the VPC
CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
DefaultNetworkAclId pulumi.StringOutput `pulumi:"defaultNetworkAclId"`
DefaultRouteTableId pulumi.StringOutput `pulumi:"defaultRouteTableId"`
DefaultSecurityGroupId pulumi.StringOutput `pulumi:"defaultSecurityGroupId"`
DhcpOptionsId pulumi.StringOutput `pulumi:"dhcpOptionsId"`
EnableClassiclink pulumi.BoolOutput `pulumi:"enableClassiclink"`
EnableClassiclinkDnsSupport pulumi.BoolOutput `pulumi:"enableClassiclinkDnsSupport"`
EnableDnsHostnames pulumi.BoolPtrOutput `pulumi:"enableDnsHostnames"`
EnableDnsSupport pulumi.BoolPtrOutput `pulumi:"enableDnsSupport"`
ExistingDefaultVpc pulumi.BoolOutput `pulumi:"existingDefaultVpc"`
// Whether destroying the resource deletes the default VPC. Default: `false`
ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
// The allowed tenancy of instances launched into the VPC
InstanceTenancy pulumi.StringOutput `pulumi:"instanceTenancy"`
Ipv6AssociationId pulumi.StringOutput `pulumi:"ipv6AssociationId"`
Ipv6CidrBlock pulumi.StringOutput `pulumi:"ipv6CidrBlock"`
Ipv6CidrBlockNetworkBorderGroup pulumi.StringOutput `pulumi:"ipv6CidrBlockNetworkBorderGroup"`
Ipv6IpamPoolId pulumi.StringPtrOutput `pulumi:"ipv6IpamPoolId"`
Ipv6NetmaskLength pulumi.IntPtrOutput `pulumi:"ipv6NetmaskLength"`
MainRouteTableId pulumi.StringOutput `pulumi:"mainRouteTableId"`
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
## Example Usage
Basic usage with tags:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewDefaultVpc(ctx, "default", &ec2.DefaultVpcArgs{
Tags: pulumi.StringMap{
"Name": pulumi.String("Default VPC"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Default VPCs can be imported using the `vpc id`, e.g.,
```sh
$ pulumi import aws:ec2/defaultVpc:DefaultVpc default vpc-a01106c2
```
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.
func (*DefaultVpc) ElementType ¶
func (*DefaultVpc) ElementType() reflect.Type
func (*DefaultVpc) ToDefaultVpcOutput ¶
func (i *DefaultVpc) ToDefaultVpcOutput() DefaultVpcOutput
func (*DefaultVpc) ToDefaultVpcOutputWithContext ¶
func (i *DefaultVpc) ToDefaultVpcOutputWithContext(ctx context.Context) DefaultVpcOutput
type DefaultVpcArgs ¶
type DefaultVpcArgs struct {
AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput
EnableClassiclink pulumi.BoolPtrInput
EnableClassiclinkDnsSupport pulumi.BoolPtrInput
EnableDnsHostnames pulumi.BoolPtrInput
EnableDnsSupport pulumi.BoolPtrInput
// Whether destroying the resource deletes the default VPC. Default: `false`
ForceDestroy pulumi.BoolPtrInput
Ipv6CidrBlock pulumi.StringPtrInput
Ipv6CidrBlockNetworkBorderGroup pulumi.StringPtrInput
Ipv6IpamPoolId pulumi.StringPtrInput
Ipv6NetmaskLength pulumi.IntPtrInput
Tags pulumi.StringMapInput
}
The set of arguments for constructing a DefaultVpc resource.
func (DefaultVpcArgs) ElementType ¶
func (DefaultVpcArgs) ElementType() reflect.Type
type DefaultVpcArray ¶
type DefaultVpcArray []DefaultVpcInput
func (DefaultVpcArray) ElementType ¶
func (DefaultVpcArray) ElementType() reflect.Type
func (DefaultVpcArray) ToDefaultVpcArrayOutput ¶
func (i DefaultVpcArray) ToDefaultVpcArrayOutput() DefaultVpcArrayOutput
func (DefaultVpcArray) ToDefaultVpcArrayOutputWithContext ¶
func (i DefaultVpcArray) ToDefaultVpcArrayOutputWithContext(ctx context.Context) DefaultVpcArrayOutput
type DefaultVpcArrayInput ¶
type DefaultVpcArrayInput interface {
pulumi.Input
ToDefaultVpcArrayOutput() DefaultVpcArrayOutput
ToDefaultVpcArrayOutputWithContext(context.Context) DefaultVpcArrayOutput
}
DefaultVpcArrayInput is an input type that accepts DefaultVpcArray and DefaultVpcArrayOutput values. You can construct a concrete instance of `DefaultVpcArrayInput` via:
DefaultVpcArray{ DefaultVpcArgs{...} }
type DefaultVpcArrayOutput ¶
type DefaultVpcArrayOutput struct{ *pulumi.OutputState }
func (DefaultVpcArrayOutput) ElementType ¶
func (DefaultVpcArrayOutput) ElementType() reflect.Type
func (DefaultVpcArrayOutput) Index ¶
func (o DefaultVpcArrayOutput) Index(i pulumi.IntInput) DefaultVpcOutput
func (DefaultVpcArrayOutput) ToDefaultVpcArrayOutput ¶
func (o DefaultVpcArrayOutput) ToDefaultVpcArrayOutput() DefaultVpcArrayOutput
func (DefaultVpcArrayOutput) ToDefaultVpcArrayOutputWithContext ¶
func (o DefaultVpcArrayOutput) ToDefaultVpcArrayOutputWithContext(ctx context.Context) DefaultVpcArrayOutput
type DefaultVpcDhcpOptions ¶
type DefaultVpcDhcpOptions struct {
pulumi.CustomResourceState
// The ARN of the DHCP Options Set.
Arn pulumi.StringOutput `pulumi:"arn"`
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 map of tags to assign to the resource.
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
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.
## Example Usage
Basic usage with tags:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewDefaultVpcDhcpOptions(ctx, "default", &ec2.DefaultVpcDhcpOptionsArgs{
Tags: pulumi.StringMap{
"Name": pulumi.String("Default DHCP Option Set"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC DHCP Options can be imported using the `dhcp options id`, e.g.,
```sh
$ pulumi import aws:ec2/defaultVpcDhcpOptions:DefaultVpcDhcpOptions default_options dopt-d9070ebb
```
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.
func (*DefaultVpcDhcpOptions) ElementType ¶
func (*DefaultVpcDhcpOptions) ElementType() reflect.Type
func (*DefaultVpcDhcpOptions) ToDefaultVpcDhcpOptionsOutput ¶
func (i *DefaultVpcDhcpOptions) ToDefaultVpcDhcpOptionsOutput() DefaultVpcDhcpOptionsOutput
func (*DefaultVpcDhcpOptions) ToDefaultVpcDhcpOptionsOutputWithContext ¶
func (i *DefaultVpcDhcpOptions) ToDefaultVpcDhcpOptionsOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsOutput
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
// The ID of the AWS account that owns the DHCP options set.
OwnerId pulumi.StringPtrInput
// A map of tags to assign to the resource.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a DefaultVpcDhcpOptions resource.
func (DefaultVpcDhcpOptionsArgs) ElementType ¶
func (DefaultVpcDhcpOptionsArgs) ElementType() reflect.Type
type DefaultVpcDhcpOptionsArray ¶
type DefaultVpcDhcpOptionsArray []DefaultVpcDhcpOptionsInput
func (DefaultVpcDhcpOptionsArray) ElementType ¶
func (DefaultVpcDhcpOptionsArray) ElementType() reflect.Type
func (DefaultVpcDhcpOptionsArray) ToDefaultVpcDhcpOptionsArrayOutput ¶
func (i DefaultVpcDhcpOptionsArray) ToDefaultVpcDhcpOptionsArrayOutput() DefaultVpcDhcpOptionsArrayOutput
func (DefaultVpcDhcpOptionsArray) ToDefaultVpcDhcpOptionsArrayOutputWithContext ¶
func (i DefaultVpcDhcpOptionsArray) ToDefaultVpcDhcpOptionsArrayOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsArrayOutput
type DefaultVpcDhcpOptionsArrayInput ¶
type DefaultVpcDhcpOptionsArrayInput interface {
pulumi.Input
ToDefaultVpcDhcpOptionsArrayOutput() DefaultVpcDhcpOptionsArrayOutput
ToDefaultVpcDhcpOptionsArrayOutputWithContext(context.Context) DefaultVpcDhcpOptionsArrayOutput
}
DefaultVpcDhcpOptionsArrayInput is an input type that accepts DefaultVpcDhcpOptionsArray and DefaultVpcDhcpOptionsArrayOutput values. You can construct a concrete instance of `DefaultVpcDhcpOptionsArrayInput` via:
DefaultVpcDhcpOptionsArray{ DefaultVpcDhcpOptionsArgs{...} }
type DefaultVpcDhcpOptionsArrayOutput ¶
type DefaultVpcDhcpOptionsArrayOutput struct{ *pulumi.OutputState }
func (DefaultVpcDhcpOptionsArrayOutput) ElementType ¶
func (DefaultVpcDhcpOptionsArrayOutput) ElementType() reflect.Type
func (DefaultVpcDhcpOptionsArrayOutput) Index ¶
func (o DefaultVpcDhcpOptionsArrayOutput) Index(i pulumi.IntInput) DefaultVpcDhcpOptionsOutput
func (DefaultVpcDhcpOptionsArrayOutput) ToDefaultVpcDhcpOptionsArrayOutput ¶
func (o DefaultVpcDhcpOptionsArrayOutput) ToDefaultVpcDhcpOptionsArrayOutput() DefaultVpcDhcpOptionsArrayOutput
func (DefaultVpcDhcpOptionsArrayOutput) ToDefaultVpcDhcpOptionsArrayOutputWithContext ¶
func (o DefaultVpcDhcpOptionsArrayOutput) ToDefaultVpcDhcpOptionsArrayOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsArrayOutput
type DefaultVpcDhcpOptionsInput ¶
type DefaultVpcDhcpOptionsInput interface {
pulumi.Input
ToDefaultVpcDhcpOptionsOutput() DefaultVpcDhcpOptionsOutput
ToDefaultVpcDhcpOptionsOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsOutput
}
type DefaultVpcDhcpOptionsMap ¶
type DefaultVpcDhcpOptionsMap map[string]DefaultVpcDhcpOptionsInput
func (DefaultVpcDhcpOptionsMap) ElementType ¶
func (DefaultVpcDhcpOptionsMap) ElementType() reflect.Type
func (DefaultVpcDhcpOptionsMap) ToDefaultVpcDhcpOptionsMapOutput ¶
func (i DefaultVpcDhcpOptionsMap) ToDefaultVpcDhcpOptionsMapOutput() DefaultVpcDhcpOptionsMapOutput
func (DefaultVpcDhcpOptionsMap) ToDefaultVpcDhcpOptionsMapOutputWithContext ¶
func (i DefaultVpcDhcpOptionsMap) ToDefaultVpcDhcpOptionsMapOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsMapOutput
type DefaultVpcDhcpOptionsMapInput ¶
type DefaultVpcDhcpOptionsMapInput interface {
pulumi.Input
ToDefaultVpcDhcpOptionsMapOutput() DefaultVpcDhcpOptionsMapOutput
ToDefaultVpcDhcpOptionsMapOutputWithContext(context.Context) DefaultVpcDhcpOptionsMapOutput
}
DefaultVpcDhcpOptionsMapInput is an input type that accepts DefaultVpcDhcpOptionsMap and DefaultVpcDhcpOptionsMapOutput values. You can construct a concrete instance of `DefaultVpcDhcpOptionsMapInput` via:
DefaultVpcDhcpOptionsMap{ "key": DefaultVpcDhcpOptionsArgs{...} }
type DefaultVpcDhcpOptionsMapOutput ¶
type DefaultVpcDhcpOptionsMapOutput struct{ *pulumi.OutputState }
func (DefaultVpcDhcpOptionsMapOutput) ElementType ¶
func (DefaultVpcDhcpOptionsMapOutput) ElementType() reflect.Type
func (DefaultVpcDhcpOptionsMapOutput) MapIndex ¶
func (o DefaultVpcDhcpOptionsMapOutput) MapIndex(k pulumi.StringInput) DefaultVpcDhcpOptionsOutput
func (DefaultVpcDhcpOptionsMapOutput) ToDefaultVpcDhcpOptionsMapOutput ¶
func (o DefaultVpcDhcpOptionsMapOutput) ToDefaultVpcDhcpOptionsMapOutput() DefaultVpcDhcpOptionsMapOutput
func (DefaultVpcDhcpOptionsMapOutput) ToDefaultVpcDhcpOptionsMapOutputWithContext ¶
func (o DefaultVpcDhcpOptionsMapOutput) ToDefaultVpcDhcpOptionsMapOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsMapOutput
type DefaultVpcDhcpOptionsOutput ¶
type DefaultVpcDhcpOptionsOutput struct{ *pulumi.OutputState }
func (DefaultVpcDhcpOptionsOutput) ElementType ¶
func (DefaultVpcDhcpOptionsOutput) ElementType() reflect.Type
func (DefaultVpcDhcpOptionsOutput) ToDefaultVpcDhcpOptionsOutput ¶
func (o DefaultVpcDhcpOptionsOutput) ToDefaultVpcDhcpOptionsOutput() DefaultVpcDhcpOptionsOutput
func (DefaultVpcDhcpOptionsOutput) ToDefaultVpcDhcpOptionsOutputWithContext ¶
func (o DefaultVpcDhcpOptionsOutput) ToDefaultVpcDhcpOptionsOutputWithContext(ctx context.Context) DefaultVpcDhcpOptionsOutput
type DefaultVpcDhcpOptionsState ¶
type DefaultVpcDhcpOptionsState struct {
// The ARN of the DHCP Options Set.
Arn pulumi.StringPtrInput
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 map of tags to assign to the resource.
Tags pulumi.StringMapInput
TagsAll pulumi.StringMapInput
}
func (DefaultVpcDhcpOptionsState) ElementType ¶
func (DefaultVpcDhcpOptionsState) ElementType() reflect.Type
type DefaultVpcInput ¶
type DefaultVpcInput interface {
pulumi.Input
ToDefaultVpcOutput() DefaultVpcOutput
ToDefaultVpcOutputWithContext(ctx context.Context) DefaultVpcOutput
}
type DefaultVpcMap ¶
type DefaultVpcMap map[string]DefaultVpcInput
func (DefaultVpcMap) ElementType ¶
func (DefaultVpcMap) ElementType() reflect.Type
func (DefaultVpcMap) ToDefaultVpcMapOutput ¶
func (i DefaultVpcMap) ToDefaultVpcMapOutput() DefaultVpcMapOutput
func (DefaultVpcMap) ToDefaultVpcMapOutputWithContext ¶
func (i DefaultVpcMap) ToDefaultVpcMapOutputWithContext(ctx context.Context) DefaultVpcMapOutput
type DefaultVpcMapInput ¶
type DefaultVpcMapInput interface {
pulumi.Input
ToDefaultVpcMapOutput() DefaultVpcMapOutput
ToDefaultVpcMapOutputWithContext(context.Context) DefaultVpcMapOutput
}
DefaultVpcMapInput is an input type that accepts DefaultVpcMap and DefaultVpcMapOutput values. You can construct a concrete instance of `DefaultVpcMapInput` via:
DefaultVpcMap{ "key": DefaultVpcArgs{...} }
type DefaultVpcMapOutput ¶
type DefaultVpcMapOutput struct{ *pulumi.OutputState }
func (DefaultVpcMapOutput) ElementType ¶
func (DefaultVpcMapOutput) ElementType() reflect.Type
func (DefaultVpcMapOutput) MapIndex ¶
func (o DefaultVpcMapOutput) MapIndex(k pulumi.StringInput) DefaultVpcOutput
func (DefaultVpcMapOutput) ToDefaultVpcMapOutput ¶
func (o DefaultVpcMapOutput) ToDefaultVpcMapOutput() DefaultVpcMapOutput
func (DefaultVpcMapOutput) ToDefaultVpcMapOutputWithContext ¶
func (o DefaultVpcMapOutput) ToDefaultVpcMapOutputWithContext(ctx context.Context) DefaultVpcMapOutput
type DefaultVpcOutput ¶
type DefaultVpcOutput struct{ *pulumi.OutputState }
func (DefaultVpcOutput) ElementType ¶
func (DefaultVpcOutput) ElementType() reflect.Type
func (DefaultVpcOutput) ToDefaultVpcOutput ¶
func (o DefaultVpcOutput) ToDefaultVpcOutput() DefaultVpcOutput
func (DefaultVpcOutput) ToDefaultVpcOutputWithContext ¶
func (o DefaultVpcOutput) ToDefaultVpcOutputWithContext(ctx context.Context) DefaultVpcOutput
type DefaultVpcState ¶
type DefaultVpcState struct {
Arn pulumi.StringPtrInput
AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput
// The primary IPv4 CIDR block for the VPC
CidrBlock pulumi.StringPtrInput
DefaultNetworkAclId pulumi.StringPtrInput
DefaultRouteTableId pulumi.StringPtrInput
DefaultSecurityGroupId pulumi.StringPtrInput
DhcpOptionsId pulumi.StringPtrInput
EnableClassiclink pulumi.BoolPtrInput
EnableClassiclinkDnsSupport pulumi.BoolPtrInput
EnableDnsHostnames pulumi.BoolPtrInput
EnableDnsSupport pulumi.BoolPtrInput
ExistingDefaultVpc pulumi.BoolPtrInput
// Whether destroying the resource deletes the default VPC. Default: `false`
ForceDestroy pulumi.BoolPtrInput
// The allowed tenancy of instances launched into the VPC
InstanceTenancy pulumi.StringPtrInput
Ipv6AssociationId pulumi.StringPtrInput
Ipv6CidrBlock pulumi.StringPtrInput
Ipv6CidrBlockNetworkBorderGroup pulumi.StringPtrInput
Ipv6IpamPoolId pulumi.StringPtrInput
Ipv6NetmaskLength pulumi.IntPtrInput
MainRouteTableId pulumi.StringPtrInput
OwnerId pulumi.StringPtrInput
Tags pulumi.StringMapInput
TagsAll pulumi.StringMapInput
}
func (DefaultVpcState) ElementType ¶
func (DefaultVpcState) ElementType() reflect.Type
type EgressOnlyInternetGateway ¶
type EgressOnlyInternetGateway struct {
pulumi.CustomResourceState
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
AssignGeneratedIpv6CidrBlock: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = ec2.NewEgressOnlyInternetGateway(ctx, "exampleEgressOnlyInternetGateway", &ec2.EgressOnlyInternetGatewayArgs{
VpcId: exampleVpc.ID(),
Tags: pulumi.StringMap{
"Name": pulumi.String("main"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Egress-only Internet gateways can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/egressOnlyInternetGateway:EgressOnlyInternetGateway example eigw-015e0e244e24dfe8a
```
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.
func (*EgressOnlyInternetGateway) ElementType ¶
func (*EgressOnlyInternetGateway) ElementType() reflect.Type
func (*EgressOnlyInternetGateway) ToEgressOnlyInternetGatewayOutput ¶
func (i *EgressOnlyInternetGateway) ToEgressOnlyInternetGatewayOutput() EgressOnlyInternetGatewayOutput
func (*EgressOnlyInternetGateway) ToEgressOnlyInternetGatewayOutputWithContext ¶
func (i *EgressOnlyInternetGateway) ToEgressOnlyInternetGatewayOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayOutput
type EgressOnlyInternetGatewayArgs ¶
type EgressOnlyInternetGatewayArgs struct {
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The VPC ID to create in.
VpcId pulumi.StringInput
}
The set of arguments for constructing a EgressOnlyInternetGateway resource.
func (EgressOnlyInternetGatewayArgs) ElementType ¶
func (EgressOnlyInternetGatewayArgs) ElementType() reflect.Type
type EgressOnlyInternetGatewayArray ¶
type EgressOnlyInternetGatewayArray []EgressOnlyInternetGatewayInput
func (EgressOnlyInternetGatewayArray) ElementType ¶
func (EgressOnlyInternetGatewayArray) ElementType() reflect.Type
func (EgressOnlyInternetGatewayArray) ToEgressOnlyInternetGatewayArrayOutput ¶
func (i EgressOnlyInternetGatewayArray) ToEgressOnlyInternetGatewayArrayOutput() EgressOnlyInternetGatewayArrayOutput
func (EgressOnlyInternetGatewayArray) ToEgressOnlyInternetGatewayArrayOutputWithContext ¶
func (i EgressOnlyInternetGatewayArray) ToEgressOnlyInternetGatewayArrayOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayArrayOutput
type EgressOnlyInternetGatewayArrayInput ¶
type EgressOnlyInternetGatewayArrayInput interface {
pulumi.Input
ToEgressOnlyInternetGatewayArrayOutput() EgressOnlyInternetGatewayArrayOutput
ToEgressOnlyInternetGatewayArrayOutputWithContext(context.Context) EgressOnlyInternetGatewayArrayOutput
}
EgressOnlyInternetGatewayArrayInput is an input type that accepts EgressOnlyInternetGatewayArray and EgressOnlyInternetGatewayArrayOutput values. You can construct a concrete instance of `EgressOnlyInternetGatewayArrayInput` via:
EgressOnlyInternetGatewayArray{ EgressOnlyInternetGatewayArgs{...} }
type EgressOnlyInternetGatewayArrayOutput ¶
type EgressOnlyInternetGatewayArrayOutput struct{ *pulumi.OutputState }
func (EgressOnlyInternetGatewayArrayOutput) ElementType ¶
func (EgressOnlyInternetGatewayArrayOutput) ElementType() reflect.Type
func (EgressOnlyInternetGatewayArrayOutput) Index ¶
func (o EgressOnlyInternetGatewayArrayOutput) Index(i pulumi.IntInput) EgressOnlyInternetGatewayOutput
func (EgressOnlyInternetGatewayArrayOutput) ToEgressOnlyInternetGatewayArrayOutput ¶
func (o EgressOnlyInternetGatewayArrayOutput) ToEgressOnlyInternetGatewayArrayOutput() EgressOnlyInternetGatewayArrayOutput
func (EgressOnlyInternetGatewayArrayOutput) ToEgressOnlyInternetGatewayArrayOutputWithContext ¶
func (o EgressOnlyInternetGatewayArrayOutput) ToEgressOnlyInternetGatewayArrayOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayArrayOutput
type EgressOnlyInternetGatewayInput ¶
type EgressOnlyInternetGatewayInput interface {
pulumi.Input
ToEgressOnlyInternetGatewayOutput() EgressOnlyInternetGatewayOutput
ToEgressOnlyInternetGatewayOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayOutput
}
type EgressOnlyInternetGatewayMap ¶
type EgressOnlyInternetGatewayMap map[string]EgressOnlyInternetGatewayInput
func (EgressOnlyInternetGatewayMap) ElementType ¶
func (EgressOnlyInternetGatewayMap) ElementType() reflect.Type
func (EgressOnlyInternetGatewayMap) ToEgressOnlyInternetGatewayMapOutput ¶
func (i EgressOnlyInternetGatewayMap) ToEgressOnlyInternetGatewayMapOutput() EgressOnlyInternetGatewayMapOutput
func (EgressOnlyInternetGatewayMap) ToEgressOnlyInternetGatewayMapOutputWithContext ¶
func (i EgressOnlyInternetGatewayMap) ToEgressOnlyInternetGatewayMapOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayMapOutput
type EgressOnlyInternetGatewayMapInput ¶
type EgressOnlyInternetGatewayMapInput interface {
pulumi.Input
ToEgressOnlyInternetGatewayMapOutput() EgressOnlyInternetGatewayMapOutput
ToEgressOnlyInternetGatewayMapOutputWithContext(context.Context) EgressOnlyInternetGatewayMapOutput
}
EgressOnlyInternetGatewayMapInput is an input type that accepts EgressOnlyInternetGatewayMap and EgressOnlyInternetGatewayMapOutput values. You can construct a concrete instance of `EgressOnlyInternetGatewayMapInput` via:
EgressOnlyInternetGatewayMap{ "key": EgressOnlyInternetGatewayArgs{...} }
type EgressOnlyInternetGatewayMapOutput ¶
type EgressOnlyInternetGatewayMapOutput struct{ *pulumi.OutputState }
func (EgressOnlyInternetGatewayMapOutput) ElementType ¶
func (EgressOnlyInternetGatewayMapOutput) ElementType() reflect.Type
func (EgressOnlyInternetGatewayMapOutput) MapIndex ¶
func (o EgressOnlyInternetGatewayMapOutput) MapIndex(k pulumi.StringInput) EgressOnlyInternetGatewayOutput
func (EgressOnlyInternetGatewayMapOutput) ToEgressOnlyInternetGatewayMapOutput ¶
func (o EgressOnlyInternetGatewayMapOutput) ToEgressOnlyInternetGatewayMapOutput() EgressOnlyInternetGatewayMapOutput
func (EgressOnlyInternetGatewayMapOutput) ToEgressOnlyInternetGatewayMapOutputWithContext ¶
func (o EgressOnlyInternetGatewayMapOutput) ToEgressOnlyInternetGatewayMapOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayMapOutput
type EgressOnlyInternetGatewayOutput ¶
type EgressOnlyInternetGatewayOutput struct{ *pulumi.OutputState }
func (EgressOnlyInternetGatewayOutput) ElementType ¶
func (EgressOnlyInternetGatewayOutput) ElementType() reflect.Type
func (EgressOnlyInternetGatewayOutput) ToEgressOnlyInternetGatewayOutput ¶
func (o EgressOnlyInternetGatewayOutput) ToEgressOnlyInternetGatewayOutput() EgressOnlyInternetGatewayOutput
func (EgressOnlyInternetGatewayOutput) ToEgressOnlyInternetGatewayOutputWithContext ¶
func (o EgressOnlyInternetGatewayOutput) ToEgressOnlyInternetGatewayOutputWithContext(ctx context.Context) EgressOnlyInternetGatewayOutput
type EgressOnlyInternetGatewayState ¶
type EgressOnlyInternetGatewayState struct {
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// The VPC ID to create in.
VpcId pulumi.StringPtrInput
}
func (EgressOnlyInternetGatewayState) ElementType ¶
func (EgressOnlyInternetGatewayState) ElementType() reflect.Type
type Eip ¶
type Eip struct {
pulumi.CustomResourceState
// IP address from an EC2 BYOIP pool. This option is only available for VPC EIPs.
Address pulumi.StringPtrOutput `pulumi:"address"`
// ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
AllocationId pulumi.StringOutput `pulumi:"allocationId"`
// 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"`
// ID representing the association of the address with an instance in a VPC.
AssociationId pulumi.StringOutput `pulumi:"associationId"`
// Carrier IP address.
CarrierIp pulumi.StringOutput `pulumi:"carrierIp"`
// Customer owned IP.
CustomerOwnedIp pulumi.StringOutput `pulumi:"customerOwnedIp"`
// ID of a customer-owned address pool. For more on customer owned IP addressed check out [Customer-owned IP addresses guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing).
CustomerOwnedIpv4Pool pulumi.StringPtrOutput `pulumi:"customerOwnedIpv4Pool"`
// Indicates if this EIP is for use in VPC (`vpc`) or EC2 Classic (`standard`).
Domain pulumi.StringOutput `pulumi:"domain"`
// EC2 instance ID.
Instance pulumi.StringOutput `pulumi:"instance"`
// Location from which the IP address is advertised. Use this parameter to limit the address to this location.
NetworkBorderGroup pulumi.StringOutput `pulumi:"networkBorderGroup"`
// 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"`
// Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage ### Single EIP associated with an instance
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewEip(ctx, "lb", &ec2.EipArgs{
Instance: pulumi.Any(aws_instance.Web.Id),
Vpc: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
``` ### Multiple EIPs associated with a single network interface
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewNetworkInterface(ctx, "multi-ip", &ec2.NetworkInterfaceArgs{
SubnetId: pulumi.Any(aws_subnet.Main.Id),
PrivateIps: pulumi.StringArray{
pulumi.String("10.0.0.10"),
pulumi.String("10.0.0.11"),
},
})
if err != nil {
return err
}
_, err = ec2.NewEip(ctx, "one", &ec2.EipArgs{
Vpc: pulumi.Bool(true),
NetworkInterface: multi_ip.ID(),
AssociateWithPrivateIp: pulumi.String("10.0.0.10"),
})
if err != nil {
return err
}
_, err = ec2.NewEip(ctx, "two", &ec2.EipArgs{
Vpc: pulumi.Bool(true),
NetworkInterface: multi_ip.ID(),
AssociateWithPrivateIp: pulumi.String("10.0.0.11"),
})
if err != nil {
return err
}
return nil
})
}
``` ### Attaching an EIP to an Instance with a pre-assigned private ip (VPC Only)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpc(ctx, "default", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
EnableDnsHostnames: pulumi.Bool(true),
})
if err != nil {
return err
}
gw, err := ec2.NewInternetGateway(ctx, "gw", &ec2.InternetGatewayArgs{
VpcId: _default.ID(),
})
if err != nil {
return err
}
tfTestSubnet, err := ec2.NewSubnet(ctx, "tfTestSubnet", &ec2.SubnetArgs{
VpcId: _default.ID(),
CidrBlock: pulumi.String("10.0.0.0/24"),
MapPublicIpOnLaunch: pulumi.Bool(true),
}, pulumi.DependsOn([]pulumi.Resource{
gw,
}))
if err != nil {
return err
}
foo, err := ec2.NewInstance(ctx, "foo", &ec2.InstanceArgs{
Ami: pulumi.String("ami-5189a661"),
InstanceType: pulumi.String("t2.micro"),
PrivateIp: pulumi.String("10.0.0.12"),
SubnetId: tfTestSubnet.ID(),
})
if err != nil {
return err
}
_, err = ec2.NewEip(ctx, "bar", &ec2.EipArgs{
Vpc: pulumi.Bool(true),
Instance: foo.ID(),
AssociateWithPrivateIp: pulumi.String("10.0.0.12"),
}, pulumi.DependsOn([]pulumi.Resource{
gw,
}))
if err != nil {
return err
}
return nil
})
}
``` ### Allocating EIP from the BYOIP pool
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewEip(ctx, "byoip-ip", &ec2.EipArgs{
PublicIpv4Pool: pulumi.String("ipv4pool-ec2-012345"),
Vpc: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
EIPs in a VPC can be imported using their Allocation ID, e.g.,
```sh
$ pulumi import aws:ec2/eip:Eip bar eipalloc-00a10e96
```
EIPs in EC2 Classic can be imported using their Public IP, e.g.,
```sh
$ pulumi import aws:ec2/eip:Eip bar 52.0.0.0
```
[1]https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateAddress.html
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.
func (*Eip) ElementType ¶
func (*Eip) ToEipOutput ¶
type EipArgs ¶
type EipArgs struct {
// IP address from an EC2 BYOIP pool. This option is only available for VPC EIPs.
Address pulumi.StringPtrInput
// 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
// ID of a customer-owned address pool. For more on customer owned IP addressed check out [Customer-owned IP addresses guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing).
CustomerOwnedIpv4Pool pulumi.StringPtrInput
// EC2 instance ID.
Instance pulumi.StringPtrInput
// Location from which the IP address is advertised. Use this parameter to limit the address to this location.
NetworkBorderGroup 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
// Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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 ¶
type EipArray ¶
type EipArray []EipInput
func (EipArray) ElementType ¶
func (EipArray) ToEipArrayOutput ¶
func (i EipArray) ToEipArrayOutput() EipArrayOutput
func (EipArray) ToEipArrayOutputWithContext ¶
func (i EipArray) ToEipArrayOutputWithContext(ctx context.Context) EipArrayOutput
type EipArrayInput ¶
type EipArrayInput interface {
pulumi.Input
ToEipArrayOutput() EipArrayOutput
ToEipArrayOutputWithContext(context.Context) EipArrayOutput
}
EipArrayInput is an input type that accepts EipArray and EipArrayOutput values. You can construct a concrete instance of `EipArrayInput` via:
EipArray{ EipArgs{...} }
type EipArrayOutput ¶
type EipArrayOutput struct{ *pulumi.OutputState }
func (EipArrayOutput) ElementType ¶
func (EipArrayOutput) ElementType() reflect.Type
func (EipArrayOutput) ToEipArrayOutput ¶
func (o EipArrayOutput) ToEipArrayOutput() EipArrayOutput
func (EipArrayOutput) ToEipArrayOutputWithContext ¶
func (o EipArrayOutput) ToEipArrayOutputWithContext(ctx context.Context) EipArrayOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
web, err := ec2.NewInstance(ctx, "web", &ec2.InstanceArgs{
Ami: pulumi.String("ami-21f78e11"),
AvailabilityZone: pulumi.String("us-west-2a"),
InstanceType: pulumi.String("t2.micro"),
Tags: pulumi.StringMap{
"Name": pulumi.String("HelloWorld"),
},
})
if err != nil {
return err
}
example, err := ec2.NewEip(ctx, "example", &ec2.EipArgs{
Vpc: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = ec2.NewEipAssociation(ctx, "eipAssoc", &ec2.EipAssociationArgs{
InstanceId: web.ID(),
AllocationId: example.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
EIP Assocations can be imported using their association ID.
```sh
$ pulumi import aws:ec2/eipAssociation:EipAssociation test eipassoc-ab12c345
```
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.
func (*EipAssociation) ElementType ¶
func (*EipAssociation) ElementType() reflect.Type
func (*EipAssociation) ToEipAssociationOutput ¶
func (i *EipAssociation) ToEipAssociationOutput() EipAssociationOutput
func (*EipAssociation) ToEipAssociationOutputWithContext ¶
func (i *EipAssociation) ToEipAssociationOutputWithContext(ctx context.Context) EipAssociationOutput
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 ¶
func (EipAssociationArgs) ElementType() reflect.Type
type EipAssociationArray ¶
type EipAssociationArray []EipAssociationInput
func (EipAssociationArray) ElementType ¶
func (EipAssociationArray) ElementType() reflect.Type
func (EipAssociationArray) ToEipAssociationArrayOutput ¶
func (i EipAssociationArray) ToEipAssociationArrayOutput() EipAssociationArrayOutput
func (EipAssociationArray) ToEipAssociationArrayOutputWithContext ¶
func (i EipAssociationArray) ToEipAssociationArrayOutputWithContext(ctx context.Context) EipAssociationArrayOutput
type EipAssociationArrayInput ¶
type EipAssociationArrayInput interface {
pulumi.Input
ToEipAssociationArrayOutput() EipAssociationArrayOutput
ToEipAssociationArrayOutputWithContext(context.Context) EipAssociationArrayOutput
}
EipAssociationArrayInput is an input type that accepts EipAssociationArray and EipAssociationArrayOutput values. You can construct a concrete instance of `EipAssociationArrayInput` via:
EipAssociationArray{ EipAssociationArgs{...} }
type EipAssociationArrayOutput ¶
type EipAssociationArrayOutput struct{ *pulumi.OutputState }
func (EipAssociationArrayOutput) ElementType ¶
func (EipAssociationArrayOutput) ElementType() reflect.Type
func (EipAssociationArrayOutput) Index ¶
func (o EipAssociationArrayOutput) Index(i pulumi.IntInput) EipAssociationOutput
func (EipAssociationArrayOutput) ToEipAssociationArrayOutput ¶
func (o EipAssociationArrayOutput) ToEipAssociationArrayOutput() EipAssociationArrayOutput
func (EipAssociationArrayOutput) ToEipAssociationArrayOutputWithContext ¶
func (o EipAssociationArrayOutput) ToEipAssociationArrayOutputWithContext(ctx context.Context) EipAssociationArrayOutput
type EipAssociationInput ¶
type EipAssociationInput interface {
pulumi.Input
ToEipAssociationOutput() EipAssociationOutput
ToEipAssociationOutputWithContext(ctx context.Context) EipAssociationOutput
}
type EipAssociationMap ¶
type EipAssociationMap map[string]EipAssociationInput
func (EipAssociationMap) ElementType ¶
func (EipAssociationMap) ElementType() reflect.Type
func (EipAssociationMap) ToEipAssociationMapOutput ¶
func (i EipAssociationMap) ToEipAssociationMapOutput() EipAssociationMapOutput
func (EipAssociationMap) ToEipAssociationMapOutputWithContext ¶
func (i EipAssociationMap) ToEipAssociationMapOutputWithContext(ctx context.Context) EipAssociationMapOutput
type EipAssociationMapInput ¶
type EipAssociationMapInput interface {
pulumi.Input
ToEipAssociationMapOutput() EipAssociationMapOutput
ToEipAssociationMapOutputWithContext(context.Context) EipAssociationMapOutput
}
EipAssociationMapInput is an input type that accepts EipAssociationMap and EipAssociationMapOutput values. You can construct a concrete instance of `EipAssociationMapInput` via:
EipAssociationMap{ "key": EipAssociationArgs{...} }
type EipAssociationMapOutput ¶
type EipAssociationMapOutput struct{ *pulumi.OutputState }
func (EipAssociationMapOutput) ElementType ¶
func (EipAssociationMapOutput) ElementType() reflect.Type
func (EipAssociationMapOutput) MapIndex ¶
func (o EipAssociationMapOutput) MapIndex(k pulumi.StringInput) EipAssociationOutput
func (EipAssociationMapOutput) ToEipAssociationMapOutput ¶
func (o EipAssociationMapOutput) ToEipAssociationMapOutput() EipAssociationMapOutput
func (EipAssociationMapOutput) ToEipAssociationMapOutputWithContext ¶
func (o EipAssociationMapOutput) ToEipAssociationMapOutputWithContext(ctx context.Context) EipAssociationMapOutput
type EipAssociationOutput ¶
type EipAssociationOutput struct{ *pulumi.OutputState }
func (EipAssociationOutput) ElementType ¶
func (EipAssociationOutput) ElementType() reflect.Type
func (EipAssociationOutput) ToEipAssociationOutput ¶
func (o EipAssociationOutput) ToEipAssociationOutput() EipAssociationOutput
func (EipAssociationOutput) ToEipAssociationOutputWithContext ¶
func (o EipAssociationOutput) ToEipAssociationOutputWithContext(ctx context.Context) EipAssociationOutput
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 ¶
func (EipAssociationState) ElementType() reflect.Type
type EipMap ¶
func (EipMap) ElementType ¶
func (EipMap) ToEipMapOutput ¶
func (i EipMap) ToEipMapOutput() EipMapOutput
func (EipMap) ToEipMapOutputWithContext ¶
func (i EipMap) ToEipMapOutputWithContext(ctx context.Context) EipMapOutput
type EipMapInput ¶
type EipMapInput interface {
pulumi.Input
ToEipMapOutput() EipMapOutput
ToEipMapOutputWithContext(context.Context) EipMapOutput
}
EipMapInput is an input type that accepts EipMap and EipMapOutput values. You can construct a concrete instance of `EipMapInput` via:
EipMap{ "key": EipArgs{...} }
type EipMapOutput ¶
type EipMapOutput struct{ *pulumi.OutputState }
func (EipMapOutput) ElementType ¶
func (EipMapOutput) ElementType() reflect.Type
func (EipMapOutput) MapIndex ¶
func (o EipMapOutput) MapIndex(k pulumi.StringInput) EipOutput
func (EipMapOutput) ToEipMapOutput ¶
func (o EipMapOutput) ToEipMapOutput() EipMapOutput
func (EipMapOutput) ToEipMapOutputWithContext ¶
func (o EipMapOutput) ToEipMapOutputWithContext(ctx context.Context) EipMapOutput
type EipOutput ¶
type EipOutput struct{ *pulumi.OutputState }
func (EipOutput) ElementType ¶
func (EipOutput) ToEipOutput ¶
type EipState ¶
type EipState struct {
// IP address from an EC2 BYOIP pool. This option is only available for VPC EIPs.
Address pulumi.StringPtrInput
// ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
AllocationId pulumi.StringPtrInput
// 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
// ID representing the association of the address with an instance in a VPC.
AssociationId pulumi.StringPtrInput
// Carrier IP address.
CarrierIp pulumi.StringPtrInput
// Customer owned IP.
CustomerOwnedIp pulumi.StringPtrInput
// ID of a customer-owned address pool. For more on customer owned IP addressed check out [Customer-owned IP addresses guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing).
CustomerOwnedIpv4Pool pulumi.StringPtrInput
// Indicates if this EIP is for use in VPC (`vpc`) or EC2 Classic (`standard`).
Domain pulumi.StringPtrInput
// EC2 instance ID.
Instance pulumi.StringPtrInput
// Location from which the IP address is advertised. Use this parameter to limit the address to this location.
NetworkBorderGroup 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
// Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// Boolean if the EIP is in a VPC or not.
Vpc pulumi.BoolPtrInput
}
func (EipState) ElementType ¶
type Fleet ¶
type Fleet struct {
pulumi.CustomResourceState
// Reserved.
Context pulumi.StringPtrOutput `pulumi:"context"`
// 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. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewFleet(ctx, "example", &ec2.FleetArgs{
LaunchTemplateConfig: &ec2.FleetLaunchTemplateConfigArgs{
LaunchTemplateSpecification: &ec2.FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs{
LaunchTemplateId: pulumi.Any(aws_launch_template.Example.Id),
Version: pulumi.Any(aws_launch_template.Example.Latest_version),
},
},
TargetCapacitySpecification: &ec2.FleetTargetCapacitySpecificationArgs{
DefaultTargetCapacityType: pulumi.String("spot"),
TotalTargetCapacity: pulumi.Int(5),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_ec2_fleet` can be imported by using the Fleet identifier, e.g.,
```sh
$ pulumi import aws:ec2/fleet:Fleet example fleet-b9b55d27-c5fc-41ac-a6f3-48fcc91f080c
```
func GetFleet ¶
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 ¶
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.
func (*Fleet) ElementType ¶
func (*Fleet) ToFleetOutput ¶
func (i *Fleet) ToFleetOutput() FleetOutput
func (*Fleet) ToFleetOutputWithContext ¶
func (i *Fleet) ToFleetOutputWithContext(ctx context.Context) FleetOutput
type FleetArgs ¶
type FleetArgs struct {
// Reserved.
Context pulumi.StringPtrInput
// 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. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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 ¶
type FleetArray ¶
type FleetArray []FleetInput
func (FleetArray) ElementType ¶
func (FleetArray) ElementType() reflect.Type
func (FleetArray) ToFleetArrayOutput ¶
func (i FleetArray) ToFleetArrayOutput() FleetArrayOutput
func (FleetArray) ToFleetArrayOutputWithContext ¶
func (i FleetArray) ToFleetArrayOutputWithContext(ctx context.Context) FleetArrayOutput
type FleetArrayInput ¶
type FleetArrayInput interface {
pulumi.Input
ToFleetArrayOutput() FleetArrayOutput
ToFleetArrayOutputWithContext(context.Context) FleetArrayOutput
}
FleetArrayInput is an input type that accepts FleetArray and FleetArrayOutput values. You can construct a concrete instance of `FleetArrayInput` via:
FleetArray{ FleetArgs{...} }
type FleetArrayOutput ¶
type FleetArrayOutput struct{ *pulumi.OutputState }
func (FleetArrayOutput) ElementType ¶
func (FleetArrayOutput) ElementType() reflect.Type
func (FleetArrayOutput) Index ¶
func (o FleetArrayOutput) Index(i pulumi.IntInput) FleetOutput
func (FleetArrayOutput) ToFleetArrayOutput ¶
func (o FleetArrayOutput) ToFleetArrayOutput() FleetArrayOutput
func (FleetArrayOutput) ToFleetArrayOutputWithContext ¶
func (o FleetArrayOutput) ToFleetArrayOutputWithContext(ctx context.Context) FleetArrayOutput
type FleetInput ¶
type FleetInput interface {
pulumi.Input
ToFleetOutput() FleetOutput
ToFleetOutputWithContext(ctx context.Context) FleetOutput
}
type FleetLaunchTemplateConfig ¶
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 ¶
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 ¶
func (FleetLaunchTemplateConfigArgs) ElementType() reflect.Type
func (FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutput ¶
func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutput() FleetLaunchTemplateConfigOutput
func (FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutputWithContext ¶
func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOutput
func (FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutput ¶
func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput
func (FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutputWithContext ¶
func (i FleetLaunchTemplateConfigArgs) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput
type FleetLaunchTemplateConfigInput ¶
type FleetLaunchTemplateConfigInput interface {
pulumi.Input
ToFleetLaunchTemplateConfigOutput() FleetLaunchTemplateConfigOutput
ToFleetLaunchTemplateConfigOutputWithContext(context.Context) FleetLaunchTemplateConfigOutput
}
FleetLaunchTemplateConfigInput is an input type that accepts FleetLaunchTemplateConfigArgs and FleetLaunchTemplateConfigOutput values. You can construct a concrete instance of `FleetLaunchTemplateConfigInput` via:
FleetLaunchTemplateConfigArgs{...}
type FleetLaunchTemplateConfigLaunchTemplateSpecification ¶
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 ¶
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 ¶
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ElementType() reflect.Type
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput ¶
func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext ¶
func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput ¶
func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext ¶
func (i FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
type FleetLaunchTemplateConfigLaunchTemplateSpecificationInput ¶
type FleetLaunchTemplateConfigLaunchTemplateSpecificationInput interface {
pulumi.Input
ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
}
FleetLaunchTemplateConfigLaunchTemplateSpecificationInput is an input type that accepts FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs and FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput values. You can construct a concrete instance of `FleetLaunchTemplateConfigLaunchTemplateSpecificationInput` via:
FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs{...}
type FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput ¶
type FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput struct{ *pulumi.OutputState }
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ElementType ¶
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ElementType() reflect.Type
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) LaunchTemplateId ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput
ID of the launch template.
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) LaunchTemplateName ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput
Name of the launch template.
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) Version ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput) Version() pulumi.StringOutput
Version number of the launch template.
type FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrInput ¶
type FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrInput interface {
pulumi.Input
ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext(context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
}
FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrInput is an input type that accepts FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs, FleetLaunchTemplateConfigLaunchTemplateSpecificationPtr and FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput values. You can construct a concrete instance of `FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrInput` via:
FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs{...}
or:
nil
func FleetLaunchTemplateConfigLaunchTemplateSpecificationPtr ¶
func FleetLaunchTemplateConfigLaunchTemplateSpecificationPtr(v *FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs) FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrInput
type FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput ¶
type FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput struct{ *pulumi.OutputState }
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ElementType ¶
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ElementType() reflect.Type
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) LaunchTemplateId ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
ID of the launch template.
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) LaunchTemplateName ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
Name of the launch template.
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) ToFleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
func (FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) Version ¶
func (o FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput) Version() pulumi.StringPtrOutput
Version number of the launch template.
type FleetLaunchTemplateConfigOutput ¶
type FleetLaunchTemplateConfigOutput struct{ *pulumi.OutputState }
func (FleetLaunchTemplateConfigOutput) ElementType ¶
func (FleetLaunchTemplateConfigOutput) ElementType() reflect.Type
func (FleetLaunchTemplateConfigOutput) LaunchTemplateSpecification ¶
func (o FleetLaunchTemplateConfigOutput) LaunchTemplateSpecification() FleetLaunchTemplateConfigLaunchTemplateSpecificationOutput
Nested argument containing EC2 Launch Template to use. Defined below.
func (FleetLaunchTemplateConfigOutput) Overrides ¶
func (o FleetLaunchTemplateConfigOutput) Overrides() FleetLaunchTemplateConfigOverrideArrayOutput
Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
func (FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutput ¶
func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutput() FleetLaunchTemplateConfigOutput
func (FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutputWithContext ¶
func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOutput
func (FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutput ¶
func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput
func (FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext ¶
func (o FleetLaunchTemplateConfigOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput
type FleetLaunchTemplateConfigOverride ¶
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 ¶
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 ¶
func (FleetLaunchTemplateConfigOverrideArgs) ElementType() reflect.Type
func (FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutput ¶
func (i FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutput() FleetLaunchTemplateConfigOverrideOutput
func (FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutputWithContext ¶
func (i FleetLaunchTemplateConfigOverrideArgs) ToFleetLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideOutput
type FleetLaunchTemplateConfigOverrideArray ¶
type FleetLaunchTemplateConfigOverrideArray []FleetLaunchTemplateConfigOverrideInput
func (FleetLaunchTemplateConfigOverrideArray) ElementType ¶
func (FleetLaunchTemplateConfigOverrideArray) ElementType() reflect.Type
func (FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutput ¶
func (i FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutput() FleetLaunchTemplateConfigOverrideArrayOutput
func (FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext ¶
func (i FleetLaunchTemplateConfigOverrideArray) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideArrayOutput
type FleetLaunchTemplateConfigOverrideArrayInput ¶
type FleetLaunchTemplateConfigOverrideArrayInput interface {
pulumi.Input
ToFleetLaunchTemplateConfigOverrideArrayOutput() FleetLaunchTemplateConfigOverrideArrayOutput
ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext(context.Context) FleetLaunchTemplateConfigOverrideArrayOutput
}
FleetLaunchTemplateConfigOverrideArrayInput is an input type that accepts FleetLaunchTemplateConfigOverrideArray and FleetLaunchTemplateConfigOverrideArrayOutput values. You can construct a concrete instance of `FleetLaunchTemplateConfigOverrideArrayInput` via:
FleetLaunchTemplateConfigOverrideArray{ FleetLaunchTemplateConfigOverrideArgs{...} }
type FleetLaunchTemplateConfigOverrideArrayOutput ¶
type FleetLaunchTemplateConfigOverrideArrayOutput struct{ *pulumi.OutputState }
func (FleetLaunchTemplateConfigOverrideArrayOutput) ElementType ¶
func (FleetLaunchTemplateConfigOverrideArrayOutput) ElementType() reflect.Type
func (FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutput ¶
func (o FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutput() FleetLaunchTemplateConfigOverrideArrayOutput
func (FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext ¶
func (o FleetLaunchTemplateConfigOverrideArrayOutput) ToFleetLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideArrayOutput
type FleetLaunchTemplateConfigOverrideInput ¶
type FleetLaunchTemplateConfigOverrideInput interface {
pulumi.Input
ToFleetLaunchTemplateConfigOverrideOutput() FleetLaunchTemplateConfigOverrideOutput
ToFleetLaunchTemplateConfigOverrideOutputWithContext(context.Context) FleetLaunchTemplateConfigOverrideOutput
}
FleetLaunchTemplateConfigOverrideInput is an input type that accepts FleetLaunchTemplateConfigOverrideArgs and FleetLaunchTemplateConfigOverrideOutput values. You can construct a concrete instance of `FleetLaunchTemplateConfigOverrideInput` via:
FleetLaunchTemplateConfigOverrideArgs{...}
type FleetLaunchTemplateConfigOverrideOutput ¶
type FleetLaunchTemplateConfigOverrideOutput struct{ *pulumi.OutputState }
func (FleetLaunchTemplateConfigOverrideOutput) AvailabilityZone ¶
func (o FleetLaunchTemplateConfigOverrideOutput) AvailabilityZone() pulumi.StringPtrOutput
Availability Zone in which to launch the instances.
func (FleetLaunchTemplateConfigOverrideOutput) ElementType ¶
func (FleetLaunchTemplateConfigOverrideOutput) ElementType() reflect.Type
func (FleetLaunchTemplateConfigOverrideOutput) InstanceType ¶
func (o FleetLaunchTemplateConfigOverrideOutput) InstanceType() pulumi.StringPtrOutput
Instance type.
func (FleetLaunchTemplateConfigOverrideOutput) MaxPrice ¶
func (o FleetLaunchTemplateConfigOverrideOutput) MaxPrice() pulumi.StringPtrOutput
Maximum price per unit hour that you are willing to pay for a Spot Instance.
func (FleetLaunchTemplateConfigOverrideOutput) Priority ¶
func (o FleetLaunchTemplateConfigOverrideOutput) Priority() pulumi.Float64PtrOutput
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 ¶
func (o FleetLaunchTemplateConfigOverrideOutput) SubnetId() pulumi.StringPtrOutput
ID of the subnet in which to launch the instances.
func (FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutput ¶
func (o FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutput() FleetLaunchTemplateConfigOverrideOutput
func (FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutputWithContext ¶
func (o FleetLaunchTemplateConfigOverrideOutput) ToFleetLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigOverrideOutput
func (FleetLaunchTemplateConfigOverrideOutput) WeightedCapacity ¶
func (o FleetLaunchTemplateConfigOverrideOutput) WeightedCapacity() pulumi.Float64PtrOutput
Number of units provided by the specified instance type.
type FleetLaunchTemplateConfigPtrInput ¶
type FleetLaunchTemplateConfigPtrInput interface {
pulumi.Input
ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput
ToFleetLaunchTemplateConfigPtrOutputWithContext(context.Context) FleetLaunchTemplateConfigPtrOutput
}
FleetLaunchTemplateConfigPtrInput is an input type that accepts FleetLaunchTemplateConfigArgs, FleetLaunchTemplateConfigPtr and FleetLaunchTemplateConfigPtrOutput values. You can construct a concrete instance of `FleetLaunchTemplateConfigPtrInput` via:
FleetLaunchTemplateConfigArgs{...}
or:
nil
func FleetLaunchTemplateConfigPtr ¶
func FleetLaunchTemplateConfigPtr(v *FleetLaunchTemplateConfigArgs) FleetLaunchTemplateConfigPtrInput
type FleetLaunchTemplateConfigPtrOutput ¶
type FleetLaunchTemplateConfigPtrOutput struct{ *pulumi.OutputState }
func (FleetLaunchTemplateConfigPtrOutput) Elem ¶
func (o FleetLaunchTemplateConfigPtrOutput) Elem() FleetLaunchTemplateConfigOutput
func (FleetLaunchTemplateConfigPtrOutput) ElementType ¶
func (FleetLaunchTemplateConfigPtrOutput) ElementType() reflect.Type
func (FleetLaunchTemplateConfigPtrOutput) LaunchTemplateSpecification ¶
func (o FleetLaunchTemplateConfigPtrOutput) LaunchTemplateSpecification() FleetLaunchTemplateConfigLaunchTemplateSpecificationPtrOutput
Nested argument containing EC2 Launch Template to use. Defined below.
func (FleetLaunchTemplateConfigPtrOutput) Overrides ¶
func (o FleetLaunchTemplateConfigPtrOutput) Overrides() FleetLaunchTemplateConfigOverrideArrayOutput
Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
func (FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutput ¶
func (o FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutput() FleetLaunchTemplateConfigPtrOutput
func (FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext ¶
func (o FleetLaunchTemplateConfigPtrOutput) ToFleetLaunchTemplateConfigPtrOutputWithContext(ctx context.Context) FleetLaunchTemplateConfigPtrOutput
type FleetMap ¶
type FleetMap map[string]FleetInput
func (FleetMap) ElementType ¶
func (FleetMap) ToFleetMapOutput ¶
func (i FleetMap) ToFleetMapOutput() FleetMapOutput
func (FleetMap) ToFleetMapOutputWithContext ¶
func (i FleetMap) ToFleetMapOutputWithContext(ctx context.Context) FleetMapOutput
type FleetMapInput ¶
type FleetMapInput interface {
pulumi.Input
ToFleetMapOutput() FleetMapOutput
ToFleetMapOutputWithContext(context.Context) FleetMapOutput
}
FleetMapInput is an input type that accepts FleetMap and FleetMapOutput values. You can construct a concrete instance of `FleetMapInput` via:
FleetMap{ "key": FleetArgs{...} }
type FleetMapOutput ¶
type FleetMapOutput struct{ *pulumi.OutputState }
func (FleetMapOutput) ElementType ¶
func (FleetMapOutput) ElementType() reflect.Type
func (FleetMapOutput) MapIndex ¶
func (o FleetMapOutput) MapIndex(k pulumi.StringInput) FleetOutput
func (FleetMapOutput) ToFleetMapOutput ¶
func (o FleetMapOutput) ToFleetMapOutput() FleetMapOutput
func (FleetMapOutput) ToFleetMapOutputWithContext ¶
func (o FleetMapOutput) ToFleetMapOutputWithContext(ctx context.Context) FleetMapOutput
type FleetOnDemandOptions ¶
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 ¶
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 ¶
func (FleetOnDemandOptionsArgs) ElementType() reflect.Type
func (FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutput ¶
func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutput() FleetOnDemandOptionsOutput
func (FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutputWithContext ¶
func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsOutputWithContext(ctx context.Context) FleetOnDemandOptionsOutput
func (FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutput ¶
func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput
func (FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutputWithContext ¶
func (i FleetOnDemandOptionsArgs) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput
type FleetOnDemandOptionsInput ¶
type FleetOnDemandOptionsInput interface {
pulumi.Input
ToFleetOnDemandOptionsOutput() FleetOnDemandOptionsOutput
ToFleetOnDemandOptionsOutputWithContext(context.Context) FleetOnDemandOptionsOutput
}
FleetOnDemandOptionsInput is an input type that accepts FleetOnDemandOptionsArgs and FleetOnDemandOptionsOutput values. You can construct a concrete instance of `FleetOnDemandOptionsInput` via:
FleetOnDemandOptionsArgs{...}
type FleetOnDemandOptionsOutput ¶
type FleetOnDemandOptionsOutput struct{ *pulumi.OutputState }
func (FleetOnDemandOptionsOutput) AllocationStrategy ¶
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 ¶
func (FleetOnDemandOptionsOutput) ElementType() reflect.Type
func (FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutput ¶
func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutput() FleetOnDemandOptionsOutput
func (FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutputWithContext ¶
func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsOutputWithContext(ctx context.Context) FleetOnDemandOptionsOutput
func (FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutput ¶
func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput
func (FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutputWithContext ¶
func (o FleetOnDemandOptionsOutput) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput
type FleetOnDemandOptionsPtrInput ¶
type FleetOnDemandOptionsPtrInput interface {
pulumi.Input
ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput
ToFleetOnDemandOptionsPtrOutputWithContext(context.Context) FleetOnDemandOptionsPtrOutput
}
FleetOnDemandOptionsPtrInput is an input type that accepts FleetOnDemandOptionsArgs, FleetOnDemandOptionsPtr and FleetOnDemandOptionsPtrOutput values. You can construct a concrete instance of `FleetOnDemandOptionsPtrInput` via:
FleetOnDemandOptionsArgs{...}
or:
nil
func FleetOnDemandOptionsPtr ¶
func FleetOnDemandOptionsPtr(v *FleetOnDemandOptionsArgs) FleetOnDemandOptionsPtrInput
type FleetOnDemandOptionsPtrOutput ¶
type FleetOnDemandOptionsPtrOutput struct{ *pulumi.OutputState }
func (FleetOnDemandOptionsPtrOutput) AllocationStrategy ¶
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 ¶
func (o FleetOnDemandOptionsPtrOutput) Elem() FleetOnDemandOptionsOutput
func (FleetOnDemandOptionsPtrOutput) ElementType ¶
func (FleetOnDemandOptionsPtrOutput) ElementType() reflect.Type
func (FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutput ¶
func (o FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutput() FleetOnDemandOptionsPtrOutput
func (FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutputWithContext ¶
func (o FleetOnDemandOptionsPtrOutput) ToFleetOnDemandOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsPtrOutput
type FleetOutput ¶
type FleetOutput struct{ *pulumi.OutputState }
func (FleetOutput) ElementType ¶
func (FleetOutput) ElementType() reflect.Type
func (FleetOutput) ToFleetOutput ¶
func (o FleetOutput) ToFleetOutput() FleetOutput
func (FleetOutput) ToFleetOutputWithContext ¶
func (o FleetOutput) ToFleetOutputWithContext(ctx context.Context) FleetOutput
type FleetSpotOptions ¶
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"`
// Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
MaintenanceStrategies *FleetSpotOptionsMaintenanceStrategies `pulumi:"maintenanceStrategies"`
}
type FleetSpotOptionsArgs ¶
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"`
// Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
MaintenanceStrategies FleetSpotOptionsMaintenanceStrategiesPtrInput `pulumi:"maintenanceStrategies"`
}
func (FleetSpotOptionsArgs) ElementType ¶
func (FleetSpotOptionsArgs) ElementType() reflect.Type
func (FleetSpotOptionsArgs) ToFleetSpotOptionsOutput ¶
func (i FleetSpotOptionsArgs) ToFleetSpotOptionsOutput() FleetSpotOptionsOutput
func (FleetSpotOptionsArgs) ToFleetSpotOptionsOutputWithContext ¶
func (i FleetSpotOptionsArgs) ToFleetSpotOptionsOutputWithContext(ctx context.Context) FleetSpotOptionsOutput
func (FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutput ¶
func (i FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput
func (FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutputWithContext ¶
func (i FleetSpotOptionsArgs) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput
type FleetSpotOptionsInput ¶
type FleetSpotOptionsInput interface {
pulumi.Input
ToFleetSpotOptionsOutput() FleetSpotOptionsOutput
ToFleetSpotOptionsOutputWithContext(context.Context) FleetSpotOptionsOutput
}
FleetSpotOptionsInput is an input type that accepts FleetSpotOptionsArgs and FleetSpotOptionsOutput values. You can construct a concrete instance of `FleetSpotOptionsInput` via:
FleetSpotOptionsArgs{...}
type FleetSpotOptionsMaintenanceStrategies ¶
type FleetSpotOptionsMaintenanceStrategies struct {
// Nested argument containing the capacity rebalance for your fleet request. Defined below.
CapacityRebalance *FleetSpotOptionsMaintenanceStrategiesCapacityRebalance `pulumi:"capacityRebalance"`
}
type FleetSpotOptionsMaintenanceStrategiesArgs ¶
type FleetSpotOptionsMaintenanceStrategiesArgs struct {
// Nested argument containing the capacity rebalance for your fleet request. Defined below.
CapacityRebalance FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrInput `pulumi:"capacityRebalance"`
}
func (FleetSpotOptionsMaintenanceStrategiesArgs) ElementType ¶
func (FleetSpotOptionsMaintenanceStrategiesArgs) ElementType() reflect.Type
func (FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesOutput ¶
func (i FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesOutput() FleetSpotOptionsMaintenanceStrategiesOutput
func (FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesOutputWithContext ¶
func (i FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesOutput
func (FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput ¶
func (i FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput() FleetSpotOptionsMaintenanceStrategiesPtrOutput
func (FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext ¶
func (i FleetSpotOptionsMaintenanceStrategiesArgs) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesPtrOutput
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalance ¶
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalance struct {
// The replacement strategy to use. Only available for fleets of `type` set to `maintain`. Valid values: `launch`.
ReplacementStrategy *string `pulumi:"replacementStrategy"`
}
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs ¶
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs struct {
// The replacement strategy to use. Only available for fleets of `type` set to `maintain`. Valid values: `launch`.
ReplacementStrategy pulumi.StringPtrInput `pulumi:"replacementStrategy"`
}
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ElementType ¶
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ElementType() reflect.Type
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput ¶
func (i FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutputWithContext ¶
func (i FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput ¶
func (i FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext ¶
func (i FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceInput ¶
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceInput interface {
pulumi.Input
ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutputWithContext(context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
}
FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceInput is an input type that accepts FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs and FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput values. You can construct a concrete instance of `FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceInput` via:
FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs{...}
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput ¶
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput struct{ *pulumi.OutputState }
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ElementType ¶
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ElementType() reflect.Type
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ReplacementStrategy ¶
func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ReplacementStrategy() pulumi.StringPtrOutput
The replacement strategy to use. Only available for fleets of `type` set to `maintain`. Valid values: `launch`.
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput ¶
func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutputWithContext ¶
func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput ¶
func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext ¶
func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrInput ¶
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrInput interface {
pulumi.Input
ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
}
FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrInput is an input type that accepts FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs, FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtr and FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput values. You can construct a concrete instance of `FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrInput` via:
FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs{...}
or:
nil
func FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtr ¶
func FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtr(v *FleetSpotOptionsMaintenanceStrategiesCapacityRebalanceArgs) FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrInput
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput ¶
type FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput struct{ *pulumi.OutputState }
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ElementType ¶
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ElementType() reflect.Type
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ReplacementStrategy ¶
func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ReplacementStrategy() pulumi.StringPtrOutput
The replacement strategy to use. Only available for fleets of `type` set to `maintain`. Valid values: `launch`.
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput ¶
func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
func (FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext ¶
func (o FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput) ToFleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
type FleetSpotOptionsMaintenanceStrategiesInput ¶
type FleetSpotOptionsMaintenanceStrategiesInput interface {
pulumi.Input
ToFleetSpotOptionsMaintenanceStrategiesOutput() FleetSpotOptionsMaintenanceStrategiesOutput
ToFleetSpotOptionsMaintenanceStrategiesOutputWithContext(context.Context) FleetSpotOptionsMaintenanceStrategiesOutput
}
FleetSpotOptionsMaintenanceStrategiesInput is an input type that accepts FleetSpotOptionsMaintenanceStrategiesArgs and FleetSpotOptionsMaintenanceStrategiesOutput values. You can construct a concrete instance of `FleetSpotOptionsMaintenanceStrategiesInput` via:
FleetSpotOptionsMaintenanceStrategiesArgs{...}
type FleetSpotOptionsMaintenanceStrategiesOutput ¶
type FleetSpotOptionsMaintenanceStrategiesOutput struct{ *pulumi.OutputState }
func (FleetSpotOptionsMaintenanceStrategiesOutput) CapacityRebalance ¶
func (o FleetSpotOptionsMaintenanceStrategiesOutput) CapacityRebalance() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
Nested argument containing the capacity rebalance for your fleet request. Defined below.
func (FleetSpotOptionsMaintenanceStrategiesOutput) ElementType ¶
func (FleetSpotOptionsMaintenanceStrategiesOutput) ElementType() reflect.Type
func (FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesOutput ¶
func (o FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesOutput() FleetSpotOptionsMaintenanceStrategiesOutput
func (FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesOutputWithContext ¶
func (o FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesOutput
func (FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput ¶
func (o FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput() FleetSpotOptionsMaintenanceStrategiesPtrOutput
func (FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext ¶
func (o FleetSpotOptionsMaintenanceStrategiesOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesPtrOutput
type FleetSpotOptionsMaintenanceStrategiesPtrInput ¶
type FleetSpotOptionsMaintenanceStrategiesPtrInput interface {
pulumi.Input
ToFleetSpotOptionsMaintenanceStrategiesPtrOutput() FleetSpotOptionsMaintenanceStrategiesPtrOutput
ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext(context.Context) FleetSpotOptionsMaintenanceStrategiesPtrOutput
}
FleetSpotOptionsMaintenanceStrategiesPtrInput is an input type that accepts FleetSpotOptionsMaintenanceStrategiesArgs, FleetSpotOptionsMaintenanceStrategiesPtr and FleetSpotOptionsMaintenanceStrategiesPtrOutput values. You can construct a concrete instance of `FleetSpotOptionsMaintenanceStrategiesPtrInput` via:
FleetSpotOptionsMaintenanceStrategiesArgs{...}
or:
nil
func FleetSpotOptionsMaintenanceStrategiesPtr ¶
func FleetSpotOptionsMaintenanceStrategiesPtr(v *FleetSpotOptionsMaintenanceStrategiesArgs) FleetSpotOptionsMaintenanceStrategiesPtrInput
type FleetSpotOptionsMaintenanceStrategiesPtrOutput ¶
type FleetSpotOptionsMaintenanceStrategiesPtrOutput struct{ *pulumi.OutputState }
func (FleetSpotOptionsMaintenanceStrategiesPtrOutput) CapacityRebalance ¶
func (o FleetSpotOptionsMaintenanceStrategiesPtrOutput) CapacityRebalance() FleetSpotOptionsMaintenanceStrategiesCapacityRebalancePtrOutput
Nested argument containing the capacity rebalance for your fleet request. Defined below.
func (FleetSpotOptionsMaintenanceStrategiesPtrOutput) ElementType ¶
func (FleetSpotOptionsMaintenanceStrategiesPtrOutput) ElementType() reflect.Type
func (FleetSpotOptionsMaintenanceStrategiesPtrOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput ¶
func (o FleetSpotOptionsMaintenanceStrategiesPtrOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutput() FleetSpotOptionsMaintenanceStrategiesPtrOutput
func (FleetSpotOptionsMaintenanceStrategiesPtrOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext ¶
func (o FleetSpotOptionsMaintenanceStrategiesPtrOutput) ToFleetSpotOptionsMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) FleetSpotOptionsMaintenanceStrategiesPtrOutput
type FleetSpotOptionsOutput ¶
type FleetSpotOptionsOutput struct{ *pulumi.OutputState }
func (FleetSpotOptionsOutput) AllocationStrategy ¶
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 ¶
func (FleetSpotOptionsOutput) ElementType() reflect.Type
func (FleetSpotOptionsOutput) InstanceInterruptionBehavior ¶
func (o FleetSpotOptionsOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput
Behavior when a Spot Instance is interrupted. Valid values: `hibernate`, `stop`, `terminate`. Default: `terminate`.
func (FleetSpotOptionsOutput) InstancePoolsToUseCount ¶
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) MaintenanceStrategies ¶
func (o FleetSpotOptionsOutput) MaintenanceStrategies() FleetSpotOptionsMaintenanceStrategiesPtrOutput
Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
func (FleetSpotOptionsOutput) ToFleetSpotOptionsOutput ¶
func (o FleetSpotOptionsOutput) ToFleetSpotOptionsOutput() FleetSpotOptionsOutput
func (FleetSpotOptionsOutput) ToFleetSpotOptionsOutputWithContext ¶
func (o FleetSpotOptionsOutput) ToFleetSpotOptionsOutputWithContext(ctx context.Context) FleetSpotOptionsOutput
func (FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutput ¶
func (o FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput
func (FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutputWithContext ¶
func (o FleetSpotOptionsOutput) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput
type FleetSpotOptionsPtrInput ¶
type FleetSpotOptionsPtrInput interface {
pulumi.Input
ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput
ToFleetSpotOptionsPtrOutputWithContext(context.Context) FleetSpotOptionsPtrOutput
}
FleetSpotOptionsPtrInput is an input type that accepts FleetSpotOptionsArgs, FleetSpotOptionsPtr and FleetSpotOptionsPtrOutput values. You can construct a concrete instance of `FleetSpotOptionsPtrInput` via:
FleetSpotOptionsArgs{...}
or:
nil
func FleetSpotOptionsPtr ¶
func FleetSpotOptionsPtr(v *FleetSpotOptionsArgs) FleetSpotOptionsPtrInput
type FleetSpotOptionsPtrOutput ¶
type FleetSpotOptionsPtrOutput struct{ *pulumi.OutputState }
func (FleetSpotOptionsPtrOutput) AllocationStrategy ¶
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 ¶
func (o FleetSpotOptionsPtrOutput) Elem() FleetSpotOptionsOutput
func (FleetSpotOptionsPtrOutput) ElementType ¶
func (FleetSpotOptionsPtrOutput) ElementType() reflect.Type
func (FleetSpotOptionsPtrOutput) InstanceInterruptionBehavior ¶
func (o FleetSpotOptionsPtrOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput
Behavior when a Spot Instance is interrupted. Valid values: `hibernate`, `stop`, `terminate`. Default: `terminate`.
func (FleetSpotOptionsPtrOutput) InstancePoolsToUseCount ¶
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) MaintenanceStrategies ¶
func (o FleetSpotOptionsPtrOutput) MaintenanceStrategies() FleetSpotOptionsMaintenanceStrategiesPtrOutput
Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
func (FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutput ¶
func (o FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutput() FleetSpotOptionsPtrOutput
func (FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutputWithContext ¶
func (o FleetSpotOptionsPtrOutput) ToFleetSpotOptionsPtrOutputWithContext(ctx context.Context) FleetSpotOptionsPtrOutput
type FleetState ¶
type FleetState struct {
// Reserved.
Context pulumi.StringPtrInput
// 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. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// 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 ¶
func (FleetState) ElementType() reflect.Type
type FleetTargetCapacitySpecification ¶
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 ¶
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 ¶
func (FleetTargetCapacitySpecificationArgs) ElementType() reflect.Type
func (FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutput ¶
func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutput() FleetTargetCapacitySpecificationOutput
func (FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutputWithContext ¶
func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationOutput
func (FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutput ¶
func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput
func (FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutputWithContext ¶
func (i FleetTargetCapacitySpecificationArgs) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput
type FleetTargetCapacitySpecificationInput ¶
type FleetTargetCapacitySpecificationInput interface {
pulumi.Input
ToFleetTargetCapacitySpecificationOutput() FleetTargetCapacitySpecificationOutput
ToFleetTargetCapacitySpecificationOutputWithContext(context.Context) FleetTargetCapacitySpecificationOutput
}
FleetTargetCapacitySpecificationInput is an input type that accepts FleetTargetCapacitySpecificationArgs and FleetTargetCapacitySpecificationOutput values. You can construct a concrete instance of `FleetTargetCapacitySpecificationInput` via:
FleetTargetCapacitySpecificationArgs{...}
type FleetTargetCapacitySpecificationOutput ¶
type FleetTargetCapacitySpecificationOutput struct{ *pulumi.OutputState }
func (FleetTargetCapacitySpecificationOutput) DefaultTargetCapacityType ¶
func (o FleetTargetCapacitySpecificationOutput) DefaultTargetCapacityType() pulumi.StringOutput
Default target capacity type. Valid values: `on-demand`, `spot`.
func (FleetTargetCapacitySpecificationOutput) ElementType ¶
func (FleetTargetCapacitySpecificationOutput) ElementType() reflect.Type
func (FleetTargetCapacitySpecificationOutput) OnDemandTargetCapacity ¶
func (o FleetTargetCapacitySpecificationOutput) OnDemandTargetCapacity() pulumi.IntPtrOutput
The number of On-Demand units to request.
func (FleetTargetCapacitySpecificationOutput) SpotTargetCapacity ¶
func (o FleetTargetCapacitySpecificationOutput) SpotTargetCapacity() pulumi.IntPtrOutput
The number of Spot units to request.
func (FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutput ¶
func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutput() FleetTargetCapacitySpecificationOutput
func (FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutputWithContext ¶
func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationOutput
func (FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutput ¶
func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput
func (FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext ¶
func (o FleetTargetCapacitySpecificationOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput
func (FleetTargetCapacitySpecificationOutput) TotalTargetCapacity ¶
func (o FleetTargetCapacitySpecificationOutput) TotalTargetCapacity() pulumi.IntOutput
The number of units to request, filled using `defaultTargetCapacityType`.
type FleetTargetCapacitySpecificationPtrInput ¶
type FleetTargetCapacitySpecificationPtrInput interface {
pulumi.Input
ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput
ToFleetTargetCapacitySpecificationPtrOutputWithContext(context.Context) FleetTargetCapacitySpecificationPtrOutput
}
FleetTargetCapacitySpecificationPtrInput is an input type that accepts FleetTargetCapacitySpecificationArgs, FleetTargetCapacitySpecificationPtr and FleetTargetCapacitySpecificationPtrOutput values. You can construct a concrete instance of `FleetTargetCapacitySpecificationPtrInput` via:
FleetTargetCapacitySpecificationArgs{...}
or:
nil
func FleetTargetCapacitySpecificationPtr ¶
func FleetTargetCapacitySpecificationPtr(v *FleetTargetCapacitySpecificationArgs) FleetTargetCapacitySpecificationPtrInput
type FleetTargetCapacitySpecificationPtrOutput ¶
type FleetTargetCapacitySpecificationPtrOutput struct{ *pulumi.OutputState }
func (FleetTargetCapacitySpecificationPtrOutput) DefaultTargetCapacityType ¶
func (o FleetTargetCapacitySpecificationPtrOutput) DefaultTargetCapacityType() pulumi.StringPtrOutput
Default target capacity type. Valid values: `on-demand`, `spot`.
func (FleetTargetCapacitySpecificationPtrOutput) ElementType ¶
func (FleetTargetCapacitySpecificationPtrOutput) ElementType() reflect.Type
func (FleetTargetCapacitySpecificationPtrOutput) OnDemandTargetCapacity ¶
func (o FleetTargetCapacitySpecificationPtrOutput) OnDemandTargetCapacity() pulumi.IntPtrOutput
The number of On-Demand units to request.
func (FleetTargetCapacitySpecificationPtrOutput) SpotTargetCapacity ¶
func (o FleetTargetCapacitySpecificationPtrOutput) SpotTargetCapacity() pulumi.IntPtrOutput
The number of Spot units to request.
func (FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutput ¶
func (o FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutput() FleetTargetCapacitySpecificationPtrOutput
func (FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext ¶
func (o FleetTargetCapacitySpecificationPtrOutput) ToFleetTargetCapacitySpecificationPtrOutputWithContext(ctx context.Context) FleetTargetCapacitySpecificationPtrOutput
func (FleetTargetCapacitySpecificationPtrOutput) TotalTargetCapacity ¶
func (o FleetTargetCapacitySpecificationPtrOutput) TotalTargetCapacity() pulumi.IntPtrOutput
The number of units to request, filled using `defaultTargetCapacityType`.
type FlowLog ¶
type FlowLog struct {
pulumi.CustomResourceState
// The ARN of the Flow Log.
Arn pulumi.StringOutput `pulumi:"arn"`
// Describes the destination options for a flow log. More details below.
DestinationOptions FlowLogDestinationOptionsPtrOutput `pulumi:"destinationOptions"`
// 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.
//
// Deprecated: use 'log_destination' argument instead
LogGroupName pulumi.StringOutput `pulumi:"logGroupName"`
// The maximum interval of time
// during which a flow of packets is captured and aggregated into a flow
// log record. Valid Values: `60` seconds (1 minute) or `600` seconds (10
// minutes). Default: `600`.
MaxAggregationInterval pulumi.IntPtrOutput `pulumi:"maxAggregationInterval"`
// Subnet ID to attach to
SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage ### CloudWatch Logging
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleLogGroup, err := cloudwatch.NewLogGroup(ctx, "exampleLogGroup", nil)
if err != nil {
return err
}
exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{
AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Sid\": \"\",\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"Service\": \"vpc-flow-logs.amazonaws.com\"\n", " },\n", " \"Action\": \"sts:AssumeRole\"\n", " }\n", " ]\n", "}\n")),
})
if err != nil {
return err
}
_, err = ec2.NewFlowLog(ctx, "exampleFlowLog", &ec2.FlowLogArgs{
IamRoleArn: exampleRole.Arn,
LogDestination: exampleLogGroup.Arn,
TrafficType: pulumi.String("ALL"),
VpcId: pulumi.Any(aws_vpc.Example.Id),
})
if err != nil {
return err
}
_, err = iam.NewRolePolicy(ctx, "exampleRolePolicy", &iam.RolePolicyArgs{
Role: exampleRole.ID(),
Policy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": [\n", " \"logs:CreateLogGroup\",\n", " \"logs:CreateLogStream\",\n", " \"logs:PutLogEvents\",\n", " \"logs:DescribeLogGroups\",\n", " \"logs:DescribeLogStreams\"\n", " ],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": \"*\"\n", " }\n", " ]\n", "}\n")),
})
if err != nil {
return err
}
return nil
})
}
``` ### S3 Logging
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleBucketV2, err := s3.NewBucketV2(ctx, "exampleBucketV2", nil)
if err != nil {
return err
}
_, err = ec2.NewFlowLog(ctx, "exampleFlowLog", &ec2.FlowLogArgs{
LogDestination: exampleBucketV2.Arn,
LogDestinationType: pulumi.String("s3"),
TrafficType: pulumi.String("ALL"),
VpcId: pulumi.Any(aws_vpc.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
``` ### S3 Logging in Apache Parquet format with per-hour partitions
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleBucketV2, err := s3.NewBucketV2(ctx, "exampleBucketV2", nil)
if err != nil {
return err
}
_, err = ec2.NewFlowLog(ctx, "exampleFlowLog", &ec2.FlowLogArgs{
LogDestination: exampleBucketV2.Arn,
LogDestinationType: pulumi.String("s3"),
TrafficType: pulumi.String("ALL"),
VpcId: pulumi.Any(aws_vpc.Example.Id),
DestinationOptions: &ec2.FlowLogDestinationOptionsArgs{
FileFormat: pulumi.String("parquet"),
PerHourPartition: pulumi.Bool(true),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Flow Logs can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/flowLog:FlowLog test_flow_log fl-1a2b3c4d
```
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.
func (*FlowLog) ElementType ¶
func (*FlowLog) ToFlowLogOutput ¶
func (i *FlowLog) ToFlowLogOutput() FlowLogOutput
func (*FlowLog) ToFlowLogOutputWithContext ¶
func (i *FlowLog) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput
type FlowLogArgs ¶
type FlowLogArgs struct {
// Describes the destination options for a flow log. More details below.
DestinationOptions FlowLogDestinationOptionsPtrInput
// 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.
//
// Deprecated: use 'log_destination' argument instead
LogGroupName pulumi.StringPtrInput
// The maximum interval of time
// during which a flow of packets is captured and aggregated into a flow
// log record. Valid Values: `60` seconds (1 minute) or `600` seconds (10
// minutes). Default: `600`.
MaxAggregationInterval pulumi.IntPtrInput
// Subnet ID to attach to
SubnetId pulumi.StringPtrInput
// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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 ¶
func (FlowLogArgs) ElementType() reflect.Type
type FlowLogArray ¶
type FlowLogArray []FlowLogInput
func (FlowLogArray) ElementType ¶
func (FlowLogArray) ElementType() reflect.Type
func (FlowLogArray) ToFlowLogArrayOutput ¶
func (i FlowLogArray) ToFlowLogArrayOutput() FlowLogArrayOutput
func (FlowLogArray) ToFlowLogArrayOutputWithContext ¶
func (i FlowLogArray) ToFlowLogArrayOutputWithContext(ctx context.Context) FlowLogArrayOutput
type FlowLogArrayInput ¶
type FlowLogArrayInput interface {
pulumi.Input
ToFlowLogArrayOutput() FlowLogArrayOutput
ToFlowLogArrayOutputWithContext(context.Context) FlowLogArrayOutput
}
FlowLogArrayInput is an input type that accepts FlowLogArray and FlowLogArrayOutput values. You can construct a concrete instance of `FlowLogArrayInput` via:
FlowLogArray{ FlowLogArgs{...} }
type FlowLogArrayOutput ¶
type FlowLogArrayOutput struct{ *pulumi.OutputState }
func (FlowLogArrayOutput) ElementType ¶
func (FlowLogArrayOutput) ElementType() reflect.Type
func (FlowLogArrayOutput) Index ¶
func (o FlowLogArrayOutput) Index(i pulumi.IntInput) FlowLogOutput
func (FlowLogArrayOutput) ToFlowLogArrayOutput ¶
func (o FlowLogArrayOutput) ToFlowLogArrayOutput() FlowLogArrayOutput
func (FlowLogArrayOutput) ToFlowLogArrayOutputWithContext ¶
func (o FlowLogArrayOutput) ToFlowLogArrayOutputWithContext(ctx context.Context) FlowLogArrayOutput
type FlowLogDestinationOptions ¶
type FlowLogDestinationOptions struct {
// The format for the flow log. Default value: `plain-text`. Valid values: `plain-text`, `parquet`.
FileFormat *string `pulumi:"fileFormat"`
// Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. Default value: `false`.
HiveCompatiblePartitions *bool `pulumi:"hiveCompatiblePartitions"`
// Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. Default value: `false`.
PerHourPartition *bool `pulumi:"perHourPartition"`
}
type FlowLogDestinationOptionsArgs ¶
type FlowLogDestinationOptionsArgs struct {
// The format for the flow log. Default value: `plain-text`. Valid values: `plain-text`, `parquet`.
FileFormat pulumi.StringPtrInput `pulumi:"fileFormat"`
// Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. Default value: `false`.
HiveCompatiblePartitions pulumi.BoolPtrInput `pulumi:"hiveCompatiblePartitions"`
// Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. Default value: `false`.
PerHourPartition pulumi.BoolPtrInput `pulumi:"perHourPartition"`
}
func (FlowLogDestinationOptionsArgs) ElementType ¶
func (FlowLogDestinationOptionsArgs) ElementType() reflect.Type
func (FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsOutput ¶
func (i FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsOutput() FlowLogDestinationOptionsOutput
func (FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsOutputWithContext ¶
func (i FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsOutputWithContext(ctx context.Context) FlowLogDestinationOptionsOutput
func (FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsPtrOutput ¶
func (i FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsPtrOutput() FlowLogDestinationOptionsPtrOutput
func (FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsPtrOutputWithContext ¶
func (i FlowLogDestinationOptionsArgs) ToFlowLogDestinationOptionsPtrOutputWithContext(ctx context.Context) FlowLogDestinationOptionsPtrOutput
type FlowLogDestinationOptionsInput ¶
type FlowLogDestinationOptionsInput interface {
pulumi.Input
ToFlowLogDestinationOptionsOutput() FlowLogDestinationOptionsOutput
ToFlowLogDestinationOptionsOutputWithContext(context.Context) FlowLogDestinationOptionsOutput
}
FlowLogDestinationOptionsInput is an input type that accepts FlowLogDestinationOptionsArgs and FlowLogDestinationOptionsOutput values. You can construct a concrete instance of `FlowLogDestinationOptionsInput` via:
FlowLogDestinationOptionsArgs{...}
type FlowLogDestinationOptionsOutput ¶
type FlowLogDestinationOptionsOutput struct{ *pulumi.OutputState }
func (FlowLogDestinationOptionsOutput) ElementType ¶
func (FlowLogDestinationOptionsOutput) ElementType() reflect.Type
func (FlowLogDestinationOptionsOutput) FileFormat ¶
func (o FlowLogDestinationOptionsOutput) FileFormat() pulumi.StringPtrOutput
The format for the flow log. Default value: `plain-text`. Valid values: `plain-text`, `parquet`.
func (FlowLogDestinationOptionsOutput) HiveCompatiblePartitions ¶
func (o FlowLogDestinationOptionsOutput) HiveCompatiblePartitions() pulumi.BoolPtrOutput
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. Default value: `false`.
func (FlowLogDestinationOptionsOutput) PerHourPartition ¶
func (o FlowLogDestinationOptionsOutput) PerHourPartition() pulumi.BoolPtrOutput
Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. Default value: `false`.
func (FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsOutput ¶
func (o FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsOutput() FlowLogDestinationOptionsOutput
func (FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsOutputWithContext ¶
func (o FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsOutputWithContext(ctx context.Context) FlowLogDestinationOptionsOutput
func (FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsPtrOutput ¶
func (o FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsPtrOutput() FlowLogDestinationOptionsPtrOutput
func (FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsPtrOutputWithContext ¶
func (o FlowLogDestinationOptionsOutput) ToFlowLogDestinationOptionsPtrOutputWithContext(ctx context.Context) FlowLogDestinationOptionsPtrOutput
type FlowLogDestinationOptionsPtrInput ¶
type FlowLogDestinationOptionsPtrInput interface {
pulumi.Input
ToFlowLogDestinationOptionsPtrOutput() FlowLogDestinationOptionsPtrOutput
ToFlowLogDestinationOptionsPtrOutputWithContext(context.Context) FlowLogDestinationOptionsPtrOutput
}
FlowLogDestinationOptionsPtrInput is an input type that accepts FlowLogDestinationOptionsArgs, FlowLogDestinationOptionsPtr and FlowLogDestinationOptionsPtrOutput values. You can construct a concrete instance of `FlowLogDestinationOptionsPtrInput` via:
FlowLogDestinationOptionsArgs{...}
or:
nil
func FlowLogDestinationOptionsPtr ¶
func FlowLogDestinationOptionsPtr(v *FlowLogDestinationOptionsArgs) FlowLogDestinationOptionsPtrInput
type FlowLogDestinationOptionsPtrOutput ¶
type FlowLogDestinationOptionsPtrOutput struct{ *pulumi.OutputState }
func (FlowLogDestinationOptionsPtrOutput) Elem ¶
func (o FlowLogDestinationOptionsPtrOutput) Elem() FlowLogDestinationOptionsOutput
func (FlowLogDestinationOptionsPtrOutput) ElementType ¶
func (FlowLogDestinationOptionsPtrOutput) ElementType() reflect.Type
func (FlowLogDestinationOptionsPtrOutput) FileFormat ¶
func (o FlowLogDestinationOptionsPtrOutput) FileFormat() pulumi.StringPtrOutput
The format for the flow log. Default value: `plain-text`. Valid values: `plain-text`, `parquet`.
func (FlowLogDestinationOptionsPtrOutput) HiveCompatiblePartitions ¶
func (o FlowLogDestinationOptionsPtrOutput) HiveCompatiblePartitions() pulumi.BoolPtrOutput
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. Default value: `false`.
func (FlowLogDestinationOptionsPtrOutput) PerHourPartition ¶
func (o FlowLogDestinationOptionsPtrOutput) PerHourPartition() pulumi.BoolPtrOutput
Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. Default value: `false`.
func (FlowLogDestinationOptionsPtrOutput) ToFlowLogDestinationOptionsPtrOutput ¶
func (o FlowLogDestinationOptionsPtrOutput) ToFlowLogDestinationOptionsPtrOutput() FlowLogDestinationOptionsPtrOutput
func (FlowLogDestinationOptionsPtrOutput) ToFlowLogDestinationOptionsPtrOutputWithContext ¶
func (o FlowLogDestinationOptionsPtrOutput) ToFlowLogDestinationOptionsPtrOutputWithContext(ctx context.Context) FlowLogDestinationOptionsPtrOutput
type FlowLogInput ¶
type FlowLogInput interface {
pulumi.Input
ToFlowLogOutput() FlowLogOutput
ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput
}
type FlowLogMap ¶
type FlowLogMap map[string]FlowLogInput
func (FlowLogMap) ElementType ¶
func (FlowLogMap) ElementType() reflect.Type
func (FlowLogMap) ToFlowLogMapOutput ¶
func (i FlowLogMap) ToFlowLogMapOutput() FlowLogMapOutput
func (FlowLogMap) ToFlowLogMapOutputWithContext ¶
func (i FlowLogMap) ToFlowLogMapOutputWithContext(ctx context.Context) FlowLogMapOutput
type FlowLogMapInput ¶
type FlowLogMapInput interface {
pulumi.Input
ToFlowLogMapOutput() FlowLogMapOutput
ToFlowLogMapOutputWithContext(context.Context) FlowLogMapOutput
}
FlowLogMapInput is an input type that accepts FlowLogMap and FlowLogMapOutput values. You can construct a concrete instance of `FlowLogMapInput` via:
FlowLogMap{ "key": FlowLogArgs{...} }
type FlowLogMapOutput ¶
type FlowLogMapOutput struct{ *pulumi.OutputState }
func (FlowLogMapOutput) ElementType ¶
func (FlowLogMapOutput) ElementType() reflect.Type
func (FlowLogMapOutput) MapIndex ¶
func (o FlowLogMapOutput) MapIndex(k pulumi.StringInput) FlowLogOutput
func (FlowLogMapOutput) ToFlowLogMapOutput ¶
func (o FlowLogMapOutput) ToFlowLogMapOutput() FlowLogMapOutput
func (FlowLogMapOutput) ToFlowLogMapOutputWithContext ¶
func (o FlowLogMapOutput) ToFlowLogMapOutputWithContext(ctx context.Context) FlowLogMapOutput
type FlowLogOutput ¶
type FlowLogOutput struct{ *pulumi.OutputState }
func (FlowLogOutput) ElementType ¶
func (FlowLogOutput) ElementType() reflect.Type
func (FlowLogOutput) ToFlowLogOutput ¶
func (o FlowLogOutput) ToFlowLogOutput() FlowLogOutput
func (FlowLogOutput) ToFlowLogOutputWithContext ¶
func (o FlowLogOutput) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput
type FlowLogState ¶
type FlowLogState struct {
// The ARN of the Flow Log.
Arn pulumi.StringPtrInput
// Describes the destination options for a flow log. More details below.
DestinationOptions FlowLogDestinationOptionsPtrInput
// 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.
//
// Deprecated: use 'log_destination' argument instead
LogGroupName pulumi.StringPtrInput
// The maximum interval of time
// during which a flow of packets is captured and aggregated into a flow
// log record. Valid Values: `60` seconds (1 minute) or `600` seconds (10
// minutes). Default: `600`.
MaxAggregationInterval pulumi.IntPtrInput
// Subnet ID to attach to
SubnetId pulumi.StringPtrInput
// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// 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 ¶
func (FlowLogState) ElementType() reflect.Type
type GetAmiBlockDeviceMapping ¶
type GetAmiBlockDeviceMapping struct {
// The physical name of the device.
DeviceName string `pulumi:"deviceName"`
// Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`).
Ebs map[string]string `pulumi:"ebs"`
// Suppresses the specified device included in the block device mapping of the AMI.
NoDevice string `pulumi:"noDevice"`
// The virtual device name (for instance stores).
VirtualName string `pulumi:"virtualName"`
}
type GetAmiBlockDeviceMappingArgs ¶
type GetAmiBlockDeviceMappingArgs struct {
// The physical name of the device.
DeviceName pulumi.StringInput `pulumi:"deviceName"`
// Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`).
Ebs pulumi.StringMapInput `pulumi:"ebs"`
// Suppresses the specified device included in the block device mapping of the AMI.
NoDevice pulumi.StringInput `pulumi:"noDevice"`
// The virtual device name (for instance stores).
VirtualName pulumi.StringInput `pulumi:"virtualName"`
}
func (GetAmiBlockDeviceMappingArgs) ElementType ¶
func (GetAmiBlockDeviceMappingArgs) ElementType() reflect.Type
func (GetAmiBlockDeviceMappingArgs) ToGetAmiBlockDeviceMappingOutput ¶
func (i GetAmiBlockDeviceMappingArgs) ToGetAmiBlockDeviceMappingOutput() GetAmiBlockDeviceMappingOutput
func (GetAmiBlockDeviceMappingArgs) ToGetAmiBlockDeviceMappingOutputWithContext ¶
func (i GetAmiBlockDeviceMappingArgs) ToGetAmiBlockDeviceMappingOutputWithContext(ctx context.Context) GetAmiBlockDeviceMappingOutput
type GetAmiBlockDeviceMappingArray ¶
type GetAmiBlockDeviceMappingArray []GetAmiBlockDeviceMappingInput
func (GetAmiBlockDeviceMappingArray) ElementType ¶
func (GetAmiBlockDeviceMappingArray) ElementType() reflect.Type
func (GetAmiBlockDeviceMappingArray) ToGetAmiBlockDeviceMappingArrayOutput ¶
func (i GetAmiBlockDeviceMappingArray) ToGetAmiBlockDeviceMappingArrayOutput() GetAmiBlockDeviceMappingArrayOutput
func (GetAmiBlockDeviceMappingArray) ToGetAmiBlockDeviceMappingArrayOutputWithContext ¶
func (i GetAmiBlockDeviceMappingArray) ToGetAmiBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetAmiBlockDeviceMappingArrayOutput
type GetAmiBlockDeviceMappingArrayInput ¶
type GetAmiBlockDeviceMappingArrayInput interface {
pulumi.Input
ToGetAmiBlockDeviceMappingArrayOutput() GetAmiBlockDeviceMappingArrayOutput
ToGetAmiBlockDeviceMappingArrayOutputWithContext(context.Context) GetAmiBlockDeviceMappingArrayOutput
}
GetAmiBlockDeviceMappingArrayInput is an input type that accepts GetAmiBlockDeviceMappingArray and GetAmiBlockDeviceMappingArrayOutput values. You can construct a concrete instance of `GetAmiBlockDeviceMappingArrayInput` via:
GetAmiBlockDeviceMappingArray{ GetAmiBlockDeviceMappingArgs{...} }
type GetAmiBlockDeviceMappingArrayOutput ¶
type GetAmiBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState }
func (GetAmiBlockDeviceMappingArrayOutput) ElementType ¶
func (GetAmiBlockDeviceMappingArrayOutput) ElementType() reflect.Type
func (GetAmiBlockDeviceMappingArrayOutput) Index ¶
func (o GetAmiBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) GetAmiBlockDeviceMappingOutput
func (GetAmiBlockDeviceMappingArrayOutput) ToGetAmiBlockDeviceMappingArrayOutput ¶
func (o GetAmiBlockDeviceMappingArrayOutput) ToGetAmiBlockDeviceMappingArrayOutput() GetAmiBlockDeviceMappingArrayOutput
func (GetAmiBlockDeviceMappingArrayOutput) ToGetAmiBlockDeviceMappingArrayOutputWithContext ¶
func (o GetAmiBlockDeviceMappingArrayOutput) ToGetAmiBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetAmiBlockDeviceMappingArrayOutput
type GetAmiBlockDeviceMappingInput ¶
type GetAmiBlockDeviceMappingInput interface {
pulumi.Input
ToGetAmiBlockDeviceMappingOutput() GetAmiBlockDeviceMappingOutput
ToGetAmiBlockDeviceMappingOutputWithContext(context.Context) GetAmiBlockDeviceMappingOutput
}
GetAmiBlockDeviceMappingInput is an input type that accepts GetAmiBlockDeviceMappingArgs and GetAmiBlockDeviceMappingOutput values. You can construct a concrete instance of `GetAmiBlockDeviceMappingInput` via:
GetAmiBlockDeviceMappingArgs{...}
type GetAmiBlockDeviceMappingOutput ¶
type GetAmiBlockDeviceMappingOutput struct{ *pulumi.OutputState }
func (GetAmiBlockDeviceMappingOutput) DeviceName ¶
func (o GetAmiBlockDeviceMappingOutput) DeviceName() pulumi.StringOutput
The physical name of the device.
func (GetAmiBlockDeviceMappingOutput) Ebs ¶
func (o GetAmiBlockDeviceMappingOutput) Ebs() pulumi.StringMapOutput
Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`).
func (GetAmiBlockDeviceMappingOutput) ElementType ¶
func (GetAmiBlockDeviceMappingOutput) ElementType() reflect.Type
func (GetAmiBlockDeviceMappingOutput) NoDevice ¶
func (o GetAmiBlockDeviceMappingOutput) NoDevice() pulumi.StringOutput
Suppresses the specified device included in the block device mapping of the AMI.
func (GetAmiBlockDeviceMappingOutput) ToGetAmiBlockDeviceMappingOutput ¶
func (o GetAmiBlockDeviceMappingOutput) ToGetAmiBlockDeviceMappingOutput() GetAmiBlockDeviceMappingOutput
func (GetAmiBlockDeviceMappingOutput) ToGetAmiBlockDeviceMappingOutputWithContext ¶
func (o GetAmiBlockDeviceMappingOutput) ToGetAmiBlockDeviceMappingOutputWithContext(ctx context.Context) GetAmiBlockDeviceMappingOutput
func (GetAmiBlockDeviceMappingOutput) VirtualName ¶
func (o GetAmiBlockDeviceMappingOutput) VirtualName() pulumi.StringOutput
The virtual device name (for instance stores).
type GetAmiFilter ¶
type GetAmiFilterArgs ¶
type GetAmiFilterArgs struct {
// The name of the AMI that was provided during image creation.
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetAmiFilterArgs) ElementType ¶
func (GetAmiFilterArgs) ElementType() reflect.Type
func (GetAmiFilterArgs) ToGetAmiFilterOutput ¶
func (i GetAmiFilterArgs) ToGetAmiFilterOutput() GetAmiFilterOutput
func (GetAmiFilterArgs) ToGetAmiFilterOutputWithContext ¶
func (i GetAmiFilterArgs) ToGetAmiFilterOutputWithContext(ctx context.Context) GetAmiFilterOutput
type GetAmiFilterArray ¶
type GetAmiFilterArray []GetAmiFilterInput
func (GetAmiFilterArray) ElementType ¶
func (GetAmiFilterArray) ElementType() reflect.Type
func (GetAmiFilterArray) ToGetAmiFilterArrayOutput ¶
func (i GetAmiFilterArray) ToGetAmiFilterArrayOutput() GetAmiFilterArrayOutput
func (GetAmiFilterArray) ToGetAmiFilterArrayOutputWithContext ¶
func (i GetAmiFilterArray) ToGetAmiFilterArrayOutputWithContext(ctx context.Context) GetAmiFilterArrayOutput
type GetAmiFilterArrayInput ¶
type GetAmiFilterArrayInput interface {
pulumi.Input
ToGetAmiFilterArrayOutput() GetAmiFilterArrayOutput
ToGetAmiFilterArrayOutputWithContext(context.Context) GetAmiFilterArrayOutput
}
GetAmiFilterArrayInput is an input type that accepts GetAmiFilterArray and GetAmiFilterArrayOutput values. You can construct a concrete instance of `GetAmiFilterArrayInput` via:
GetAmiFilterArray{ GetAmiFilterArgs{...} }
type GetAmiFilterArrayOutput ¶
type GetAmiFilterArrayOutput struct{ *pulumi.OutputState }
func (GetAmiFilterArrayOutput) ElementType ¶
func (GetAmiFilterArrayOutput) ElementType() reflect.Type
func (GetAmiFilterArrayOutput) Index ¶
func (o GetAmiFilterArrayOutput) Index(i pulumi.IntInput) GetAmiFilterOutput
func (GetAmiFilterArrayOutput) ToGetAmiFilterArrayOutput ¶
func (o GetAmiFilterArrayOutput) ToGetAmiFilterArrayOutput() GetAmiFilterArrayOutput
func (GetAmiFilterArrayOutput) ToGetAmiFilterArrayOutputWithContext ¶
func (o GetAmiFilterArrayOutput) ToGetAmiFilterArrayOutputWithContext(ctx context.Context) GetAmiFilterArrayOutput
type GetAmiFilterInput ¶
type GetAmiFilterInput interface {
pulumi.Input
ToGetAmiFilterOutput() GetAmiFilterOutput
ToGetAmiFilterOutputWithContext(context.Context) GetAmiFilterOutput
}
GetAmiFilterInput is an input type that accepts GetAmiFilterArgs and GetAmiFilterOutput values. You can construct a concrete instance of `GetAmiFilterInput` via:
GetAmiFilterArgs{...}
type GetAmiFilterOutput ¶
type GetAmiFilterOutput struct{ *pulumi.OutputState }
func (GetAmiFilterOutput) ElementType ¶
func (GetAmiFilterOutput) ElementType() reflect.Type
func (GetAmiFilterOutput) Name ¶
func (o GetAmiFilterOutput) Name() pulumi.StringOutput
The name of the AMI that was provided during image creation.
func (GetAmiFilterOutput) ToGetAmiFilterOutput ¶
func (o GetAmiFilterOutput) ToGetAmiFilterOutput() GetAmiFilterOutput
func (GetAmiFilterOutput) ToGetAmiFilterOutputWithContext ¶
func (o GetAmiFilterOutput) ToGetAmiFilterOutputWithContext(ctx context.Context) GetAmiFilterOutput
func (GetAmiFilterOutput) Values ¶
func (o GetAmiFilterOutput) Values() pulumi.StringArrayOutput
type GetAmiIdsArgs ¶
type GetAmiIdsArgs struct {
// Limit search to users with *explicit* launch
// permission on the image. Valid items are the numeric account ID or `self`.
ExecutableUsers []string `pulumi:"executableUsers"`
// One or more name/value pairs to filter off of. There
// are several valid keys, for a full reference, check out
// [describe-images in the AWS CLI reference][1].
Filters []GetAmiIdsFilter `pulumi:"filters"`
// A regex string to apply to the AMI list returned
// by AWS. This allows more advanced filtering not supported from the AWS API.
// This filtering is done locally on what AWS returns, and could have a performance
// impact if the result is large. It is recommended to combine this with other
// options to narrow down the list AWS returns.
NameRegex *string `pulumi:"nameRegex"`
// List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`).
Owners []string `pulumi:"owners"`
// Used to sort AMIs by creation time.
SortAscending *bool `pulumi:"sortAscending"`
}
A collection of arguments for invoking getAmiIds.
type GetAmiIdsFilter ¶
type GetAmiIdsFilterArgs ¶
type GetAmiIdsFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetAmiIdsFilterArgs) ElementType ¶
func (GetAmiIdsFilterArgs) ElementType() reflect.Type
func (GetAmiIdsFilterArgs) ToGetAmiIdsFilterOutput ¶
func (i GetAmiIdsFilterArgs) ToGetAmiIdsFilterOutput() GetAmiIdsFilterOutput
func (GetAmiIdsFilterArgs) ToGetAmiIdsFilterOutputWithContext ¶
func (i GetAmiIdsFilterArgs) ToGetAmiIdsFilterOutputWithContext(ctx context.Context) GetAmiIdsFilterOutput
type GetAmiIdsFilterArray ¶
type GetAmiIdsFilterArray []GetAmiIdsFilterInput
func (GetAmiIdsFilterArray) ElementType ¶
func (GetAmiIdsFilterArray) ElementType() reflect.Type
func (GetAmiIdsFilterArray) ToGetAmiIdsFilterArrayOutput ¶
func (i GetAmiIdsFilterArray) ToGetAmiIdsFilterArrayOutput() GetAmiIdsFilterArrayOutput
func (GetAmiIdsFilterArray) ToGetAmiIdsFilterArrayOutputWithContext ¶
func (i GetAmiIdsFilterArray) ToGetAmiIdsFilterArrayOutputWithContext(ctx context.Context) GetAmiIdsFilterArrayOutput
type GetAmiIdsFilterArrayInput ¶
type GetAmiIdsFilterArrayInput interface {
pulumi.Input
ToGetAmiIdsFilterArrayOutput() GetAmiIdsFilterArrayOutput
ToGetAmiIdsFilterArrayOutputWithContext(context.Context) GetAmiIdsFilterArrayOutput
}
GetAmiIdsFilterArrayInput is an input type that accepts GetAmiIdsFilterArray and GetAmiIdsFilterArrayOutput values. You can construct a concrete instance of `GetAmiIdsFilterArrayInput` via:
GetAmiIdsFilterArray{ GetAmiIdsFilterArgs{...} }
type GetAmiIdsFilterArrayOutput ¶
type GetAmiIdsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetAmiIdsFilterArrayOutput) ElementType ¶
func (GetAmiIdsFilterArrayOutput) ElementType() reflect.Type
func (GetAmiIdsFilterArrayOutput) Index ¶
func (o GetAmiIdsFilterArrayOutput) Index(i pulumi.IntInput) GetAmiIdsFilterOutput
func (GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutput ¶
func (o GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutput() GetAmiIdsFilterArrayOutput
func (GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutputWithContext ¶
func (o GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutputWithContext(ctx context.Context) GetAmiIdsFilterArrayOutput
type GetAmiIdsFilterInput ¶
type GetAmiIdsFilterInput interface {
pulumi.Input
ToGetAmiIdsFilterOutput() GetAmiIdsFilterOutput
ToGetAmiIdsFilterOutputWithContext(context.Context) GetAmiIdsFilterOutput
}
GetAmiIdsFilterInput is an input type that accepts GetAmiIdsFilterArgs and GetAmiIdsFilterOutput values. You can construct a concrete instance of `GetAmiIdsFilterInput` via:
GetAmiIdsFilterArgs{...}
type GetAmiIdsFilterOutput ¶
type GetAmiIdsFilterOutput struct{ *pulumi.OutputState }
func (GetAmiIdsFilterOutput) ElementType ¶
func (GetAmiIdsFilterOutput) ElementType() reflect.Type
func (GetAmiIdsFilterOutput) Name ¶
func (o GetAmiIdsFilterOutput) Name() pulumi.StringOutput
func (GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutput ¶
func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutput() GetAmiIdsFilterOutput
func (GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutputWithContext ¶
func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutputWithContext(ctx context.Context) GetAmiIdsFilterOutput
func (GetAmiIdsFilterOutput) Values ¶
func (o GetAmiIdsFilterOutput) Values() pulumi.StringArrayOutput
type GetAmiIdsOutputArgs ¶
type GetAmiIdsOutputArgs struct {
// Limit search to users with *explicit* launch
// permission on the image. Valid items are the numeric account ID or `self`.
ExecutableUsers pulumi.StringArrayInput `pulumi:"executableUsers"`
// One or more name/value pairs to filter off of. There
// are several valid keys, for a full reference, check out
// [describe-images in the AWS CLI reference][1].
Filters GetAmiIdsFilterArrayInput `pulumi:"filters"`
// A regex string to apply to the AMI list returned
// by AWS. This allows more advanced filtering not supported from the AWS API.
// This filtering is done locally on what AWS returns, and could have a performance
// impact if the result is large. It is recommended to combine this with other
// options to narrow down the list AWS returns.
NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
// List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`).
Owners pulumi.StringArrayInput `pulumi:"owners"`
// Used to sort AMIs by creation time.
SortAscending pulumi.BoolPtrInput `pulumi:"sortAscending"`
}
A collection of arguments for invoking getAmiIds.
func (GetAmiIdsOutputArgs) ElementType ¶
func (GetAmiIdsOutputArgs) ElementType() reflect.Type
type GetAmiIdsResult ¶
type GetAmiIdsResult struct {
ExecutableUsers []string `pulumi:"executableUsers"`
Filters []GetAmiIdsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Ids []string `pulumi:"ids"`
NameRegex *string `pulumi:"nameRegex"`
Owners []string `pulumi:"owners"`
SortAscending *bool `pulumi:"sortAscending"`
}
A collection of values returned by getAmiIds.
func GetAmiIds ¶
func GetAmiIds(ctx *pulumi.Context, args *GetAmiIdsArgs, opts ...pulumi.InvokeOption) (*GetAmiIdsResult, error)
Use this data source to get a list of AMI IDs matching the specified criteria.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetAmiIds(ctx, &ec2.GetAmiIdsArgs{
Filters: []ec2.GetAmiIdsFilter{
ec2.GetAmiIdsFilter{
Name: "name",
Values: []string{
"ubuntu/images/ubuntu-*-*-amd64-server-*",
},
},
},
Owners: []string{
"099720109477",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetAmiIdsResultOutput ¶
type GetAmiIdsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAmiIds.
func GetAmiIdsOutput ¶
func GetAmiIdsOutput(ctx *pulumi.Context, args GetAmiIdsOutputArgs, opts ...pulumi.InvokeOption) GetAmiIdsResultOutput
func (GetAmiIdsResultOutput) ElementType ¶
func (GetAmiIdsResultOutput) ElementType() reflect.Type
func (GetAmiIdsResultOutput) ExecutableUsers ¶
func (o GetAmiIdsResultOutput) ExecutableUsers() pulumi.StringArrayOutput
func (GetAmiIdsResultOutput) Filters ¶
func (o GetAmiIdsResultOutput) Filters() GetAmiIdsFilterArrayOutput
func (GetAmiIdsResultOutput) Id ¶
func (o GetAmiIdsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAmiIdsResultOutput) Ids ¶
func (o GetAmiIdsResultOutput) Ids() pulumi.StringArrayOutput
func (GetAmiIdsResultOutput) NameRegex ¶
func (o GetAmiIdsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAmiIdsResultOutput) Owners ¶
func (o GetAmiIdsResultOutput) Owners() pulumi.StringArrayOutput
func (GetAmiIdsResultOutput) SortAscending ¶
func (o GetAmiIdsResultOutput) SortAscending() pulumi.BoolPtrOutput
func (GetAmiIdsResultOutput) ToGetAmiIdsResultOutput ¶
func (o GetAmiIdsResultOutput) ToGetAmiIdsResultOutput() GetAmiIdsResultOutput
func (GetAmiIdsResultOutput) ToGetAmiIdsResultOutputWithContext ¶
func (o GetAmiIdsResultOutput) ToGetAmiIdsResultOutputWithContext(ctx context.Context) GetAmiIdsResultOutput
type GetAmiProductCode ¶
type GetAmiProductCodeArgs ¶
type GetAmiProductCodeArgs struct {
ProductCodeId pulumi.StringInput `pulumi:"productCodeId"`
ProductCodeType pulumi.StringInput `pulumi:"productCodeType"`
}
func (GetAmiProductCodeArgs) ElementType ¶
func (GetAmiProductCodeArgs) ElementType() reflect.Type
func (GetAmiProductCodeArgs) ToGetAmiProductCodeOutput ¶
func (i GetAmiProductCodeArgs) ToGetAmiProductCodeOutput() GetAmiProductCodeOutput
func (GetAmiProductCodeArgs) ToGetAmiProductCodeOutputWithContext ¶
func (i GetAmiProductCodeArgs) ToGetAmiProductCodeOutputWithContext(ctx context.Context) GetAmiProductCodeOutput
type GetAmiProductCodeArray ¶
type GetAmiProductCodeArray []GetAmiProductCodeInput
func (GetAmiProductCodeArray) ElementType ¶
func (GetAmiProductCodeArray) ElementType() reflect.Type
func (GetAmiProductCodeArray) ToGetAmiProductCodeArrayOutput ¶
func (i GetAmiProductCodeArray) ToGetAmiProductCodeArrayOutput() GetAmiProductCodeArrayOutput
func (GetAmiProductCodeArray) ToGetAmiProductCodeArrayOutputWithContext ¶
func (i GetAmiProductCodeArray) ToGetAmiProductCodeArrayOutputWithContext(ctx context.Context) GetAmiProductCodeArrayOutput
type GetAmiProductCodeArrayInput ¶
type GetAmiProductCodeArrayInput interface {
pulumi.Input
ToGetAmiProductCodeArrayOutput() GetAmiProductCodeArrayOutput
ToGetAmiProductCodeArrayOutputWithContext(context.Context) GetAmiProductCodeArrayOutput
}
GetAmiProductCodeArrayInput is an input type that accepts GetAmiProductCodeArray and GetAmiProductCodeArrayOutput values. You can construct a concrete instance of `GetAmiProductCodeArrayInput` via:
GetAmiProductCodeArray{ GetAmiProductCodeArgs{...} }
type GetAmiProductCodeArrayOutput ¶
type GetAmiProductCodeArrayOutput struct{ *pulumi.OutputState }
func (GetAmiProductCodeArrayOutput) ElementType ¶
func (GetAmiProductCodeArrayOutput) ElementType() reflect.Type
func (GetAmiProductCodeArrayOutput) Index ¶
func (o GetAmiProductCodeArrayOutput) Index(i pulumi.IntInput) GetAmiProductCodeOutput
func (GetAmiProductCodeArrayOutput) ToGetAmiProductCodeArrayOutput ¶
func (o GetAmiProductCodeArrayOutput) ToGetAmiProductCodeArrayOutput() GetAmiProductCodeArrayOutput
func (GetAmiProductCodeArrayOutput) ToGetAmiProductCodeArrayOutputWithContext ¶
func (o GetAmiProductCodeArrayOutput) ToGetAmiProductCodeArrayOutputWithContext(ctx context.Context) GetAmiProductCodeArrayOutput
type GetAmiProductCodeInput ¶
type GetAmiProductCodeInput interface {
pulumi.Input
ToGetAmiProductCodeOutput() GetAmiProductCodeOutput
ToGetAmiProductCodeOutputWithContext(context.Context) GetAmiProductCodeOutput
}
GetAmiProductCodeInput is an input type that accepts GetAmiProductCodeArgs and GetAmiProductCodeOutput values. You can construct a concrete instance of `GetAmiProductCodeInput` via:
GetAmiProductCodeArgs{...}
type GetAmiProductCodeOutput ¶
type GetAmiProductCodeOutput struct{ *pulumi.OutputState }
func (GetAmiProductCodeOutput) ElementType ¶
func (GetAmiProductCodeOutput) ElementType() reflect.Type
func (GetAmiProductCodeOutput) ProductCodeId ¶
func (o GetAmiProductCodeOutput) ProductCodeId() pulumi.StringOutput
func (GetAmiProductCodeOutput) ProductCodeType ¶
func (o GetAmiProductCodeOutput) ProductCodeType() pulumi.StringOutput
func (GetAmiProductCodeOutput) ToGetAmiProductCodeOutput ¶
func (o GetAmiProductCodeOutput) ToGetAmiProductCodeOutput() GetAmiProductCodeOutput
func (GetAmiProductCodeOutput) ToGetAmiProductCodeOutputWithContext ¶
func (o GetAmiProductCodeOutput) ToGetAmiProductCodeOutputWithContext(ctx context.Context) GetAmiProductCodeOutput
type GetCoipPoolArgs ¶
type GetCoipPoolArgs struct {
Filters []GetCoipPoolFilter `pulumi:"filters"`
// Local Gateway Route Table Id assigned to desired COIP Pool
LocalGatewayRouteTableId *string `pulumi:"localGatewayRouteTableId"`
// The id of the specific COIP Pool to retrieve.
PoolId *string `pulumi:"poolId"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired COIP Pool.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getCoipPool.
type GetCoipPoolFilter ¶
type GetCoipPoolFilter 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_DescribeCoipPools.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field.
// A COIP Pool will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetCoipPoolFilterArgs ¶
type GetCoipPoolFilterArgs 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_DescribeCoipPools.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field.
// A COIP Pool will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetCoipPoolFilterArgs) ElementType ¶
func (GetCoipPoolFilterArgs) ElementType() reflect.Type
func (GetCoipPoolFilterArgs) ToGetCoipPoolFilterOutput ¶
func (i GetCoipPoolFilterArgs) ToGetCoipPoolFilterOutput() GetCoipPoolFilterOutput
func (GetCoipPoolFilterArgs) ToGetCoipPoolFilterOutputWithContext ¶
func (i GetCoipPoolFilterArgs) ToGetCoipPoolFilterOutputWithContext(ctx context.Context) GetCoipPoolFilterOutput
type GetCoipPoolFilterArray ¶
type GetCoipPoolFilterArray []GetCoipPoolFilterInput
func (GetCoipPoolFilterArray) ElementType ¶
func (GetCoipPoolFilterArray) ElementType() reflect.Type
func (GetCoipPoolFilterArray) ToGetCoipPoolFilterArrayOutput ¶
func (i GetCoipPoolFilterArray) ToGetCoipPoolFilterArrayOutput() GetCoipPoolFilterArrayOutput
func (GetCoipPoolFilterArray) ToGetCoipPoolFilterArrayOutputWithContext ¶
func (i GetCoipPoolFilterArray) ToGetCoipPoolFilterArrayOutputWithContext(ctx context.Context) GetCoipPoolFilterArrayOutput
type GetCoipPoolFilterArrayInput ¶
type GetCoipPoolFilterArrayInput interface {
pulumi.Input
ToGetCoipPoolFilterArrayOutput() GetCoipPoolFilterArrayOutput
ToGetCoipPoolFilterArrayOutputWithContext(context.Context) GetCoipPoolFilterArrayOutput
}
GetCoipPoolFilterArrayInput is an input type that accepts GetCoipPoolFilterArray and GetCoipPoolFilterArrayOutput values. You can construct a concrete instance of `GetCoipPoolFilterArrayInput` via:
GetCoipPoolFilterArray{ GetCoipPoolFilterArgs{...} }
type GetCoipPoolFilterArrayOutput ¶
type GetCoipPoolFilterArrayOutput struct{ *pulumi.OutputState }
func (GetCoipPoolFilterArrayOutput) ElementType ¶
func (GetCoipPoolFilterArrayOutput) ElementType() reflect.Type
func (GetCoipPoolFilterArrayOutput) Index ¶
func (o GetCoipPoolFilterArrayOutput) Index(i pulumi.IntInput) GetCoipPoolFilterOutput
func (GetCoipPoolFilterArrayOutput) ToGetCoipPoolFilterArrayOutput ¶
func (o GetCoipPoolFilterArrayOutput) ToGetCoipPoolFilterArrayOutput() GetCoipPoolFilterArrayOutput
func (GetCoipPoolFilterArrayOutput) ToGetCoipPoolFilterArrayOutputWithContext ¶
func (o GetCoipPoolFilterArrayOutput) ToGetCoipPoolFilterArrayOutputWithContext(ctx context.Context) GetCoipPoolFilterArrayOutput
type GetCoipPoolFilterInput ¶
type GetCoipPoolFilterInput interface {
pulumi.Input
ToGetCoipPoolFilterOutput() GetCoipPoolFilterOutput
ToGetCoipPoolFilterOutputWithContext(context.Context) GetCoipPoolFilterOutput
}
GetCoipPoolFilterInput is an input type that accepts GetCoipPoolFilterArgs and GetCoipPoolFilterOutput values. You can construct a concrete instance of `GetCoipPoolFilterInput` via:
GetCoipPoolFilterArgs{...}
type GetCoipPoolFilterOutput ¶
type GetCoipPoolFilterOutput struct{ *pulumi.OutputState }
func (GetCoipPoolFilterOutput) ElementType ¶
func (GetCoipPoolFilterOutput) ElementType() reflect.Type
func (GetCoipPoolFilterOutput) Name ¶
func (o GetCoipPoolFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCoipPools.html).
func (GetCoipPoolFilterOutput) ToGetCoipPoolFilterOutput ¶
func (o GetCoipPoolFilterOutput) ToGetCoipPoolFilterOutput() GetCoipPoolFilterOutput
func (GetCoipPoolFilterOutput) ToGetCoipPoolFilterOutputWithContext ¶
func (o GetCoipPoolFilterOutput) ToGetCoipPoolFilterOutputWithContext(ctx context.Context) GetCoipPoolFilterOutput
func (GetCoipPoolFilterOutput) Values ¶
func (o GetCoipPoolFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.
type GetCoipPoolOutputArgs ¶
type GetCoipPoolOutputArgs struct {
Filters GetCoipPoolFilterArrayInput `pulumi:"filters"`
// Local Gateway Route Table Id assigned to desired COIP Pool
LocalGatewayRouteTableId pulumi.StringPtrInput `pulumi:"localGatewayRouteTableId"`
// The id of the specific COIP Pool to retrieve.
PoolId pulumi.StringPtrInput `pulumi:"poolId"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired COIP Pool.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getCoipPool.
func (GetCoipPoolOutputArgs) ElementType ¶
func (GetCoipPoolOutputArgs) ElementType() reflect.Type
type GetCoipPoolResult ¶
type GetCoipPoolResult struct {
// ARN of the COIP pool
Arn string `pulumi:"arn"`
Filters []GetCoipPoolFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
LocalGatewayRouteTableId string `pulumi:"localGatewayRouteTableId"`
// Set of CIDR blocks in pool
PoolCidrs []string `pulumi:"poolCidrs"`
PoolId string `pulumi:"poolId"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getCoipPool.
func GetCoipPool ¶
func GetCoipPool(ctx *pulumi.Context, args *GetCoipPoolArgs, opts ...pulumi.InvokeOption) (*GetCoipPoolResult, error)
Provides details about a specific EC2 Customer-Owned IP Pool.
This data source can prove useful when a module accepts a coip pool id as an input variable and needs to, for example, determine the CIDR block of that COIP Pool.
## Example Usage
The following example returns a specific coip pool ID ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
coipPoolId := cfg.RequireObject("coipPoolId")
_, err := ec2.GetCoipPool(ctx, &ec2.GetCoipPoolArgs{
Id: coipPoolId,
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetCoipPoolResultOutput ¶
type GetCoipPoolResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCoipPool.
func GetCoipPoolOutput ¶
func GetCoipPoolOutput(ctx *pulumi.Context, args GetCoipPoolOutputArgs, opts ...pulumi.InvokeOption) GetCoipPoolResultOutput
func (GetCoipPoolResultOutput) Arn ¶
func (o GetCoipPoolResultOutput) Arn() pulumi.StringOutput
ARN of the COIP pool
func (GetCoipPoolResultOutput) ElementType ¶
func (GetCoipPoolResultOutput) ElementType() reflect.Type
func (GetCoipPoolResultOutput) Filters ¶
func (o GetCoipPoolResultOutput) Filters() GetCoipPoolFilterArrayOutput
func (GetCoipPoolResultOutput) Id ¶
func (o GetCoipPoolResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCoipPoolResultOutput) LocalGatewayRouteTableId ¶
func (o GetCoipPoolResultOutput) LocalGatewayRouteTableId() pulumi.StringOutput
func (GetCoipPoolResultOutput) PoolCidrs ¶
func (o GetCoipPoolResultOutput) PoolCidrs() pulumi.StringArrayOutput
Set of CIDR blocks in pool
func (GetCoipPoolResultOutput) PoolId ¶
func (o GetCoipPoolResultOutput) PoolId() pulumi.StringOutput
func (GetCoipPoolResultOutput) Tags ¶
func (o GetCoipPoolResultOutput) Tags() pulumi.StringMapOutput
func (GetCoipPoolResultOutput) ToGetCoipPoolResultOutput ¶
func (o GetCoipPoolResultOutput) ToGetCoipPoolResultOutput() GetCoipPoolResultOutput
func (GetCoipPoolResultOutput) ToGetCoipPoolResultOutputWithContext ¶
func (o GetCoipPoolResultOutput) ToGetCoipPoolResultOutputWithContext(ctx context.Context) GetCoipPoolResultOutput
type GetCoipPoolsArgs ¶
type GetCoipPoolsArgs struct {
// Custom filter block as described below.
Filters []GetCoipPoolsFilter `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired aws_ec2_coip_pools.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getCoipPools.
type GetCoipPoolsFilter ¶
type GetCoipPoolsFilter 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_DescribeCoipPools.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field.
// A COIP Pool will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetCoipPoolsFilterArgs ¶
type GetCoipPoolsFilterArgs 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_DescribeCoipPools.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field.
// A COIP Pool will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetCoipPoolsFilterArgs) ElementType ¶
func (GetCoipPoolsFilterArgs) ElementType() reflect.Type
func (GetCoipPoolsFilterArgs) ToGetCoipPoolsFilterOutput ¶
func (i GetCoipPoolsFilterArgs) ToGetCoipPoolsFilterOutput() GetCoipPoolsFilterOutput
func (GetCoipPoolsFilterArgs) ToGetCoipPoolsFilterOutputWithContext ¶
func (i GetCoipPoolsFilterArgs) ToGetCoipPoolsFilterOutputWithContext(ctx context.Context) GetCoipPoolsFilterOutput
type GetCoipPoolsFilterArray ¶
type GetCoipPoolsFilterArray []GetCoipPoolsFilterInput
func (GetCoipPoolsFilterArray) ElementType ¶
func (GetCoipPoolsFilterArray) ElementType() reflect.Type
func (GetCoipPoolsFilterArray) ToGetCoipPoolsFilterArrayOutput ¶
func (i GetCoipPoolsFilterArray) ToGetCoipPoolsFilterArrayOutput() GetCoipPoolsFilterArrayOutput
func (GetCoipPoolsFilterArray) ToGetCoipPoolsFilterArrayOutputWithContext ¶
func (i GetCoipPoolsFilterArray) ToGetCoipPoolsFilterArrayOutputWithContext(ctx context.Context) GetCoipPoolsFilterArrayOutput
type GetCoipPoolsFilterArrayInput ¶
type GetCoipPoolsFilterArrayInput interface {
pulumi.Input
ToGetCoipPoolsFilterArrayOutput() GetCoipPoolsFilterArrayOutput
ToGetCoipPoolsFilterArrayOutputWithContext(context.Context) GetCoipPoolsFilterArrayOutput
}
GetCoipPoolsFilterArrayInput is an input type that accepts GetCoipPoolsFilterArray and GetCoipPoolsFilterArrayOutput values. You can construct a concrete instance of `GetCoipPoolsFilterArrayInput` via:
GetCoipPoolsFilterArray{ GetCoipPoolsFilterArgs{...} }
type GetCoipPoolsFilterArrayOutput ¶
type GetCoipPoolsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetCoipPoolsFilterArrayOutput) ElementType ¶
func (GetCoipPoolsFilterArrayOutput) ElementType() reflect.Type
func (GetCoipPoolsFilterArrayOutput) Index ¶
func (o GetCoipPoolsFilterArrayOutput) Index(i pulumi.IntInput) GetCoipPoolsFilterOutput
func (GetCoipPoolsFilterArrayOutput) ToGetCoipPoolsFilterArrayOutput ¶
func (o GetCoipPoolsFilterArrayOutput) ToGetCoipPoolsFilterArrayOutput() GetCoipPoolsFilterArrayOutput
func (GetCoipPoolsFilterArrayOutput) ToGetCoipPoolsFilterArrayOutputWithContext ¶
func (o GetCoipPoolsFilterArrayOutput) ToGetCoipPoolsFilterArrayOutputWithContext(ctx context.Context) GetCoipPoolsFilterArrayOutput
type GetCoipPoolsFilterInput ¶
type GetCoipPoolsFilterInput interface {
pulumi.Input
ToGetCoipPoolsFilterOutput() GetCoipPoolsFilterOutput
ToGetCoipPoolsFilterOutputWithContext(context.Context) GetCoipPoolsFilterOutput
}
GetCoipPoolsFilterInput is an input type that accepts GetCoipPoolsFilterArgs and GetCoipPoolsFilterOutput values. You can construct a concrete instance of `GetCoipPoolsFilterInput` via:
GetCoipPoolsFilterArgs{...}
type GetCoipPoolsFilterOutput ¶
type GetCoipPoolsFilterOutput struct{ *pulumi.OutputState }
func (GetCoipPoolsFilterOutput) ElementType ¶
func (GetCoipPoolsFilterOutput) ElementType() reflect.Type
func (GetCoipPoolsFilterOutput) Name ¶
func (o GetCoipPoolsFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCoipPools.html).
func (GetCoipPoolsFilterOutput) ToGetCoipPoolsFilterOutput ¶
func (o GetCoipPoolsFilterOutput) ToGetCoipPoolsFilterOutput() GetCoipPoolsFilterOutput
func (GetCoipPoolsFilterOutput) ToGetCoipPoolsFilterOutputWithContext ¶
func (o GetCoipPoolsFilterOutput) ToGetCoipPoolsFilterOutputWithContext(ctx context.Context) GetCoipPoolsFilterOutput
func (GetCoipPoolsFilterOutput) Values ¶
func (o GetCoipPoolsFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.
type GetCoipPoolsOutputArgs ¶
type GetCoipPoolsOutputArgs struct {
// Custom filter block as described below.
Filters GetCoipPoolsFilterArrayInput `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired aws_ec2_coip_pools.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getCoipPools.
func (GetCoipPoolsOutputArgs) ElementType ¶
func (GetCoipPoolsOutputArgs) ElementType() reflect.Type
type GetCoipPoolsResult ¶
type GetCoipPoolsResult struct {
Filters []GetCoipPoolsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Set of COIP Pool Identifiers
PoolIds []string `pulumi:"poolIds"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getCoipPools.
func GetCoipPools ¶
func GetCoipPools(ctx *pulumi.Context, args *GetCoipPoolsArgs, opts ...pulumi.InvokeOption) (*GetCoipPoolsResult, error)
Provides information for multiple EC2 Customer-Owned IP Pools, such as their identifiers.
type GetCoipPoolsResultOutput ¶
type GetCoipPoolsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCoipPools.
func GetCoipPoolsOutput ¶
func GetCoipPoolsOutput(ctx *pulumi.Context, args GetCoipPoolsOutputArgs, opts ...pulumi.InvokeOption) GetCoipPoolsResultOutput
func (GetCoipPoolsResultOutput) ElementType ¶
func (GetCoipPoolsResultOutput) ElementType() reflect.Type
func (GetCoipPoolsResultOutput) Filters ¶
func (o GetCoipPoolsResultOutput) Filters() GetCoipPoolsFilterArrayOutput
func (GetCoipPoolsResultOutput) Id ¶
func (o GetCoipPoolsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCoipPoolsResultOutput) PoolIds ¶
func (o GetCoipPoolsResultOutput) PoolIds() pulumi.StringArrayOutput
Set of COIP Pool Identifiers
func (GetCoipPoolsResultOutput) Tags ¶
func (o GetCoipPoolsResultOutput) Tags() pulumi.StringMapOutput
func (GetCoipPoolsResultOutput) ToGetCoipPoolsResultOutput ¶
func (o GetCoipPoolsResultOutput) ToGetCoipPoolsResultOutput() GetCoipPoolsResultOutput
func (GetCoipPoolsResultOutput) ToGetCoipPoolsResultOutputWithContext ¶
func (o GetCoipPoolsResultOutput) ToGetCoipPoolsResultOutputWithContext(ctx context.Context) GetCoipPoolsResultOutput
type GetCustomerGatewayFilterArgs ¶
type GetCustomerGatewayFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetCustomerGatewayFilterArgs) ElementType ¶
func (GetCustomerGatewayFilterArgs) ElementType() reflect.Type
func (GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutput ¶
func (i GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutput() GetCustomerGatewayFilterOutput
func (GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutputWithContext ¶
func (i GetCustomerGatewayFilterArgs) ToGetCustomerGatewayFilterOutputWithContext(ctx context.Context) GetCustomerGatewayFilterOutput
type GetCustomerGatewayFilterArray ¶
type GetCustomerGatewayFilterArray []GetCustomerGatewayFilterInput
func (GetCustomerGatewayFilterArray) ElementType ¶
func (GetCustomerGatewayFilterArray) ElementType() reflect.Type
func (GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutput ¶
func (i GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutput() GetCustomerGatewayFilterArrayOutput
func (GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutputWithContext ¶
func (i GetCustomerGatewayFilterArray) ToGetCustomerGatewayFilterArrayOutputWithContext(ctx context.Context) GetCustomerGatewayFilterArrayOutput
type GetCustomerGatewayFilterArrayInput ¶
type GetCustomerGatewayFilterArrayInput interface {
pulumi.Input
ToGetCustomerGatewayFilterArrayOutput() GetCustomerGatewayFilterArrayOutput
ToGetCustomerGatewayFilterArrayOutputWithContext(context.Context) GetCustomerGatewayFilterArrayOutput
}
GetCustomerGatewayFilterArrayInput is an input type that accepts GetCustomerGatewayFilterArray and GetCustomerGatewayFilterArrayOutput values. You can construct a concrete instance of `GetCustomerGatewayFilterArrayInput` via:
GetCustomerGatewayFilterArray{ GetCustomerGatewayFilterArgs{...} }
type GetCustomerGatewayFilterArrayOutput ¶
type GetCustomerGatewayFilterArrayOutput struct{ *pulumi.OutputState }
func (GetCustomerGatewayFilterArrayOutput) ElementType ¶
func (GetCustomerGatewayFilterArrayOutput) ElementType() reflect.Type
func (GetCustomerGatewayFilterArrayOutput) Index ¶
func (o GetCustomerGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetCustomerGatewayFilterOutput
func (GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutput ¶
func (o GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutput() GetCustomerGatewayFilterArrayOutput
func (GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutputWithContext ¶
func (o GetCustomerGatewayFilterArrayOutput) ToGetCustomerGatewayFilterArrayOutputWithContext(ctx context.Context) GetCustomerGatewayFilterArrayOutput
type GetCustomerGatewayFilterInput ¶
type GetCustomerGatewayFilterInput interface {
pulumi.Input
ToGetCustomerGatewayFilterOutput() GetCustomerGatewayFilterOutput
ToGetCustomerGatewayFilterOutputWithContext(context.Context) GetCustomerGatewayFilterOutput
}
GetCustomerGatewayFilterInput is an input type that accepts GetCustomerGatewayFilterArgs and GetCustomerGatewayFilterOutput values. You can construct a concrete instance of `GetCustomerGatewayFilterInput` via:
GetCustomerGatewayFilterArgs{...}
type GetCustomerGatewayFilterOutput ¶
type GetCustomerGatewayFilterOutput struct{ *pulumi.OutputState }
func (GetCustomerGatewayFilterOutput) ElementType ¶
func (GetCustomerGatewayFilterOutput) ElementType() reflect.Type
func (GetCustomerGatewayFilterOutput) Name ¶
func (o GetCustomerGatewayFilterOutput) Name() pulumi.StringOutput
func (GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutput ¶
func (o GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutput() GetCustomerGatewayFilterOutput
func (GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutputWithContext ¶
func (o GetCustomerGatewayFilterOutput) ToGetCustomerGatewayFilterOutputWithContext(ctx context.Context) GetCustomerGatewayFilterOutput
func (GetCustomerGatewayFilterOutput) Values ¶
func (o GetCustomerGatewayFilterOutput) Values() pulumi.StringArrayOutput
type GetDedicatedHostFilter ¶
type GetDedicatedHostFilter 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_DescribeHosts.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field. A host will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetDedicatedHostFilterArgs ¶
type GetDedicatedHostFilterArgs 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_DescribeHosts.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field. A host will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetDedicatedHostFilterArgs) ElementType ¶
func (GetDedicatedHostFilterArgs) ElementType() reflect.Type
func (GetDedicatedHostFilterArgs) ToGetDedicatedHostFilterOutput ¶
func (i GetDedicatedHostFilterArgs) ToGetDedicatedHostFilterOutput() GetDedicatedHostFilterOutput
func (GetDedicatedHostFilterArgs) ToGetDedicatedHostFilterOutputWithContext ¶
func (i GetDedicatedHostFilterArgs) ToGetDedicatedHostFilterOutputWithContext(ctx context.Context) GetDedicatedHostFilterOutput
type GetDedicatedHostFilterArray ¶
type GetDedicatedHostFilterArray []GetDedicatedHostFilterInput
func (GetDedicatedHostFilterArray) ElementType ¶
func (GetDedicatedHostFilterArray) ElementType() reflect.Type
func (GetDedicatedHostFilterArray) ToGetDedicatedHostFilterArrayOutput ¶
func (i GetDedicatedHostFilterArray) ToGetDedicatedHostFilterArrayOutput() GetDedicatedHostFilterArrayOutput
func (GetDedicatedHostFilterArray) ToGetDedicatedHostFilterArrayOutputWithContext ¶
func (i GetDedicatedHostFilterArray) ToGetDedicatedHostFilterArrayOutputWithContext(ctx context.Context) GetDedicatedHostFilterArrayOutput
type GetDedicatedHostFilterArrayInput ¶
type GetDedicatedHostFilterArrayInput interface {
pulumi.Input
ToGetDedicatedHostFilterArrayOutput() GetDedicatedHostFilterArrayOutput
ToGetDedicatedHostFilterArrayOutputWithContext(context.Context) GetDedicatedHostFilterArrayOutput
}
GetDedicatedHostFilterArrayInput is an input type that accepts GetDedicatedHostFilterArray and GetDedicatedHostFilterArrayOutput values. You can construct a concrete instance of `GetDedicatedHostFilterArrayInput` via:
GetDedicatedHostFilterArray{ GetDedicatedHostFilterArgs{...} }
type GetDedicatedHostFilterArrayOutput ¶
type GetDedicatedHostFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostFilterArrayOutput) ElementType ¶
func (GetDedicatedHostFilterArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostFilterArrayOutput) Index ¶
func (o GetDedicatedHostFilterArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostFilterOutput
func (GetDedicatedHostFilterArrayOutput) ToGetDedicatedHostFilterArrayOutput ¶
func (o GetDedicatedHostFilterArrayOutput) ToGetDedicatedHostFilterArrayOutput() GetDedicatedHostFilterArrayOutput
func (GetDedicatedHostFilterArrayOutput) ToGetDedicatedHostFilterArrayOutputWithContext ¶
func (o GetDedicatedHostFilterArrayOutput) ToGetDedicatedHostFilterArrayOutputWithContext(ctx context.Context) GetDedicatedHostFilterArrayOutput
type GetDedicatedHostFilterInput ¶
type GetDedicatedHostFilterInput interface {
pulumi.Input
ToGetDedicatedHostFilterOutput() GetDedicatedHostFilterOutput
ToGetDedicatedHostFilterOutputWithContext(context.Context) GetDedicatedHostFilterOutput
}
GetDedicatedHostFilterInput is an input type that accepts GetDedicatedHostFilterArgs and GetDedicatedHostFilterOutput values. You can construct a concrete instance of `GetDedicatedHostFilterInput` via:
GetDedicatedHostFilterArgs{...}
type GetDedicatedHostFilterOutput ¶
type GetDedicatedHostFilterOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostFilterOutput) ElementType ¶
func (GetDedicatedHostFilterOutput) ElementType() reflect.Type
func (GetDedicatedHostFilterOutput) Name ¶
func (o GetDedicatedHostFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeHosts.html).
func (GetDedicatedHostFilterOutput) ToGetDedicatedHostFilterOutput ¶
func (o GetDedicatedHostFilterOutput) ToGetDedicatedHostFilterOutput() GetDedicatedHostFilterOutput
func (GetDedicatedHostFilterOutput) ToGetDedicatedHostFilterOutputWithContext ¶
func (o GetDedicatedHostFilterOutput) ToGetDedicatedHostFilterOutputWithContext(ctx context.Context) GetDedicatedHostFilterOutput
func (GetDedicatedHostFilterOutput) Values ¶
func (o GetDedicatedHostFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A host will be selected if any one of the given values matches.
type GetEipsArgs ¶
type GetEipsArgs struct {
// Custom filter block as described below.
Filters []GetEipsFilter `pulumi:"filters"`
// A map of tags, each pair of which must exactly match a pair on the desired Elastic IPs.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getEips.
type GetEipsFilter ¶
type GetEipsFilter 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_DescribeAddresses.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field. An Elastic IP will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetEipsFilterArgs ¶
type GetEipsFilterArgs 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_DescribeAddresses.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field. An Elastic IP will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetEipsFilterArgs) ElementType ¶
func (GetEipsFilterArgs) ElementType() reflect.Type
func (GetEipsFilterArgs) ToGetEipsFilterOutput ¶
func (i GetEipsFilterArgs) ToGetEipsFilterOutput() GetEipsFilterOutput
func (GetEipsFilterArgs) ToGetEipsFilterOutputWithContext ¶
func (i GetEipsFilterArgs) ToGetEipsFilterOutputWithContext(ctx context.Context) GetEipsFilterOutput
type GetEipsFilterArray ¶
type GetEipsFilterArray []GetEipsFilterInput
func (GetEipsFilterArray) ElementType ¶
func (GetEipsFilterArray) ElementType() reflect.Type
func (GetEipsFilterArray) ToGetEipsFilterArrayOutput ¶
func (i GetEipsFilterArray) ToGetEipsFilterArrayOutput() GetEipsFilterArrayOutput
func (GetEipsFilterArray) ToGetEipsFilterArrayOutputWithContext ¶
func (i GetEipsFilterArray) ToGetEipsFilterArrayOutputWithContext(ctx context.Context) GetEipsFilterArrayOutput
type GetEipsFilterArrayInput ¶
type GetEipsFilterArrayInput interface {
pulumi.Input
ToGetEipsFilterArrayOutput() GetEipsFilterArrayOutput
ToGetEipsFilterArrayOutputWithContext(context.Context) GetEipsFilterArrayOutput
}
GetEipsFilterArrayInput is an input type that accepts GetEipsFilterArray and GetEipsFilterArrayOutput values. You can construct a concrete instance of `GetEipsFilterArrayInput` via:
GetEipsFilterArray{ GetEipsFilterArgs{...} }
type GetEipsFilterArrayOutput ¶
type GetEipsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetEipsFilterArrayOutput) ElementType ¶
func (GetEipsFilterArrayOutput) ElementType() reflect.Type
func (GetEipsFilterArrayOutput) Index ¶
func (o GetEipsFilterArrayOutput) Index(i pulumi.IntInput) GetEipsFilterOutput
func (GetEipsFilterArrayOutput) ToGetEipsFilterArrayOutput ¶
func (o GetEipsFilterArrayOutput) ToGetEipsFilterArrayOutput() GetEipsFilterArrayOutput
func (GetEipsFilterArrayOutput) ToGetEipsFilterArrayOutputWithContext ¶
func (o GetEipsFilterArrayOutput) ToGetEipsFilterArrayOutputWithContext(ctx context.Context) GetEipsFilterArrayOutput
type GetEipsFilterInput ¶
type GetEipsFilterInput interface {
pulumi.Input
ToGetEipsFilterOutput() GetEipsFilterOutput
ToGetEipsFilterOutputWithContext(context.Context) GetEipsFilterOutput
}
GetEipsFilterInput is an input type that accepts GetEipsFilterArgs and GetEipsFilterOutput values. You can construct a concrete instance of `GetEipsFilterInput` via:
GetEipsFilterArgs{...}
type GetEipsFilterOutput ¶
type GetEipsFilterOutput struct{ *pulumi.OutputState }
func (GetEipsFilterOutput) ElementType ¶
func (GetEipsFilterOutput) ElementType() reflect.Type
func (GetEipsFilterOutput) Name ¶
func (o GetEipsFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html).
func (GetEipsFilterOutput) ToGetEipsFilterOutput ¶
func (o GetEipsFilterOutput) ToGetEipsFilterOutput() GetEipsFilterOutput
func (GetEipsFilterOutput) ToGetEipsFilterOutputWithContext ¶
func (o GetEipsFilterOutput) ToGetEipsFilterOutputWithContext(ctx context.Context) GetEipsFilterOutput
func (GetEipsFilterOutput) Values ¶
func (o GetEipsFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. An Elastic IP will be selected if any one of the given values matches.
type GetEipsOutputArgs ¶
type GetEipsOutputArgs struct {
// Custom filter block as described below.
Filters GetEipsFilterArrayInput `pulumi:"filters"`
// A map of tags, each pair of which must exactly match a pair on the desired Elastic IPs.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getEips.
func (GetEipsOutputArgs) ElementType ¶
func (GetEipsOutputArgs) ElementType() reflect.Type
type GetEipsResult ¶
type GetEipsResult struct {
// A list of all the allocation IDs for address for use with EC2-VPC.
AllocationIds []string `pulumi:"allocationIds"`
Filters []GetEipsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// A list of all the Elastic IP addresses for use with EC2-Classic.
PublicIps []string `pulumi:"publicIps"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getEips.
func GetEips ¶
func GetEips(ctx *pulumi.Context, args *GetEipsArgs, opts ...pulumi.InvokeOption) (*GetEipsResult, error)
Provides a list of Elastic IPs in a region.
## Example Usage
The following shows outputing all Elastic IPs with the a specific tag value.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ec2.GetEips(ctx, &ec2.GetEipsArgs{
Tags: map[string]interface{}{
"Env": "dev",
},
}, nil)
if err != nil {
return err
}
ctx.Export("allocationIds", example.AllocationIds)
ctx.Export("publicIps", example.PublicIps)
return nil
})
}
```
type GetEipsResultOutput ¶
type GetEipsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEips.
func GetEipsOutput ¶
func GetEipsOutput(ctx *pulumi.Context, args GetEipsOutputArgs, opts ...pulumi.InvokeOption) GetEipsResultOutput
func (GetEipsResultOutput) AllocationIds ¶
func (o GetEipsResultOutput) AllocationIds() pulumi.StringArrayOutput
A list of all the allocation IDs for address for use with EC2-VPC.
func (GetEipsResultOutput) ElementType ¶
func (GetEipsResultOutput) ElementType() reflect.Type
func (GetEipsResultOutput) Filters ¶
func (o GetEipsResultOutput) Filters() GetEipsFilterArrayOutput
func (GetEipsResultOutput) Id ¶
func (o GetEipsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEipsResultOutput) PublicIps ¶
func (o GetEipsResultOutput) PublicIps() pulumi.StringArrayOutput
A list of all the Elastic IP addresses for use with EC2-Classic.
func (GetEipsResultOutput) Tags ¶
func (o GetEipsResultOutput) Tags() pulumi.StringMapOutput
func (GetEipsResultOutput) ToGetEipsResultOutput ¶
func (o GetEipsResultOutput) ToGetEipsResultOutput() GetEipsResultOutput
func (GetEipsResultOutput) ToGetEipsResultOutputWithContext ¶
func (o GetEipsResultOutput) ToGetEipsResultOutputWithContext(ctx context.Context) GetEipsResultOutput
type GetElasticIpArgs ¶
type GetElasticIpArgs struct {
// One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html).
Filters []GetElasticIpFilter `pulumi:"filters"`
// The allocation id of the specific VPC EIP to retrieve. If a classic EIP is required, do NOT set `id`, only set `publicIp`
Id *string `pulumi:"id"`
// The public IP of the specific EIP to retrieve.
PublicIp *string `pulumi:"publicIp"`
// A map of tags, each pair of which must exactly match a pair on the desired Elastic IP
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getElasticIp.
type GetElasticIpFilter ¶
type GetElasticIpFilterArgs ¶
type GetElasticIpFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetElasticIpFilterArgs) ElementType ¶
func (GetElasticIpFilterArgs) ElementType() reflect.Type
func (GetElasticIpFilterArgs) ToGetElasticIpFilterOutput ¶
func (i GetElasticIpFilterArgs) ToGetElasticIpFilterOutput() GetElasticIpFilterOutput
func (GetElasticIpFilterArgs) ToGetElasticIpFilterOutputWithContext ¶
func (i GetElasticIpFilterArgs) ToGetElasticIpFilterOutputWithContext(ctx context.Context) GetElasticIpFilterOutput
type GetElasticIpFilterArray ¶
type GetElasticIpFilterArray []GetElasticIpFilterInput
func (GetElasticIpFilterArray) ElementType ¶
func (GetElasticIpFilterArray) ElementType() reflect.Type
func (GetElasticIpFilterArray) ToGetElasticIpFilterArrayOutput ¶
func (i GetElasticIpFilterArray) ToGetElasticIpFilterArrayOutput() GetElasticIpFilterArrayOutput
func (GetElasticIpFilterArray) ToGetElasticIpFilterArrayOutputWithContext ¶
func (i GetElasticIpFilterArray) ToGetElasticIpFilterArrayOutputWithContext(ctx context.Context) GetElasticIpFilterArrayOutput
type GetElasticIpFilterArrayInput ¶
type GetElasticIpFilterArrayInput interface {
pulumi.Input
ToGetElasticIpFilterArrayOutput() GetElasticIpFilterArrayOutput
ToGetElasticIpFilterArrayOutputWithContext(context.Context) GetElasticIpFilterArrayOutput
}
GetElasticIpFilterArrayInput is an input type that accepts GetElasticIpFilterArray and GetElasticIpFilterArrayOutput values. You can construct a concrete instance of `GetElasticIpFilterArrayInput` via:
GetElasticIpFilterArray{ GetElasticIpFilterArgs{...} }
type GetElasticIpFilterArrayOutput ¶
type GetElasticIpFilterArrayOutput struct{ *pulumi.OutputState }
func (GetElasticIpFilterArrayOutput) ElementType ¶
func (GetElasticIpFilterArrayOutput) ElementType() reflect.Type
func (GetElasticIpFilterArrayOutput) Index ¶
func (o GetElasticIpFilterArrayOutput) Index(i pulumi.IntInput) GetElasticIpFilterOutput
func (GetElasticIpFilterArrayOutput) ToGetElasticIpFilterArrayOutput ¶
func (o GetElasticIpFilterArrayOutput) ToGetElasticIpFilterArrayOutput() GetElasticIpFilterArrayOutput
func (GetElasticIpFilterArrayOutput) ToGetElasticIpFilterArrayOutputWithContext ¶
func (o GetElasticIpFilterArrayOutput) ToGetElasticIpFilterArrayOutputWithContext(ctx context.Context) GetElasticIpFilterArrayOutput
type GetElasticIpFilterInput ¶
type GetElasticIpFilterInput interface {
pulumi.Input
ToGetElasticIpFilterOutput() GetElasticIpFilterOutput
ToGetElasticIpFilterOutputWithContext(context.Context) GetElasticIpFilterOutput
}
GetElasticIpFilterInput is an input type that accepts GetElasticIpFilterArgs and GetElasticIpFilterOutput values. You can construct a concrete instance of `GetElasticIpFilterInput` via:
GetElasticIpFilterArgs{...}
type GetElasticIpFilterOutput ¶
type GetElasticIpFilterOutput struct{ *pulumi.OutputState }
func (GetElasticIpFilterOutput) ElementType ¶
func (GetElasticIpFilterOutput) ElementType() reflect.Type
func (GetElasticIpFilterOutput) Name ¶
func (o GetElasticIpFilterOutput) Name() pulumi.StringOutput
func (GetElasticIpFilterOutput) ToGetElasticIpFilterOutput ¶
func (o GetElasticIpFilterOutput) ToGetElasticIpFilterOutput() GetElasticIpFilterOutput
func (GetElasticIpFilterOutput) ToGetElasticIpFilterOutputWithContext ¶
func (o GetElasticIpFilterOutput) ToGetElasticIpFilterOutputWithContext(ctx context.Context) GetElasticIpFilterOutput
func (GetElasticIpFilterOutput) Values ¶
func (o GetElasticIpFilterOutput) Values() pulumi.StringArrayOutput
type GetElasticIpOutputArgs ¶
type GetElasticIpOutputArgs struct {
// One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html).
Filters GetElasticIpFilterArrayInput `pulumi:"filters"`
// The allocation id of the specific VPC EIP to retrieve. If a classic EIP is required, do NOT set `id`, only set `publicIp`
Id pulumi.StringPtrInput `pulumi:"id"`
// The public IP of the specific EIP to retrieve.
PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
// A map of tags, each pair of which must exactly match a pair on the desired Elastic IP
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getElasticIp.
func (GetElasticIpOutputArgs) ElementType ¶
func (GetElasticIpOutputArgs) ElementType() reflect.Type
type GetElasticIpResult ¶
type GetElasticIpResult struct {
// The ID representing the association of the address with an instance in a VPC.
AssociationId string `pulumi:"associationId"`
// The carrier IP address.
CarrierIp string `pulumi:"carrierIp"`
// Customer Owned IP.
CustomerOwnedIp string `pulumi:"customerOwnedIp"`
// The ID of a Customer Owned IP Pool. For more on customer owned IP addressed check out [Customer-owned IP addresses guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing)
CustomerOwnedIpv4Pool string `pulumi:"customerOwnedIpv4Pool"`
// Indicates whether the address is for use in EC2-Classic (standard) or in a VPC (vpc).
Domain string `pulumi:"domain"`
Filters []GetElasticIpFilter `pulumi:"filters"`
// If VPC Elastic IP, the allocation identifier. If EC2-Classic Elastic IP, the public IP address.
Id string `pulumi:"id"`
// The ID of the instance that the address is associated with (if any).
InstanceId string `pulumi:"instanceId"`
// The ID of the network interface.
NetworkInterfaceId string `pulumi:"networkInterfaceId"`
// The ID of the AWS account that owns the network interface.
NetworkInterfaceOwnerId string `pulumi:"networkInterfaceOwnerId"`
// The Private DNS associated with the Elastic IP address.
PrivateDns string `pulumi:"privateDns"`
// The private IP address associated with the Elastic IP address.
PrivateIp string `pulumi:"privateIp"`
// Public DNS associated with the Elastic IP address.
PublicDns string `pulumi:"publicDns"`
// Public IP address of Elastic IP.
PublicIp string `pulumi:"publicIp"`
// The ID of an address pool.
PublicIpv4Pool string `pulumi:"publicIpv4Pool"`
// Key-value map of tags associated with Elastic IP.
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getElasticIp.
func GetElasticIp ¶
func GetElasticIp(ctx *pulumi.Context, args *GetElasticIpArgs, opts ...pulumi.InvokeOption) (*GetElasticIpResult, error)
`ec2.Eip` provides details about a specific Elastic IP.
## Example Usage ### Search By Allocation ID (VPC only)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetElasticIp(ctx, &ec2.GetElasticIpArgs{
Id: pulumi.StringRef("eipalloc-12345678"),
}, nil)
if err != nil {
return err
}
return nil
})
}
``` ### Search By Filters (EC2-Classic or VPC)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetElasticIp(ctx, &ec2.GetElasticIpArgs{
Filters: []ec2.GetElasticIpFilter{
ec2.GetElasticIpFilter{
Name: "tag:Name",
Values: []string{
"exampleNameTagValue",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
``` ### Search By Public IP (EC2-Classic or VPC)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetElasticIp(ctx, &ec2.GetElasticIpArgs{
PublicIp: pulumi.StringRef("1.2.3.4"),
}, nil)
if err != nil {
return err
}
return nil
})
}
``` ### Search By Tags (EC2-Classic or VPC)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetElasticIp(ctx, &ec2.GetElasticIpArgs{
Tags: map[string]interface{}{
"Name": "exampleNameTagValue",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetElasticIpResultOutput ¶
type GetElasticIpResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getElasticIp.
func GetElasticIpOutput ¶
func GetElasticIpOutput(ctx *pulumi.Context, args GetElasticIpOutputArgs, opts ...pulumi.InvokeOption) GetElasticIpResultOutput
func (GetElasticIpResultOutput) AssociationId ¶
func (o GetElasticIpResultOutput) AssociationId() pulumi.StringOutput
The ID representing the association of the address with an instance in a VPC.
func (GetElasticIpResultOutput) CarrierIp ¶
func (o GetElasticIpResultOutput) CarrierIp() pulumi.StringOutput
The carrier IP address.
func (GetElasticIpResultOutput) CustomerOwnedIp ¶
func (o GetElasticIpResultOutput) CustomerOwnedIp() pulumi.StringOutput
Customer Owned IP.
func (GetElasticIpResultOutput) CustomerOwnedIpv4Pool ¶
func (o GetElasticIpResultOutput) CustomerOwnedIpv4Pool() pulumi.StringOutput
The ID of a Customer Owned IP Pool. For more on customer owned IP addressed check out [Customer-owned IP addresses guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing)
func (GetElasticIpResultOutput) Domain ¶
func (o GetElasticIpResultOutput) Domain() pulumi.StringOutput
Indicates whether the address is for use in EC2-Classic (standard) or in a VPC (vpc).
func (GetElasticIpResultOutput) ElementType ¶
func (GetElasticIpResultOutput) ElementType() reflect.Type
func (GetElasticIpResultOutput) Filters ¶
func (o GetElasticIpResultOutput) Filters() GetElasticIpFilterArrayOutput
func (GetElasticIpResultOutput) Id ¶
func (o GetElasticIpResultOutput) Id() pulumi.StringOutput
If VPC Elastic IP, the allocation identifier. If EC2-Classic Elastic IP, the public IP address.
func (GetElasticIpResultOutput) InstanceId ¶
func (o GetElasticIpResultOutput) InstanceId() pulumi.StringOutput
The ID of the instance that the address is associated with (if any).
func (GetElasticIpResultOutput) NetworkInterfaceId ¶
func (o GetElasticIpResultOutput) NetworkInterfaceId() pulumi.StringOutput
The ID of the network interface.
func (GetElasticIpResultOutput) NetworkInterfaceOwnerId ¶
func (o GetElasticIpResultOutput) NetworkInterfaceOwnerId() pulumi.StringOutput
The ID of the AWS account that owns the network interface.
func (GetElasticIpResultOutput) PrivateDns ¶
func (o GetElasticIpResultOutput) PrivateDns() pulumi.StringOutput
The Private DNS associated with the Elastic IP address.
func (GetElasticIpResultOutput) PrivateIp ¶
func (o GetElasticIpResultOutput) PrivateIp() pulumi.StringOutput
The private IP address associated with the Elastic IP address.
func (GetElasticIpResultOutput) PublicDns ¶
func (o GetElasticIpResultOutput) PublicDns() pulumi.StringOutput
Public DNS associated with the Elastic IP address.
func (GetElasticIpResultOutput) PublicIp ¶
func (o GetElasticIpResultOutput) PublicIp() pulumi.StringOutput
Public IP address of Elastic IP.
func (GetElasticIpResultOutput) PublicIpv4Pool ¶
func (o GetElasticIpResultOutput) PublicIpv4Pool() pulumi.StringOutput
The ID of an address pool.
func (GetElasticIpResultOutput) Tags ¶
func (o GetElasticIpResultOutput) Tags() pulumi.StringMapOutput
Key-value map of tags associated with Elastic IP.
func (GetElasticIpResultOutput) ToGetElasticIpResultOutput ¶
func (o GetElasticIpResultOutput) ToGetElasticIpResultOutput() GetElasticIpResultOutput
func (GetElasticIpResultOutput) ToGetElasticIpResultOutputWithContext ¶
func (o GetElasticIpResultOutput) ToGetElasticIpResultOutputWithContext(ctx context.Context) GetElasticIpResultOutput
type GetInstanceCreditSpecification ¶
type GetInstanceCreditSpecification struct {
CpuCredits string `pulumi:"cpuCredits"`
}
type GetInstanceCreditSpecificationArgs ¶
type GetInstanceCreditSpecificationArgs struct {
CpuCredits pulumi.StringInput `pulumi:"cpuCredits"`
}
func (GetInstanceCreditSpecificationArgs) ElementType ¶
func (GetInstanceCreditSpecificationArgs) ElementType() reflect.Type
func (GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutput ¶
func (i GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutput() GetInstanceCreditSpecificationOutput
func (GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutputWithContext ¶
func (i GetInstanceCreditSpecificationArgs) ToGetInstanceCreditSpecificationOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationOutput
type GetInstanceCreditSpecificationArray ¶
type GetInstanceCreditSpecificationArray []GetInstanceCreditSpecificationInput
func (GetInstanceCreditSpecificationArray) ElementType ¶
func (GetInstanceCreditSpecificationArray) ElementType() reflect.Type
func (GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutput ¶
func (i GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutput() GetInstanceCreditSpecificationArrayOutput
func (GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutputWithContext ¶
func (i GetInstanceCreditSpecificationArray) ToGetInstanceCreditSpecificationArrayOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationArrayOutput
type GetInstanceCreditSpecificationArrayInput ¶
type GetInstanceCreditSpecificationArrayInput interface {
pulumi.Input
ToGetInstanceCreditSpecificationArrayOutput() GetInstanceCreditSpecificationArrayOutput
ToGetInstanceCreditSpecificationArrayOutputWithContext(context.Context) GetInstanceCreditSpecificationArrayOutput
}
GetInstanceCreditSpecificationArrayInput is an input type that accepts GetInstanceCreditSpecificationArray and GetInstanceCreditSpecificationArrayOutput values. You can construct a concrete instance of `GetInstanceCreditSpecificationArrayInput` via:
GetInstanceCreditSpecificationArray{ GetInstanceCreditSpecificationArgs{...} }
type GetInstanceCreditSpecificationArrayOutput ¶
type GetInstanceCreditSpecificationArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceCreditSpecificationArrayOutput) ElementType ¶
func (GetInstanceCreditSpecificationArrayOutput) ElementType() reflect.Type
func (GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutput ¶
func (o GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutput() GetInstanceCreditSpecificationArrayOutput
func (GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutputWithContext ¶
func (o GetInstanceCreditSpecificationArrayOutput) ToGetInstanceCreditSpecificationArrayOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationArrayOutput
type GetInstanceCreditSpecificationInput ¶
type GetInstanceCreditSpecificationInput interface {
pulumi.Input
ToGetInstanceCreditSpecificationOutput() GetInstanceCreditSpecificationOutput
ToGetInstanceCreditSpecificationOutputWithContext(context.Context) GetInstanceCreditSpecificationOutput
}
GetInstanceCreditSpecificationInput is an input type that accepts GetInstanceCreditSpecificationArgs and GetInstanceCreditSpecificationOutput values. You can construct a concrete instance of `GetInstanceCreditSpecificationInput` via:
GetInstanceCreditSpecificationArgs{...}
type GetInstanceCreditSpecificationOutput ¶
type GetInstanceCreditSpecificationOutput struct{ *pulumi.OutputState }
func (GetInstanceCreditSpecificationOutput) CpuCredits ¶
func (o GetInstanceCreditSpecificationOutput) CpuCredits() pulumi.StringOutput
func (GetInstanceCreditSpecificationOutput) ElementType ¶
func (GetInstanceCreditSpecificationOutput) ElementType() reflect.Type
func (GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutput ¶
func (o GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutput() GetInstanceCreditSpecificationOutput
func (GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutputWithContext ¶
func (o GetInstanceCreditSpecificationOutput) ToGetInstanceCreditSpecificationOutputWithContext(ctx context.Context) GetInstanceCreditSpecificationOutput
type GetInstanceEbsBlockDevice ¶
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"`
// A map of tags assigned to the Instance.
Tags map[string]string `pulumi:"tags"`
// The throughput of the volume, in MiB/s.
Throughput int `pulumi:"throughput"`
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 ¶
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"`
// A map of tags assigned to the Instance.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The throughput of the volume, in MiB/s.
Throughput pulumi.IntInput `pulumi:"throughput"`
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 ¶
func (GetInstanceEbsBlockDeviceArgs) ElementType() reflect.Type
func (GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutput ¶
func (i GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutput() GetInstanceEbsBlockDeviceOutput
func (GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutputWithContext ¶
func (i GetInstanceEbsBlockDeviceArgs) ToGetInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceOutput
type GetInstanceEbsBlockDeviceArray ¶
type GetInstanceEbsBlockDeviceArray []GetInstanceEbsBlockDeviceInput
func (GetInstanceEbsBlockDeviceArray) ElementType ¶
func (GetInstanceEbsBlockDeviceArray) ElementType() reflect.Type
func (GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutput ¶
func (i GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutput() GetInstanceEbsBlockDeviceArrayOutput
func (GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutputWithContext ¶
func (i GetInstanceEbsBlockDeviceArray) ToGetInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceArrayOutput
type GetInstanceEbsBlockDeviceArrayInput ¶
type GetInstanceEbsBlockDeviceArrayInput interface {
pulumi.Input
ToGetInstanceEbsBlockDeviceArrayOutput() GetInstanceEbsBlockDeviceArrayOutput
ToGetInstanceEbsBlockDeviceArrayOutputWithContext(context.Context) GetInstanceEbsBlockDeviceArrayOutput
}
GetInstanceEbsBlockDeviceArrayInput is an input type that accepts GetInstanceEbsBlockDeviceArray and GetInstanceEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `GetInstanceEbsBlockDeviceArrayInput` via:
GetInstanceEbsBlockDeviceArray{ GetInstanceEbsBlockDeviceArgs{...} }
type GetInstanceEbsBlockDeviceArrayOutput ¶
type GetInstanceEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceEbsBlockDeviceArrayOutput) ElementType ¶
func (GetInstanceEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (GetInstanceEbsBlockDeviceArrayOutput) Index ¶
func (o GetInstanceEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) GetInstanceEbsBlockDeviceOutput
func (GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutput ¶
func (o GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutput() GetInstanceEbsBlockDeviceArrayOutput
func (GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutputWithContext ¶
func (o GetInstanceEbsBlockDeviceArrayOutput) ToGetInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceArrayOutput
type GetInstanceEbsBlockDeviceInput ¶
type GetInstanceEbsBlockDeviceInput interface {
pulumi.Input
ToGetInstanceEbsBlockDeviceOutput() GetInstanceEbsBlockDeviceOutput
ToGetInstanceEbsBlockDeviceOutputWithContext(context.Context) GetInstanceEbsBlockDeviceOutput
}
GetInstanceEbsBlockDeviceInput is an input type that accepts GetInstanceEbsBlockDeviceArgs and GetInstanceEbsBlockDeviceOutput values. You can construct a concrete instance of `GetInstanceEbsBlockDeviceInput` via:
GetInstanceEbsBlockDeviceArgs{...}
type GetInstanceEbsBlockDeviceOutput ¶
type GetInstanceEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (GetInstanceEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o GetInstanceEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput
If the root block device will be deleted on termination.
func (GetInstanceEbsBlockDeviceOutput) DeviceName ¶
func (o GetInstanceEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
The physical name of the device.
func (GetInstanceEbsBlockDeviceOutput) ElementType ¶
func (GetInstanceEbsBlockDeviceOutput) ElementType() reflect.Type
func (GetInstanceEbsBlockDeviceOutput) Encrypted ¶
func (o GetInstanceEbsBlockDeviceOutput) Encrypted() pulumi.BoolOutput
If the EBS volume is encrypted.
func (GetInstanceEbsBlockDeviceOutput) Iops ¶
func (o GetInstanceEbsBlockDeviceOutput) Iops() pulumi.IntOutput
`0` If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
func (GetInstanceEbsBlockDeviceOutput) KmsKeyId ¶
func (o GetInstanceEbsBlockDeviceOutput) KmsKeyId() pulumi.StringOutput
func (GetInstanceEbsBlockDeviceOutput) SnapshotId ¶
func (o GetInstanceEbsBlockDeviceOutput) SnapshotId() pulumi.StringOutput
The ID of the snapshot.
func (GetInstanceEbsBlockDeviceOutput) Tags ¶
func (o GetInstanceEbsBlockDeviceOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the Instance.
func (GetInstanceEbsBlockDeviceOutput) Throughput ¶
func (o GetInstanceEbsBlockDeviceOutput) Throughput() pulumi.IntOutput
The throughput of the volume, in MiB/s.
func (GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutput ¶
func (o GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutput() GetInstanceEbsBlockDeviceOutput
func (GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutputWithContext ¶
func (o GetInstanceEbsBlockDeviceOutput) ToGetInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEbsBlockDeviceOutput
func (GetInstanceEbsBlockDeviceOutput) VolumeId ¶
func (o GetInstanceEbsBlockDeviceOutput) VolumeId() pulumi.StringOutput
func (GetInstanceEbsBlockDeviceOutput) VolumeSize ¶
func (o GetInstanceEbsBlockDeviceOutput) VolumeSize() pulumi.IntOutput
The size of the volume, in GiB.
func (GetInstanceEbsBlockDeviceOutput) VolumeType ¶
func (o GetInstanceEbsBlockDeviceOutput) VolumeType() pulumi.StringOutput
The type of the volume.
type GetInstanceEnclaveOption ¶
type GetInstanceEnclaveOption struct {
// Whether Nitro Enclaves are enabled.
Enabled bool `pulumi:"enabled"`
}
type GetInstanceEnclaveOptionArgs ¶
type GetInstanceEnclaveOptionArgs struct {
// Whether Nitro Enclaves are enabled.
Enabled pulumi.BoolInput `pulumi:"enabled"`
}
func (GetInstanceEnclaveOptionArgs) ElementType ¶
func (GetInstanceEnclaveOptionArgs) ElementType() reflect.Type
func (GetInstanceEnclaveOptionArgs) ToGetInstanceEnclaveOptionOutput ¶
func (i GetInstanceEnclaveOptionArgs) ToGetInstanceEnclaveOptionOutput() GetInstanceEnclaveOptionOutput
func (GetInstanceEnclaveOptionArgs) ToGetInstanceEnclaveOptionOutputWithContext ¶
func (i GetInstanceEnclaveOptionArgs) ToGetInstanceEnclaveOptionOutputWithContext(ctx context.Context) GetInstanceEnclaveOptionOutput
type GetInstanceEnclaveOptionArray ¶
type GetInstanceEnclaveOptionArray []GetInstanceEnclaveOptionInput
func (GetInstanceEnclaveOptionArray) ElementType ¶
func (GetInstanceEnclaveOptionArray) ElementType() reflect.Type
func (GetInstanceEnclaveOptionArray) ToGetInstanceEnclaveOptionArrayOutput ¶
func (i GetInstanceEnclaveOptionArray) ToGetInstanceEnclaveOptionArrayOutput() GetInstanceEnclaveOptionArrayOutput
func (GetInstanceEnclaveOptionArray) ToGetInstanceEnclaveOptionArrayOutputWithContext ¶
func (i GetInstanceEnclaveOptionArray) ToGetInstanceEnclaveOptionArrayOutputWithContext(ctx context.Context) GetInstanceEnclaveOptionArrayOutput
type GetInstanceEnclaveOptionArrayInput ¶
type GetInstanceEnclaveOptionArrayInput interface {
pulumi.Input
ToGetInstanceEnclaveOptionArrayOutput() GetInstanceEnclaveOptionArrayOutput
ToGetInstanceEnclaveOptionArrayOutputWithContext(context.Context) GetInstanceEnclaveOptionArrayOutput
}
GetInstanceEnclaveOptionArrayInput is an input type that accepts GetInstanceEnclaveOptionArray and GetInstanceEnclaveOptionArrayOutput values. You can construct a concrete instance of `GetInstanceEnclaveOptionArrayInput` via:
GetInstanceEnclaveOptionArray{ GetInstanceEnclaveOptionArgs{...} }
type GetInstanceEnclaveOptionArrayOutput ¶
type GetInstanceEnclaveOptionArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceEnclaveOptionArrayOutput) ElementType ¶
func (GetInstanceEnclaveOptionArrayOutput) ElementType() reflect.Type
func (GetInstanceEnclaveOptionArrayOutput) Index ¶
func (o GetInstanceEnclaveOptionArrayOutput) Index(i pulumi.IntInput) GetInstanceEnclaveOptionOutput
func (GetInstanceEnclaveOptionArrayOutput) ToGetInstanceEnclaveOptionArrayOutput ¶
func (o GetInstanceEnclaveOptionArrayOutput) ToGetInstanceEnclaveOptionArrayOutput() GetInstanceEnclaveOptionArrayOutput
func (GetInstanceEnclaveOptionArrayOutput) ToGetInstanceEnclaveOptionArrayOutputWithContext ¶
func (o GetInstanceEnclaveOptionArrayOutput) ToGetInstanceEnclaveOptionArrayOutputWithContext(ctx context.Context) GetInstanceEnclaveOptionArrayOutput
type GetInstanceEnclaveOptionInput ¶
type GetInstanceEnclaveOptionInput interface {
pulumi.Input
ToGetInstanceEnclaveOptionOutput() GetInstanceEnclaveOptionOutput
ToGetInstanceEnclaveOptionOutputWithContext(context.Context) GetInstanceEnclaveOptionOutput
}
GetInstanceEnclaveOptionInput is an input type that accepts GetInstanceEnclaveOptionArgs and GetInstanceEnclaveOptionOutput values. You can construct a concrete instance of `GetInstanceEnclaveOptionInput` via:
GetInstanceEnclaveOptionArgs{...}
type GetInstanceEnclaveOptionOutput ¶
type GetInstanceEnclaveOptionOutput struct{ *pulumi.OutputState }
func (GetInstanceEnclaveOptionOutput) ElementType ¶
func (GetInstanceEnclaveOptionOutput) ElementType() reflect.Type
func (GetInstanceEnclaveOptionOutput) Enabled ¶
func (o GetInstanceEnclaveOptionOutput) Enabled() pulumi.BoolOutput
Whether Nitro Enclaves are enabled.
func (GetInstanceEnclaveOptionOutput) ToGetInstanceEnclaveOptionOutput ¶
func (o GetInstanceEnclaveOptionOutput) ToGetInstanceEnclaveOptionOutput() GetInstanceEnclaveOptionOutput
func (GetInstanceEnclaveOptionOutput) ToGetInstanceEnclaveOptionOutputWithContext ¶
func (o GetInstanceEnclaveOptionOutput) ToGetInstanceEnclaveOptionOutputWithContext(ctx context.Context) GetInstanceEnclaveOptionOutput
type GetInstanceEphemeralBlockDevice ¶
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 ¶
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 ¶
func (GetInstanceEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutput ¶
func (i GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutput() GetInstanceEphemeralBlockDeviceOutput
func (GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutputWithContext ¶
func (i GetInstanceEphemeralBlockDeviceArgs) ToGetInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceOutput
type GetInstanceEphemeralBlockDeviceArray ¶
type GetInstanceEphemeralBlockDeviceArray []GetInstanceEphemeralBlockDeviceInput
func (GetInstanceEphemeralBlockDeviceArray) ElementType ¶
func (GetInstanceEphemeralBlockDeviceArray) ElementType() reflect.Type
func (GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutput ¶
func (i GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutput() GetInstanceEphemeralBlockDeviceArrayOutput
func (GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext ¶
func (i GetInstanceEphemeralBlockDeviceArray) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceArrayOutput
type GetInstanceEphemeralBlockDeviceArrayInput ¶
type GetInstanceEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToGetInstanceEphemeralBlockDeviceArrayOutput() GetInstanceEphemeralBlockDeviceArrayOutput
ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext(context.Context) GetInstanceEphemeralBlockDeviceArrayOutput
}
GetInstanceEphemeralBlockDeviceArrayInput is an input type that accepts GetInstanceEphemeralBlockDeviceArray and GetInstanceEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `GetInstanceEphemeralBlockDeviceArrayInput` via:
GetInstanceEphemeralBlockDeviceArray{ GetInstanceEphemeralBlockDeviceArgs{...} }
type GetInstanceEphemeralBlockDeviceArrayOutput ¶
type GetInstanceEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceEphemeralBlockDeviceArrayOutput) ElementType ¶
func (GetInstanceEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutput ¶
func (o GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutput() GetInstanceEphemeralBlockDeviceArrayOutput
func (GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext ¶
func (o GetInstanceEphemeralBlockDeviceArrayOutput) ToGetInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceArrayOutput
type GetInstanceEphemeralBlockDeviceInput ¶
type GetInstanceEphemeralBlockDeviceInput interface {
pulumi.Input
ToGetInstanceEphemeralBlockDeviceOutput() GetInstanceEphemeralBlockDeviceOutput
ToGetInstanceEphemeralBlockDeviceOutputWithContext(context.Context) GetInstanceEphemeralBlockDeviceOutput
}
GetInstanceEphemeralBlockDeviceInput is an input type that accepts GetInstanceEphemeralBlockDeviceArgs and GetInstanceEphemeralBlockDeviceOutput values. You can construct a concrete instance of `GetInstanceEphemeralBlockDeviceInput` via:
GetInstanceEphemeralBlockDeviceArgs{...}
type GetInstanceEphemeralBlockDeviceOutput ¶
type GetInstanceEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (GetInstanceEphemeralBlockDeviceOutput) DeviceName ¶
func (o GetInstanceEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
The physical name of the device.
func (GetInstanceEphemeralBlockDeviceOutput) ElementType ¶
func (GetInstanceEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (GetInstanceEphemeralBlockDeviceOutput) NoDevice ¶
func (o GetInstanceEphemeralBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
Whether the specified device included in the device mapping was suppressed or not (Boolean).
func (GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutput ¶
func (o GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutput() GetInstanceEphemeralBlockDeviceOutput
func (GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutputWithContext ¶
func (o GetInstanceEphemeralBlockDeviceOutput) ToGetInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetInstanceEphemeralBlockDeviceOutput
func (GetInstanceEphemeralBlockDeviceOutput) VirtualName ¶
func (o GetInstanceEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
The virtual device name.
type GetInstanceFilter ¶
type GetInstanceFilterArgs ¶
type GetInstanceFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetInstanceFilterArgs) ElementType ¶
func (GetInstanceFilterArgs) ElementType() reflect.Type
func (GetInstanceFilterArgs) ToGetInstanceFilterOutput ¶
func (i GetInstanceFilterArgs) ToGetInstanceFilterOutput() GetInstanceFilterOutput
func (GetInstanceFilterArgs) ToGetInstanceFilterOutputWithContext ¶
func (i GetInstanceFilterArgs) ToGetInstanceFilterOutputWithContext(ctx context.Context) GetInstanceFilterOutput
type GetInstanceFilterArray ¶
type GetInstanceFilterArray []GetInstanceFilterInput
func (GetInstanceFilterArray) ElementType ¶
func (GetInstanceFilterArray) ElementType() reflect.Type
func (GetInstanceFilterArray) ToGetInstanceFilterArrayOutput ¶
func (i GetInstanceFilterArray) ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput
func (GetInstanceFilterArray) ToGetInstanceFilterArrayOutputWithContext ¶
func (i GetInstanceFilterArray) ToGetInstanceFilterArrayOutputWithContext(ctx context.Context) GetInstanceFilterArrayOutput
type GetInstanceFilterArrayInput ¶
type GetInstanceFilterArrayInput interface {
pulumi.Input
ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput
ToGetInstanceFilterArrayOutputWithContext(context.Context) GetInstanceFilterArrayOutput
}
GetInstanceFilterArrayInput is an input type that accepts GetInstanceFilterArray and GetInstanceFilterArrayOutput values. You can construct a concrete instance of `GetInstanceFilterArrayInput` via:
GetInstanceFilterArray{ GetInstanceFilterArgs{...} }
type GetInstanceFilterArrayOutput ¶
type GetInstanceFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceFilterArrayOutput) ElementType ¶
func (GetInstanceFilterArrayOutput) ElementType() reflect.Type
func (GetInstanceFilterArrayOutput) Index ¶
func (o GetInstanceFilterArrayOutput) Index(i pulumi.IntInput) GetInstanceFilterOutput
func (GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutput ¶
func (o GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutput() GetInstanceFilterArrayOutput
func (GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutputWithContext ¶
func (o GetInstanceFilterArrayOutput) ToGetInstanceFilterArrayOutputWithContext(ctx context.Context) GetInstanceFilterArrayOutput
type GetInstanceFilterInput ¶
type GetInstanceFilterInput interface {
pulumi.Input
ToGetInstanceFilterOutput() GetInstanceFilterOutput
ToGetInstanceFilterOutputWithContext(context.Context) GetInstanceFilterOutput
}
GetInstanceFilterInput is an input type that accepts GetInstanceFilterArgs and GetInstanceFilterOutput values. You can construct a concrete instance of `GetInstanceFilterInput` via:
GetInstanceFilterArgs{...}
type GetInstanceFilterOutput ¶
type GetInstanceFilterOutput struct{ *pulumi.OutputState }
func (GetInstanceFilterOutput) ElementType ¶
func (GetInstanceFilterOutput) ElementType() reflect.Type
func (GetInstanceFilterOutput) Name ¶
func (o GetInstanceFilterOutput) Name() pulumi.StringOutput
func (GetInstanceFilterOutput) ToGetInstanceFilterOutput ¶
func (o GetInstanceFilterOutput) ToGetInstanceFilterOutput() GetInstanceFilterOutput
func (GetInstanceFilterOutput) ToGetInstanceFilterOutputWithContext ¶
func (o GetInstanceFilterOutput) ToGetInstanceFilterOutputWithContext(ctx context.Context) GetInstanceFilterOutput
func (GetInstanceFilterOutput) Values ¶
func (o GetInstanceFilterOutput) Values() pulumi.StringArrayOutput
type GetInstanceMetadataOption ¶
type GetInstanceMetadataOption struct {
// The state of the metadata service: `enabled`, `disabled`.
HttpEndpoint string `pulumi:"httpEndpoint"`
// The desired HTTP PUT response hop limit for instance metadata requests.
HttpPutResponseHopLimit int `pulumi:"httpPutResponseHopLimit"`
// If session tokens are required: `optional`, `required`.
HttpTokens string `pulumi:"httpTokens"`
// If access to instance tags is allowed from the metadata service: `enabled`, `disabled`.
InstanceMetadataTags string `pulumi:"instanceMetadataTags"`
}
type GetInstanceMetadataOptionArgs ¶
type GetInstanceMetadataOptionArgs struct {
// The state of the metadata service: `enabled`, `disabled`.
HttpEndpoint pulumi.StringInput `pulumi:"httpEndpoint"`
// The desired HTTP PUT response hop limit for instance metadata requests.
HttpPutResponseHopLimit pulumi.IntInput `pulumi:"httpPutResponseHopLimit"`
// If session tokens are required: `optional`, `required`.
HttpTokens pulumi.StringInput `pulumi:"httpTokens"`
// If access to instance tags is allowed from the metadata service: `enabled`, `disabled`.
InstanceMetadataTags pulumi.StringInput `pulumi:"instanceMetadataTags"`
}
func (GetInstanceMetadataOptionArgs) ElementType ¶
func (GetInstanceMetadataOptionArgs) ElementType() reflect.Type
func (GetInstanceMetadataOptionArgs) ToGetInstanceMetadataOptionOutput ¶
func (i GetInstanceMetadataOptionArgs) ToGetInstanceMetadataOptionOutput() GetInstanceMetadataOptionOutput
func (GetInstanceMetadataOptionArgs) ToGetInstanceMetadataOptionOutputWithContext ¶
func (i GetInstanceMetadataOptionArgs) ToGetInstanceMetadataOptionOutputWithContext(ctx context.Context) GetInstanceMetadataOptionOutput
type GetInstanceMetadataOptionArray ¶
type GetInstanceMetadataOptionArray []GetInstanceMetadataOptionInput
func (GetInstanceMetadataOptionArray) ElementType ¶
func (GetInstanceMetadataOptionArray) ElementType() reflect.Type
func (GetInstanceMetadataOptionArray) ToGetInstanceMetadataOptionArrayOutput ¶
func (i GetInstanceMetadataOptionArray) ToGetInstanceMetadataOptionArrayOutput() GetInstanceMetadataOptionArrayOutput
func (GetInstanceMetadataOptionArray) ToGetInstanceMetadataOptionArrayOutputWithContext ¶
func (i GetInstanceMetadataOptionArray) ToGetInstanceMetadataOptionArrayOutputWithContext(ctx context.Context) GetInstanceMetadataOptionArrayOutput
type GetInstanceMetadataOptionArrayInput ¶
type GetInstanceMetadataOptionArrayInput interface {
pulumi.Input
ToGetInstanceMetadataOptionArrayOutput() GetInstanceMetadataOptionArrayOutput
ToGetInstanceMetadataOptionArrayOutputWithContext(context.Context) GetInstanceMetadataOptionArrayOutput
}
GetInstanceMetadataOptionArrayInput is an input type that accepts GetInstanceMetadataOptionArray and GetInstanceMetadataOptionArrayOutput values. You can construct a concrete instance of `GetInstanceMetadataOptionArrayInput` via:
GetInstanceMetadataOptionArray{ GetInstanceMetadataOptionArgs{...} }
type GetInstanceMetadataOptionArrayOutput ¶
type GetInstanceMetadataOptionArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceMetadataOptionArrayOutput) ElementType ¶
func (GetInstanceMetadataOptionArrayOutput) ElementType() reflect.Type
func (GetInstanceMetadataOptionArrayOutput) Index ¶
func (o GetInstanceMetadataOptionArrayOutput) Index(i pulumi.IntInput) GetInstanceMetadataOptionOutput
func (GetInstanceMetadataOptionArrayOutput) ToGetInstanceMetadataOptionArrayOutput ¶
func (o GetInstanceMetadataOptionArrayOutput) ToGetInstanceMetadataOptionArrayOutput() GetInstanceMetadataOptionArrayOutput
func (GetInstanceMetadataOptionArrayOutput) ToGetInstanceMetadataOptionArrayOutputWithContext ¶
func (o GetInstanceMetadataOptionArrayOutput) ToGetInstanceMetadataOptionArrayOutputWithContext(ctx context.Context) GetInstanceMetadataOptionArrayOutput
type GetInstanceMetadataOptionInput ¶
type GetInstanceMetadataOptionInput interface {
pulumi.Input
ToGetInstanceMetadataOptionOutput() GetInstanceMetadataOptionOutput
ToGetInstanceMetadataOptionOutputWithContext(context.Context) GetInstanceMetadataOptionOutput
}
GetInstanceMetadataOptionInput is an input type that accepts GetInstanceMetadataOptionArgs and GetInstanceMetadataOptionOutput values. You can construct a concrete instance of `GetInstanceMetadataOptionInput` via:
GetInstanceMetadataOptionArgs{...}
type GetInstanceMetadataOptionOutput ¶
type GetInstanceMetadataOptionOutput struct{ *pulumi.OutputState }
func (GetInstanceMetadataOptionOutput) ElementType ¶
func (GetInstanceMetadataOptionOutput) ElementType() reflect.Type
func (GetInstanceMetadataOptionOutput) HttpEndpoint ¶
func (o GetInstanceMetadataOptionOutput) HttpEndpoint() pulumi.StringOutput
The state of the metadata service: `enabled`, `disabled`.
func (GetInstanceMetadataOptionOutput) HttpPutResponseHopLimit ¶
func (o GetInstanceMetadataOptionOutput) HttpPutResponseHopLimit() pulumi.IntOutput
The desired HTTP PUT response hop limit for instance metadata requests.
func (GetInstanceMetadataOptionOutput) HttpTokens ¶
func (o GetInstanceMetadataOptionOutput) HttpTokens() pulumi.StringOutput
If session tokens are required: `optional`, `required`.
func (GetInstanceMetadataOptionOutput) InstanceMetadataTags ¶
func (o GetInstanceMetadataOptionOutput) InstanceMetadataTags() pulumi.StringOutput
If access to instance tags is allowed from the metadata service: `enabled`, `disabled`.
func (GetInstanceMetadataOptionOutput) ToGetInstanceMetadataOptionOutput ¶
func (o GetInstanceMetadataOptionOutput) ToGetInstanceMetadataOptionOutput() GetInstanceMetadataOptionOutput
func (GetInstanceMetadataOptionOutput) ToGetInstanceMetadataOptionOutputWithContext ¶
func (o GetInstanceMetadataOptionOutput) ToGetInstanceMetadataOptionOutputWithContext(ctx context.Context) GetInstanceMetadataOptionOutput
type GetInstanceRootBlockDevice ¶
type GetInstanceRootBlockDevice 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"`
// A map of tags assigned to the Instance.
Tags map[string]string `pulumi:"tags"`
// The throughput of the volume, in MiB/s.
Throughput int `pulumi:"throughput"`
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 ¶
type GetInstanceRootBlockDeviceArgs 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"`
// A map of tags assigned to the Instance.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The throughput of the volume, in MiB/s.
Throughput pulumi.IntInput `pulumi:"throughput"`
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 ¶
func (GetInstanceRootBlockDeviceArgs) ElementType() reflect.Type
func (GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutput ¶
func (i GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutput() GetInstanceRootBlockDeviceOutput
func (GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutputWithContext ¶
func (i GetInstanceRootBlockDeviceArgs) ToGetInstanceRootBlockDeviceOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceOutput
type GetInstanceRootBlockDeviceArray ¶
type GetInstanceRootBlockDeviceArray []GetInstanceRootBlockDeviceInput
func (GetInstanceRootBlockDeviceArray) ElementType ¶
func (GetInstanceRootBlockDeviceArray) ElementType() reflect.Type
func (GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutput ¶
func (i GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutput() GetInstanceRootBlockDeviceArrayOutput
func (GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutputWithContext ¶
func (i GetInstanceRootBlockDeviceArray) ToGetInstanceRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceArrayOutput
type GetInstanceRootBlockDeviceArrayInput ¶
type GetInstanceRootBlockDeviceArrayInput interface {
pulumi.Input
ToGetInstanceRootBlockDeviceArrayOutput() GetInstanceRootBlockDeviceArrayOutput
ToGetInstanceRootBlockDeviceArrayOutputWithContext(context.Context) GetInstanceRootBlockDeviceArrayOutput
}
GetInstanceRootBlockDeviceArrayInput is an input type that accepts GetInstanceRootBlockDeviceArray and GetInstanceRootBlockDeviceArrayOutput values. You can construct a concrete instance of `GetInstanceRootBlockDeviceArrayInput` via:
GetInstanceRootBlockDeviceArray{ GetInstanceRootBlockDeviceArgs{...} }
type GetInstanceRootBlockDeviceArrayOutput ¶
type GetInstanceRootBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceRootBlockDeviceArrayOutput) ElementType ¶
func (GetInstanceRootBlockDeviceArrayOutput) ElementType() reflect.Type
func (GetInstanceRootBlockDeviceArrayOutput) Index ¶
func (o GetInstanceRootBlockDeviceArrayOutput) Index(i pulumi.IntInput) GetInstanceRootBlockDeviceOutput
func (GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutput ¶
func (o GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutput() GetInstanceRootBlockDeviceArrayOutput
func (GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutputWithContext ¶
func (o GetInstanceRootBlockDeviceArrayOutput) ToGetInstanceRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceArrayOutput
type GetInstanceRootBlockDeviceInput ¶
type GetInstanceRootBlockDeviceInput interface {
pulumi.Input
ToGetInstanceRootBlockDeviceOutput() GetInstanceRootBlockDeviceOutput
ToGetInstanceRootBlockDeviceOutputWithContext(context.Context) GetInstanceRootBlockDeviceOutput
}
GetInstanceRootBlockDeviceInput is an input type that accepts GetInstanceRootBlockDeviceArgs and GetInstanceRootBlockDeviceOutput values. You can construct a concrete instance of `GetInstanceRootBlockDeviceInput` via:
GetInstanceRootBlockDeviceArgs{...}
type GetInstanceRootBlockDeviceOutput ¶
type GetInstanceRootBlockDeviceOutput struct{ *pulumi.OutputState }
func (GetInstanceRootBlockDeviceOutput) DeleteOnTermination ¶
func (o GetInstanceRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput
If the root block device will be deleted on termination.
func (GetInstanceRootBlockDeviceOutput) DeviceName ¶
func (o GetInstanceRootBlockDeviceOutput) DeviceName() pulumi.StringOutput
The physical name of the device.
func (GetInstanceRootBlockDeviceOutput) ElementType ¶
func (GetInstanceRootBlockDeviceOutput) ElementType() reflect.Type
func (GetInstanceRootBlockDeviceOutput) Encrypted ¶
func (o GetInstanceRootBlockDeviceOutput) Encrypted() pulumi.BoolOutput
If the EBS volume is encrypted.
func (GetInstanceRootBlockDeviceOutput) Iops ¶
func (o GetInstanceRootBlockDeviceOutput) Iops() pulumi.IntOutput
`0` If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
func (GetInstanceRootBlockDeviceOutput) KmsKeyId ¶
func (o GetInstanceRootBlockDeviceOutput) KmsKeyId() pulumi.StringOutput
func (GetInstanceRootBlockDeviceOutput) Tags ¶
func (o GetInstanceRootBlockDeviceOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the Instance.
func (GetInstanceRootBlockDeviceOutput) Throughput ¶
func (o GetInstanceRootBlockDeviceOutput) Throughput() pulumi.IntOutput
The throughput of the volume, in MiB/s.
func (GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutput ¶
func (o GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutput() GetInstanceRootBlockDeviceOutput
func (GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutputWithContext ¶
func (o GetInstanceRootBlockDeviceOutput) ToGetInstanceRootBlockDeviceOutputWithContext(ctx context.Context) GetInstanceRootBlockDeviceOutput
func (GetInstanceRootBlockDeviceOutput) VolumeId ¶
func (o GetInstanceRootBlockDeviceOutput) VolumeId() pulumi.StringOutput
func (GetInstanceRootBlockDeviceOutput) VolumeSize ¶
func (o GetInstanceRootBlockDeviceOutput) VolumeSize() pulumi.IntOutput
The size of the volume, in GiB.
func (GetInstanceRootBlockDeviceOutput) VolumeType ¶
func (o GetInstanceRootBlockDeviceOutput) VolumeType() pulumi.StringOutput
The type of the volume.
type GetInstanceTypeArgs ¶
type GetInstanceTypeArgs struct {
// The default number of cores for the instance type.
DefaultCores *int `pulumi:"defaultCores"`
// The default number of threads per core for the instance type.
DefaultThreadsPerCore *int `pulumi:"defaultThreadsPerCore"`
// Describes the FPGA accelerator settings for the instance type.
// * `fpgas.#.count` - The count of FPGA accelerators for the instance type.
// * `fpgas.#.manufacturer` - The manufacturer of the FPGA accelerator.
// * `fpgas.#.memory_size` - The size (in MiB) for the memory available to the FPGA accelerator.
// * `fpgas.#.name` - The name of the FPGA accelerator.
Fpgas []GetInstanceTypeFpga `pulumi:"fpgas"`
// Describes the GPU accelerators for the instance type.
// * `gpus.#.count` - The number of GPUs for the instance type.
// * `gpus.#.manufacturer` - The manufacturer of the GPU accelerator.
// * `gpus.#.memory_size` - The size (in MiB) for the memory available to the GPU accelerator.
// * `gpus.#.name` - The name of the GPU accelerator.
Gpuses []GetInstanceTypeGpus `pulumi:"gpuses"`
// Indicates the hypervisor used for the instance type.
// * `inferenceAccelerators` Describes the Inference accelerators for the instance type.
// * `inference_accelerators.#.count` - The number of Inference accelerators for the instance type.
// * `inference_accelerators.#.manufacturer` - The manufacturer of the Inference accelerator.
// * `inference_accelerators.#.name` - The name of the Inference accelerator.
Hypervisor *string `pulumi:"hypervisor"`
InferenceAccelerators []GetInstanceTypeInferenceAccelerator `pulumi:"inferenceAccelerators"`
// Describes the disks for the instance type.
// * `instance_disks.#.count` - The number of disks with this configuration.
// * `instance_disks.#.size` - The size of the disk in GB.
// * `instance_disks.#.type` - The type of disk.
InstanceDisks []GetInstanceTypeInstanceDisk `pulumi:"instanceDisks"`
// Instance
InstanceType string `pulumi:"instanceType"`
// The maximum number of IPv6 addresses per network interface.
MaximumIpv6AddressesPerInterface *int `pulumi:"maximumIpv6AddressesPerInterface"`
// The total memory of all FPGA accelerators for the instance type (in MiB).
TotalFpgaMemory *int `pulumi:"totalFpgaMemory"`
// The total size of the memory for the GPU accelerators for the instance type (in MiB).
TotalGpuMemory *int `pulumi:"totalGpuMemory"`
// The total size of the instance disks, in GB.
TotalInstanceStorage *int `pulumi:"totalInstanceStorage"`
}
A collection of arguments for invoking getInstanceType.
type GetInstanceTypeFpga ¶
type GetInstanceTypeFpgaArgs ¶
type GetInstanceTypeFpgaArgs struct {
Count pulumi.IntInput `pulumi:"count"`
Manufacturer pulumi.StringInput `pulumi:"manufacturer"`
// Size of the instance memory, in MiB.
MemorySize pulumi.IntInput `pulumi:"memorySize"`
Name pulumi.StringInput `pulumi:"name"`
}
func (GetInstanceTypeFpgaArgs) ElementType ¶
func (GetInstanceTypeFpgaArgs) ElementType() reflect.Type
func (GetInstanceTypeFpgaArgs) ToGetInstanceTypeFpgaOutput ¶
func (i GetInstanceTypeFpgaArgs) ToGetInstanceTypeFpgaOutput() GetInstanceTypeFpgaOutput
func (GetInstanceTypeFpgaArgs) ToGetInstanceTypeFpgaOutputWithContext ¶
func (i GetInstanceTypeFpgaArgs) ToGetInstanceTypeFpgaOutputWithContext(ctx context.Context) GetInstanceTypeFpgaOutput
type GetInstanceTypeFpgaArray ¶
type GetInstanceTypeFpgaArray []GetInstanceTypeFpgaInput
func (GetInstanceTypeFpgaArray) ElementType ¶
func (GetInstanceTypeFpgaArray) ElementType() reflect.Type
func (GetInstanceTypeFpgaArray) ToGetInstanceTypeFpgaArrayOutput ¶
func (i GetInstanceTypeFpgaArray) ToGetInstanceTypeFpgaArrayOutput() GetInstanceTypeFpgaArrayOutput
func (GetInstanceTypeFpgaArray) ToGetInstanceTypeFpgaArrayOutputWithContext ¶
func (i GetInstanceTypeFpgaArray) ToGetInstanceTypeFpgaArrayOutputWithContext(ctx context.Context) GetInstanceTypeFpgaArrayOutput
type GetInstanceTypeFpgaArrayInput ¶
type GetInstanceTypeFpgaArrayInput interface {
pulumi.Input
ToGetInstanceTypeFpgaArrayOutput() GetInstanceTypeFpgaArrayOutput
ToGetInstanceTypeFpgaArrayOutputWithContext(context.Context) GetInstanceTypeFpgaArrayOutput
}
GetInstanceTypeFpgaArrayInput is an input type that accepts GetInstanceTypeFpgaArray and GetInstanceTypeFpgaArrayOutput values. You can construct a concrete instance of `GetInstanceTypeFpgaArrayInput` via:
GetInstanceTypeFpgaArray{ GetInstanceTypeFpgaArgs{...} }
type GetInstanceTypeFpgaArrayOutput ¶
type GetInstanceTypeFpgaArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeFpgaArrayOutput) ElementType ¶
func (GetInstanceTypeFpgaArrayOutput) ElementType() reflect.Type
func (GetInstanceTypeFpgaArrayOutput) Index ¶
func (o GetInstanceTypeFpgaArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeFpgaOutput
func (GetInstanceTypeFpgaArrayOutput) ToGetInstanceTypeFpgaArrayOutput ¶
func (o GetInstanceTypeFpgaArrayOutput) ToGetInstanceTypeFpgaArrayOutput() GetInstanceTypeFpgaArrayOutput
func (GetInstanceTypeFpgaArrayOutput) ToGetInstanceTypeFpgaArrayOutputWithContext ¶
func (o GetInstanceTypeFpgaArrayOutput) ToGetInstanceTypeFpgaArrayOutputWithContext(ctx context.Context) GetInstanceTypeFpgaArrayOutput
type GetInstanceTypeFpgaInput ¶
type GetInstanceTypeFpgaInput interface {
pulumi.Input
ToGetInstanceTypeFpgaOutput() GetInstanceTypeFpgaOutput
ToGetInstanceTypeFpgaOutputWithContext(context.Context) GetInstanceTypeFpgaOutput
}
GetInstanceTypeFpgaInput is an input type that accepts GetInstanceTypeFpgaArgs and GetInstanceTypeFpgaOutput values. You can construct a concrete instance of `GetInstanceTypeFpgaInput` via:
GetInstanceTypeFpgaArgs{...}
type GetInstanceTypeFpgaOutput ¶
type GetInstanceTypeFpgaOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeFpgaOutput) Count ¶
func (o GetInstanceTypeFpgaOutput) Count() pulumi.IntOutput
func (GetInstanceTypeFpgaOutput) ElementType ¶
func (GetInstanceTypeFpgaOutput) ElementType() reflect.Type
func (GetInstanceTypeFpgaOutput) Manufacturer ¶
func (o GetInstanceTypeFpgaOutput) Manufacturer() pulumi.StringOutput
func (GetInstanceTypeFpgaOutput) MemorySize ¶
func (o GetInstanceTypeFpgaOutput) MemorySize() pulumi.IntOutput
Size of the instance memory, in MiB.
func (GetInstanceTypeFpgaOutput) Name ¶
func (o GetInstanceTypeFpgaOutput) Name() pulumi.StringOutput
func (GetInstanceTypeFpgaOutput) ToGetInstanceTypeFpgaOutput ¶
func (o GetInstanceTypeFpgaOutput) ToGetInstanceTypeFpgaOutput() GetInstanceTypeFpgaOutput
func (GetInstanceTypeFpgaOutput) ToGetInstanceTypeFpgaOutputWithContext ¶
func (o GetInstanceTypeFpgaOutput) ToGetInstanceTypeFpgaOutputWithContext(ctx context.Context) GetInstanceTypeFpgaOutput
type GetInstanceTypeGpus ¶
type GetInstanceTypeGpusArgs ¶
type GetInstanceTypeGpusArgs struct {
Count pulumi.IntInput `pulumi:"count"`
Manufacturer pulumi.StringInput `pulumi:"manufacturer"`
// Size of the instance memory, in MiB.
MemorySize pulumi.IntInput `pulumi:"memorySize"`
Name pulumi.StringInput `pulumi:"name"`
}
func (GetInstanceTypeGpusArgs) ElementType ¶
func (GetInstanceTypeGpusArgs) ElementType() reflect.Type
func (GetInstanceTypeGpusArgs) ToGetInstanceTypeGpusOutput ¶
func (i GetInstanceTypeGpusArgs) ToGetInstanceTypeGpusOutput() GetInstanceTypeGpusOutput
func (GetInstanceTypeGpusArgs) ToGetInstanceTypeGpusOutputWithContext ¶
func (i GetInstanceTypeGpusArgs) ToGetInstanceTypeGpusOutputWithContext(ctx context.Context) GetInstanceTypeGpusOutput
type GetInstanceTypeGpusArray ¶
type GetInstanceTypeGpusArray []GetInstanceTypeGpusInput
func (GetInstanceTypeGpusArray) ElementType ¶
func (GetInstanceTypeGpusArray) ElementType() reflect.Type
func (GetInstanceTypeGpusArray) ToGetInstanceTypeGpusArrayOutput ¶
func (i GetInstanceTypeGpusArray) ToGetInstanceTypeGpusArrayOutput() GetInstanceTypeGpusArrayOutput
func (GetInstanceTypeGpusArray) ToGetInstanceTypeGpusArrayOutputWithContext ¶
func (i GetInstanceTypeGpusArray) ToGetInstanceTypeGpusArrayOutputWithContext(ctx context.Context) GetInstanceTypeGpusArrayOutput
type GetInstanceTypeGpusArrayInput ¶
type GetInstanceTypeGpusArrayInput interface {
pulumi.Input
ToGetInstanceTypeGpusArrayOutput() GetInstanceTypeGpusArrayOutput
ToGetInstanceTypeGpusArrayOutputWithContext(context.Context) GetInstanceTypeGpusArrayOutput
}
GetInstanceTypeGpusArrayInput is an input type that accepts GetInstanceTypeGpusArray and GetInstanceTypeGpusArrayOutput values. You can construct a concrete instance of `GetInstanceTypeGpusArrayInput` via:
GetInstanceTypeGpusArray{ GetInstanceTypeGpusArgs{...} }
type GetInstanceTypeGpusArrayOutput ¶
type GetInstanceTypeGpusArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeGpusArrayOutput) ElementType ¶
func (GetInstanceTypeGpusArrayOutput) ElementType() reflect.Type
func (GetInstanceTypeGpusArrayOutput) Index ¶
func (o GetInstanceTypeGpusArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeGpusOutput
func (GetInstanceTypeGpusArrayOutput) ToGetInstanceTypeGpusArrayOutput ¶
func (o GetInstanceTypeGpusArrayOutput) ToGetInstanceTypeGpusArrayOutput() GetInstanceTypeGpusArrayOutput
func (GetInstanceTypeGpusArrayOutput) ToGetInstanceTypeGpusArrayOutputWithContext ¶
func (o GetInstanceTypeGpusArrayOutput) ToGetInstanceTypeGpusArrayOutputWithContext(ctx context.Context) GetInstanceTypeGpusArrayOutput
type GetInstanceTypeGpusInput ¶
type GetInstanceTypeGpusInput interface {
pulumi.Input
ToGetInstanceTypeGpusOutput() GetInstanceTypeGpusOutput
ToGetInstanceTypeGpusOutputWithContext(context.Context) GetInstanceTypeGpusOutput
}
GetInstanceTypeGpusInput is an input type that accepts GetInstanceTypeGpusArgs and GetInstanceTypeGpusOutput values. You can construct a concrete instance of `GetInstanceTypeGpusInput` via:
GetInstanceTypeGpusArgs{...}
type GetInstanceTypeGpusOutput ¶
type GetInstanceTypeGpusOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeGpusOutput) Count ¶
func (o GetInstanceTypeGpusOutput) Count() pulumi.IntOutput
func (GetInstanceTypeGpusOutput) ElementType ¶
func (GetInstanceTypeGpusOutput) ElementType() reflect.Type
func (GetInstanceTypeGpusOutput) Manufacturer ¶
func (o GetInstanceTypeGpusOutput) Manufacturer() pulumi.StringOutput
func (GetInstanceTypeGpusOutput) MemorySize ¶
func (o GetInstanceTypeGpusOutput) MemorySize() pulumi.IntOutput
Size of the instance memory, in MiB.
func (GetInstanceTypeGpusOutput) Name ¶
func (o GetInstanceTypeGpusOutput) Name() pulumi.StringOutput
func (GetInstanceTypeGpusOutput) ToGetInstanceTypeGpusOutput ¶
func (o GetInstanceTypeGpusOutput) ToGetInstanceTypeGpusOutput() GetInstanceTypeGpusOutput
func (GetInstanceTypeGpusOutput) ToGetInstanceTypeGpusOutputWithContext ¶
func (o GetInstanceTypeGpusOutput) ToGetInstanceTypeGpusOutputWithContext(ctx context.Context) GetInstanceTypeGpusOutput
type GetInstanceTypeInferenceAcceleratorArgs ¶
type GetInstanceTypeInferenceAcceleratorArgs struct {
Count pulumi.IntInput `pulumi:"count"`
Manufacturer pulumi.StringInput `pulumi:"manufacturer"`
Name pulumi.StringInput `pulumi:"name"`
}
func (GetInstanceTypeInferenceAcceleratorArgs) ElementType ¶
func (GetInstanceTypeInferenceAcceleratorArgs) ElementType() reflect.Type
func (GetInstanceTypeInferenceAcceleratorArgs) ToGetInstanceTypeInferenceAcceleratorOutput ¶
func (i GetInstanceTypeInferenceAcceleratorArgs) ToGetInstanceTypeInferenceAcceleratorOutput() GetInstanceTypeInferenceAcceleratorOutput
func (GetInstanceTypeInferenceAcceleratorArgs) ToGetInstanceTypeInferenceAcceleratorOutputWithContext ¶
func (i GetInstanceTypeInferenceAcceleratorArgs) ToGetInstanceTypeInferenceAcceleratorOutputWithContext(ctx context.Context) GetInstanceTypeInferenceAcceleratorOutput
type GetInstanceTypeInferenceAcceleratorArray ¶
type GetInstanceTypeInferenceAcceleratorArray []GetInstanceTypeInferenceAcceleratorInput
func (GetInstanceTypeInferenceAcceleratorArray) ElementType ¶
func (GetInstanceTypeInferenceAcceleratorArray) ElementType() reflect.Type
func (GetInstanceTypeInferenceAcceleratorArray) ToGetInstanceTypeInferenceAcceleratorArrayOutput ¶
func (i GetInstanceTypeInferenceAcceleratorArray) ToGetInstanceTypeInferenceAcceleratorArrayOutput() GetInstanceTypeInferenceAcceleratorArrayOutput
func (GetInstanceTypeInferenceAcceleratorArray) ToGetInstanceTypeInferenceAcceleratorArrayOutputWithContext ¶
func (i GetInstanceTypeInferenceAcceleratorArray) ToGetInstanceTypeInferenceAcceleratorArrayOutputWithContext(ctx context.Context) GetInstanceTypeInferenceAcceleratorArrayOutput
type GetInstanceTypeInferenceAcceleratorArrayInput ¶
type GetInstanceTypeInferenceAcceleratorArrayInput interface {
pulumi.Input
ToGetInstanceTypeInferenceAcceleratorArrayOutput() GetInstanceTypeInferenceAcceleratorArrayOutput
ToGetInstanceTypeInferenceAcceleratorArrayOutputWithContext(context.Context) GetInstanceTypeInferenceAcceleratorArrayOutput
}
GetInstanceTypeInferenceAcceleratorArrayInput is an input type that accepts GetInstanceTypeInferenceAcceleratorArray and GetInstanceTypeInferenceAcceleratorArrayOutput values. You can construct a concrete instance of `GetInstanceTypeInferenceAcceleratorArrayInput` via:
GetInstanceTypeInferenceAcceleratorArray{ GetInstanceTypeInferenceAcceleratorArgs{...} }
type GetInstanceTypeInferenceAcceleratorArrayOutput ¶
type GetInstanceTypeInferenceAcceleratorArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeInferenceAcceleratorArrayOutput) ElementType ¶
func (GetInstanceTypeInferenceAcceleratorArrayOutput) ElementType() reflect.Type
func (GetInstanceTypeInferenceAcceleratorArrayOutput) ToGetInstanceTypeInferenceAcceleratorArrayOutput ¶
func (o GetInstanceTypeInferenceAcceleratorArrayOutput) ToGetInstanceTypeInferenceAcceleratorArrayOutput() GetInstanceTypeInferenceAcceleratorArrayOutput
func (GetInstanceTypeInferenceAcceleratorArrayOutput) ToGetInstanceTypeInferenceAcceleratorArrayOutputWithContext ¶
func (o GetInstanceTypeInferenceAcceleratorArrayOutput) ToGetInstanceTypeInferenceAcceleratorArrayOutputWithContext(ctx context.Context) GetInstanceTypeInferenceAcceleratorArrayOutput
type GetInstanceTypeInferenceAcceleratorInput ¶
type GetInstanceTypeInferenceAcceleratorInput interface {
pulumi.Input
ToGetInstanceTypeInferenceAcceleratorOutput() GetInstanceTypeInferenceAcceleratorOutput
ToGetInstanceTypeInferenceAcceleratorOutputWithContext(context.Context) GetInstanceTypeInferenceAcceleratorOutput
}
GetInstanceTypeInferenceAcceleratorInput is an input type that accepts GetInstanceTypeInferenceAcceleratorArgs and GetInstanceTypeInferenceAcceleratorOutput values. You can construct a concrete instance of `GetInstanceTypeInferenceAcceleratorInput` via:
GetInstanceTypeInferenceAcceleratorArgs{...}
type GetInstanceTypeInferenceAcceleratorOutput ¶
type GetInstanceTypeInferenceAcceleratorOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeInferenceAcceleratorOutput) Count ¶
func (o GetInstanceTypeInferenceAcceleratorOutput) Count() pulumi.IntOutput
func (GetInstanceTypeInferenceAcceleratorOutput) ElementType ¶
func (GetInstanceTypeInferenceAcceleratorOutput) ElementType() reflect.Type
func (GetInstanceTypeInferenceAcceleratorOutput) Manufacturer ¶
func (o GetInstanceTypeInferenceAcceleratorOutput) Manufacturer() pulumi.StringOutput
func (GetInstanceTypeInferenceAcceleratorOutput) Name ¶
func (o GetInstanceTypeInferenceAcceleratorOutput) Name() pulumi.StringOutput
func (GetInstanceTypeInferenceAcceleratorOutput) ToGetInstanceTypeInferenceAcceleratorOutput ¶
func (o GetInstanceTypeInferenceAcceleratorOutput) ToGetInstanceTypeInferenceAcceleratorOutput() GetInstanceTypeInferenceAcceleratorOutput
func (GetInstanceTypeInferenceAcceleratorOutput) ToGetInstanceTypeInferenceAcceleratorOutputWithContext ¶
func (o GetInstanceTypeInferenceAcceleratorOutput) ToGetInstanceTypeInferenceAcceleratorOutputWithContext(ctx context.Context) GetInstanceTypeInferenceAcceleratorOutput
type GetInstanceTypeInstanceDiskArgs ¶
type GetInstanceTypeInstanceDiskArgs struct {
Count pulumi.IntInput `pulumi:"count"`
Size pulumi.IntInput `pulumi:"size"`
Type pulumi.StringInput `pulumi:"type"`
}
func (GetInstanceTypeInstanceDiskArgs) ElementType ¶
func (GetInstanceTypeInstanceDiskArgs) ElementType() reflect.Type
func (GetInstanceTypeInstanceDiskArgs) ToGetInstanceTypeInstanceDiskOutput ¶
func (i GetInstanceTypeInstanceDiskArgs) ToGetInstanceTypeInstanceDiskOutput() GetInstanceTypeInstanceDiskOutput
func (GetInstanceTypeInstanceDiskArgs) ToGetInstanceTypeInstanceDiskOutputWithContext ¶
func (i GetInstanceTypeInstanceDiskArgs) ToGetInstanceTypeInstanceDiskOutputWithContext(ctx context.Context) GetInstanceTypeInstanceDiskOutput
type GetInstanceTypeInstanceDiskArray ¶
type GetInstanceTypeInstanceDiskArray []GetInstanceTypeInstanceDiskInput
func (GetInstanceTypeInstanceDiskArray) ElementType ¶
func (GetInstanceTypeInstanceDiskArray) ElementType() reflect.Type
func (GetInstanceTypeInstanceDiskArray) ToGetInstanceTypeInstanceDiskArrayOutput ¶
func (i GetInstanceTypeInstanceDiskArray) ToGetInstanceTypeInstanceDiskArrayOutput() GetInstanceTypeInstanceDiskArrayOutput
func (GetInstanceTypeInstanceDiskArray) ToGetInstanceTypeInstanceDiskArrayOutputWithContext ¶
func (i GetInstanceTypeInstanceDiskArray) ToGetInstanceTypeInstanceDiskArrayOutputWithContext(ctx context.Context) GetInstanceTypeInstanceDiskArrayOutput
type GetInstanceTypeInstanceDiskArrayInput ¶
type GetInstanceTypeInstanceDiskArrayInput interface {
pulumi.Input
ToGetInstanceTypeInstanceDiskArrayOutput() GetInstanceTypeInstanceDiskArrayOutput
ToGetInstanceTypeInstanceDiskArrayOutputWithContext(context.Context) GetInstanceTypeInstanceDiskArrayOutput
}
GetInstanceTypeInstanceDiskArrayInput is an input type that accepts GetInstanceTypeInstanceDiskArray and GetInstanceTypeInstanceDiskArrayOutput values. You can construct a concrete instance of `GetInstanceTypeInstanceDiskArrayInput` via:
GetInstanceTypeInstanceDiskArray{ GetInstanceTypeInstanceDiskArgs{...} }
type GetInstanceTypeInstanceDiskArrayOutput ¶
type GetInstanceTypeInstanceDiskArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeInstanceDiskArrayOutput) ElementType ¶
func (GetInstanceTypeInstanceDiskArrayOutput) ElementType() reflect.Type
func (GetInstanceTypeInstanceDiskArrayOutput) ToGetInstanceTypeInstanceDiskArrayOutput ¶
func (o GetInstanceTypeInstanceDiskArrayOutput) ToGetInstanceTypeInstanceDiskArrayOutput() GetInstanceTypeInstanceDiskArrayOutput
func (GetInstanceTypeInstanceDiskArrayOutput) ToGetInstanceTypeInstanceDiskArrayOutputWithContext ¶
func (o GetInstanceTypeInstanceDiskArrayOutput) ToGetInstanceTypeInstanceDiskArrayOutputWithContext(ctx context.Context) GetInstanceTypeInstanceDiskArrayOutput
type GetInstanceTypeInstanceDiskInput ¶
type GetInstanceTypeInstanceDiskInput interface {
pulumi.Input
ToGetInstanceTypeInstanceDiskOutput() GetInstanceTypeInstanceDiskOutput
ToGetInstanceTypeInstanceDiskOutputWithContext(context.Context) GetInstanceTypeInstanceDiskOutput
}
GetInstanceTypeInstanceDiskInput is an input type that accepts GetInstanceTypeInstanceDiskArgs and GetInstanceTypeInstanceDiskOutput values. You can construct a concrete instance of `GetInstanceTypeInstanceDiskInput` via:
GetInstanceTypeInstanceDiskArgs{...}
type GetInstanceTypeInstanceDiskOutput ¶
type GetInstanceTypeInstanceDiskOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeInstanceDiskOutput) Count ¶
func (o GetInstanceTypeInstanceDiskOutput) Count() pulumi.IntOutput
func (GetInstanceTypeInstanceDiskOutput) ElementType ¶
func (GetInstanceTypeInstanceDiskOutput) ElementType() reflect.Type
func (GetInstanceTypeInstanceDiskOutput) Size ¶
func (o GetInstanceTypeInstanceDiskOutput) Size() pulumi.IntOutput
func (GetInstanceTypeInstanceDiskOutput) ToGetInstanceTypeInstanceDiskOutput ¶
func (o GetInstanceTypeInstanceDiskOutput) ToGetInstanceTypeInstanceDiskOutput() GetInstanceTypeInstanceDiskOutput
func (GetInstanceTypeInstanceDiskOutput) ToGetInstanceTypeInstanceDiskOutputWithContext ¶
func (o GetInstanceTypeInstanceDiskOutput) ToGetInstanceTypeInstanceDiskOutputWithContext(ctx context.Context) GetInstanceTypeInstanceDiskOutput
func (GetInstanceTypeInstanceDiskOutput) Type ¶
func (o GetInstanceTypeInstanceDiskOutput) Type() pulumi.StringOutput
type GetInstanceTypeOfferingArgs ¶
type GetInstanceTypeOfferingArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceTypeOfferings.html) for supported filters. Detailed below.
Filters []GetInstanceTypeOfferingFilter `pulumi:"filters"`
// Location type. Defaults to `region`. Valid values: `availability-zone`, `availability-zone-id`, and `region`.
LocationType *string `pulumi:"locationType"`
// Ordered list of preferred EC2 Instance Types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned.
PreferredInstanceTypes []string `pulumi:"preferredInstanceTypes"`
}
A collection of arguments for invoking getInstanceTypeOffering.
type GetInstanceTypeOfferingFilter ¶
type GetInstanceTypeOfferingFilter struct {
// Name of the filter. The `location` filter depends on the top-level `locationType` argument and if not specified, defaults to the current region.
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
type GetInstanceTypeOfferingFilterArgs ¶
type GetInstanceTypeOfferingFilterArgs struct {
// Name of the filter. The `location` filter depends on the top-level `locationType` argument and if not specified, defaults to the current region.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetInstanceTypeOfferingFilterArgs) ElementType ¶
func (GetInstanceTypeOfferingFilterArgs) ElementType() reflect.Type
func (GetInstanceTypeOfferingFilterArgs) ToGetInstanceTypeOfferingFilterOutput ¶
func (i GetInstanceTypeOfferingFilterArgs) ToGetInstanceTypeOfferingFilterOutput() GetInstanceTypeOfferingFilterOutput
func (GetInstanceTypeOfferingFilterArgs) ToGetInstanceTypeOfferingFilterOutputWithContext ¶
func (i GetInstanceTypeOfferingFilterArgs) ToGetInstanceTypeOfferingFilterOutputWithContext(ctx context.Context) GetInstanceTypeOfferingFilterOutput
type GetInstanceTypeOfferingFilterArray ¶
type GetInstanceTypeOfferingFilterArray []GetInstanceTypeOfferingFilterInput
func (GetInstanceTypeOfferingFilterArray) ElementType ¶
func (GetInstanceTypeOfferingFilterArray) ElementType() reflect.Type
func (GetInstanceTypeOfferingFilterArray) ToGetInstanceTypeOfferingFilterArrayOutput ¶
func (i GetInstanceTypeOfferingFilterArray) ToGetInstanceTypeOfferingFilterArrayOutput() GetInstanceTypeOfferingFilterArrayOutput
func (GetInstanceTypeOfferingFilterArray) ToGetInstanceTypeOfferingFilterArrayOutputWithContext ¶
func (i GetInstanceTypeOfferingFilterArray) ToGetInstanceTypeOfferingFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypeOfferingFilterArrayOutput
type GetInstanceTypeOfferingFilterArrayInput ¶
type GetInstanceTypeOfferingFilterArrayInput interface {
pulumi.Input
ToGetInstanceTypeOfferingFilterArrayOutput() GetInstanceTypeOfferingFilterArrayOutput
ToGetInstanceTypeOfferingFilterArrayOutputWithContext(context.Context) GetInstanceTypeOfferingFilterArrayOutput
}
GetInstanceTypeOfferingFilterArrayInput is an input type that accepts GetInstanceTypeOfferingFilterArray and GetInstanceTypeOfferingFilterArrayOutput values. You can construct a concrete instance of `GetInstanceTypeOfferingFilterArrayInput` via:
GetInstanceTypeOfferingFilterArray{ GetInstanceTypeOfferingFilterArgs{...} }
type GetInstanceTypeOfferingFilterArrayOutput ¶
type GetInstanceTypeOfferingFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeOfferingFilterArrayOutput) ElementType ¶
func (GetInstanceTypeOfferingFilterArrayOutput) ElementType() reflect.Type
func (GetInstanceTypeOfferingFilterArrayOutput) ToGetInstanceTypeOfferingFilterArrayOutput ¶
func (o GetInstanceTypeOfferingFilterArrayOutput) ToGetInstanceTypeOfferingFilterArrayOutput() GetInstanceTypeOfferingFilterArrayOutput
func (GetInstanceTypeOfferingFilterArrayOutput) ToGetInstanceTypeOfferingFilterArrayOutputWithContext ¶
func (o GetInstanceTypeOfferingFilterArrayOutput) ToGetInstanceTypeOfferingFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypeOfferingFilterArrayOutput
type GetInstanceTypeOfferingFilterInput ¶
type GetInstanceTypeOfferingFilterInput interface {
pulumi.Input
ToGetInstanceTypeOfferingFilterOutput() GetInstanceTypeOfferingFilterOutput
ToGetInstanceTypeOfferingFilterOutputWithContext(context.Context) GetInstanceTypeOfferingFilterOutput
}
GetInstanceTypeOfferingFilterInput is an input type that accepts GetInstanceTypeOfferingFilterArgs and GetInstanceTypeOfferingFilterOutput values. You can construct a concrete instance of `GetInstanceTypeOfferingFilterInput` via:
GetInstanceTypeOfferingFilterArgs{...}
type GetInstanceTypeOfferingFilterOutput ¶
type GetInstanceTypeOfferingFilterOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeOfferingFilterOutput) ElementType ¶
func (GetInstanceTypeOfferingFilterOutput) ElementType() reflect.Type
func (GetInstanceTypeOfferingFilterOutput) Name ¶
func (o GetInstanceTypeOfferingFilterOutput) Name() pulumi.StringOutput
Name of the filter. The `location` filter depends on the top-level `locationType` argument and if not specified, defaults to the current region.
func (GetInstanceTypeOfferingFilterOutput) ToGetInstanceTypeOfferingFilterOutput ¶
func (o GetInstanceTypeOfferingFilterOutput) ToGetInstanceTypeOfferingFilterOutput() GetInstanceTypeOfferingFilterOutput
func (GetInstanceTypeOfferingFilterOutput) ToGetInstanceTypeOfferingFilterOutputWithContext ¶
func (o GetInstanceTypeOfferingFilterOutput) ToGetInstanceTypeOfferingFilterOutputWithContext(ctx context.Context) GetInstanceTypeOfferingFilterOutput
func (GetInstanceTypeOfferingFilterOutput) Values ¶
func (o GetInstanceTypeOfferingFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetInstanceTypeOfferingOutputArgs ¶
type GetInstanceTypeOfferingOutputArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceTypeOfferings.html) for supported filters. Detailed below.
Filters GetInstanceTypeOfferingFilterArrayInput `pulumi:"filters"`
// Location type. Defaults to `region`. Valid values: `availability-zone`, `availability-zone-id`, and `region`.
LocationType pulumi.StringPtrInput `pulumi:"locationType"`
// Ordered list of preferred EC2 Instance Types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned.
PreferredInstanceTypes pulumi.StringArrayInput `pulumi:"preferredInstanceTypes"`
}
A collection of arguments for invoking getInstanceTypeOffering.
func (GetInstanceTypeOfferingOutputArgs) ElementType ¶
func (GetInstanceTypeOfferingOutputArgs) ElementType() reflect.Type
type GetInstanceTypeOfferingResult ¶
type GetInstanceTypeOfferingResult struct {
Filters []GetInstanceTypeOfferingFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// EC2 Instance Type.
InstanceType string `pulumi:"instanceType"`
LocationType *string `pulumi:"locationType"`
PreferredInstanceTypes []string `pulumi:"preferredInstanceTypes"`
}
A collection of values returned by getInstanceTypeOffering.
func GetInstanceTypeOffering ¶
func GetInstanceTypeOffering(ctx *pulumi.Context, args *GetInstanceTypeOfferingArgs, opts ...pulumi.InvokeOption) (*GetInstanceTypeOfferingResult, error)
Information about single EC2 Instance Type Offering.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetInstanceTypeOffering(ctx, &ec2.GetInstanceTypeOfferingArgs{
Filters: []ec2.GetInstanceTypeOfferingFilter{
ec2.GetInstanceTypeOfferingFilter{
Name: "instance-type",
Values: []string{
"t2.micro",
"t3.micro",
},
},
},
PreferredInstanceTypes: []string{
"t3.micro",
"t2.micro",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetInstanceTypeOfferingResultOutput ¶
type GetInstanceTypeOfferingResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstanceTypeOffering.
func GetInstanceTypeOfferingOutput ¶
func GetInstanceTypeOfferingOutput(ctx *pulumi.Context, args GetInstanceTypeOfferingOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypeOfferingResultOutput
func (GetInstanceTypeOfferingResultOutput) ElementType ¶
func (GetInstanceTypeOfferingResultOutput) ElementType() reflect.Type
func (GetInstanceTypeOfferingResultOutput) Filters ¶
func (o GetInstanceTypeOfferingResultOutput) Filters() GetInstanceTypeOfferingFilterArrayOutput
func (GetInstanceTypeOfferingResultOutput) Id ¶
func (o GetInstanceTypeOfferingResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstanceTypeOfferingResultOutput) InstanceType ¶
func (o GetInstanceTypeOfferingResultOutput) InstanceType() pulumi.StringOutput
EC2 Instance Type.
func (GetInstanceTypeOfferingResultOutput) LocationType ¶
func (o GetInstanceTypeOfferingResultOutput) LocationType() pulumi.StringPtrOutput
func (GetInstanceTypeOfferingResultOutput) PreferredInstanceTypes ¶
func (o GetInstanceTypeOfferingResultOutput) PreferredInstanceTypes() pulumi.StringArrayOutput
func (GetInstanceTypeOfferingResultOutput) ToGetInstanceTypeOfferingResultOutput ¶
func (o GetInstanceTypeOfferingResultOutput) ToGetInstanceTypeOfferingResultOutput() GetInstanceTypeOfferingResultOutput
func (GetInstanceTypeOfferingResultOutput) ToGetInstanceTypeOfferingResultOutputWithContext ¶
func (o GetInstanceTypeOfferingResultOutput) ToGetInstanceTypeOfferingResultOutputWithContext(ctx context.Context) GetInstanceTypeOfferingResultOutput
type GetInstanceTypeOfferingsArgs ¶
type GetInstanceTypeOfferingsArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceTypeOfferings.html) for supported filters. Detailed below.
Filters []GetInstanceTypeOfferingsFilter `pulumi:"filters"`
// Location type. Defaults to `region`. Valid values: `availability-zone`, `availability-zone-id`, and `region`.
LocationType *string `pulumi:"locationType"`
}
A collection of arguments for invoking getInstanceTypeOfferings.
type GetInstanceTypeOfferingsFilter ¶
type GetInstanceTypeOfferingsFilter struct {
// Name of the filter. The `location` filter depends on the top-level `locationType` argument and if not specified, defaults to the current region.
Name string `pulumi:"name"`
// List of one or more values for the filter.
Values []string `pulumi:"values"`
}
type GetInstanceTypeOfferingsFilterArgs ¶
type GetInstanceTypeOfferingsFilterArgs struct {
// Name of the filter. The `location` filter depends on the top-level `locationType` argument and if not specified, defaults to the current region.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetInstanceTypeOfferingsFilterArgs) ElementType ¶
func (GetInstanceTypeOfferingsFilterArgs) ElementType() reflect.Type
func (GetInstanceTypeOfferingsFilterArgs) ToGetInstanceTypeOfferingsFilterOutput ¶
func (i GetInstanceTypeOfferingsFilterArgs) ToGetInstanceTypeOfferingsFilterOutput() GetInstanceTypeOfferingsFilterOutput
func (GetInstanceTypeOfferingsFilterArgs) ToGetInstanceTypeOfferingsFilterOutputWithContext ¶
func (i GetInstanceTypeOfferingsFilterArgs) ToGetInstanceTypeOfferingsFilterOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsFilterOutput
type GetInstanceTypeOfferingsFilterArray ¶
type GetInstanceTypeOfferingsFilterArray []GetInstanceTypeOfferingsFilterInput
func (GetInstanceTypeOfferingsFilterArray) ElementType ¶
func (GetInstanceTypeOfferingsFilterArray) ElementType() reflect.Type
func (GetInstanceTypeOfferingsFilterArray) ToGetInstanceTypeOfferingsFilterArrayOutput ¶
func (i GetInstanceTypeOfferingsFilterArray) ToGetInstanceTypeOfferingsFilterArrayOutput() GetInstanceTypeOfferingsFilterArrayOutput
func (GetInstanceTypeOfferingsFilterArray) ToGetInstanceTypeOfferingsFilterArrayOutputWithContext ¶
func (i GetInstanceTypeOfferingsFilterArray) ToGetInstanceTypeOfferingsFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsFilterArrayOutput
type GetInstanceTypeOfferingsFilterArrayInput ¶
type GetInstanceTypeOfferingsFilterArrayInput interface {
pulumi.Input
ToGetInstanceTypeOfferingsFilterArrayOutput() GetInstanceTypeOfferingsFilterArrayOutput
ToGetInstanceTypeOfferingsFilterArrayOutputWithContext(context.Context) GetInstanceTypeOfferingsFilterArrayOutput
}
GetInstanceTypeOfferingsFilterArrayInput is an input type that accepts GetInstanceTypeOfferingsFilterArray and GetInstanceTypeOfferingsFilterArrayOutput values. You can construct a concrete instance of `GetInstanceTypeOfferingsFilterArrayInput` via:
GetInstanceTypeOfferingsFilterArray{ GetInstanceTypeOfferingsFilterArgs{...} }
type GetInstanceTypeOfferingsFilterArrayOutput ¶
type GetInstanceTypeOfferingsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeOfferingsFilterArrayOutput) ElementType ¶
func (GetInstanceTypeOfferingsFilterArrayOutput) ElementType() reflect.Type
func (GetInstanceTypeOfferingsFilterArrayOutput) ToGetInstanceTypeOfferingsFilterArrayOutput ¶
func (o GetInstanceTypeOfferingsFilterArrayOutput) ToGetInstanceTypeOfferingsFilterArrayOutput() GetInstanceTypeOfferingsFilterArrayOutput
func (GetInstanceTypeOfferingsFilterArrayOutput) ToGetInstanceTypeOfferingsFilterArrayOutputWithContext ¶
func (o GetInstanceTypeOfferingsFilterArrayOutput) ToGetInstanceTypeOfferingsFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsFilterArrayOutput
type GetInstanceTypeOfferingsFilterInput ¶
type GetInstanceTypeOfferingsFilterInput interface {
pulumi.Input
ToGetInstanceTypeOfferingsFilterOutput() GetInstanceTypeOfferingsFilterOutput
ToGetInstanceTypeOfferingsFilterOutputWithContext(context.Context) GetInstanceTypeOfferingsFilterOutput
}
GetInstanceTypeOfferingsFilterInput is an input type that accepts GetInstanceTypeOfferingsFilterArgs and GetInstanceTypeOfferingsFilterOutput values. You can construct a concrete instance of `GetInstanceTypeOfferingsFilterInput` via:
GetInstanceTypeOfferingsFilterArgs{...}
type GetInstanceTypeOfferingsFilterOutput ¶
type GetInstanceTypeOfferingsFilterOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeOfferingsFilterOutput) ElementType ¶
func (GetInstanceTypeOfferingsFilterOutput) ElementType() reflect.Type
func (GetInstanceTypeOfferingsFilterOutput) Name ¶
func (o GetInstanceTypeOfferingsFilterOutput) Name() pulumi.StringOutput
Name of the filter. The `location` filter depends on the top-level `locationType` argument and if not specified, defaults to the current region.
func (GetInstanceTypeOfferingsFilterOutput) ToGetInstanceTypeOfferingsFilterOutput ¶
func (o GetInstanceTypeOfferingsFilterOutput) ToGetInstanceTypeOfferingsFilterOutput() GetInstanceTypeOfferingsFilterOutput
func (GetInstanceTypeOfferingsFilterOutput) ToGetInstanceTypeOfferingsFilterOutputWithContext ¶
func (o GetInstanceTypeOfferingsFilterOutput) ToGetInstanceTypeOfferingsFilterOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsFilterOutput
func (GetInstanceTypeOfferingsFilterOutput) Values ¶
func (o GetInstanceTypeOfferingsFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetInstanceTypeOfferingsOutputArgs ¶
type GetInstanceTypeOfferingsOutputArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceTypeOfferings.html) for supported filters. Detailed below.
Filters GetInstanceTypeOfferingsFilterArrayInput `pulumi:"filters"`
// Location type. Defaults to `region`. Valid values: `availability-zone`, `availability-zone-id`, and `region`.
LocationType pulumi.StringPtrInput `pulumi:"locationType"`
}
A collection of arguments for invoking getInstanceTypeOfferings.
func (GetInstanceTypeOfferingsOutputArgs) ElementType ¶
func (GetInstanceTypeOfferingsOutputArgs) ElementType() reflect.Type
type GetInstanceTypeOfferingsResult ¶
type GetInstanceTypeOfferingsResult struct {
Filters []GetInstanceTypeOfferingsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// List of EC2 Instance Types.
InstanceTypes []string `pulumi:"instanceTypes"`
LocationType *string `pulumi:"locationType"`
// List of location types.
LocationTypes []string `pulumi:"locationTypes"`
// List of locations.
Locations []string `pulumi:"locations"`
}
A collection of values returned by getInstanceTypeOfferings.
func GetInstanceTypeOfferings ¶
func GetInstanceTypeOfferings(ctx *pulumi.Context, args *GetInstanceTypeOfferingsArgs, opts ...pulumi.InvokeOption) (*GetInstanceTypeOfferingsResult, error)
Information about EC2 Instance Type Offerings.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetInstanceTypeOfferings(ctx, &ec2.GetInstanceTypeOfferingsArgs{
Filters: []ec2.GetInstanceTypeOfferingsFilter{
ec2.GetInstanceTypeOfferingsFilter{
Name: "instance-type",
Values: []string{
"t2.micro",
"t3.micro",
},
},
ec2.GetInstanceTypeOfferingsFilter{
Name: "location",
Values: []string{
"usw2-az4",
},
},
},
LocationType: pulumi.StringRef("availability-zone-id"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetInstanceTypeOfferingsResultOutput ¶
type GetInstanceTypeOfferingsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstanceTypeOfferings.
func GetInstanceTypeOfferingsOutput ¶
func GetInstanceTypeOfferingsOutput(ctx *pulumi.Context, args GetInstanceTypeOfferingsOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypeOfferingsResultOutput
func (GetInstanceTypeOfferingsResultOutput) ElementType ¶
func (GetInstanceTypeOfferingsResultOutput) ElementType() reflect.Type
func (GetInstanceTypeOfferingsResultOutput) Filters ¶
func (o GetInstanceTypeOfferingsResultOutput) Filters() GetInstanceTypeOfferingsFilterArrayOutput
func (GetInstanceTypeOfferingsResultOutput) Id ¶
func (o GetInstanceTypeOfferingsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstanceTypeOfferingsResultOutput) InstanceTypes ¶
func (o GetInstanceTypeOfferingsResultOutput) InstanceTypes() pulumi.StringArrayOutput
List of EC2 Instance Types.
func (GetInstanceTypeOfferingsResultOutput) LocationType ¶
func (o GetInstanceTypeOfferingsResultOutput) LocationType() pulumi.StringPtrOutput
func (GetInstanceTypeOfferingsResultOutput) LocationTypes ¶
func (o GetInstanceTypeOfferingsResultOutput) LocationTypes() pulumi.StringArrayOutput
List of location types.
func (GetInstanceTypeOfferingsResultOutput) Locations ¶
func (o GetInstanceTypeOfferingsResultOutput) Locations() pulumi.StringArrayOutput
List of locations.
func (GetInstanceTypeOfferingsResultOutput) ToGetInstanceTypeOfferingsResultOutput ¶
func (o GetInstanceTypeOfferingsResultOutput) ToGetInstanceTypeOfferingsResultOutput() GetInstanceTypeOfferingsResultOutput
func (GetInstanceTypeOfferingsResultOutput) ToGetInstanceTypeOfferingsResultOutputWithContext ¶
func (o GetInstanceTypeOfferingsResultOutput) ToGetInstanceTypeOfferingsResultOutputWithContext(ctx context.Context) GetInstanceTypeOfferingsResultOutput
type GetInstanceTypeOutputArgs ¶
type GetInstanceTypeOutputArgs struct {
// The default number of cores for the instance type.
DefaultCores pulumi.IntPtrInput `pulumi:"defaultCores"`
// The default number of threads per core for the instance type.
DefaultThreadsPerCore pulumi.IntPtrInput `pulumi:"defaultThreadsPerCore"`
// Describes the FPGA accelerator settings for the instance type.
// * `fpgas.#.count` - The count of FPGA accelerators for the instance type.
// * `fpgas.#.manufacturer` - The manufacturer of the FPGA accelerator.
// * `fpgas.#.memory_size` - The size (in MiB) for the memory available to the FPGA accelerator.
// * `fpgas.#.name` - The name of the FPGA accelerator.
Fpgas GetInstanceTypeFpgaArrayInput `pulumi:"fpgas"`
// Describes the GPU accelerators for the instance type.
// * `gpus.#.count` - The number of GPUs for the instance type.
// * `gpus.#.manufacturer` - The manufacturer of the GPU accelerator.
// * `gpus.#.memory_size` - The size (in MiB) for the memory available to the GPU accelerator.
// * `gpus.#.name` - The name of the GPU accelerator.
Gpuses GetInstanceTypeGpusArrayInput `pulumi:"gpuses"`
// Indicates the hypervisor used for the instance type.
// * `inferenceAccelerators` Describes the Inference accelerators for the instance type.
// * `inference_accelerators.#.count` - The number of Inference accelerators for the instance type.
// * `inference_accelerators.#.manufacturer` - The manufacturer of the Inference accelerator.
// * `inference_accelerators.#.name` - The name of the Inference accelerator.
Hypervisor pulumi.StringPtrInput `pulumi:"hypervisor"`
InferenceAccelerators GetInstanceTypeInferenceAcceleratorArrayInput `pulumi:"inferenceAccelerators"`
// Describes the disks for the instance type.
// * `instance_disks.#.count` - The number of disks with this configuration.
// * `instance_disks.#.size` - The size of the disk in GB.
// * `instance_disks.#.type` - The type of disk.
InstanceDisks GetInstanceTypeInstanceDiskArrayInput `pulumi:"instanceDisks"`
// Instance
InstanceType pulumi.StringInput `pulumi:"instanceType"`
// The maximum number of IPv6 addresses per network interface.
MaximumIpv6AddressesPerInterface pulumi.IntPtrInput `pulumi:"maximumIpv6AddressesPerInterface"`
// The total memory of all FPGA accelerators for the instance type (in MiB).
TotalFpgaMemory pulumi.IntPtrInput `pulumi:"totalFpgaMemory"`
// The total size of the memory for the GPU accelerators for the instance type (in MiB).
TotalGpuMemory pulumi.IntPtrInput `pulumi:"totalGpuMemory"`
// The total size of the instance disks, in GB.
TotalInstanceStorage pulumi.IntPtrInput `pulumi:"totalInstanceStorage"`
}
A collection of arguments for invoking getInstanceType.
func (GetInstanceTypeOutputArgs) ElementType ¶
func (GetInstanceTypeOutputArgs) ElementType() reflect.Type
type GetInstanceTypeResult ¶
type GetInstanceTypeResult struct {
// `true` if auto recovery is supported.
AutoRecoverySupported bool `pulumi:"autoRecoverySupported"`
// `true` if it is a bare metal instance type.
BareMetal bool `pulumi:"bareMetal"`
// `true` if the instance type is a burstable performance instance type.
BurstablePerformanceSupported bool `pulumi:"burstablePerformanceSupported"`
// `true` if the instance type is a current generation.
CurrentGeneration bool `pulumi:"currentGeneration"`
// `true` if Dedicated Hosts are supported on the instance type.
DedicatedHostsSupported bool `pulumi:"dedicatedHostsSupported"`
// The default number of cores for the instance type.
DefaultCores int `pulumi:"defaultCores"`
// The default number of threads per core for the instance type.
DefaultThreadsPerCore int `pulumi:"defaultThreadsPerCore"`
// The default number of vCPUs for the instance type.
DefaultVcpus int `pulumi:"defaultVcpus"`
// Indicates whether Amazon EBS encryption is supported.
EbsEncryptionSupport string `pulumi:"ebsEncryptionSupport"`
// Indicates whether non-volatile memory express (NVMe) is supported.
EbsNvmeSupport string `pulumi:"ebsNvmeSupport"`
// Indicates that the instance type is Amazon EBS-optimized.
EbsOptimizedSupport string `pulumi:"ebsOptimizedSupport"`
// The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
EbsPerformanceBaselineBandwidth int `pulumi:"ebsPerformanceBaselineBandwidth"`
// The baseline input/output storage operations per seconds for an EBS-optimized instance type.
EbsPerformanceBaselineIops int `pulumi:"ebsPerformanceBaselineIops"`
// The baseline throughput performance for an EBS-optimized instance type, in MBps.
EbsPerformanceBaselineThroughput float64 `pulumi:"ebsPerformanceBaselineThroughput"`
// The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
EbsPerformanceMaximumBandwidth int `pulumi:"ebsPerformanceMaximumBandwidth"`
// The maximum input/output storage operations per second for an EBS-optimized instance type.
EbsPerformanceMaximumIops int `pulumi:"ebsPerformanceMaximumIops"`
// The maximum throughput performance for an EBS-optimized instance type, in MBps.
EbsPerformanceMaximumThroughput float64 `pulumi:"ebsPerformanceMaximumThroughput"`
// Indicates whether Elastic Fabric Adapter (EFA) is supported.
EfaSupported bool `pulumi:"efaSupported"`
// Indicates whether Elastic Network Adapter (ENA) is supported.
EnaSupport string `pulumi:"enaSupport"`
// Indicates whether encryption in-transit between instances is supported.
EncryptionInTransitSupported bool `pulumi:"encryptionInTransitSupported"`
// Describes the FPGA accelerator settings for the instance type.
// * `fpgas.#.count` - The count of FPGA accelerators for the instance type.
// * `fpgas.#.manufacturer` - The manufacturer of the FPGA accelerator.
// * `fpgas.#.memory_size` - The size (in MiB) for the memory available to the FPGA accelerator.
// * `fpgas.#.name` - The name of the FPGA accelerator.
Fpgas []GetInstanceTypeFpga `pulumi:"fpgas"`
// `true` if the instance type is eligible for the free tier.
FreeTierEligible bool `pulumi:"freeTierEligible"`
// Describes the GPU accelerators for the instance type.
// * `gpus.#.count` - The number of GPUs for the instance type.
// * `gpus.#.manufacturer` - The manufacturer of the GPU accelerator.
// * `gpus.#.memory_size` - The size (in MiB) for the memory available to the GPU accelerator.
// * `gpus.#.name` - The name of the GPU accelerator.
Gpuses []GetInstanceTypeGpus `pulumi:"gpuses"`
// `true` if On-Demand hibernation is supported.
HibernationSupported bool `pulumi:"hibernationSupported"`
// Indicates the hypervisor used for the instance type.
// * `inferenceAccelerators` Describes the Inference accelerators for the instance type.
// * `inference_accelerators.#.count` - The number of Inference accelerators for the instance type.
// * `inference_accelerators.#.manufacturer` - The manufacturer of the Inference accelerator.
// * `inference_accelerators.#.name` - The name of the Inference accelerator.
Hypervisor string `pulumi:"hypervisor"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
InferenceAccelerators []GetInstanceTypeInferenceAccelerator `pulumi:"inferenceAccelerators"`
// Describes the disks for the instance type.
// * `instance_disks.#.count` - The number of disks with this configuration.
// * `instance_disks.#.size` - The size of the disk in GB.
// * `instance_disks.#.type` - The type of disk.
InstanceDisks []GetInstanceTypeInstanceDisk `pulumi:"instanceDisks"`
// `true` if instance storage is supported.
InstanceStorageSupported bool `pulumi:"instanceStorageSupported"`
InstanceType string `pulumi:"instanceType"`
// `true` if IPv6 is supported.
Ipv6Supported bool `pulumi:"ipv6Supported"`
// The maximum number of IPv4 addresses per network interface.
MaximumIpv4AddressesPerInterface int `pulumi:"maximumIpv4AddressesPerInterface"`
// The maximum number of IPv6 addresses per network interface.
MaximumIpv6AddressesPerInterface int `pulumi:"maximumIpv6AddressesPerInterface"`
// The maximum number of network interfaces for the instance type.
MaximumNetworkInterfaces int `pulumi:"maximumNetworkInterfaces"`
// Size of the instance memory, in MiB.
MemorySize int `pulumi:"memorySize"`
// Describes the network performance.
NetworkPerformance string `pulumi:"networkPerformance"`
// A list of architectures supported by the instance type.
SupportedArchitectures []string `pulumi:"supportedArchitectures"`
// A list of supported placement groups types.
SupportedPlacementStrategies []string `pulumi:"supportedPlacementStrategies"`
// Indicates the supported root device types.
SupportedRootDeviceTypes []string `pulumi:"supportedRootDeviceTypes"`
// Indicates whether the instance type is offered for spot or On-Demand.
SupportedUsagesClasses []string `pulumi:"supportedUsagesClasses"`
// The supported virtualization types.
SupportedVirtualizationTypes []string `pulumi:"supportedVirtualizationTypes"`
// The speed of the processor, in GHz.
SustainedClockSpeed float64 `pulumi:"sustainedClockSpeed"`
// The total memory of all FPGA accelerators for the instance type (in MiB).
TotalFpgaMemory int `pulumi:"totalFpgaMemory"`
// The total size of the memory for the GPU accelerators for the instance type (in MiB).
TotalGpuMemory int `pulumi:"totalGpuMemory"`
// The total size of the instance disks, in GB.
TotalInstanceStorage int `pulumi:"totalInstanceStorage"`
// List of the valid number of cores that can be configured for the instance type.
ValidCores []int `pulumi:"validCores"`
// List of the valid number of threads per core that can be configured for the instance type.
ValidThreadsPerCores []int `pulumi:"validThreadsPerCores"`
}
A collection of values returned by getInstanceType.
func GetInstanceType ¶
func GetInstanceType(ctx *pulumi.Context, args *GetInstanceTypeArgs, opts ...pulumi.InvokeOption) (*GetInstanceTypeResult, error)
Get characteristics for a single EC2 Instance Type.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetInstanceType(ctx, &ec2.GetInstanceTypeArgs{
InstanceType: "t2.micro",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetInstanceTypeResultOutput ¶
type GetInstanceTypeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstanceType.
func GetInstanceTypeOutput ¶
func GetInstanceTypeOutput(ctx *pulumi.Context, args GetInstanceTypeOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypeResultOutput
func (GetInstanceTypeResultOutput) AutoRecoverySupported ¶
func (o GetInstanceTypeResultOutput) AutoRecoverySupported() pulumi.BoolOutput
`true` if auto recovery is supported.
func (GetInstanceTypeResultOutput) BareMetal ¶
func (o GetInstanceTypeResultOutput) BareMetal() pulumi.BoolOutput
`true` if it is a bare metal instance type.
func (GetInstanceTypeResultOutput) BurstablePerformanceSupported ¶
func (o GetInstanceTypeResultOutput) BurstablePerformanceSupported() pulumi.BoolOutput
`true` if the instance type is a burstable performance instance type.
func (GetInstanceTypeResultOutput) CurrentGeneration ¶
func (o GetInstanceTypeResultOutput) CurrentGeneration() pulumi.BoolOutput
`true` if the instance type is a current generation.
func (GetInstanceTypeResultOutput) DedicatedHostsSupported ¶
func (o GetInstanceTypeResultOutput) DedicatedHostsSupported() pulumi.BoolOutput
`true` if Dedicated Hosts are supported on the instance type.
func (GetInstanceTypeResultOutput) DefaultCores ¶
func (o GetInstanceTypeResultOutput) DefaultCores() pulumi.IntOutput
The default number of cores for the instance type.
func (GetInstanceTypeResultOutput) DefaultThreadsPerCore ¶
func (o GetInstanceTypeResultOutput) DefaultThreadsPerCore() pulumi.IntOutput
The default number of threads per core for the instance type.
func (GetInstanceTypeResultOutput) DefaultVcpus ¶
func (o GetInstanceTypeResultOutput) DefaultVcpus() pulumi.IntOutput
The default number of vCPUs for the instance type.
func (GetInstanceTypeResultOutput) EbsEncryptionSupport ¶
func (o GetInstanceTypeResultOutput) EbsEncryptionSupport() pulumi.StringOutput
Indicates whether Amazon EBS encryption is supported.
func (GetInstanceTypeResultOutput) EbsNvmeSupport ¶
func (o GetInstanceTypeResultOutput) EbsNvmeSupport() pulumi.StringOutput
Indicates whether non-volatile memory express (NVMe) is supported.
func (GetInstanceTypeResultOutput) EbsOptimizedSupport ¶
func (o GetInstanceTypeResultOutput) EbsOptimizedSupport() pulumi.StringOutput
Indicates that the instance type is Amazon EBS-optimized.
func (GetInstanceTypeResultOutput) EbsPerformanceBaselineBandwidth ¶
func (o GetInstanceTypeResultOutput) EbsPerformanceBaselineBandwidth() pulumi.IntOutput
The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
func (GetInstanceTypeResultOutput) EbsPerformanceBaselineIops ¶
func (o GetInstanceTypeResultOutput) EbsPerformanceBaselineIops() pulumi.IntOutput
The baseline input/output storage operations per seconds for an EBS-optimized instance type.
func (GetInstanceTypeResultOutput) EbsPerformanceBaselineThroughput ¶
func (o GetInstanceTypeResultOutput) EbsPerformanceBaselineThroughput() pulumi.Float64Output
The baseline throughput performance for an EBS-optimized instance type, in MBps.
func (GetInstanceTypeResultOutput) EbsPerformanceMaximumBandwidth ¶
func (o GetInstanceTypeResultOutput) EbsPerformanceMaximumBandwidth() pulumi.IntOutput
The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
func (GetInstanceTypeResultOutput) EbsPerformanceMaximumIops ¶
func (o GetInstanceTypeResultOutput) EbsPerformanceMaximumIops() pulumi.IntOutput
The maximum input/output storage operations per second for an EBS-optimized instance type.
func (GetInstanceTypeResultOutput) EbsPerformanceMaximumThroughput ¶
func (o GetInstanceTypeResultOutput) EbsPerformanceMaximumThroughput() pulumi.Float64Output
The maximum throughput performance for an EBS-optimized instance type, in MBps.
func (GetInstanceTypeResultOutput) EfaSupported ¶
func (o GetInstanceTypeResultOutput) EfaSupported() pulumi.BoolOutput
Indicates whether Elastic Fabric Adapter (EFA) is supported.
func (GetInstanceTypeResultOutput) ElementType ¶
func (GetInstanceTypeResultOutput) ElementType() reflect.Type
func (GetInstanceTypeResultOutput) EnaSupport ¶
func (o GetInstanceTypeResultOutput) EnaSupport() pulumi.StringOutput
Indicates whether Elastic Network Adapter (ENA) is supported.
func (GetInstanceTypeResultOutput) EncryptionInTransitSupported ¶
func (o GetInstanceTypeResultOutput) EncryptionInTransitSupported() pulumi.BoolOutput
Indicates whether encryption in-transit between instances is supported.
func (GetInstanceTypeResultOutput) Fpgas ¶
func (o GetInstanceTypeResultOutput) Fpgas() GetInstanceTypeFpgaArrayOutput
Describes the FPGA accelerator settings for the instance type. * `fpgas.#.count` - The count of FPGA accelerators for the instance type. * `fpgas.#.manufacturer` - The manufacturer of the FPGA accelerator. * `fpgas.#.memory_size` - The size (in MiB) for the memory available to the FPGA accelerator. * `fpgas.#.name` - The name of the FPGA accelerator.
func (GetInstanceTypeResultOutput) FreeTierEligible ¶
func (o GetInstanceTypeResultOutput) FreeTierEligible() pulumi.BoolOutput
`true` if the instance type is eligible for the free tier.
func (GetInstanceTypeResultOutput) Gpuses ¶
func (o GetInstanceTypeResultOutput) Gpuses() GetInstanceTypeGpusArrayOutput
Describes the GPU accelerators for the instance type. * `gpus.#.count` - The number of GPUs for the instance type. * `gpus.#.manufacturer` - The manufacturer of the GPU accelerator. * `gpus.#.memory_size` - The size (in MiB) for the memory available to the GPU accelerator. * `gpus.#.name` - The name of the GPU accelerator.
func (GetInstanceTypeResultOutput) HibernationSupported ¶
func (o GetInstanceTypeResultOutput) HibernationSupported() pulumi.BoolOutput
`true` if On-Demand hibernation is supported.
func (GetInstanceTypeResultOutput) Hypervisor ¶
func (o GetInstanceTypeResultOutput) Hypervisor() pulumi.StringOutput
Indicates the hypervisor used for the instance type. * `inferenceAccelerators` Describes the Inference accelerators for the instance type. * `inference_accelerators.#.count` - The number of Inference accelerators for the instance type. * `inference_accelerators.#.manufacturer` - The manufacturer of the Inference accelerator. * `inference_accelerators.#.name` - The name of the Inference accelerator.
func (GetInstanceTypeResultOutput) Id ¶
func (o GetInstanceTypeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstanceTypeResultOutput) InferenceAccelerators ¶
func (o GetInstanceTypeResultOutput) InferenceAccelerators() GetInstanceTypeInferenceAcceleratorArrayOutput
func (GetInstanceTypeResultOutput) InstanceDisks ¶
func (o GetInstanceTypeResultOutput) InstanceDisks() GetInstanceTypeInstanceDiskArrayOutput
Describes the disks for the instance type. * `instance_disks.#.count` - The number of disks with this configuration. * `instance_disks.#.size` - The size of the disk in GB. * `instance_disks.#.type` - The type of disk.
func (GetInstanceTypeResultOutput) InstanceStorageSupported ¶
func (o GetInstanceTypeResultOutput) InstanceStorageSupported() pulumi.BoolOutput
`true` if instance storage is supported.
func (GetInstanceTypeResultOutput) InstanceType ¶
func (o GetInstanceTypeResultOutput) InstanceType() pulumi.StringOutput
func (GetInstanceTypeResultOutput) Ipv6Supported ¶
func (o GetInstanceTypeResultOutput) Ipv6Supported() pulumi.BoolOutput
`true` if IPv6 is supported.
func (GetInstanceTypeResultOutput) MaximumIpv4AddressesPerInterface ¶
func (o GetInstanceTypeResultOutput) MaximumIpv4AddressesPerInterface() pulumi.IntOutput
The maximum number of IPv4 addresses per network interface.
func (GetInstanceTypeResultOutput) MaximumIpv6AddressesPerInterface ¶
func (o GetInstanceTypeResultOutput) MaximumIpv6AddressesPerInterface() pulumi.IntOutput
The maximum number of IPv6 addresses per network interface.
func (GetInstanceTypeResultOutput) MaximumNetworkInterfaces ¶
func (o GetInstanceTypeResultOutput) MaximumNetworkInterfaces() pulumi.IntOutput
The maximum number of network interfaces for the instance type.
func (GetInstanceTypeResultOutput) MemorySize ¶
func (o GetInstanceTypeResultOutput) MemorySize() pulumi.IntOutput
Size of the instance memory, in MiB.
func (GetInstanceTypeResultOutput) NetworkPerformance ¶
func (o GetInstanceTypeResultOutput) NetworkPerformance() pulumi.StringOutput
Describes the network performance.
func (GetInstanceTypeResultOutput) SupportedArchitectures ¶
func (o GetInstanceTypeResultOutput) SupportedArchitectures() pulumi.StringArrayOutput
A list of architectures supported by the instance type.
func (GetInstanceTypeResultOutput) SupportedPlacementStrategies ¶
func (o GetInstanceTypeResultOutput) SupportedPlacementStrategies() pulumi.StringArrayOutput
A list of supported placement groups types.
func (GetInstanceTypeResultOutput) SupportedRootDeviceTypes ¶
func (o GetInstanceTypeResultOutput) SupportedRootDeviceTypes() pulumi.StringArrayOutput
Indicates the supported root device types.
func (GetInstanceTypeResultOutput) SupportedUsagesClasses ¶
func (o GetInstanceTypeResultOutput) SupportedUsagesClasses() pulumi.StringArrayOutput
Indicates whether the instance type is offered for spot or On-Demand.
func (GetInstanceTypeResultOutput) SupportedVirtualizationTypes ¶
func (o GetInstanceTypeResultOutput) SupportedVirtualizationTypes() pulumi.StringArrayOutput
The supported virtualization types.
func (GetInstanceTypeResultOutput) SustainedClockSpeed ¶
func (o GetInstanceTypeResultOutput) SustainedClockSpeed() pulumi.Float64Output
The speed of the processor, in GHz.
func (GetInstanceTypeResultOutput) ToGetInstanceTypeResultOutput ¶
func (o GetInstanceTypeResultOutput) ToGetInstanceTypeResultOutput() GetInstanceTypeResultOutput
func (GetInstanceTypeResultOutput) ToGetInstanceTypeResultOutputWithContext ¶
func (o GetInstanceTypeResultOutput) ToGetInstanceTypeResultOutputWithContext(ctx context.Context) GetInstanceTypeResultOutput
func (GetInstanceTypeResultOutput) TotalFpgaMemory ¶
func (o GetInstanceTypeResultOutput) TotalFpgaMemory() pulumi.IntOutput
The total memory of all FPGA accelerators for the instance type (in MiB).
func (GetInstanceTypeResultOutput) TotalGpuMemory ¶
func (o GetInstanceTypeResultOutput) TotalGpuMemory() pulumi.IntOutput
The total size of the memory for the GPU accelerators for the instance type (in MiB).
func (GetInstanceTypeResultOutput) TotalInstanceStorage ¶
func (o GetInstanceTypeResultOutput) TotalInstanceStorage() pulumi.IntOutput
The total size of the instance disks, in GB.
func (GetInstanceTypeResultOutput) ValidCores ¶
func (o GetInstanceTypeResultOutput) ValidCores() pulumi.IntArrayOutput
List of the valid number of cores that can be configured for the instance type.
func (GetInstanceTypeResultOutput) ValidThreadsPerCores ¶
func (o GetInstanceTypeResultOutput) ValidThreadsPerCores() pulumi.IntArrayOutput
List of the valid number of threads per core that can be configured for the instance type.
type GetInstanceTypesArgs ¶
type GetInstanceTypesArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceTypes.html) for supported filters. Detailed below.
Filters []GetInstanceTypesFilter `pulumi:"filters"`
}
A collection of arguments for invoking getInstanceTypes.
type GetInstanceTypesFilter ¶
type GetInstanceTypesFilterArgs ¶
type GetInstanceTypesFilterArgs struct {
// Name of the filter.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetInstanceTypesFilterArgs) ElementType ¶
func (GetInstanceTypesFilterArgs) ElementType() reflect.Type
func (GetInstanceTypesFilterArgs) ToGetInstanceTypesFilterOutput ¶
func (i GetInstanceTypesFilterArgs) ToGetInstanceTypesFilterOutput() GetInstanceTypesFilterOutput
func (GetInstanceTypesFilterArgs) ToGetInstanceTypesFilterOutputWithContext ¶
func (i GetInstanceTypesFilterArgs) ToGetInstanceTypesFilterOutputWithContext(ctx context.Context) GetInstanceTypesFilterOutput
type GetInstanceTypesFilterArray ¶
type GetInstanceTypesFilterArray []GetInstanceTypesFilterInput
func (GetInstanceTypesFilterArray) ElementType ¶
func (GetInstanceTypesFilterArray) ElementType() reflect.Type
func (GetInstanceTypesFilterArray) ToGetInstanceTypesFilterArrayOutput ¶
func (i GetInstanceTypesFilterArray) ToGetInstanceTypesFilterArrayOutput() GetInstanceTypesFilterArrayOutput
func (GetInstanceTypesFilterArray) ToGetInstanceTypesFilterArrayOutputWithContext ¶
func (i GetInstanceTypesFilterArray) ToGetInstanceTypesFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypesFilterArrayOutput
type GetInstanceTypesFilterArrayInput ¶
type GetInstanceTypesFilterArrayInput interface {
pulumi.Input
ToGetInstanceTypesFilterArrayOutput() GetInstanceTypesFilterArrayOutput
ToGetInstanceTypesFilterArrayOutputWithContext(context.Context) GetInstanceTypesFilterArrayOutput
}
GetInstanceTypesFilterArrayInput is an input type that accepts GetInstanceTypesFilterArray and GetInstanceTypesFilterArrayOutput values. You can construct a concrete instance of `GetInstanceTypesFilterArrayInput` via:
GetInstanceTypesFilterArray{ GetInstanceTypesFilterArgs{...} }
type GetInstanceTypesFilterArrayOutput ¶
type GetInstanceTypesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypesFilterArrayOutput) ElementType ¶
func (GetInstanceTypesFilterArrayOutput) ElementType() reflect.Type
func (GetInstanceTypesFilterArrayOutput) Index ¶
func (o GetInstanceTypesFilterArrayOutput) Index(i pulumi.IntInput) GetInstanceTypesFilterOutput
func (GetInstanceTypesFilterArrayOutput) ToGetInstanceTypesFilterArrayOutput ¶
func (o GetInstanceTypesFilterArrayOutput) ToGetInstanceTypesFilterArrayOutput() GetInstanceTypesFilterArrayOutput
func (GetInstanceTypesFilterArrayOutput) ToGetInstanceTypesFilterArrayOutputWithContext ¶
func (o GetInstanceTypesFilterArrayOutput) ToGetInstanceTypesFilterArrayOutputWithContext(ctx context.Context) GetInstanceTypesFilterArrayOutput
type GetInstanceTypesFilterInput ¶
type GetInstanceTypesFilterInput interface {
pulumi.Input
ToGetInstanceTypesFilterOutput() GetInstanceTypesFilterOutput
ToGetInstanceTypesFilterOutputWithContext(context.Context) GetInstanceTypesFilterOutput
}
GetInstanceTypesFilterInput is an input type that accepts GetInstanceTypesFilterArgs and GetInstanceTypesFilterOutput values. You can construct a concrete instance of `GetInstanceTypesFilterInput` via:
GetInstanceTypesFilterArgs{...}
type GetInstanceTypesFilterOutput ¶
type GetInstanceTypesFilterOutput struct{ *pulumi.OutputState }
func (GetInstanceTypesFilterOutput) ElementType ¶
func (GetInstanceTypesFilterOutput) ElementType() reflect.Type
func (GetInstanceTypesFilterOutput) Name ¶
func (o GetInstanceTypesFilterOutput) Name() pulumi.StringOutput
Name of the filter.
func (GetInstanceTypesFilterOutput) ToGetInstanceTypesFilterOutput ¶
func (o GetInstanceTypesFilterOutput) ToGetInstanceTypesFilterOutput() GetInstanceTypesFilterOutput
func (GetInstanceTypesFilterOutput) ToGetInstanceTypesFilterOutputWithContext ¶
func (o GetInstanceTypesFilterOutput) ToGetInstanceTypesFilterOutputWithContext(ctx context.Context) GetInstanceTypesFilterOutput
func (GetInstanceTypesFilterOutput) Values ¶
func (o GetInstanceTypesFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetInstanceTypesOutputArgs ¶
type GetInstanceTypesOutputArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceTypes.html) for supported filters. Detailed below.
Filters GetInstanceTypesFilterArrayInput `pulumi:"filters"`
}
A collection of arguments for invoking getInstanceTypes.
func (GetInstanceTypesOutputArgs) ElementType ¶
func (GetInstanceTypesOutputArgs) ElementType() reflect.Type
type GetInstanceTypesResult ¶
type GetInstanceTypesResult struct {
Filters []GetInstanceTypesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// List of EC2 Instance Types.
InstanceTypes []string `pulumi:"instanceTypes"`
}
A collection of values returned by getInstanceTypes.
func GetInstanceTypes ¶
func GetInstanceTypes(ctx *pulumi.Context, args *GetInstanceTypesArgs, opts ...pulumi.InvokeOption) (*GetInstanceTypesResult, error)
Information about EC2 Instance Types.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetInstanceTypes(ctx, &ec2.GetInstanceTypesArgs{
Filters: []ec2.GetInstanceTypesFilter{
ec2.GetInstanceTypesFilter{
Name: "auto-recovery-supported",
Values: []string{
"true",
},
},
ec2.GetInstanceTypesFilter{
Name: "network-info.encryption-in-transit-supported",
Values: []string{
"true",
},
},
ec2.GetInstanceTypesFilter{
Name: "instance-storage-supported",
Values: []string{
"true",
},
},
ec2.GetInstanceTypesFilter{
Name: "instance-type",
Values: []string{
"g5.2xlarge",
"g5.4xlarge",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetInstanceTypesResultOutput ¶
type GetInstanceTypesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstanceTypes.
func GetInstanceTypesOutput ¶
func GetInstanceTypesOutput(ctx *pulumi.Context, args GetInstanceTypesOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypesResultOutput
func (GetInstanceTypesResultOutput) ElementType ¶
func (GetInstanceTypesResultOutput) ElementType() reflect.Type
func (GetInstanceTypesResultOutput) Filters ¶
func (o GetInstanceTypesResultOutput) Filters() GetInstanceTypesFilterArrayOutput
func (GetInstanceTypesResultOutput) Id ¶
func (o GetInstanceTypesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstanceTypesResultOutput) InstanceTypes ¶
func (o GetInstanceTypesResultOutput) InstanceTypes() pulumi.StringArrayOutput
List of EC2 Instance Types.
func (GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutput ¶
func (o GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutput() GetInstanceTypesResultOutput
func (GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutputWithContext ¶
func (o GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutputWithContext(ctx context.Context) GetInstanceTypesResultOutput
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 map of tags, each pair of which must
// exactly match a pair on desired instances.
InstanceTags map[string]string `pulumi:"instanceTags"`
}
A collection of arguments for invoking getInstances.
type GetInstancesFilter ¶
type GetInstancesFilterArgs ¶
type GetInstancesFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetInstancesFilterArgs) ElementType ¶
func (GetInstancesFilterArgs) ElementType() reflect.Type
func (GetInstancesFilterArgs) ToGetInstancesFilterOutput ¶
func (i GetInstancesFilterArgs) ToGetInstancesFilterOutput() GetInstancesFilterOutput
func (GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext ¶
func (i GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
type GetInstancesFilterArray ¶
type GetInstancesFilterArray []GetInstancesFilterInput
func (GetInstancesFilterArray) ElementType ¶
func (GetInstancesFilterArray) ElementType() reflect.Type
func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutput ¶
func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext ¶
func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
type GetInstancesFilterArrayInput ¶
type GetInstancesFilterArrayInput interface {
pulumi.Input
ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
ToGetInstancesFilterArrayOutputWithContext(context.Context) GetInstancesFilterArrayOutput
}
GetInstancesFilterArrayInput is an input type that accepts GetInstancesFilterArray and GetInstancesFilterArrayOutput values. You can construct a concrete instance of `GetInstancesFilterArrayInput` via:
GetInstancesFilterArray{ GetInstancesFilterArgs{...} }
type GetInstancesFilterArrayOutput ¶
type GetInstancesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesFilterArrayOutput) ElementType ¶
func (GetInstancesFilterArrayOutput) ElementType() reflect.Type
func (GetInstancesFilterArrayOutput) Index ¶
func (o GetInstancesFilterArrayOutput) Index(i pulumi.IntInput) GetInstancesFilterOutput
func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput ¶
func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext ¶
func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
type GetInstancesFilterInput ¶
type GetInstancesFilterInput interface {
pulumi.Input
ToGetInstancesFilterOutput() GetInstancesFilterOutput
ToGetInstancesFilterOutputWithContext(context.Context) GetInstancesFilterOutput
}
GetInstancesFilterInput is an input type that accepts GetInstancesFilterArgs and GetInstancesFilterOutput values. You can construct a concrete instance of `GetInstancesFilterInput` via:
GetInstancesFilterArgs{...}
type GetInstancesFilterOutput ¶
type GetInstancesFilterOutput struct{ *pulumi.OutputState }
func (GetInstancesFilterOutput) ElementType ¶
func (GetInstancesFilterOutput) ElementType() reflect.Type
func (GetInstancesFilterOutput) Name ¶
func (o GetInstancesFilterOutput) Name() pulumi.StringOutput
func (GetInstancesFilterOutput) ToGetInstancesFilterOutput ¶
func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput
func (GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext ¶
func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
func (GetInstancesFilterOutput) Values ¶
func (o GetInstancesFilterOutput) Values() pulumi.StringArrayOutput
type GetInstancesOutputArgs ¶
type GetInstancesOutputArgs 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 GetInstancesFilterArrayInput `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 pulumi.StringArrayInput `pulumi:"instanceStateNames"`
// A map of tags, each pair of which must
// exactly match a pair on desired instances.
InstanceTags pulumi.StringMapInput `pulumi:"instanceTags"`
}
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶
type GetInstancesResult struct {
Filters []GetInstancesFilter `pulumi:"filters"`
// 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]string `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.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
Use this data source to get IDs or IPs of Amazon EC2 instances to be referenced elsewhere, e.g., to allow easier migration from another management solution or to make it easier for an operator to connect through bastion host(s).
> **Note:** It's strongly discouraged to use this data source for querying ephemeral instances (e.g., managed via autoscaling group), as the output may change at any time and you'd need to re-run `apply` every time an instance comes up or dies.
type GetInstancesResultOutput ¶
type GetInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstances.
func GetInstancesOutput ¶
func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput
func (GetInstancesResultOutput) ElementType ¶
func (GetInstancesResultOutput) ElementType() reflect.Type
func (GetInstancesResultOutput) Filters ¶
func (o GetInstancesResultOutput) Filters() GetInstancesFilterArrayOutput
func (GetInstancesResultOutput) Id ¶
func (o GetInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstancesResultOutput) Ids ¶
func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
IDs of instances found through the filter
func (GetInstancesResultOutput) InstanceStateNames ¶
func (o GetInstancesResultOutput) InstanceStateNames() pulumi.StringArrayOutput
func (GetInstancesResultOutput) InstanceTags ¶
func (o GetInstancesResultOutput) InstanceTags() pulumi.StringMapOutput
func (GetInstancesResultOutput) PrivateIps ¶
func (o GetInstancesResultOutput) PrivateIps() pulumi.StringArrayOutput
Private IP addresses of instances found through the filter
func (GetInstancesResultOutput) PublicIps ¶
func (o GetInstancesResultOutput) PublicIps() pulumi.StringArrayOutput
Public IP addresses of instances found through the filter
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
type GetInternetGatewayAttachmentType ¶ added in v5.1.0
type GetInternetGatewayAttachmentTypeArgs ¶ added in v5.1.0
type GetInternetGatewayAttachmentTypeArgs 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 (GetInternetGatewayAttachmentTypeArgs) ElementType ¶ added in v5.1.0
func (GetInternetGatewayAttachmentTypeArgs) ElementType() reflect.Type
func (GetInternetGatewayAttachmentTypeArgs) ToGetInternetGatewayAttachmentTypeOutput ¶ added in v5.1.0
func (i GetInternetGatewayAttachmentTypeArgs) ToGetInternetGatewayAttachmentTypeOutput() GetInternetGatewayAttachmentTypeOutput
func (GetInternetGatewayAttachmentTypeArgs) ToGetInternetGatewayAttachmentTypeOutputWithContext ¶ added in v5.1.0
func (i GetInternetGatewayAttachmentTypeArgs) ToGetInternetGatewayAttachmentTypeOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentTypeOutput
type GetInternetGatewayAttachmentTypeArray ¶ added in v5.1.0
type GetInternetGatewayAttachmentTypeArray []GetInternetGatewayAttachmentTypeInput
func (GetInternetGatewayAttachmentTypeArray) ElementType ¶ added in v5.1.0
func (GetInternetGatewayAttachmentTypeArray) ElementType() reflect.Type
func (GetInternetGatewayAttachmentTypeArray) ToGetInternetGatewayAttachmentTypeArrayOutput ¶ added in v5.1.0
func (i GetInternetGatewayAttachmentTypeArray) ToGetInternetGatewayAttachmentTypeArrayOutput() GetInternetGatewayAttachmentTypeArrayOutput
func (GetInternetGatewayAttachmentTypeArray) ToGetInternetGatewayAttachmentTypeArrayOutputWithContext ¶ added in v5.1.0
func (i GetInternetGatewayAttachmentTypeArray) ToGetInternetGatewayAttachmentTypeArrayOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentTypeArrayOutput
type GetInternetGatewayAttachmentTypeArrayInput ¶ added in v5.1.0
type GetInternetGatewayAttachmentTypeArrayInput interface {
pulumi.Input
ToGetInternetGatewayAttachmentTypeArrayOutput() GetInternetGatewayAttachmentTypeArrayOutput
ToGetInternetGatewayAttachmentTypeArrayOutputWithContext(context.Context) GetInternetGatewayAttachmentTypeArrayOutput
}
GetInternetGatewayAttachmentTypeArrayInput is an input type that accepts GetInternetGatewayAttachmentTypeArray and GetInternetGatewayAttachmentTypeArrayOutput values. You can construct a concrete instance of `GetInternetGatewayAttachmentTypeArrayInput` via:
GetInternetGatewayAttachmentTypeArray{ GetInternetGatewayAttachmentTypeArgs{...} }
type GetInternetGatewayAttachmentTypeArrayOutput ¶ added in v5.1.0
type GetInternetGatewayAttachmentTypeArrayOutput struct{ *pulumi.OutputState }
func (GetInternetGatewayAttachmentTypeArrayOutput) ElementType ¶ added in v5.1.0
func (GetInternetGatewayAttachmentTypeArrayOutput) ElementType() reflect.Type
func (GetInternetGatewayAttachmentTypeArrayOutput) ToGetInternetGatewayAttachmentTypeArrayOutput ¶ added in v5.1.0
func (o GetInternetGatewayAttachmentTypeArrayOutput) ToGetInternetGatewayAttachmentTypeArrayOutput() GetInternetGatewayAttachmentTypeArrayOutput
func (GetInternetGatewayAttachmentTypeArrayOutput) ToGetInternetGatewayAttachmentTypeArrayOutputWithContext ¶ added in v5.1.0
func (o GetInternetGatewayAttachmentTypeArrayOutput) ToGetInternetGatewayAttachmentTypeArrayOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentTypeArrayOutput
type GetInternetGatewayAttachmentTypeInput ¶ added in v5.1.0
type GetInternetGatewayAttachmentTypeInput interface {
pulumi.Input
ToGetInternetGatewayAttachmentTypeOutput() GetInternetGatewayAttachmentTypeOutput
ToGetInternetGatewayAttachmentTypeOutputWithContext(context.Context) GetInternetGatewayAttachmentTypeOutput
}
GetInternetGatewayAttachmentTypeInput is an input type that accepts GetInternetGatewayAttachmentTypeArgs and GetInternetGatewayAttachmentTypeOutput values. You can construct a concrete instance of `GetInternetGatewayAttachmentTypeInput` via:
GetInternetGatewayAttachmentTypeArgs{...}
type GetInternetGatewayAttachmentTypeOutput ¶ added in v5.1.0
type GetInternetGatewayAttachmentTypeOutput struct{ *pulumi.OutputState }
func (GetInternetGatewayAttachmentTypeOutput) ElementType ¶ added in v5.1.0
func (GetInternetGatewayAttachmentTypeOutput) ElementType() reflect.Type
func (GetInternetGatewayAttachmentTypeOutput) State ¶ added in v5.1.0
func (o GetInternetGatewayAttachmentTypeOutput) State() pulumi.StringOutput
The current state of the attachment between the gateway and the VPC. Present only if a VPC is attached
func (GetInternetGatewayAttachmentTypeOutput) ToGetInternetGatewayAttachmentTypeOutput ¶ added in v5.1.0
func (o GetInternetGatewayAttachmentTypeOutput) ToGetInternetGatewayAttachmentTypeOutput() GetInternetGatewayAttachmentTypeOutput
func (GetInternetGatewayAttachmentTypeOutput) ToGetInternetGatewayAttachmentTypeOutputWithContext ¶ added in v5.1.0
func (o GetInternetGatewayAttachmentTypeOutput) ToGetInternetGatewayAttachmentTypeOutputWithContext(ctx context.Context) GetInternetGatewayAttachmentTypeOutput
func (GetInternetGatewayAttachmentTypeOutput) VpcId ¶ added in v5.1.0
func (o GetInternetGatewayAttachmentTypeOutput) VpcId() pulumi.StringOutput
The ID of an attached VPC.
type GetInternetGatewayFilter ¶
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 ¶
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 ¶
func (GetInternetGatewayFilterArgs) ElementType() reflect.Type
func (GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutput ¶
func (i GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutput() GetInternetGatewayFilterOutput
func (GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutputWithContext ¶
func (i GetInternetGatewayFilterArgs) ToGetInternetGatewayFilterOutputWithContext(ctx context.Context) GetInternetGatewayFilterOutput
type GetInternetGatewayFilterArray ¶
type GetInternetGatewayFilterArray []GetInternetGatewayFilterInput
func (GetInternetGatewayFilterArray) ElementType ¶
func (GetInternetGatewayFilterArray) ElementType() reflect.Type
func (GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutput ¶
func (i GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutput() GetInternetGatewayFilterArrayOutput
func (GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutputWithContext ¶
func (i GetInternetGatewayFilterArray) ToGetInternetGatewayFilterArrayOutputWithContext(ctx context.Context) GetInternetGatewayFilterArrayOutput
type GetInternetGatewayFilterArrayInput ¶
type GetInternetGatewayFilterArrayInput interface {
pulumi.Input
ToGetInternetGatewayFilterArrayOutput() GetInternetGatewayFilterArrayOutput
ToGetInternetGatewayFilterArrayOutputWithContext(context.Context) GetInternetGatewayFilterArrayOutput
}
GetInternetGatewayFilterArrayInput is an input type that accepts GetInternetGatewayFilterArray and GetInternetGatewayFilterArrayOutput values. You can construct a concrete instance of `GetInternetGatewayFilterArrayInput` via:
GetInternetGatewayFilterArray{ GetInternetGatewayFilterArgs{...} }
type GetInternetGatewayFilterArrayOutput ¶
type GetInternetGatewayFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInternetGatewayFilterArrayOutput) ElementType ¶
func (GetInternetGatewayFilterArrayOutput) ElementType() reflect.Type
func (GetInternetGatewayFilterArrayOutput) Index ¶
func (o GetInternetGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetInternetGatewayFilterOutput
func (GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutput ¶
func (o GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutput() GetInternetGatewayFilterArrayOutput
func (GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutputWithContext ¶
func (o GetInternetGatewayFilterArrayOutput) ToGetInternetGatewayFilterArrayOutputWithContext(ctx context.Context) GetInternetGatewayFilterArrayOutput
type GetInternetGatewayFilterInput ¶
type GetInternetGatewayFilterInput interface {
pulumi.Input
ToGetInternetGatewayFilterOutput() GetInternetGatewayFilterOutput
ToGetInternetGatewayFilterOutputWithContext(context.Context) GetInternetGatewayFilterOutput
}
GetInternetGatewayFilterInput is an input type that accepts GetInternetGatewayFilterArgs and GetInternetGatewayFilterOutput values. You can construct a concrete instance of `GetInternetGatewayFilterInput` via:
GetInternetGatewayFilterArgs{...}
type GetInternetGatewayFilterOutput ¶
type GetInternetGatewayFilterOutput struct{ *pulumi.OutputState }
func (GetInternetGatewayFilterOutput) ElementType ¶
func (GetInternetGatewayFilterOutput) ElementType() reflect.Type
func (GetInternetGatewayFilterOutput) Name ¶
func (o GetInternetGatewayFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutput() GetInternetGatewayFilterOutput
func (GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutputWithContext ¶
func (o GetInternetGatewayFilterOutput) ToGetInternetGatewayFilterOutputWithContext(ctx context.Context) GetInternetGatewayFilterOutput
func (GetInternetGatewayFilterOutput) Values ¶
func (o GetInternetGatewayFilterOutput) Values() pulumi.StringArrayOutput
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 GetIpamPreviewNextCidrArgs ¶
type GetIpamPreviewNextCidrArgs struct {
// Exclude a particular CIDR range from being returned by the pool.
DisallowedCidrs []string `pulumi:"disallowedCidrs"`
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId string `pulumi:"ipamPoolId"`
// The netmask length of the CIDR you would like to preview from the IPAM pool.
NetmaskLength *int `pulumi:"netmaskLength"`
}
A collection of arguments for invoking getIpamPreviewNextCidr.
type GetIpamPreviewNextCidrOutputArgs ¶
type GetIpamPreviewNextCidrOutputArgs struct {
// Exclude a particular CIDR range from being returned by the pool.
DisallowedCidrs pulumi.StringArrayInput `pulumi:"disallowedCidrs"`
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringInput `pulumi:"ipamPoolId"`
// The netmask length of the CIDR you would like to preview from the IPAM pool.
NetmaskLength pulumi.IntPtrInput `pulumi:"netmaskLength"`
}
A collection of arguments for invoking getIpamPreviewNextCidr.
func (GetIpamPreviewNextCidrOutputArgs) ElementType ¶
func (GetIpamPreviewNextCidrOutputArgs) ElementType() reflect.Type
type GetIpamPreviewNextCidrResult ¶
type GetIpamPreviewNextCidrResult struct {
// The previewed CIDR from the pool.
Cidr string `pulumi:"cidr"`
DisallowedCidrs []string `pulumi:"disallowedCidrs"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
IpamPoolId string `pulumi:"ipamPoolId"`
NetmaskLength *int `pulumi:"netmaskLength"`
}
A collection of values returned by getIpamPreviewNextCidr.
func GetIpamPreviewNextCidr ¶
func GetIpamPreviewNextCidr(ctx *pulumi.Context, args *GetIpamPreviewNextCidrArgs, opts ...pulumi.InvokeOption) (*GetIpamPreviewNextCidrResult, error)
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
testIpamPreviewNextCidr, err := ec2.GetIpamPreviewNextCidr(ctx, &ec2.GetIpamPreviewNextCidrArgs{
IpamPoolId: aws_vpc_ipam_pool.Test.Id,
NetmaskLength: pulumi.IntRef(28),
}, nil)
if err != nil {
return err
}
_, err = ec2.NewVpcIpamPoolCidrAllocation(ctx, "testVpcIpamPoolCidrAllocation", &ec2.VpcIpamPoolCidrAllocationArgs{
IpamPoolId: pulumi.Any(aws_vpc_ipam_pool.Test.Id),
Cidr: pulumi.String(testIpamPreviewNextCidr.Cidr),
})
if err != nil {
return err
}
return nil
})
}
```
type GetIpamPreviewNextCidrResultOutput ¶
type GetIpamPreviewNextCidrResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getIpamPreviewNextCidr.
func GetIpamPreviewNextCidrOutput ¶
func GetIpamPreviewNextCidrOutput(ctx *pulumi.Context, args GetIpamPreviewNextCidrOutputArgs, opts ...pulumi.InvokeOption) GetIpamPreviewNextCidrResultOutput
func (GetIpamPreviewNextCidrResultOutput) Cidr ¶
func (o GetIpamPreviewNextCidrResultOutput) Cidr() pulumi.StringOutput
The previewed CIDR from the pool.
func (GetIpamPreviewNextCidrResultOutput) DisallowedCidrs ¶
func (o GetIpamPreviewNextCidrResultOutput) DisallowedCidrs() pulumi.StringArrayOutput
func (GetIpamPreviewNextCidrResultOutput) ElementType ¶
func (GetIpamPreviewNextCidrResultOutput) ElementType() reflect.Type
func (GetIpamPreviewNextCidrResultOutput) Id ¶
func (o GetIpamPreviewNextCidrResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetIpamPreviewNextCidrResultOutput) IpamPoolId ¶
func (o GetIpamPreviewNextCidrResultOutput) IpamPoolId() pulumi.StringOutput
func (GetIpamPreviewNextCidrResultOutput) NetmaskLength ¶
func (o GetIpamPreviewNextCidrResultOutput) NetmaskLength() pulumi.IntPtrOutput
func (GetIpamPreviewNextCidrResultOutput) ToGetIpamPreviewNextCidrResultOutput ¶
func (o GetIpamPreviewNextCidrResultOutput) ToGetIpamPreviewNextCidrResultOutput() GetIpamPreviewNextCidrResultOutput
func (GetIpamPreviewNextCidrResultOutput) ToGetIpamPreviewNextCidrResultOutputWithContext ¶
func (o GetIpamPreviewNextCidrResultOutput) ToGetIpamPreviewNextCidrResultOutputWithContext(ctx context.Context) GetIpamPreviewNextCidrResultOutput
type GetKeyPairFilter ¶
type GetKeyPairFilter struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeKeyPairs API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeKeyPairs.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values []string `pulumi:"values"`
}
type GetKeyPairFilterArgs ¶
type GetKeyPairFilterArgs struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeKeyPairs API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeKeyPairs.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetKeyPairFilterArgs) ElementType ¶
func (GetKeyPairFilterArgs) ElementType() reflect.Type
func (GetKeyPairFilterArgs) ToGetKeyPairFilterOutput ¶
func (i GetKeyPairFilterArgs) ToGetKeyPairFilterOutput() GetKeyPairFilterOutput
func (GetKeyPairFilterArgs) ToGetKeyPairFilterOutputWithContext ¶
func (i GetKeyPairFilterArgs) ToGetKeyPairFilterOutputWithContext(ctx context.Context) GetKeyPairFilterOutput
type GetKeyPairFilterArray ¶
type GetKeyPairFilterArray []GetKeyPairFilterInput
func (GetKeyPairFilterArray) ElementType ¶
func (GetKeyPairFilterArray) ElementType() reflect.Type
func (GetKeyPairFilterArray) ToGetKeyPairFilterArrayOutput ¶
func (i GetKeyPairFilterArray) ToGetKeyPairFilterArrayOutput() GetKeyPairFilterArrayOutput
func (GetKeyPairFilterArray) ToGetKeyPairFilterArrayOutputWithContext ¶
func (i GetKeyPairFilterArray) ToGetKeyPairFilterArrayOutputWithContext(ctx context.Context) GetKeyPairFilterArrayOutput
type GetKeyPairFilterArrayInput ¶
type GetKeyPairFilterArrayInput interface {
pulumi.Input
ToGetKeyPairFilterArrayOutput() GetKeyPairFilterArrayOutput
ToGetKeyPairFilterArrayOutputWithContext(context.Context) GetKeyPairFilterArrayOutput
}
GetKeyPairFilterArrayInput is an input type that accepts GetKeyPairFilterArray and GetKeyPairFilterArrayOutput values. You can construct a concrete instance of `GetKeyPairFilterArrayInput` via:
GetKeyPairFilterArray{ GetKeyPairFilterArgs{...} }
type GetKeyPairFilterArrayOutput ¶
type GetKeyPairFilterArrayOutput struct{ *pulumi.OutputState }
func (GetKeyPairFilterArrayOutput) ElementType ¶
func (GetKeyPairFilterArrayOutput) ElementType() reflect.Type
func (GetKeyPairFilterArrayOutput) Index ¶
func (o GetKeyPairFilterArrayOutput) Index(i pulumi.IntInput) GetKeyPairFilterOutput
func (GetKeyPairFilterArrayOutput) ToGetKeyPairFilterArrayOutput ¶
func (o GetKeyPairFilterArrayOutput) ToGetKeyPairFilterArrayOutput() GetKeyPairFilterArrayOutput
func (GetKeyPairFilterArrayOutput) ToGetKeyPairFilterArrayOutputWithContext ¶
func (o GetKeyPairFilterArrayOutput) ToGetKeyPairFilterArrayOutputWithContext(ctx context.Context) GetKeyPairFilterArrayOutput
type GetKeyPairFilterInput ¶
type GetKeyPairFilterInput interface {
pulumi.Input
ToGetKeyPairFilterOutput() GetKeyPairFilterOutput
ToGetKeyPairFilterOutputWithContext(context.Context) GetKeyPairFilterOutput
}
GetKeyPairFilterInput is an input type that accepts GetKeyPairFilterArgs and GetKeyPairFilterOutput values. You can construct a concrete instance of `GetKeyPairFilterInput` via:
GetKeyPairFilterArgs{...}
type GetKeyPairFilterOutput ¶
type GetKeyPairFilterOutput struct{ *pulumi.OutputState }
func (GetKeyPairFilterOutput) ElementType ¶
func (GetKeyPairFilterOutput) ElementType() reflect.Type
func (GetKeyPairFilterOutput) Name ¶
func (o GetKeyPairFilterOutput) Name() pulumi.StringOutput
The name of the filter field. Valid values can be found in the [EC2 DescribeKeyPairs API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeKeyPairs.html).
func (GetKeyPairFilterOutput) ToGetKeyPairFilterOutput ¶
func (o GetKeyPairFilterOutput) ToGetKeyPairFilterOutput() GetKeyPairFilterOutput
func (GetKeyPairFilterOutput) ToGetKeyPairFilterOutputWithContext ¶
func (o GetKeyPairFilterOutput) ToGetKeyPairFilterOutputWithContext(ctx context.Context) GetKeyPairFilterOutput
func (GetKeyPairFilterOutput) Values ¶
func (o GetKeyPairFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetLaunchConfigurationEbsBlockDevice ¶
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"`
// Whether the device in the block device mapping of the AMI is suppressed.
NoDevice bool `pulumi:"noDevice"`
// The Snapshot ID of the mount.
SnapshotId string `pulumi:"snapshotId"`
// The Throughput of the volume.
Throughput bool `pulumi:"throughput"`
// The Size of the volume.
VolumeSize int `pulumi:"volumeSize"`
// The Type of the volume.
VolumeType string `pulumi:"volumeType"`
}
type GetLaunchConfigurationEbsBlockDeviceArgs ¶
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"`
// Whether the device in the block device mapping of the AMI is suppressed.
NoDevice pulumi.BoolInput `pulumi:"noDevice"`
// The Snapshot ID of the mount.
SnapshotId pulumi.StringInput `pulumi:"snapshotId"`
// The Throughput of the volume.
Throughput pulumi.BoolInput `pulumi:"throughput"`
// The Size of the volume.
VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
// The Type of the volume.
VolumeType pulumi.StringInput `pulumi:"volumeType"`
}
func (GetLaunchConfigurationEbsBlockDeviceArgs) ElementType ¶
func (GetLaunchConfigurationEbsBlockDeviceArgs) ElementType() reflect.Type
func (GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutput ¶
func (i GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutput() GetLaunchConfigurationEbsBlockDeviceOutput
func (GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext ¶
func (i GetLaunchConfigurationEbsBlockDeviceArgs) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceOutput
type GetLaunchConfigurationEbsBlockDeviceArray ¶
type GetLaunchConfigurationEbsBlockDeviceArray []GetLaunchConfigurationEbsBlockDeviceInput
func (GetLaunchConfigurationEbsBlockDeviceArray) ElementType ¶
func (GetLaunchConfigurationEbsBlockDeviceArray) ElementType() reflect.Type
func (GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput ¶
func (i GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput() GetLaunchConfigurationEbsBlockDeviceArrayOutput
func (GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext ¶
func (i GetLaunchConfigurationEbsBlockDeviceArray) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceArrayOutput
type GetLaunchConfigurationEbsBlockDeviceArrayInput ¶
type GetLaunchConfigurationEbsBlockDeviceArrayInput interface {
pulumi.Input
ToGetLaunchConfigurationEbsBlockDeviceArrayOutput() GetLaunchConfigurationEbsBlockDeviceArrayOutput
ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(context.Context) GetLaunchConfigurationEbsBlockDeviceArrayOutput
}
GetLaunchConfigurationEbsBlockDeviceArrayInput is an input type that accepts GetLaunchConfigurationEbsBlockDeviceArray and GetLaunchConfigurationEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `GetLaunchConfigurationEbsBlockDeviceArrayInput` via:
GetLaunchConfigurationEbsBlockDeviceArray{ GetLaunchConfigurationEbsBlockDeviceArgs{...} }
type GetLaunchConfigurationEbsBlockDeviceArrayOutput ¶
type GetLaunchConfigurationEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) ElementType ¶
func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput ¶
func (o GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutput() GetLaunchConfigurationEbsBlockDeviceArrayOutput
func (GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext ¶
func (o GetLaunchConfigurationEbsBlockDeviceArrayOutput) ToGetLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceArrayOutput
type GetLaunchConfigurationEbsBlockDeviceInput ¶
type GetLaunchConfigurationEbsBlockDeviceInput interface {
pulumi.Input
ToGetLaunchConfigurationEbsBlockDeviceOutput() GetLaunchConfigurationEbsBlockDeviceOutput
ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext(context.Context) GetLaunchConfigurationEbsBlockDeviceOutput
}
GetLaunchConfigurationEbsBlockDeviceInput is an input type that accepts GetLaunchConfigurationEbsBlockDeviceArgs and GetLaunchConfigurationEbsBlockDeviceOutput values. You can construct a concrete instance of `GetLaunchConfigurationEbsBlockDeviceInput` via:
GetLaunchConfigurationEbsBlockDeviceArgs{...}
type GetLaunchConfigurationEbsBlockDeviceOutput ¶
type GetLaunchConfigurationEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (GetLaunchConfigurationEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput
Whether the EBS Volume will be deleted on instance termination.
func (GetLaunchConfigurationEbsBlockDeviceOutput) DeviceName ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
The Name of the device.
func (GetLaunchConfigurationEbsBlockDeviceOutput) ElementType ¶
func (GetLaunchConfigurationEbsBlockDeviceOutput) ElementType() reflect.Type
func (GetLaunchConfigurationEbsBlockDeviceOutput) Encrypted ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) Encrypted() pulumi.BoolOutput
Whether the volume is Encrypted.
func (GetLaunchConfigurationEbsBlockDeviceOutput) Iops ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) Iops() pulumi.IntOutput
The provisioned IOPs of the volume.
func (GetLaunchConfigurationEbsBlockDeviceOutput) NoDevice ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) NoDevice() pulumi.BoolOutput
Whether the device in the block device mapping of the AMI is suppressed.
func (GetLaunchConfigurationEbsBlockDeviceOutput) SnapshotId ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) SnapshotId() pulumi.StringOutput
The Snapshot ID of the mount.
func (GetLaunchConfigurationEbsBlockDeviceOutput) Throughput ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) Throughput() pulumi.BoolOutput
The Throughput of the volume.
func (GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutput ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutput() GetLaunchConfigurationEbsBlockDeviceOutput
func (GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) ToGetLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEbsBlockDeviceOutput
func (GetLaunchConfigurationEbsBlockDeviceOutput) VolumeSize ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) VolumeSize() pulumi.IntOutput
The Size of the volume.
func (GetLaunchConfigurationEbsBlockDeviceOutput) VolumeType ¶
func (o GetLaunchConfigurationEbsBlockDeviceOutput) VolumeType() pulumi.StringOutput
The Type of the volume.
type GetLaunchConfigurationEphemeralBlockDeviceArgs ¶
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 ¶
func (GetLaunchConfigurationEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutput ¶
func (i GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutput() GetLaunchConfigurationEphemeralBlockDeviceOutput
func (GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext ¶
func (i GetLaunchConfigurationEphemeralBlockDeviceArgs) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceOutput
type GetLaunchConfigurationEphemeralBlockDeviceArray ¶
type GetLaunchConfigurationEphemeralBlockDeviceArray []GetLaunchConfigurationEphemeralBlockDeviceInput
func (GetLaunchConfigurationEphemeralBlockDeviceArray) ElementType ¶
func (GetLaunchConfigurationEphemeralBlockDeviceArray) ElementType() reflect.Type
func (GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput ¶
func (i GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
func (GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext ¶
func (i GetLaunchConfigurationEphemeralBlockDeviceArray) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
type GetLaunchConfigurationEphemeralBlockDeviceArrayInput ¶
type GetLaunchConfigurationEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(context.Context) GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
}
GetLaunchConfigurationEphemeralBlockDeviceArrayInput is an input type that accepts GetLaunchConfigurationEphemeralBlockDeviceArray and GetLaunchConfigurationEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `GetLaunchConfigurationEphemeralBlockDeviceArrayInput` via:
GetLaunchConfigurationEphemeralBlockDeviceArray{ GetLaunchConfigurationEphemeralBlockDeviceArgs{...} }
type GetLaunchConfigurationEphemeralBlockDeviceArrayOutput ¶
type GetLaunchConfigurationEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ElementType ¶
func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput ¶
func (o GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutput() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
func (GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext ¶
func (o GetLaunchConfigurationEphemeralBlockDeviceArrayOutput) ToGetLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
type GetLaunchConfigurationEphemeralBlockDeviceInput ¶
type GetLaunchConfigurationEphemeralBlockDeviceInput interface {
pulumi.Input
ToGetLaunchConfigurationEphemeralBlockDeviceOutput() GetLaunchConfigurationEphemeralBlockDeviceOutput
ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext(context.Context) GetLaunchConfigurationEphemeralBlockDeviceOutput
}
GetLaunchConfigurationEphemeralBlockDeviceInput is an input type that accepts GetLaunchConfigurationEphemeralBlockDeviceArgs and GetLaunchConfigurationEphemeralBlockDeviceOutput values. You can construct a concrete instance of `GetLaunchConfigurationEphemeralBlockDeviceInput` via:
GetLaunchConfigurationEphemeralBlockDeviceArgs{...}
type GetLaunchConfigurationEphemeralBlockDeviceOutput ¶
type GetLaunchConfigurationEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (GetLaunchConfigurationEphemeralBlockDeviceOutput) DeviceName ¶
func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
The Name of the device.
func (GetLaunchConfigurationEphemeralBlockDeviceOutput) ElementType ¶
func (GetLaunchConfigurationEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutput ¶
func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutput() GetLaunchConfigurationEphemeralBlockDeviceOutput
func (GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext ¶
func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) ToGetLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationEphemeralBlockDeviceOutput
func (GetLaunchConfigurationEphemeralBlockDeviceOutput) VirtualName ¶
func (o GetLaunchConfigurationEphemeralBlockDeviceOutput) VirtualName() pulumi.StringOutput
The Virtual Name of the device.
type GetLaunchConfigurationMetadataOption ¶
type GetLaunchConfigurationMetadataOption struct {
// The state of the metadata service: `enabled`, `disabled`.
HttpEndpoint string `pulumi:"httpEndpoint"`
// The desired HTTP PUT response hop limit for instance metadata requests.
HttpPutResponseHopLimit int `pulumi:"httpPutResponseHopLimit"`
// If session tokens are required: `optional`, `required`.
HttpTokens string `pulumi:"httpTokens"`
}
type GetLaunchConfigurationMetadataOptionArgs ¶
type GetLaunchConfigurationMetadataOptionArgs struct {
// The state of the metadata service: `enabled`, `disabled`.
HttpEndpoint pulumi.StringInput `pulumi:"httpEndpoint"`
// The desired HTTP PUT response hop limit for instance metadata requests.
HttpPutResponseHopLimit pulumi.IntInput `pulumi:"httpPutResponseHopLimit"`
// If session tokens are required: `optional`, `required`.
HttpTokens pulumi.StringInput `pulumi:"httpTokens"`
}
func (GetLaunchConfigurationMetadataOptionArgs) ElementType ¶
func (GetLaunchConfigurationMetadataOptionArgs) ElementType() reflect.Type
func (GetLaunchConfigurationMetadataOptionArgs) ToGetLaunchConfigurationMetadataOptionOutput ¶
func (i GetLaunchConfigurationMetadataOptionArgs) ToGetLaunchConfigurationMetadataOptionOutput() GetLaunchConfigurationMetadataOptionOutput
func (GetLaunchConfigurationMetadataOptionArgs) ToGetLaunchConfigurationMetadataOptionOutputWithContext ¶
func (i GetLaunchConfigurationMetadataOptionArgs) ToGetLaunchConfigurationMetadataOptionOutputWithContext(ctx context.Context) GetLaunchConfigurationMetadataOptionOutput
type GetLaunchConfigurationMetadataOptionArray ¶
type GetLaunchConfigurationMetadataOptionArray []GetLaunchConfigurationMetadataOptionInput
func (GetLaunchConfigurationMetadataOptionArray) ElementType ¶
func (GetLaunchConfigurationMetadataOptionArray) ElementType() reflect.Type
func (GetLaunchConfigurationMetadataOptionArray) ToGetLaunchConfigurationMetadataOptionArrayOutput ¶
func (i GetLaunchConfigurationMetadataOptionArray) ToGetLaunchConfigurationMetadataOptionArrayOutput() GetLaunchConfigurationMetadataOptionArrayOutput
func (GetLaunchConfigurationMetadataOptionArray) ToGetLaunchConfigurationMetadataOptionArrayOutputWithContext ¶
func (i GetLaunchConfigurationMetadataOptionArray) ToGetLaunchConfigurationMetadataOptionArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationMetadataOptionArrayOutput
type GetLaunchConfigurationMetadataOptionArrayInput ¶
type GetLaunchConfigurationMetadataOptionArrayInput interface {
pulumi.Input
ToGetLaunchConfigurationMetadataOptionArrayOutput() GetLaunchConfigurationMetadataOptionArrayOutput
ToGetLaunchConfigurationMetadataOptionArrayOutputWithContext(context.Context) GetLaunchConfigurationMetadataOptionArrayOutput
}
GetLaunchConfigurationMetadataOptionArrayInput is an input type that accepts GetLaunchConfigurationMetadataOptionArray and GetLaunchConfigurationMetadataOptionArrayOutput values. You can construct a concrete instance of `GetLaunchConfigurationMetadataOptionArrayInput` via:
GetLaunchConfigurationMetadataOptionArray{ GetLaunchConfigurationMetadataOptionArgs{...} }
type GetLaunchConfigurationMetadataOptionArrayOutput ¶
type GetLaunchConfigurationMetadataOptionArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchConfigurationMetadataOptionArrayOutput) ElementType ¶
func (GetLaunchConfigurationMetadataOptionArrayOutput) ElementType() reflect.Type
func (GetLaunchConfigurationMetadataOptionArrayOutput) ToGetLaunchConfigurationMetadataOptionArrayOutput ¶
func (o GetLaunchConfigurationMetadataOptionArrayOutput) ToGetLaunchConfigurationMetadataOptionArrayOutput() GetLaunchConfigurationMetadataOptionArrayOutput
func (GetLaunchConfigurationMetadataOptionArrayOutput) ToGetLaunchConfigurationMetadataOptionArrayOutputWithContext ¶
func (o GetLaunchConfigurationMetadataOptionArrayOutput) ToGetLaunchConfigurationMetadataOptionArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationMetadataOptionArrayOutput
type GetLaunchConfigurationMetadataOptionInput ¶
type GetLaunchConfigurationMetadataOptionInput interface {
pulumi.Input
ToGetLaunchConfigurationMetadataOptionOutput() GetLaunchConfigurationMetadataOptionOutput
ToGetLaunchConfigurationMetadataOptionOutputWithContext(context.Context) GetLaunchConfigurationMetadataOptionOutput
}
GetLaunchConfigurationMetadataOptionInput is an input type that accepts GetLaunchConfigurationMetadataOptionArgs and GetLaunchConfigurationMetadataOptionOutput values. You can construct a concrete instance of `GetLaunchConfigurationMetadataOptionInput` via:
GetLaunchConfigurationMetadataOptionArgs{...}
type GetLaunchConfigurationMetadataOptionOutput ¶
type GetLaunchConfigurationMetadataOptionOutput struct{ *pulumi.OutputState }
func (GetLaunchConfigurationMetadataOptionOutput) ElementType ¶
func (GetLaunchConfigurationMetadataOptionOutput) ElementType() reflect.Type
func (GetLaunchConfigurationMetadataOptionOutput) HttpEndpoint ¶
func (o GetLaunchConfigurationMetadataOptionOutput) HttpEndpoint() pulumi.StringOutput
The state of the metadata service: `enabled`, `disabled`.
func (GetLaunchConfigurationMetadataOptionOutput) HttpPutResponseHopLimit ¶
func (o GetLaunchConfigurationMetadataOptionOutput) HttpPutResponseHopLimit() pulumi.IntOutput
The desired HTTP PUT response hop limit for instance metadata requests.
func (GetLaunchConfigurationMetadataOptionOutput) HttpTokens ¶
func (o GetLaunchConfigurationMetadataOptionOutput) HttpTokens() pulumi.StringOutput
If session tokens are required: `optional`, `required`.
func (GetLaunchConfigurationMetadataOptionOutput) ToGetLaunchConfigurationMetadataOptionOutput ¶
func (o GetLaunchConfigurationMetadataOptionOutput) ToGetLaunchConfigurationMetadataOptionOutput() GetLaunchConfigurationMetadataOptionOutput
func (GetLaunchConfigurationMetadataOptionOutput) ToGetLaunchConfigurationMetadataOptionOutputWithContext ¶
func (o GetLaunchConfigurationMetadataOptionOutput) ToGetLaunchConfigurationMetadataOptionOutputWithContext(ctx context.Context) GetLaunchConfigurationMetadataOptionOutput
type GetLaunchConfigurationRootBlockDevice ¶
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 Throughput of the volume.
Throughput bool `pulumi:"throughput"`
// The Size of the volume.
VolumeSize int `pulumi:"volumeSize"`
// The Type of the volume.
VolumeType string `pulumi:"volumeType"`
}
type GetLaunchConfigurationRootBlockDeviceArgs ¶
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 Throughput of the volume.
Throughput pulumi.BoolInput `pulumi:"throughput"`
// The Size of the volume.
VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
// The Type of the volume.
VolumeType pulumi.StringInput `pulumi:"volumeType"`
}
func (GetLaunchConfigurationRootBlockDeviceArgs) ElementType ¶
func (GetLaunchConfigurationRootBlockDeviceArgs) ElementType() reflect.Type
func (GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutput ¶
func (i GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutput() GetLaunchConfigurationRootBlockDeviceOutput
func (GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext ¶
func (i GetLaunchConfigurationRootBlockDeviceArgs) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceOutput
type GetLaunchConfigurationRootBlockDeviceArray ¶
type GetLaunchConfigurationRootBlockDeviceArray []GetLaunchConfigurationRootBlockDeviceInput
func (GetLaunchConfigurationRootBlockDeviceArray) ElementType ¶
func (GetLaunchConfigurationRootBlockDeviceArray) ElementType() reflect.Type
func (GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutput ¶
func (i GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutput() GetLaunchConfigurationRootBlockDeviceArrayOutput
func (GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext ¶
func (i GetLaunchConfigurationRootBlockDeviceArray) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceArrayOutput
type GetLaunchConfigurationRootBlockDeviceArrayInput ¶
type GetLaunchConfigurationRootBlockDeviceArrayInput interface {
pulumi.Input
ToGetLaunchConfigurationRootBlockDeviceArrayOutput() GetLaunchConfigurationRootBlockDeviceArrayOutput
ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext(context.Context) GetLaunchConfigurationRootBlockDeviceArrayOutput
}
GetLaunchConfigurationRootBlockDeviceArrayInput is an input type that accepts GetLaunchConfigurationRootBlockDeviceArray and GetLaunchConfigurationRootBlockDeviceArrayOutput values. You can construct a concrete instance of `GetLaunchConfigurationRootBlockDeviceArrayInput` via:
GetLaunchConfigurationRootBlockDeviceArray{ GetLaunchConfigurationRootBlockDeviceArgs{...} }
type GetLaunchConfigurationRootBlockDeviceArrayOutput ¶
type GetLaunchConfigurationRootBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchConfigurationRootBlockDeviceArrayOutput) ElementType ¶
func (GetLaunchConfigurationRootBlockDeviceArrayOutput) ElementType() reflect.Type
func (GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutput ¶
func (o GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutput() GetLaunchConfigurationRootBlockDeviceArrayOutput
func (GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext ¶
func (o GetLaunchConfigurationRootBlockDeviceArrayOutput) ToGetLaunchConfigurationRootBlockDeviceArrayOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceArrayOutput
type GetLaunchConfigurationRootBlockDeviceInput ¶
type GetLaunchConfigurationRootBlockDeviceInput interface {
pulumi.Input
ToGetLaunchConfigurationRootBlockDeviceOutput() GetLaunchConfigurationRootBlockDeviceOutput
ToGetLaunchConfigurationRootBlockDeviceOutputWithContext(context.Context) GetLaunchConfigurationRootBlockDeviceOutput
}
GetLaunchConfigurationRootBlockDeviceInput is an input type that accepts GetLaunchConfigurationRootBlockDeviceArgs and GetLaunchConfigurationRootBlockDeviceOutput values. You can construct a concrete instance of `GetLaunchConfigurationRootBlockDeviceInput` via:
GetLaunchConfigurationRootBlockDeviceArgs{...}
type GetLaunchConfigurationRootBlockDeviceOutput ¶
type GetLaunchConfigurationRootBlockDeviceOutput struct{ *pulumi.OutputState }
func (GetLaunchConfigurationRootBlockDeviceOutput) DeleteOnTermination ¶
func (o GetLaunchConfigurationRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolOutput
Whether the EBS Volume will be deleted on instance termination.
func (GetLaunchConfigurationRootBlockDeviceOutput) ElementType ¶
func (GetLaunchConfigurationRootBlockDeviceOutput) ElementType() reflect.Type
func (GetLaunchConfigurationRootBlockDeviceOutput) Encrypted ¶
func (o GetLaunchConfigurationRootBlockDeviceOutput) Encrypted() pulumi.BoolOutput
Whether the volume is Encrypted.
func (GetLaunchConfigurationRootBlockDeviceOutput) Iops ¶
func (o GetLaunchConfigurationRootBlockDeviceOutput) Iops() pulumi.IntOutput
The provisioned IOPs of the volume.
func (GetLaunchConfigurationRootBlockDeviceOutput) Throughput ¶
func (o GetLaunchConfigurationRootBlockDeviceOutput) Throughput() pulumi.BoolOutput
The Throughput of the volume.
func (GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutput ¶
func (o GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutput() GetLaunchConfigurationRootBlockDeviceOutput
func (GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext ¶
func (o GetLaunchConfigurationRootBlockDeviceOutput) ToGetLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) GetLaunchConfigurationRootBlockDeviceOutput
func (GetLaunchConfigurationRootBlockDeviceOutput) VolumeSize ¶
func (o GetLaunchConfigurationRootBlockDeviceOutput) VolumeSize() pulumi.IntOutput
The Size of the volume.
func (GetLaunchConfigurationRootBlockDeviceOutput) VolumeType ¶
func (o GetLaunchConfigurationRootBlockDeviceOutput) VolumeType() pulumi.StringOutput
The Type of the volume.
type GetLaunchTemplateBlockDeviceMapping ¶
type GetLaunchTemplateBlockDeviceMapping struct {
DeviceName string `pulumi:"deviceName"`
Ebs []GetLaunchTemplateBlockDeviceMappingEb `pulumi:"ebs"`
NoDevice string `pulumi:"noDevice"`
VirtualName string `pulumi:"virtualName"`
}
type GetLaunchTemplateBlockDeviceMappingArgs ¶
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 ¶
func (GetLaunchTemplateBlockDeviceMappingArgs) ElementType() reflect.Type
func (GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutput ¶
func (i GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutput() GetLaunchTemplateBlockDeviceMappingOutput
func (GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext ¶
func (i GetLaunchTemplateBlockDeviceMappingArgs) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingOutput
type GetLaunchTemplateBlockDeviceMappingArray ¶
type GetLaunchTemplateBlockDeviceMappingArray []GetLaunchTemplateBlockDeviceMappingInput
func (GetLaunchTemplateBlockDeviceMappingArray) ElementType ¶
func (GetLaunchTemplateBlockDeviceMappingArray) ElementType() reflect.Type
func (GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutput ¶
func (i GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutput() GetLaunchTemplateBlockDeviceMappingArrayOutput
func (GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext ¶
func (i GetLaunchTemplateBlockDeviceMappingArray) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingArrayOutput
type GetLaunchTemplateBlockDeviceMappingArrayInput ¶
type GetLaunchTemplateBlockDeviceMappingArrayInput interface {
pulumi.Input
ToGetLaunchTemplateBlockDeviceMappingArrayOutput() GetLaunchTemplateBlockDeviceMappingArrayOutput
ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext(context.Context) GetLaunchTemplateBlockDeviceMappingArrayOutput
}
GetLaunchTemplateBlockDeviceMappingArrayInput is an input type that accepts GetLaunchTemplateBlockDeviceMappingArray and GetLaunchTemplateBlockDeviceMappingArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateBlockDeviceMappingArrayInput` via:
GetLaunchTemplateBlockDeviceMappingArray{ GetLaunchTemplateBlockDeviceMappingArgs{...} }
type GetLaunchTemplateBlockDeviceMappingArrayOutput ¶
type GetLaunchTemplateBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateBlockDeviceMappingArrayOutput) ElementType ¶
func (GetLaunchTemplateBlockDeviceMappingArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutput ¶
func (o GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutput() GetLaunchTemplateBlockDeviceMappingArrayOutput
func (GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext ¶
func (o GetLaunchTemplateBlockDeviceMappingArrayOutput) ToGetLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingArrayOutput
type GetLaunchTemplateBlockDeviceMappingEb ¶
type GetLaunchTemplateBlockDeviceMappingEb struct {
DeleteOnTermination string `pulumi:"deleteOnTermination"`
Encrypted string `pulumi:"encrypted"`
Iops int `pulumi:"iops"`
KmsKeyId string `pulumi:"kmsKeyId"`
SnapshotId string `pulumi:"snapshotId"`
Throughput int `pulumi:"throughput"`
VolumeSize int `pulumi:"volumeSize"`
VolumeType string `pulumi:"volumeType"`
}
type GetLaunchTemplateBlockDeviceMappingEbArgs ¶
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"`
Throughput pulumi.IntInput `pulumi:"throughput"`
VolumeSize pulumi.IntInput `pulumi:"volumeSize"`
VolumeType pulumi.StringInput `pulumi:"volumeType"`
}
func (GetLaunchTemplateBlockDeviceMappingEbArgs) ElementType ¶
func (GetLaunchTemplateBlockDeviceMappingEbArgs) ElementType() reflect.Type
func (GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutput ¶
func (i GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutput() GetLaunchTemplateBlockDeviceMappingEbOutput
func (GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext ¶
func (i GetLaunchTemplateBlockDeviceMappingEbArgs) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbOutput
type GetLaunchTemplateBlockDeviceMappingEbArray ¶
type GetLaunchTemplateBlockDeviceMappingEbArray []GetLaunchTemplateBlockDeviceMappingEbInput
func (GetLaunchTemplateBlockDeviceMappingEbArray) ElementType ¶
func (GetLaunchTemplateBlockDeviceMappingEbArray) ElementType() reflect.Type
func (GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput ¶
func (i GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput() GetLaunchTemplateBlockDeviceMappingEbArrayOutput
func (GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext ¶
func (i GetLaunchTemplateBlockDeviceMappingEbArray) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbArrayOutput
type GetLaunchTemplateBlockDeviceMappingEbArrayInput ¶
type GetLaunchTemplateBlockDeviceMappingEbArrayInput interface {
pulumi.Input
ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput() GetLaunchTemplateBlockDeviceMappingEbArrayOutput
ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext(context.Context) GetLaunchTemplateBlockDeviceMappingEbArrayOutput
}
GetLaunchTemplateBlockDeviceMappingEbArrayInput is an input type that accepts GetLaunchTemplateBlockDeviceMappingEbArray and GetLaunchTemplateBlockDeviceMappingEbArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateBlockDeviceMappingEbArrayInput` via:
GetLaunchTemplateBlockDeviceMappingEbArray{ GetLaunchTemplateBlockDeviceMappingEbArgs{...} }
type GetLaunchTemplateBlockDeviceMappingEbArrayOutput ¶
type GetLaunchTemplateBlockDeviceMappingEbArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ElementType ¶
func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput ¶
func (o GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutput() GetLaunchTemplateBlockDeviceMappingEbArrayOutput
func (GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext ¶
func (o GetLaunchTemplateBlockDeviceMappingEbArrayOutput) ToGetLaunchTemplateBlockDeviceMappingEbArrayOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbArrayOutput
type GetLaunchTemplateBlockDeviceMappingEbInput ¶
type GetLaunchTemplateBlockDeviceMappingEbInput interface {
pulumi.Input
ToGetLaunchTemplateBlockDeviceMappingEbOutput() GetLaunchTemplateBlockDeviceMappingEbOutput
ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext(context.Context) GetLaunchTemplateBlockDeviceMappingEbOutput
}
GetLaunchTemplateBlockDeviceMappingEbInput is an input type that accepts GetLaunchTemplateBlockDeviceMappingEbArgs and GetLaunchTemplateBlockDeviceMappingEbOutput values. You can construct a concrete instance of `GetLaunchTemplateBlockDeviceMappingEbInput` via:
GetLaunchTemplateBlockDeviceMappingEbArgs{...}
type GetLaunchTemplateBlockDeviceMappingEbOutput ¶
type GetLaunchTemplateBlockDeviceMappingEbOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateBlockDeviceMappingEbOutput) DeleteOnTermination ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) DeleteOnTermination() pulumi.StringOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) ElementType ¶
func (GetLaunchTemplateBlockDeviceMappingEbOutput) ElementType() reflect.Type
func (GetLaunchTemplateBlockDeviceMappingEbOutput) Encrypted ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) Encrypted() pulumi.StringOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) Iops ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) Iops() pulumi.IntOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) KmsKeyId ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) KmsKeyId() pulumi.StringOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) SnapshotId ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) SnapshotId() pulumi.StringOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) Throughput ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) Throughput() pulumi.IntOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutput ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutput() GetLaunchTemplateBlockDeviceMappingEbOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) ToGetLaunchTemplateBlockDeviceMappingEbOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingEbOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) VolumeSize ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) VolumeSize() pulumi.IntOutput
func (GetLaunchTemplateBlockDeviceMappingEbOutput) VolumeType ¶
func (o GetLaunchTemplateBlockDeviceMappingEbOutput) VolumeType() pulumi.StringOutput
type GetLaunchTemplateBlockDeviceMappingInput ¶
type GetLaunchTemplateBlockDeviceMappingInput interface {
pulumi.Input
ToGetLaunchTemplateBlockDeviceMappingOutput() GetLaunchTemplateBlockDeviceMappingOutput
ToGetLaunchTemplateBlockDeviceMappingOutputWithContext(context.Context) GetLaunchTemplateBlockDeviceMappingOutput
}
GetLaunchTemplateBlockDeviceMappingInput is an input type that accepts GetLaunchTemplateBlockDeviceMappingArgs and GetLaunchTemplateBlockDeviceMappingOutput values. You can construct a concrete instance of `GetLaunchTemplateBlockDeviceMappingInput` via:
GetLaunchTemplateBlockDeviceMappingArgs{...}
type GetLaunchTemplateBlockDeviceMappingOutput ¶
type GetLaunchTemplateBlockDeviceMappingOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateBlockDeviceMappingOutput) DeviceName ¶
func (o GetLaunchTemplateBlockDeviceMappingOutput) DeviceName() pulumi.StringOutput
func (GetLaunchTemplateBlockDeviceMappingOutput) ElementType ¶
func (GetLaunchTemplateBlockDeviceMappingOutput) ElementType() reflect.Type
func (GetLaunchTemplateBlockDeviceMappingOutput) NoDevice ¶
func (o GetLaunchTemplateBlockDeviceMappingOutput) NoDevice() pulumi.StringOutput
func (GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutput ¶
func (o GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutput() GetLaunchTemplateBlockDeviceMappingOutput
func (GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext ¶
func (o GetLaunchTemplateBlockDeviceMappingOutput) ToGetLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) GetLaunchTemplateBlockDeviceMappingOutput
func (GetLaunchTemplateBlockDeviceMappingOutput) VirtualName ¶
func (o GetLaunchTemplateBlockDeviceMappingOutput) VirtualName() pulumi.StringOutput
type GetLaunchTemplateCapacityReservationSpecification ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecification struct {
CapacityReservationPreference string `pulumi:"capacityReservationPreference"`
CapacityReservationTargets []GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTarget `pulumi:"capacityReservationTargets"`
}
type GetLaunchTemplateCapacityReservationSpecificationArgs ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationArgs struct {
CapacityReservationPreference pulumi.StringInput `pulumi:"capacityReservationPreference"`
CapacityReservationTargets GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayInput `pulumi:"capacityReservationTargets"`
}
func (GetLaunchTemplateCapacityReservationSpecificationArgs) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationArgs) ElementType() reflect.Type
func (GetLaunchTemplateCapacityReservationSpecificationArgs) ToGetLaunchTemplateCapacityReservationSpecificationOutput ¶ added in v5.1.0
func (i GetLaunchTemplateCapacityReservationSpecificationArgs) ToGetLaunchTemplateCapacityReservationSpecificationOutput() GetLaunchTemplateCapacityReservationSpecificationOutput
func (GetLaunchTemplateCapacityReservationSpecificationArgs) ToGetLaunchTemplateCapacityReservationSpecificationOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateCapacityReservationSpecificationArgs) ToGetLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationOutput
type GetLaunchTemplateCapacityReservationSpecificationArray ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationArray []GetLaunchTemplateCapacityReservationSpecificationInput
func (GetLaunchTemplateCapacityReservationSpecificationArray) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationArray) ElementType() reflect.Type
func (GetLaunchTemplateCapacityReservationSpecificationArray) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutput ¶ added in v5.1.0
func (i GetLaunchTemplateCapacityReservationSpecificationArray) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutput() GetLaunchTemplateCapacityReservationSpecificationArrayOutput
func (GetLaunchTemplateCapacityReservationSpecificationArray) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateCapacityReservationSpecificationArray) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationArrayOutput
type GetLaunchTemplateCapacityReservationSpecificationArrayInput ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationArrayInput interface {
pulumi.Input
ToGetLaunchTemplateCapacityReservationSpecificationArrayOutput() GetLaunchTemplateCapacityReservationSpecificationArrayOutput
ToGetLaunchTemplateCapacityReservationSpecificationArrayOutputWithContext(context.Context) GetLaunchTemplateCapacityReservationSpecificationArrayOutput
}
GetLaunchTemplateCapacityReservationSpecificationArrayInput is an input type that accepts GetLaunchTemplateCapacityReservationSpecificationArray and GetLaunchTemplateCapacityReservationSpecificationArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateCapacityReservationSpecificationArrayInput` via:
GetLaunchTemplateCapacityReservationSpecificationArray{ GetLaunchTemplateCapacityReservationSpecificationArgs{...} }
type GetLaunchTemplateCapacityReservationSpecificationArrayOutput ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutput ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutput() GetLaunchTemplateCapacityReservationSpecificationArrayOutput
func (GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationArrayOutput
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTarget ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs struct {
CapacityReservationId pulumi.StringInput `pulumi:"capacityReservationId"`
CapacityReservationResourceGroupArn pulumi.StringInput `pulumi:"capacityReservationResourceGroupArn"`
}
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType() reflect.Type
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput ¶ added in v5.1.0
func (i GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray []GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ElementType() reflect.Type
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput ¶ added in v5.1.0
func (i GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput() GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayInput ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayInput interface {
pulumi.Input
ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput() GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput
ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutputWithContext(context.Context) GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput
}
GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayInput is an input type that accepts GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray and GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayInput` via:
GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArray{ GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs{...} }
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) Index ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput() GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput interface {
pulumi.Input
ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(context.Context) GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
}
GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput is an input type that accepts GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs and GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput values. You can construct a concrete instance of `GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput` via:
GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs{...}
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId() pulumi.StringOutput
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationResourceGroupArn ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationResourceGroupArn() pulumi.StringOutput
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType() reflect.Type
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
func (GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToGetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
type GetLaunchTemplateCapacityReservationSpecificationInput ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationInput interface {
pulumi.Input
ToGetLaunchTemplateCapacityReservationSpecificationOutput() GetLaunchTemplateCapacityReservationSpecificationOutput
ToGetLaunchTemplateCapacityReservationSpecificationOutputWithContext(context.Context) GetLaunchTemplateCapacityReservationSpecificationOutput
}
GetLaunchTemplateCapacityReservationSpecificationInput is an input type that accepts GetLaunchTemplateCapacityReservationSpecificationArgs and GetLaunchTemplateCapacityReservationSpecificationOutput values. You can construct a concrete instance of `GetLaunchTemplateCapacityReservationSpecificationInput` via:
GetLaunchTemplateCapacityReservationSpecificationArgs{...}
type GetLaunchTemplateCapacityReservationSpecificationOutput ¶ added in v5.1.0
type GetLaunchTemplateCapacityReservationSpecificationOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationPreference ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationPreference() pulumi.StringOutput
func (GetLaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationTargets ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationTargets() GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArrayOutput
func (GetLaunchTemplateCapacityReservationSpecificationOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCapacityReservationSpecificationOutput) ElementType() reflect.Type
func (GetLaunchTemplateCapacityReservationSpecificationOutput) ToGetLaunchTemplateCapacityReservationSpecificationOutput ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationOutput) ToGetLaunchTemplateCapacityReservationSpecificationOutput() GetLaunchTemplateCapacityReservationSpecificationOutput
func (GetLaunchTemplateCapacityReservationSpecificationOutput) ToGetLaunchTemplateCapacityReservationSpecificationOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateCapacityReservationSpecificationOutput) ToGetLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCapacityReservationSpecificationOutput
type GetLaunchTemplateCpuOption ¶ added in v5.1.0
type GetLaunchTemplateCpuOptionArgs ¶ added in v5.1.0
type GetLaunchTemplateCpuOptionArgs struct {
CoreCount pulumi.IntInput `pulumi:"coreCount"`
ThreadsPerCore pulumi.IntInput `pulumi:"threadsPerCore"`
}
func (GetLaunchTemplateCpuOptionArgs) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCpuOptionArgs) ElementType() reflect.Type
func (GetLaunchTemplateCpuOptionArgs) ToGetLaunchTemplateCpuOptionOutput ¶ added in v5.1.0
func (i GetLaunchTemplateCpuOptionArgs) ToGetLaunchTemplateCpuOptionOutput() GetLaunchTemplateCpuOptionOutput
func (GetLaunchTemplateCpuOptionArgs) ToGetLaunchTemplateCpuOptionOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateCpuOptionArgs) ToGetLaunchTemplateCpuOptionOutputWithContext(ctx context.Context) GetLaunchTemplateCpuOptionOutput
type GetLaunchTemplateCpuOptionArray ¶ added in v5.1.0
type GetLaunchTemplateCpuOptionArray []GetLaunchTemplateCpuOptionInput
func (GetLaunchTemplateCpuOptionArray) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCpuOptionArray) ElementType() reflect.Type
func (GetLaunchTemplateCpuOptionArray) ToGetLaunchTemplateCpuOptionArrayOutput ¶ added in v5.1.0
func (i GetLaunchTemplateCpuOptionArray) ToGetLaunchTemplateCpuOptionArrayOutput() GetLaunchTemplateCpuOptionArrayOutput
func (GetLaunchTemplateCpuOptionArray) ToGetLaunchTemplateCpuOptionArrayOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateCpuOptionArray) ToGetLaunchTemplateCpuOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCpuOptionArrayOutput
type GetLaunchTemplateCpuOptionArrayInput ¶ added in v5.1.0
type GetLaunchTemplateCpuOptionArrayInput interface {
pulumi.Input
ToGetLaunchTemplateCpuOptionArrayOutput() GetLaunchTemplateCpuOptionArrayOutput
ToGetLaunchTemplateCpuOptionArrayOutputWithContext(context.Context) GetLaunchTemplateCpuOptionArrayOutput
}
GetLaunchTemplateCpuOptionArrayInput is an input type that accepts GetLaunchTemplateCpuOptionArray and GetLaunchTemplateCpuOptionArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateCpuOptionArrayInput` via:
GetLaunchTemplateCpuOptionArray{ GetLaunchTemplateCpuOptionArgs{...} }
type GetLaunchTemplateCpuOptionArrayOutput ¶ added in v5.1.0
type GetLaunchTemplateCpuOptionArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateCpuOptionArrayOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCpuOptionArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateCpuOptionArrayOutput) Index ¶ added in v5.1.0
func (o GetLaunchTemplateCpuOptionArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateCpuOptionOutput
func (GetLaunchTemplateCpuOptionArrayOutput) ToGetLaunchTemplateCpuOptionArrayOutput ¶ added in v5.1.0
func (o GetLaunchTemplateCpuOptionArrayOutput) ToGetLaunchTemplateCpuOptionArrayOutput() GetLaunchTemplateCpuOptionArrayOutput
func (GetLaunchTemplateCpuOptionArrayOutput) ToGetLaunchTemplateCpuOptionArrayOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateCpuOptionArrayOutput) ToGetLaunchTemplateCpuOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCpuOptionArrayOutput
type GetLaunchTemplateCpuOptionInput ¶ added in v5.1.0
type GetLaunchTemplateCpuOptionInput interface {
pulumi.Input
ToGetLaunchTemplateCpuOptionOutput() GetLaunchTemplateCpuOptionOutput
ToGetLaunchTemplateCpuOptionOutputWithContext(context.Context) GetLaunchTemplateCpuOptionOutput
}
GetLaunchTemplateCpuOptionInput is an input type that accepts GetLaunchTemplateCpuOptionArgs and GetLaunchTemplateCpuOptionOutput values. You can construct a concrete instance of `GetLaunchTemplateCpuOptionInput` via:
GetLaunchTemplateCpuOptionArgs{...}
type GetLaunchTemplateCpuOptionOutput ¶ added in v5.1.0
type GetLaunchTemplateCpuOptionOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateCpuOptionOutput) CoreCount ¶ added in v5.1.0
func (o GetLaunchTemplateCpuOptionOutput) CoreCount() pulumi.IntOutput
func (GetLaunchTemplateCpuOptionOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateCpuOptionOutput) ElementType() reflect.Type
func (GetLaunchTemplateCpuOptionOutput) ThreadsPerCore ¶ added in v5.1.0
func (o GetLaunchTemplateCpuOptionOutput) ThreadsPerCore() pulumi.IntOutput
func (GetLaunchTemplateCpuOptionOutput) ToGetLaunchTemplateCpuOptionOutput ¶ added in v5.1.0
func (o GetLaunchTemplateCpuOptionOutput) ToGetLaunchTemplateCpuOptionOutput() GetLaunchTemplateCpuOptionOutput
func (GetLaunchTemplateCpuOptionOutput) ToGetLaunchTemplateCpuOptionOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateCpuOptionOutput) ToGetLaunchTemplateCpuOptionOutputWithContext(ctx context.Context) GetLaunchTemplateCpuOptionOutput
type GetLaunchTemplateCreditSpecification ¶
type GetLaunchTemplateCreditSpecification struct {
CpuCredits string `pulumi:"cpuCredits"`
}
type GetLaunchTemplateCreditSpecificationArgs ¶
type GetLaunchTemplateCreditSpecificationArgs struct {
CpuCredits pulumi.StringInput `pulumi:"cpuCredits"`
}
func (GetLaunchTemplateCreditSpecificationArgs) ElementType ¶
func (GetLaunchTemplateCreditSpecificationArgs) ElementType() reflect.Type
func (GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutput ¶
func (i GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutput() GetLaunchTemplateCreditSpecificationOutput
func (GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutputWithContext ¶
func (i GetLaunchTemplateCreditSpecificationArgs) ToGetLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationOutput
type GetLaunchTemplateCreditSpecificationArray ¶
type GetLaunchTemplateCreditSpecificationArray []GetLaunchTemplateCreditSpecificationInput
func (GetLaunchTemplateCreditSpecificationArray) ElementType ¶
func (GetLaunchTemplateCreditSpecificationArray) ElementType() reflect.Type
func (GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutput ¶
func (i GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutput() GetLaunchTemplateCreditSpecificationArrayOutput
func (GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext ¶
func (i GetLaunchTemplateCreditSpecificationArray) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationArrayOutput
type GetLaunchTemplateCreditSpecificationArrayInput ¶
type GetLaunchTemplateCreditSpecificationArrayInput interface {
pulumi.Input
ToGetLaunchTemplateCreditSpecificationArrayOutput() GetLaunchTemplateCreditSpecificationArrayOutput
ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext(context.Context) GetLaunchTemplateCreditSpecificationArrayOutput
}
GetLaunchTemplateCreditSpecificationArrayInput is an input type that accepts GetLaunchTemplateCreditSpecificationArray and GetLaunchTemplateCreditSpecificationArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateCreditSpecificationArrayInput` via:
GetLaunchTemplateCreditSpecificationArray{ GetLaunchTemplateCreditSpecificationArgs{...} }
type GetLaunchTemplateCreditSpecificationArrayOutput ¶
type GetLaunchTemplateCreditSpecificationArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateCreditSpecificationArrayOutput) ElementType ¶
func (GetLaunchTemplateCreditSpecificationArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutput ¶
func (o GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutput() GetLaunchTemplateCreditSpecificationArrayOutput
func (GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext ¶
func (o GetLaunchTemplateCreditSpecificationArrayOutput) ToGetLaunchTemplateCreditSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationArrayOutput
type GetLaunchTemplateCreditSpecificationInput ¶
type GetLaunchTemplateCreditSpecificationInput interface {
pulumi.Input
ToGetLaunchTemplateCreditSpecificationOutput() GetLaunchTemplateCreditSpecificationOutput
ToGetLaunchTemplateCreditSpecificationOutputWithContext(context.Context) GetLaunchTemplateCreditSpecificationOutput
}
GetLaunchTemplateCreditSpecificationInput is an input type that accepts GetLaunchTemplateCreditSpecificationArgs and GetLaunchTemplateCreditSpecificationOutput values. You can construct a concrete instance of `GetLaunchTemplateCreditSpecificationInput` via:
GetLaunchTemplateCreditSpecificationArgs{...}
type GetLaunchTemplateCreditSpecificationOutput ¶
type GetLaunchTemplateCreditSpecificationOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateCreditSpecificationOutput) CpuCredits ¶
func (o GetLaunchTemplateCreditSpecificationOutput) CpuCredits() pulumi.StringOutput
func (GetLaunchTemplateCreditSpecificationOutput) ElementType ¶
func (GetLaunchTemplateCreditSpecificationOutput) ElementType() reflect.Type
func (GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutput ¶
func (o GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutput() GetLaunchTemplateCreditSpecificationOutput
func (GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutputWithContext ¶
func (o GetLaunchTemplateCreditSpecificationOutput) ToGetLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateCreditSpecificationOutput
type GetLaunchTemplateElasticGpuSpecification ¶
type GetLaunchTemplateElasticGpuSpecification struct {
Type string `pulumi:"type"`
}
type GetLaunchTemplateElasticGpuSpecificationArgs ¶
type GetLaunchTemplateElasticGpuSpecificationArgs struct {
Type pulumi.StringInput `pulumi:"type"`
}
func (GetLaunchTemplateElasticGpuSpecificationArgs) ElementType ¶
func (GetLaunchTemplateElasticGpuSpecificationArgs) ElementType() reflect.Type
func (GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutput ¶
func (i GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutput() GetLaunchTemplateElasticGpuSpecificationOutput
func (GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext ¶
func (i GetLaunchTemplateElasticGpuSpecificationArgs) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationOutput
type GetLaunchTemplateElasticGpuSpecificationArray ¶
type GetLaunchTemplateElasticGpuSpecificationArray []GetLaunchTemplateElasticGpuSpecificationInput
func (GetLaunchTemplateElasticGpuSpecificationArray) ElementType ¶
func (GetLaunchTemplateElasticGpuSpecificationArray) ElementType() reflect.Type
func (GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput ¶
func (i GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput() GetLaunchTemplateElasticGpuSpecificationArrayOutput
func (GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext ¶
func (i GetLaunchTemplateElasticGpuSpecificationArray) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationArrayOutput
type GetLaunchTemplateElasticGpuSpecificationArrayInput ¶
type GetLaunchTemplateElasticGpuSpecificationArrayInput interface {
pulumi.Input
ToGetLaunchTemplateElasticGpuSpecificationArrayOutput() GetLaunchTemplateElasticGpuSpecificationArrayOutput
ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(context.Context) GetLaunchTemplateElasticGpuSpecificationArrayOutput
}
GetLaunchTemplateElasticGpuSpecificationArrayInput is an input type that accepts GetLaunchTemplateElasticGpuSpecificationArray and GetLaunchTemplateElasticGpuSpecificationArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateElasticGpuSpecificationArrayInput` via:
GetLaunchTemplateElasticGpuSpecificationArray{ GetLaunchTemplateElasticGpuSpecificationArgs{...} }
type GetLaunchTemplateElasticGpuSpecificationArrayOutput ¶
type GetLaunchTemplateElasticGpuSpecificationArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) ElementType ¶
func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput ¶
func (o GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutput() GetLaunchTemplateElasticGpuSpecificationArrayOutput
func (GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext ¶
func (o GetLaunchTemplateElasticGpuSpecificationArrayOutput) ToGetLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationArrayOutput
type GetLaunchTemplateElasticGpuSpecificationInput ¶
type GetLaunchTemplateElasticGpuSpecificationInput interface {
pulumi.Input
ToGetLaunchTemplateElasticGpuSpecificationOutput() GetLaunchTemplateElasticGpuSpecificationOutput
ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext(context.Context) GetLaunchTemplateElasticGpuSpecificationOutput
}
GetLaunchTemplateElasticGpuSpecificationInput is an input type that accepts GetLaunchTemplateElasticGpuSpecificationArgs and GetLaunchTemplateElasticGpuSpecificationOutput values. You can construct a concrete instance of `GetLaunchTemplateElasticGpuSpecificationInput` via:
GetLaunchTemplateElasticGpuSpecificationArgs{...}
type GetLaunchTemplateElasticGpuSpecificationOutput ¶
type GetLaunchTemplateElasticGpuSpecificationOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateElasticGpuSpecificationOutput) ElementType ¶
func (GetLaunchTemplateElasticGpuSpecificationOutput) ElementType() reflect.Type
func (GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutput ¶
func (o GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutput() GetLaunchTemplateElasticGpuSpecificationOutput
func (GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext ¶
func (o GetLaunchTemplateElasticGpuSpecificationOutput) ToGetLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateElasticGpuSpecificationOutput
func (GetLaunchTemplateElasticGpuSpecificationOutput) Type ¶
func (o GetLaunchTemplateElasticGpuSpecificationOutput) Type() pulumi.StringOutput
type GetLaunchTemplateElasticInferenceAccelerator ¶ added in v5.1.0
type GetLaunchTemplateElasticInferenceAccelerator struct {
Type string `pulumi:"type"`
}
type GetLaunchTemplateElasticInferenceAcceleratorArgs ¶ added in v5.1.0
type GetLaunchTemplateElasticInferenceAcceleratorArgs struct {
Type pulumi.StringInput `pulumi:"type"`
}
func (GetLaunchTemplateElasticInferenceAcceleratorArgs) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateElasticInferenceAcceleratorArgs) ElementType() reflect.Type
func (GetLaunchTemplateElasticInferenceAcceleratorArgs) ToGetLaunchTemplateElasticInferenceAcceleratorOutput ¶ added in v5.1.0
func (i GetLaunchTemplateElasticInferenceAcceleratorArgs) ToGetLaunchTemplateElasticInferenceAcceleratorOutput() GetLaunchTemplateElasticInferenceAcceleratorOutput
func (GetLaunchTemplateElasticInferenceAcceleratorArgs) ToGetLaunchTemplateElasticInferenceAcceleratorOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateElasticInferenceAcceleratorArgs) ToGetLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) GetLaunchTemplateElasticInferenceAcceleratorOutput
type GetLaunchTemplateElasticInferenceAcceleratorArray ¶ added in v5.1.0
type GetLaunchTemplateElasticInferenceAcceleratorArray []GetLaunchTemplateElasticInferenceAcceleratorInput
func (GetLaunchTemplateElasticInferenceAcceleratorArray) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateElasticInferenceAcceleratorArray) ElementType() reflect.Type
func (GetLaunchTemplateElasticInferenceAcceleratorArray) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutput ¶ added in v5.1.0
func (i GetLaunchTemplateElasticInferenceAcceleratorArray) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutput() GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
func (GetLaunchTemplateElasticInferenceAcceleratorArray) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateElasticInferenceAcceleratorArray) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
type GetLaunchTemplateElasticInferenceAcceleratorArrayInput ¶ added in v5.1.0
type GetLaunchTemplateElasticInferenceAcceleratorArrayInput interface {
pulumi.Input
ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutput() GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutputWithContext(context.Context) GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
}
GetLaunchTemplateElasticInferenceAcceleratorArrayInput is an input type that accepts GetLaunchTemplateElasticInferenceAcceleratorArray and GetLaunchTemplateElasticInferenceAcceleratorArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateElasticInferenceAcceleratorArrayInput` via:
GetLaunchTemplateElasticInferenceAcceleratorArray{ GetLaunchTemplateElasticInferenceAcceleratorArgs{...} }
type GetLaunchTemplateElasticInferenceAcceleratorArrayOutput ¶ added in v5.1.0
type GetLaunchTemplateElasticInferenceAcceleratorArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutput ¶ added in v5.1.0
func (o GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutput() GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
func (GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateElasticInferenceAcceleratorArrayOutput) ToGetLaunchTemplateElasticInferenceAcceleratorArrayOutputWithContext(ctx context.Context) GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
type GetLaunchTemplateElasticInferenceAcceleratorInput ¶ added in v5.1.0
type GetLaunchTemplateElasticInferenceAcceleratorInput interface {
pulumi.Input
ToGetLaunchTemplateElasticInferenceAcceleratorOutput() GetLaunchTemplateElasticInferenceAcceleratorOutput
ToGetLaunchTemplateElasticInferenceAcceleratorOutputWithContext(context.Context) GetLaunchTemplateElasticInferenceAcceleratorOutput
}
GetLaunchTemplateElasticInferenceAcceleratorInput is an input type that accepts GetLaunchTemplateElasticInferenceAcceleratorArgs and GetLaunchTemplateElasticInferenceAcceleratorOutput values. You can construct a concrete instance of `GetLaunchTemplateElasticInferenceAcceleratorInput` via:
GetLaunchTemplateElasticInferenceAcceleratorArgs{...}
type GetLaunchTemplateElasticInferenceAcceleratorOutput ¶ added in v5.1.0
type GetLaunchTemplateElasticInferenceAcceleratorOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateElasticInferenceAcceleratorOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateElasticInferenceAcceleratorOutput) ElementType() reflect.Type
func (GetLaunchTemplateElasticInferenceAcceleratorOutput) ToGetLaunchTemplateElasticInferenceAcceleratorOutput ¶ added in v5.1.0
func (o GetLaunchTemplateElasticInferenceAcceleratorOutput) ToGetLaunchTemplateElasticInferenceAcceleratorOutput() GetLaunchTemplateElasticInferenceAcceleratorOutput
func (GetLaunchTemplateElasticInferenceAcceleratorOutput) ToGetLaunchTemplateElasticInferenceAcceleratorOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateElasticInferenceAcceleratorOutput) ToGetLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) GetLaunchTemplateElasticInferenceAcceleratorOutput
func (GetLaunchTemplateElasticInferenceAcceleratorOutput) Type ¶ added in v5.1.0
func (o GetLaunchTemplateElasticInferenceAcceleratorOutput) Type() pulumi.StringOutput
type GetLaunchTemplateEnclaveOption ¶
type GetLaunchTemplateEnclaveOption struct {
Enabled bool `pulumi:"enabled"`
}
type GetLaunchTemplateEnclaveOptionArgs ¶
func (GetLaunchTemplateEnclaveOptionArgs) ElementType ¶
func (GetLaunchTemplateEnclaveOptionArgs) ElementType() reflect.Type
func (GetLaunchTemplateEnclaveOptionArgs) ToGetLaunchTemplateEnclaveOptionOutput ¶
func (i GetLaunchTemplateEnclaveOptionArgs) ToGetLaunchTemplateEnclaveOptionOutput() GetLaunchTemplateEnclaveOptionOutput
func (GetLaunchTemplateEnclaveOptionArgs) ToGetLaunchTemplateEnclaveOptionOutputWithContext ¶
func (i GetLaunchTemplateEnclaveOptionArgs) ToGetLaunchTemplateEnclaveOptionOutputWithContext(ctx context.Context) GetLaunchTemplateEnclaveOptionOutput
type GetLaunchTemplateEnclaveOptionArray ¶
type GetLaunchTemplateEnclaveOptionArray []GetLaunchTemplateEnclaveOptionInput
func (GetLaunchTemplateEnclaveOptionArray) ElementType ¶
func (GetLaunchTemplateEnclaveOptionArray) ElementType() reflect.Type
func (GetLaunchTemplateEnclaveOptionArray) ToGetLaunchTemplateEnclaveOptionArrayOutput ¶
func (i GetLaunchTemplateEnclaveOptionArray) ToGetLaunchTemplateEnclaveOptionArrayOutput() GetLaunchTemplateEnclaveOptionArrayOutput
func (GetLaunchTemplateEnclaveOptionArray) ToGetLaunchTemplateEnclaveOptionArrayOutputWithContext ¶
func (i GetLaunchTemplateEnclaveOptionArray) ToGetLaunchTemplateEnclaveOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateEnclaveOptionArrayOutput
type GetLaunchTemplateEnclaveOptionArrayInput ¶
type GetLaunchTemplateEnclaveOptionArrayInput interface {
pulumi.Input
ToGetLaunchTemplateEnclaveOptionArrayOutput() GetLaunchTemplateEnclaveOptionArrayOutput
ToGetLaunchTemplateEnclaveOptionArrayOutputWithContext(context.Context) GetLaunchTemplateEnclaveOptionArrayOutput
}
GetLaunchTemplateEnclaveOptionArrayInput is an input type that accepts GetLaunchTemplateEnclaveOptionArray and GetLaunchTemplateEnclaveOptionArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateEnclaveOptionArrayInput` via:
GetLaunchTemplateEnclaveOptionArray{ GetLaunchTemplateEnclaveOptionArgs{...} }
type GetLaunchTemplateEnclaveOptionArrayOutput ¶
type GetLaunchTemplateEnclaveOptionArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateEnclaveOptionArrayOutput) ElementType ¶
func (GetLaunchTemplateEnclaveOptionArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateEnclaveOptionArrayOutput) ToGetLaunchTemplateEnclaveOptionArrayOutput ¶
func (o GetLaunchTemplateEnclaveOptionArrayOutput) ToGetLaunchTemplateEnclaveOptionArrayOutput() GetLaunchTemplateEnclaveOptionArrayOutput
func (GetLaunchTemplateEnclaveOptionArrayOutput) ToGetLaunchTemplateEnclaveOptionArrayOutputWithContext ¶
func (o GetLaunchTemplateEnclaveOptionArrayOutput) ToGetLaunchTemplateEnclaveOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateEnclaveOptionArrayOutput
type GetLaunchTemplateEnclaveOptionInput ¶
type GetLaunchTemplateEnclaveOptionInput interface {
pulumi.Input
ToGetLaunchTemplateEnclaveOptionOutput() GetLaunchTemplateEnclaveOptionOutput
ToGetLaunchTemplateEnclaveOptionOutputWithContext(context.Context) GetLaunchTemplateEnclaveOptionOutput
}
GetLaunchTemplateEnclaveOptionInput is an input type that accepts GetLaunchTemplateEnclaveOptionArgs and GetLaunchTemplateEnclaveOptionOutput values. You can construct a concrete instance of `GetLaunchTemplateEnclaveOptionInput` via:
GetLaunchTemplateEnclaveOptionArgs{...}
type GetLaunchTemplateEnclaveOptionOutput ¶
type GetLaunchTemplateEnclaveOptionOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateEnclaveOptionOutput) ElementType ¶
func (GetLaunchTemplateEnclaveOptionOutput) ElementType() reflect.Type
func (GetLaunchTemplateEnclaveOptionOutput) Enabled ¶
func (o GetLaunchTemplateEnclaveOptionOutput) Enabled() pulumi.BoolOutput
func (GetLaunchTemplateEnclaveOptionOutput) ToGetLaunchTemplateEnclaveOptionOutput ¶
func (o GetLaunchTemplateEnclaveOptionOutput) ToGetLaunchTemplateEnclaveOptionOutput() GetLaunchTemplateEnclaveOptionOutput
func (GetLaunchTemplateEnclaveOptionOutput) ToGetLaunchTemplateEnclaveOptionOutputWithContext ¶
func (o GetLaunchTemplateEnclaveOptionOutput) ToGetLaunchTemplateEnclaveOptionOutputWithContext(ctx context.Context) GetLaunchTemplateEnclaveOptionOutput
type GetLaunchTemplateFilter ¶
type GetLaunchTemplateFilter struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeLaunchTemplates API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values []string `pulumi:"values"`
}
type GetLaunchTemplateFilterArgs ¶
type GetLaunchTemplateFilterArgs struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeLaunchTemplates API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetLaunchTemplateFilterArgs) ElementType ¶
func (GetLaunchTemplateFilterArgs) ElementType() reflect.Type
func (GetLaunchTemplateFilterArgs) ToGetLaunchTemplateFilterOutput ¶
func (i GetLaunchTemplateFilterArgs) ToGetLaunchTemplateFilterOutput() GetLaunchTemplateFilterOutput
func (GetLaunchTemplateFilterArgs) ToGetLaunchTemplateFilterOutputWithContext ¶
func (i GetLaunchTemplateFilterArgs) ToGetLaunchTemplateFilterOutputWithContext(ctx context.Context) GetLaunchTemplateFilterOutput
type GetLaunchTemplateFilterArray ¶
type GetLaunchTemplateFilterArray []GetLaunchTemplateFilterInput
func (GetLaunchTemplateFilterArray) ElementType ¶
func (GetLaunchTemplateFilterArray) ElementType() reflect.Type
func (GetLaunchTemplateFilterArray) ToGetLaunchTemplateFilterArrayOutput ¶
func (i GetLaunchTemplateFilterArray) ToGetLaunchTemplateFilterArrayOutput() GetLaunchTemplateFilterArrayOutput
func (GetLaunchTemplateFilterArray) ToGetLaunchTemplateFilterArrayOutputWithContext ¶
func (i GetLaunchTemplateFilterArray) ToGetLaunchTemplateFilterArrayOutputWithContext(ctx context.Context) GetLaunchTemplateFilterArrayOutput
type GetLaunchTemplateFilterArrayInput ¶
type GetLaunchTemplateFilterArrayInput interface {
pulumi.Input
ToGetLaunchTemplateFilterArrayOutput() GetLaunchTemplateFilterArrayOutput
ToGetLaunchTemplateFilterArrayOutputWithContext(context.Context) GetLaunchTemplateFilterArrayOutput
}
GetLaunchTemplateFilterArrayInput is an input type that accepts GetLaunchTemplateFilterArray and GetLaunchTemplateFilterArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateFilterArrayInput` via:
GetLaunchTemplateFilterArray{ GetLaunchTemplateFilterArgs{...} }
type GetLaunchTemplateFilterArrayOutput ¶
type GetLaunchTemplateFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateFilterArrayOutput) ElementType ¶
func (GetLaunchTemplateFilterArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateFilterArrayOutput) Index ¶
func (o GetLaunchTemplateFilterArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplateFilterOutput
func (GetLaunchTemplateFilterArrayOutput) ToGetLaunchTemplateFilterArrayOutput ¶
func (o GetLaunchTemplateFilterArrayOutput) ToGetLaunchTemplateFilterArrayOutput() GetLaunchTemplateFilterArrayOutput
func (GetLaunchTemplateFilterArrayOutput) ToGetLaunchTemplateFilterArrayOutputWithContext ¶
func (o GetLaunchTemplateFilterArrayOutput) ToGetLaunchTemplateFilterArrayOutputWithContext(ctx context.Context) GetLaunchTemplateFilterArrayOutput
type GetLaunchTemplateFilterInput ¶
type GetLaunchTemplateFilterInput interface {
pulumi.Input
ToGetLaunchTemplateFilterOutput() GetLaunchTemplateFilterOutput
ToGetLaunchTemplateFilterOutputWithContext(context.Context) GetLaunchTemplateFilterOutput
}
GetLaunchTemplateFilterInput is an input type that accepts GetLaunchTemplateFilterArgs and GetLaunchTemplateFilterOutput values. You can construct a concrete instance of `GetLaunchTemplateFilterInput` via:
GetLaunchTemplateFilterArgs{...}
type GetLaunchTemplateFilterOutput ¶
type GetLaunchTemplateFilterOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateFilterOutput) ElementType ¶
func (GetLaunchTemplateFilterOutput) ElementType() reflect.Type
func (GetLaunchTemplateFilterOutput) Name ¶
func (o GetLaunchTemplateFilterOutput) Name() pulumi.StringOutput
The name of the filter field. Valid values can be found in the [EC2 DescribeLaunchTemplates API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html).
func (GetLaunchTemplateFilterOutput) ToGetLaunchTemplateFilterOutput ¶
func (o GetLaunchTemplateFilterOutput) ToGetLaunchTemplateFilterOutput() GetLaunchTemplateFilterOutput
func (GetLaunchTemplateFilterOutput) ToGetLaunchTemplateFilterOutputWithContext ¶
func (o GetLaunchTemplateFilterOutput) ToGetLaunchTemplateFilterOutputWithContext(ctx context.Context) GetLaunchTemplateFilterOutput
func (GetLaunchTemplateFilterOutput) Values ¶
func (o GetLaunchTemplateFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetLaunchTemplateHibernationOption ¶
type GetLaunchTemplateHibernationOption struct {
Configured bool `pulumi:"configured"`
}
type GetLaunchTemplateHibernationOptionArgs ¶
type GetLaunchTemplateHibernationOptionArgs struct {
Configured pulumi.BoolInput `pulumi:"configured"`
}
func (GetLaunchTemplateHibernationOptionArgs) ElementType ¶
func (GetLaunchTemplateHibernationOptionArgs) ElementType() reflect.Type
func (GetLaunchTemplateHibernationOptionArgs) ToGetLaunchTemplateHibernationOptionOutput ¶
func (i GetLaunchTemplateHibernationOptionArgs) ToGetLaunchTemplateHibernationOptionOutput() GetLaunchTemplateHibernationOptionOutput
func (GetLaunchTemplateHibernationOptionArgs) ToGetLaunchTemplateHibernationOptionOutputWithContext ¶
func (i GetLaunchTemplateHibernationOptionArgs) ToGetLaunchTemplateHibernationOptionOutputWithContext(ctx context.Context) GetLaunchTemplateHibernationOptionOutput
type GetLaunchTemplateHibernationOptionArray ¶
type GetLaunchTemplateHibernationOptionArray []GetLaunchTemplateHibernationOptionInput
func (GetLaunchTemplateHibernationOptionArray) ElementType ¶
func (GetLaunchTemplateHibernationOptionArray) ElementType() reflect.Type
func (GetLaunchTemplateHibernationOptionArray) ToGetLaunchTemplateHibernationOptionArrayOutput ¶
func (i GetLaunchTemplateHibernationOptionArray) ToGetLaunchTemplateHibernationOptionArrayOutput() GetLaunchTemplateHibernationOptionArrayOutput
func (GetLaunchTemplateHibernationOptionArray) ToGetLaunchTemplateHibernationOptionArrayOutputWithContext ¶
func (i GetLaunchTemplateHibernationOptionArray) ToGetLaunchTemplateHibernationOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateHibernationOptionArrayOutput
type GetLaunchTemplateHibernationOptionArrayInput ¶
type GetLaunchTemplateHibernationOptionArrayInput interface {
pulumi.Input
ToGetLaunchTemplateHibernationOptionArrayOutput() GetLaunchTemplateHibernationOptionArrayOutput
ToGetLaunchTemplateHibernationOptionArrayOutputWithContext(context.Context) GetLaunchTemplateHibernationOptionArrayOutput
}
GetLaunchTemplateHibernationOptionArrayInput is an input type that accepts GetLaunchTemplateHibernationOptionArray and GetLaunchTemplateHibernationOptionArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateHibernationOptionArrayInput` via:
GetLaunchTemplateHibernationOptionArray{ GetLaunchTemplateHibernationOptionArgs{...} }
type GetLaunchTemplateHibernationOptionArrayOutput ¶
type GetLaunchTemplateHibernationOptionArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateHibernationOptionArrayOutput) ElementType ¶
func (GetLaunchTemplateHibernationOptionArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateHibernationOptionArrayOutput) ToGetLaunchTemplateHibernationOptionArrayOutput ¶
func (o GetLaunchTemplateHibernationOptionArrayOutput) ToGetLaunchTemplateHibernationOptionArrayOutput() GetLaunchTemplateHibernationOptionArrayOutput
func (GetLaunchTemplateHibernationOptionArrayOutput) ToGetLaunchTemplateHibernationOptionArrayOutputWithContext ¶
func (o GetLaunchTemplateHibernationOptionArrayOutput) ToGetLaunchTemplateHibernationOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateHibernationOptionArrayOutput
type GetLaunchTemplateHibernationOptionInput ¶
type GetLaunchTemplateHibernationOptionInput interface {
pulumi.Input
ToGetLaunchTemplateHibernationOptionOutput() GetLaunchTemplateHibernationOptionOutput
ToGetLaunchTemplateHibernationOptionOutputWithContext(context.Context) GetLaunchTemplateHibernationOptionOutput
}
GetLaunchTemplateHibernationOptionInput is an input type that accepts GetLaunchTemplateHibernationOptionArgs and GetLaunchTemplateHibernationOptionOutput values. You can construct a concrete instance of `GetLaunchTemplateHibernationOptionInput` via:
GetLaunchTemplateHibernationOptionArgs{...}
type GetLaunchTemplateHibernationOptionOutput ¶
type GetLaunchTemplateHibernationOptionOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateHibernationOptionOutput) Configured ¶
func (o GetLaunchTemplateHibernationOptionOutput) Configured() pulumi.BoolOutput
func (GetLaunchTemplateHibernationOptionOutput) ElementType ¶
func (GetLaunchTemplateHibernationOptionOutput) ElementType() reflect.Type
func (GetLaunchTemplateHibernationOptionOutput) ToGetLaunchTemplateHibernationOptionOutput ¶
func (o GetLaunchTemplateHibernationOptionOutput) ToGetLaunchTemplateHibernationOptionOutput() GetLaunchTemplateHibernationOptionOutput
func (GetLaunchTemplateHibernationOptionOutput) ToGetLaunchTemplateHibernationOptionOutputWithContext ¶
func (o GetLaunchTemplateHibernationOptionOutput) ToGetLaunchTemplateHibernationOptionOutputWithContext(ctx context.Context) GetLaunchTemplateHibernationOptionOutput
type GetLaunchTemplateIamInstanceProfile ¶
type GetLaunchTemplateIamInstanceProfile struct {
Arn string `pulumi:"arn"`
// The name of the filter field. Valid values can be found in the [EC2 DescribeLaunchTemplates API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html).
Name string `pulumi:"name"`
}
type GetLaunchTemplateIamInstanceProfileArgs ¶
type GetLaunchTemplateIamInstanceProfileArgs struct {
Arn pulumi.StringInput `pulumi:"arn"`
// The name of the filter field. Valid values can be found in the [EC2 DescribeLaunchTemplates API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html).
Name pulumi.StringInput `pulumi:"name"`
}
func (GetLaunchTemplateIamInstanceProfileArgs) ElementType ¶
func (GetLaunchTemplateIamInstanceProfileArgs) ElementType() reflect.Type
func (GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutput ¶
func (i GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutput() GetLaunchTemplateIamInstanceProfileOutput
func (GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutputWithContext ¶
func (i GetLaunchTemplateIamInstanceProfileArgs) ToGetLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileOutput
type GetLaunchTemplateIamInstanceProfileArray ¶
type GetLaunchTemplateIamInstanceProfileArray []GetLaunchTemplateIamInstanceProfileInput
func (GetLaunchTemplateIamInstanceProfileArray) ElementType ¶
func (GetLaunchTemplateIamInstanceProfileArray) ElementType() reflect.Type
func (GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutput ¶
func (i GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutput() GetLaunchTemplateIamInstanceProfileArrayOutput
func (GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext ¶
func (i GetLaunchTemplateIamInstanceProfileArray) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileArrayOutput
type GetLaunchTemplateIamInstanceProfileArrayInput ¶
type GetLaunchTemplateIamInstanceProfileArrayInput interface {
pulumi.Input
ToGetLaunchTemplateIamInstanceProfileArrayOutput() GetLaunchTemplateIamInstanceProfileArrayOutput
ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext(context.Context) GetLaunchTemplateIamInstanceProfileArrayOutput
}
GetLaunchTemplateIamInstanceProfileArrayInput is an input type that accepts GetLaunchTemplateIamInstanceProfileArray and GetLaunchTemplateIamInstanceProfileArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateIamInstanceProfileArrayInput` via:
GetLaunchTemplateIamInstanceProfileArray{ GetLaunchTemplateIamInstanceProfileArgs{...} }
type GetLaunchTemplateIamInstanceProfileArrayOutput ¶
type GetLaunchTemplateIamInstanceProfileArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateIamInstanceProfileArrayOutput) ElementType ¶
func (GetLaunchTemplateIamInstanceProfileArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutput ¶
func (o GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutput() GetLaunchTemplateIamInstanceProfileArrayOutput
func (GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext ¶
func (o GetLaunchTemplateIamInstanceProfileArrayOutput) ToGetLaunchTemplateIamInstanceProfileArrayOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileArrayOutput
type GetLaunchTemplateIamInstanceProfileInput ¶
type GetLaunchTemplateIamInstanceProfileInput interface {
pulumi.Input
ToGetLaunchTemplateIamInstanceProfileOutput() GetLaunchTemplateIamInstanceProfileOutput
ToGetLaunchTemplateIamInstanceProfileOutputWithContext(context.Context) GetLaunchTemplateIamInstanceProfileOutput
}
GetLaunchTemplateIamInstanceProfileInput is an input type that accepts GetLaunchTemplateIamInstanceProfileArgs and GetLaunchTemplateIamInstanceProfileOutput values. You can construct a concrete instance of `GetLaunchTemplateIamInstanceProfileInput` via:
GetLaunchTemplateIamInstanceProfileArgs{...}
type GetLaunchTemplateIamInstanceProfileOutput ¶
type GetLaunchTemplateIamInstanceProfileOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateIamInstanceProfileOutput) Arn ¶
func (o GetLaunchTemplateIamInstanceProfileOutput) Arn() pulumi.StringOutput
func (GetLaunchTemplateIamInstanceProfileOutput) ElementType ¶
func (GetLaunchTemplateIamInstanceProfileOutput) ElementType() reflect.Type
func (GetLaunchTemplateIamInstanceProfileOutput) Name ¶
func (o GetLaunchTemplateIamInstanceProfileOutput) Name() pulumi.StringOutput
The name of the filter field. Valid values can be found in the [EC2 DescribeLaunchTemplates API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html).
func (GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutput ¶
func (o GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutput() GetLaunchTemplateIamInstanceProfileOutput
func (GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutputWithContext ¶
func (o GetLaunchTemplateIamInstanceProfileOutput) ToGetLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) GetLaunchTemplateIamInstanceProfileOutput
type GetLaunchTemplateInstanceMarketOption ¶
type GetLaunchTemplateInstanceMarketOption struct {
MarketType string `pulumi:"marketType"`
SpotOptions []GetLaunchTemplateInstanceMarketOptionSpotOption `pulumi:"spotOptions"`
}
type GetLaunchTemplateInstanceMarketOptionArgs ¶
type GetLaunchTemplateInstanceMarketOptionArgs struct {
MarketType pulumi.StringInput `pulumi:"marketType"`
SpotOptions GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput `pulumi:"spotOptions"`
}
func (GetLaunchTemplateInstanceMarketOptionArgs) ElementType ¶
func (GetLaunchTemplateInstanceMarketOptionArgs) ElementType() reflect.Type
func (GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutput ¶
func (i GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutput() GetLaunchTemplateInstanceMarketOptionOutput
func (GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext ¶
func (i GetLaunchTemplateInstanceMarketOptionArgs) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionOutput
type GetLaunchTemplateInstanceMarketOptionArray ¶
type GetLaunchTemplateInstanceMarketOptionArray []GetLaunchTemplateInstanceMarketOptionInput
func (GetLaunchTemplateInstanceMarketOptionArray) ElementType ¶
func (GetLaunchTemplateInstanceMarketOptionArray) ElementType() reflect.Type
func (GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutput ¶
func (i GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionArrayOutput
func (GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext ¶
func (i GetLaunchTemplateInstanceMarketOptionArray) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionArrayOutput
type GetLaunchTemplateInstanceMarketOptionArrayInput ¶
type GetLaunchTemplateInstanceMarketOptionArrayInput interface {
pulumi.Input
ToGetLaunchTemplateInstanceMarketOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionArrayOutput
ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext(context.Context) GetLaunchTemplateInstanceMarketOptionArrayOutput
}
GetLaunchTemplateInstanceMarketOptionArrayInput is an input type that accepts GetLaunchTemplateInstanceMarketOptionArray and GetLaunchTemplateInstanceMarketOptionArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateInstanceMarketOptionArrayInput` via:
GetLaunchTemplateInstanceMarketOptionArray{ GetLaunchTemplateInstanceMarketOptionArgs{...} }
type GetLaunchTemplateInstanceMarketOptionArrayOutput ¶
type GetLaunchTemplateInstanceMarketOptionArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateInstanceMarketOptionArrayOutput) ElementType ¶
func (GetLaunchTemplateInstanceMarketOptionArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutput ¶
func (o GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionArrayOutput
func (GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext ¶
func (o GetLaunchTemplateInstanceMarketOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionArrayOutput
type GetLaunchTemplateInstanceMarketOptionInput ¶
type GetLaunchTemplateInstanceMarketOptionInput interface {
pulumi.Input
ToGetLaunchTemplateInstanceMarketOptionOutput() GetLaunchTemplateInstanceMarketOptionOutput
ToGetLaunchTemplateInstanceMarketOptionOutputWithContext(context.Context) GetLaunchTemplateInstanceMarketOptionOutput
}
GetLaunchTemplateInstanceMarketOptionInput is an input type that accepts GetLaunchTemplateInstanceMarketOptionArgs and GetLaunchTemplateInstanceMarketOptionOutput values. You can construct a concrete instance of `GetLaunchTemplateInstanceMarketOptionInput` via:
GetLaunchTemplateInstanceMarketOptionArgs{...}
type GetLaunchTemplateInstanceMarketOptionOutput ¶
type GetLaunchTemplateInstanceMarketOptionOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateInstanceMarketOptionOutput) ElementType ¶
func (GetLaunchTemplateInstanceMarketOptionOutput) ElementType() reflect.Type
func (GetLaunchTemplateInstanceMarketOptionOutput) MarketType ¶
func (o GetLaunchTemplateInstanceMarketOptionOutput) MarketType() pulumi.StringOutput
func (GetLaunchTemplateInstanceMarketOptionOutput) SpotOptions ¶
func (GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutput ¶
func (o GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutput() GetLaunchTemplateInstanceMarketOptionOutput
func (GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext ¶
func (o GetLaunchTemplateInstanceMarketOptionOutput) ToGetLaunchTemplateInstanceMarketOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionOutput
type GetLaunchTemplateInstanceMarketOptionSpotOption ¶
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 ¶
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 ¶
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ElementType() reflect.Type
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput ¶
func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext ¶
func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArgs) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
type GetLaunchTemplateInstanceMarketOptionSpotOptionArray ¶
type GetLaunchTemplateInstanceMarketOptionSpotOptionArray []GetLaunchTemplateInstanceMarketOptionSpotOptionInput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ElementType ¶
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ElementType() reflect.Type
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput ¶
func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext ¶
func (i GetLaunchTemplateInstanceMarketOptionSpotOptionArray) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput ¶
type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput interface {
pulumi.Input
ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext(context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
}
GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput is an input type that accepts GetLaunchTemplateInstanceMarketOptionSpotOptionArray and GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateInstanceMarketOptionSpotOptionArrayInput` via:
GetLaunchTemplateInstanceMarketOptionSpotOptionArray{ GetLaunchTemplateInstanceMarketOptionSpotOptionArgs{...} }
type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput ¶
type GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ElementType ¶
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput
type GetLaunchTemplateInstanceMarketOptionSpotOptionInput ¶
type GetLaunchTemplateInstanceMarketOptionSpotOptionInput interface {
pulumi.Input
ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext(context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
}
GetLaunchTemplateInstanceMarketOptionSpotOptionInput is an input type that accepts GetLaunchTemplateInstanceMarketOptionSpotOptionArgs and GetLaunchTemplateInstanceMarketOptionSpotOptionOutput values. You can construct a concrete instance of `GetLaunchTemplateInstanceMarketOptionSpotOptionInput` via:
GetLaunchTemplateInstanceMarketOptionSpotOptionArgs{...}
type GetLaunchTemplateInstanceMarketOptionSpotOptionOutput ¶
type GetLaunchTemplateInstanceMarketOptionSpotOptionOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) BlockDurationMinutes ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) BlockDurationMinutes() pulumi.IntOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ElementType ¶
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ElementType() reflect.Type
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) InstanceInterruptionBehavior ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) InstanceInterruptionBehavior() pulumi.StringOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) MaxPrice ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) MaxPrice() pulumi.StringOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) SpotInstanceType ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) SpotInstanceType() pulumi.StringOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutput() GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ToGetLaunchTemplateInstanceMarketOptionSpotOptionOutputWithContext(ctx context.Context) GetLaunchTemplateInstanceMarketOptionSpotOptionOutput
func (GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ValidUntil ¶
func (o GetLaunchTemplateInstanceMarketOptionSpotOptionOutput) ValidUntil() pulumi.StringOutput
type GetLaunchTemplateLicenseSpecification ¶ added in v5.1.0
type GetLaunchTemplateLicenseSpecification struct {
LicenseConfigurationArn string `pulumi:"licenseConfigurationArn"`
}
type GetLaunchTemplateLicenseSpecificationArgs ¶ added in v5.1.0
type GetLaunchTemplateLicenseSpecificationArgs struct {
LicenseConfigurationArn pulumi.StringInput `pulumi:"licenseConfigurationArn"`
}
func (GetLaunchTemplateLicenseSpecificationArgs) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateLicenseSpecificationArgs) ElementType() reflect.Type
func (GetLaunchTemplateLicenseSpecificationArgs) ToGetLaunchTemplateLicenseSpecificationOutput ¶ added in v5.1.0
func (i GetLaunchTemplateLicenseSpecificationArgs) ToGetLaunchTemplateLicenseSpecificationOutput() GetLaunchTemplateLicenseSpecificationOutput
func (GetLaunchTemplateLicenseSpecificationArgs) ToGetLaunchTemplateLicenseSpecificationOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateLicenseSpecificationArgs) ToGetLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateLicenseSpecificationOutput
type GetLaunchTemplateLicenseSpecificationArray ¶ added in v5.1.0
type GetLaunchTemplateLicenseSpecificationArray []GetLaunchTemplateLicenseSpecificationInput
func (GetLaunchTemplateLicenseSpecificationArray) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateLicenseSpecificationArray) ElementType() reflect.Type
func (GetLaunchTemplateLicenseSpecificationArray) ToGetLaunchTemplateLicenseSpecificationArrayOutput ¶ added in v5.1.0
func (i GetLaunchTemplateLicenseSpecificationArray) ToGetLaunchTemplateLicenseSpecificationArrayOutput() GetLaunchTemplateLicenseSpecificationArrayOutput
func (GetLaunchTemplateLicenseSpecificationArray) ToGetLaunchTemplateLicenseSpecificationArrayOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplateLicenseSpecificationArray) ToGetLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateLicenseSpecificationArrayOutput
type GetLaunchTemplateLicenseSpecificationArrayInput ¶ added in v5.1.0
type GetLaunchTemplateLicenseSpecificationArrayInput interface {
pulumi.Input
ToGetLaunchTemplateLicenseSpecificationArrayOutput() GetLaunchTemplateLicenseSpecificationArrayOutput
ToGetLaunchTemplateLicenseSpecificationArrayOutputWithContext(context.Context) GetLaunchTemplateLicenseSpecificationArrayOutput
}
GetLaunchTemplateLicenseSpecificationArrayInput is an input type that accepts GetLaunchTemplateLicenseSpecificationArray and GetLaunchTemplateLicenseSpecificationArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateLicenseSpecificationArrayInput` via:
GetLaunchTemplateLicenseSpecificationArray{ GetLaunchTemplateLicenseSpecificationArgs{...} }
type GetLaunchTemplateLicenseSpecificationArrayOutput ¶ added in v5.1.0
type GetLaunchTemplateLicenseSpecificationArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateLicenseSpecificationArrayOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateLicenseSpecificationArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateLicenseSpecificationArrayOutput) ToGetLaunchTemplateLicenseSpecificationArrayOutput ¶ added in v5.1.0
func (o GetLaunchTemplateLicenseSpecificationArrayOutput) ToGetLaunchTemplateLicenseSpecificationArrayOutput() GetLaunchTemplateLicenseSpecificationArrayOutput
func (GetLaunchTemplateLicenseSpecificationArrayOutput) ToGetLaunchTemplateLicenseSpecificationArrayOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateLicenseSpecificationArrayOutput) ToGetLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateLicenseSpecificationArrayOutput
type GetLaunchTemplateLicenseSpecificationInput ¶ added in v5.1.0
type GetLaunchTemplateLicenseSpecificationInput interface {
pulumi.Input
ToGetLaunchTemplateLicenseSpecificationOutput() GetLaunchTemplateLicenseSpecificationOutput
ToGetLaunchTemplateLicenseSpecificationOutputWithContext(context.Context) GetLaunchTemplateLicenseSpecificationOutput
}
GetLaunchTemplateLicenseSpecificationInput is an input type that accepts GetLaunchTemplateLicenseSpecificationArgs and GetLaunchTemplateLicenseSpecificationOutput values. You can construct a concrete instance of `GetLaunchTemplateLicenseSpecificationInput` via:
GetLaunchTemplateLicenseSpecificationArgs{...}
type GetLaunchTemplateLicenseSpecificationOutput ¶ added in v5.1.0
type GetLaunchTemplateLicenseSpecificationOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateLicenseSpecificationOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplateLicenseSpecificationOutput) ElementType() reflect.Type
func (GetLaunchTemplateLicenseSpecificationOutput) LicenseConfigurationArn ¶ added in v5.1.0
func (o GetLaunchTemplateLicenseSpecificationOutput) LicenseConfigurationArn() pulumi.StringOutput
func (GetLaunchTemplateLicenseSpecificationOutput) ToGetLaunchTemplateLicenseSpecificationOutput ¶ added in v5.1.0
func (o GetLaunchTemplateLicenseSpecificationOutput) ToGetLaunchTemplateLicenseSpecificationOutput() GetLaunchTemplateLicenseSpecificationOutput
func (GetLaunchTemplateLicenseSpecificationOutput) ToGetLaunchTemplateLicenseSpecificationOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplateLicenseSpecificationOutput) ToGetLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateLicenseSpecificationOutput
type GetLaunchTemplateMetadataOption ¶
type GetLaunchTemplateMetadataOption struct {
HttpEndpoint string `pulumi:"httpEndpoint"`
HttpProtocolIpv6 string `pulumi:"httpProtocolIpv6"`
HttpPutResponseHopLimit int `pulumi:"httpPutResponseHopLimit"`
HttpTokens string `pulumi:"httpTokens"`
InstanceMetadataTags string `pulumi:"instanceMetadataTags"`
}
type GetLaunchTemplateMetadataOptionArgs ¶
type GetLaunchTemplateMetadataOptionArgs struct {
HttpEndpoint pulumi.StringInput `pulumi:"httpEndpoint"`
HttpProtocolIpv6 pulumi.StringInput `pulumi:"httpProtocolIpv6"`
HttpPutResponseHopLimit pulumi.IntInput `pulumi:"httpPutResponseHopLimit"`
HttpTokens pulumi.StringInput `pulumi:"httpTokens"`
InstanceMetadataTags pulumi.StringInput `pulumi:"instanceMetadataTags"`
}
func (GetLaunchTemplateMetadataOptionArgs) ElementType ¶
func (GetLaunchTemplateMetadataOptionArgs) ElementType() reflect.Type
func (GetLaunchTemplateMetadataOptionArgs) ToGetLaunchTemplateMetadataOptionOutput ¶
func (i GetLaunchTemplateMetadataOptionArgs) ToGetLaunchTemplateMetadataOptionOutput() GetLaunchTemplateMetadataOptionOutput
func (GetLaunchTemplateMetadataOptionArgs) ToGetLaunchTemplateMetadataOptionOutputWithContext ¶
func (i GetLaunchTemplateMetadataOptionArgs) ToGetLaunchTemplateMetadataOptionOutputWithContext(ctx context.Context) GetLaunchTemplateMetadataOptionOutput
type GetLaunchTemplateMetadataOptionArray ¶
type GetLaunchTemplateMetadataOptionArray []GetLaunchTemplateMetadataOptionInput
func (GetLaunchTemplateMetadataOptionArray) ElementType ¶
func (GetLaunchTemplateMetadataOptionArray) ElementType() reflect.Type
func (GetLaunchTemplateMetadataOptionArray) ToGetLaunchTemplateMetadataOptionArrayOutput ¶
func (i GetLaunchTemplateMetadataOptionArray) ToGetLaunchTemplateMetadataOptionArrayOutput() GetLaunchTemplateMetadataOptionArrayOutput
func (GetLaunchTemplateMetadataOptionArray) ToGetLaunchTemplateMetadataOptionArrayOutputWithContext ¶
func (i GetLaunchTemplateMetadataOptionArray) ToGetLaunchTemplateMetadataOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMetadataOptionArrayOutput
type GetLaunchTemplateMetadataOptionArrayInput ¶
type GetLaunchTemplateMetadataOptionArrayInput interface {
pulumi.Input
ToGetLaunchTemplateMetadataOptionArrayOutput() GetLaunchTemplateMetadataOptionArrayOutput
ToGetLaunchTemplateMetadataOptionArrayOutputWithContext(context.Context) GetLaunchTemplateMetadataOptionArrayOutput
}
GetLaunchTemplateMetadataOptionArrayInput is an input type that accepts GetLaunchTemplateMetadataOptionArray and GetLaunchTemplateMetadataOptionArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateMetadataOptionArrayInput` via:
GetLaunchTemplateMetadataOptionArray{ GetLaunchTemplateMetadataOptionArgs{...} }
type GetLaunchTemplateMetadataOptionArrayOutput ¶
type GetLaunchTemplateMetadataOptionArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateMetadataOptionArrayOutput) ElementType ¶
func (GetLaunchTemplateMetadataOptionArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateMetadataOptionArrayOutput) ToGetLaunchTemplateMetadataOptionArrayOutput ¶
func (o GetLaunchTemplateMetadataOptionArrayOutput) ToGetLaunchTemplateMetadataOptionArrayOutput() GetLaunchTemplateMetadataOptionArrayOutput
func (GetLaunchTemplateMetadataOptionArrayOutput) ToGetLaunchTemplateMetadataOptionArrayOutputWithContext ¶
func (o GetLaunchTemplateMetadataOptionArrayOutput) ToGetLaunchTemplateMetadataOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMetadataOptionArrayOutput
type GetLaunchTemplateMetadataOptionInput ¶
type GetLaunchTemplateMetadataOptionInput interface {
pulumi.Input
ToGetLaunchTemplateMetadataOptionOutput() GetLaunchTemplateMetadataOptionOutput
ToGetLaunchTemplateMetadataOptionOutputWithContext(context.Context) GetLaunchTemplateMetadataOptionOutput
}
GetLaunchTemplateMetadataOptionInput is an input type that accepts GetLaunchTemplateMetadataOptionArgs and GetLaunchTemplateMetadataOptionOutput values. You can construct a concrete instance of `GetLaunchTemplateMetadataOptionInput` via:
GetLaunchTemplateMetadataOptionArgs{...}
type GetLaunchTemplateMetadataOptionOutput ¶
type GetLaunchTemplateMetadataOptionOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateMetadataOptionOutput) ElementType ¶
func (GetLaunchTemplateMetadataOptionOutput) ElementType() reflect.Type
func (GetLaunchTemplateMetadataOptionOutput) HttpEndpoint ¶
func (o GetLaunchTemplateMetadataOptionOutput) HttpEndpoint() pulumi.StringOutput
func (GetLaunchTemplateMetadataOptionOutput) HttpProtocolIpv6 ¶
func (o GetLaunchTemplateMetadataOptionOutput) HttpProtocolIpv6() pulumi.StringOutput
func (GetLaunchTemplateMetadataOptionOutput) HttpPutResponseHopLimit ¶
func (o GetLaunchTemplateMetadataOptionOutput) HttpPutResponseHopLimit() pulumi.IntOutput
func (GetLaunchTemplateMetadataOptionOutput) HttpTokens ¶
func (o GetLaunchTemplateMetadataOptionOutput) HttpTokens() pulumi.StringOutput
func (GetLaunchTemplateMetadataOptionOutput) InstanceMetadataTags ¶
func (o GetLaunchTemplateMetadataOptionOutput) InstanceMetadataTags() pulumi.StringOutput
func (GetLaunchTemplateMetadataOptionOutput) ToGetLaunchTemplateMetadataOptionOutput ¶
func (o GetLaunchTemplateMetadataOptionOutput) ToGetLaunchTemplateMetadataOptionOutput() GetLaunchTemplateMetadataOptionOutput
func (GetLaunchTemplateMetadataOptionOutput) ToGetLaunchTemplateMetadataOptionOutputWithContext ¶
func (o GetLaunchTemplateMetadataOptionOutput) ToGetLaunchTemplateMetadataOptionOutputWithContext(ctx context.Context) GetLaunchTemplateMetadataOptionOutput
type GetLaunchTemplateMonitoring ¶
type GetLaunchTemplateMonitoring struct {
Enabled bool `pulumi:"enabled"`
}
type GetLaunchTemplateMonitoringArgs ¶
func (GetLaunchTemplateMonitoringArgs) ElementType ¶
func (GetLaunchTemplateMonitoringArgs) ElementType() reflect.Type
func (GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutput ¶
func (i GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutput() GetLaunchTemplateMonitoringOutput
func (GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutputWithContext ¶
func (i GetLaunchTemplateMonitoringArgs) ToGetLaunchTemplateMonitoringOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringOutput
type GetLaunchTemplateMonitoringArray ¶
type GetLaunchTemplateMonitoringArray []GetLaunchTemplateMonitoringInput
func (GetLaunchTemplateMonitoringArray) ElementType ¶
func (GetLaunchTemplateMonitoringArray) ElementType() reflect.Type
func (GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutput ¶
func (i GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutput() GetLaunchTemplateMonitoringArrayOutput
func (GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutputWithContext ¶
func (i GetLaunchTemplateMonitoringArray) ToGetLaunchTemplateMonitoringArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringArrayOutput
type GetLaunchTemplateMonitoringArrayInput ¶
type GetLaunchTemplateMonitoringArrayInput interface {
pulumi.Input
ToGetLaunchTemplateMonitoringArrayOutput() GetLaunchTemplateMonitoringArrayOutput
ToGetLaunchTemplateMonitoringArrayOutputWithContext(context.Context) GetLaunchTemplateMonitoringArrayOutput
}
GetLaunchTemplateMonitoringArrayInput is an input type that accepts GetLaunchTemplateMonitoringArray and GetLaunchTemplateMonitoringArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateMonitoringArrayInput` via:
GetLaunchTemplateMonitoringArray{ GetLaunchTemplateMonitoringArgs{...} }
type GetLaunchTemplateMonitoringArrayOutput ¶
type GetLaunchTemplateMonitoringArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateMonitoringArrayOutput) ElementType ¶
func (GetLaunchTemplateMonitoringArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutput ¶
func (o GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutput() GetLaunchTemplateMonitoringArrayOutput
func (GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutputWithContext ¶
func (o GetLaunchTemplateMonitoringArrayOutput) ToGetLaunchTemplateMonitoringArrayOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringArrayOutput
type GetLaunchTemplateMonitoringInput ¶
type GetLaunchTemplateMonitoringInput interface {
pulumi.Input
ToGetLaunchTemplateMonitoringOutput() GetLaunchTemplateMonitoringOutput
ToGetLaunchTemplateMonitoringOutputWithContext(context.Context) GetLaunchTemplateMonitoringOutput
}
GetLaunchTemplateMonitoringInput is an input type that accepts GetLaunchTemplateMonitoringArgs and GetLaunchTemplateMonitoringOutput values. You can construct a concrete instance of `GetLaunchTemplateMonitoringInput` via:
GetLaunchTemplateMonitoringArgs{...}
type GetLaunchTemplateMonitoringOutput ¶
type GetLaunchTemplateMonitoringOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateMonitoringOutput) ElementType ¶
func (GetLaunchTemplateMonitoringOutput) ElementType() reflect.Type
func (GetLaunchTemplateMonitoringOutput) Enabled ¶
func (o GetLaunchTemplateMonitoringOutput) Enabled() pulumi.BoolOutput
func (GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutput ¶
func (o GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutput() GetLaunchTemplateMonitoringOutput
func (GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutputWithContext ¶
func (o GetLaunchTemplateMonitoringOutput) ToGetLaunchTemplateMonitoringOutputWithContext(ctx context.Context) GetLaunchTemplateMonitoringOutput
type GetLaunchTemplateNetworkInterface ¶
type GetLaunchTemplateNetworkInterface struct {
AssociateCarrierIpAddress string `pulumi:"associateCarrierIpAddress"`
AssociatePublicIpAddress *bool `pulumi:"associatePublicIpAddress"`
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
Description string `pulumi:"description"`
DeviceIndex int `pulumi:"deviceIndex"`
InterfaceType string `pulumi:"interfaceType"`
Ipv4AddressCount int `pulumi:"ipv4AddressCount"`
Ipv4Addresses []string `pulumi:"ipv4Addresses"`
Ipv4PrefixCount int `pulumi:"ipv4PrefixCount"`
Ipv4Prefixes []string `pulumi:"ipv4Prefixes"`
Ipv6AddressCount int `pulumi:"ipv6AddressCount"`
Ipv6Addresses []string `pulumi:"ipv6Addresses"`
Ipv6PrefixCount int `pulumi:"ipv6PrefixCount"`
Ipv6Prefixes []string `pulumi:"ipv6Prefixes"`
NetworkCardIndex int `pulumi:"networkCardIndex"`
NetworkInterfaceId string `pulumi:"networkInterfaceId"`
PrivateIpAddress string `pulumi:"privateIpAddress"`
SecurityGroups []string `pulumi:"securityGroups"`
SubnetId string `pulumi:"subnetId"`
}
type GetLaunchTemplateNetworkInterfaceArgs ¶
type GetLaunchTemplateNetworkInterfaceArgs struct {
AssociateCarrierIpAddress pulumi.StringInput `pulumi:"associateCarrierIpAddress"`
AssociatePublicIpAddress pulumi.BoolPtrInput `pulumi:"associatePublicIpAddress"`
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
Description pulumi.StringInput `pulumi:"description"`
DeviceIndex pulumi.IntInput `pulumi:"deviceIndex"`
InterfaceType pulumi.StringInput `pulumi:"interfaceType"`
Ipv4AddressCount pulumi.IntInput `pulumi:"ipv4AddressCount"`
Ipv4Addresses pulumi.StringArrayInput `pulumi:"ipv4Addresses"`
Ipv4PrefixCount pulumi.IntInput `pulumi:"ipv4PrefixCount"`
Ipv4Prefixes pulumi.StringArrayInput `pulumi:"ipv4Prefixes"`
Ipv6AddressCount pulumi.IntInput `pulumi:"ipv6AddressCount"`
Ipv6Addresses pulumi.StringArrayInput `pulumi:"ipv6Addresses"`
Ipv6PrefixCount pulumi.IntInput `pulumi:"ipv6PrefixCount"`
Ipv6Prefixes pulumi.StringArrayInput `pulumi:"ipv6Prefixes"`
NetworkCardIndex pulumi.IntInput `pulumi:"networkCardIndex"`
NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
PrivateIpAddress pulumi.StringInput `pulumi:"privateIpAddress"`
SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
SubnetId pulumi.StringInput `pulumi:"subnetId"`
}
func (GetLaunchTemplateNetworkInterfaceArgs) ElementType ¶
func (GetLaunchTemplateNetworkInterfaceArgs) ElementType() reflect.Type
func (GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutput ¶
func (i GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutput() GetLaunchTemplateNetworkInterfaceOutput
func (GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutputWithContext ¶
func (i GetLaunchTemplateNetworkInterfaceArgs) ToGetLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceOutput
type GetLaunchTemplateNetworkInterfaceArray ¶
type GetLaunchTemplateNetworkInterfaceArray []GetLaunchTemplateNetworkInterfaceInput
func (GetLaunchTemplateNetworkInterfaceArray) ElementType ¶
func (GetLaunchTemplateNetworkInterfaceArray) ElementType() reflect.Type
func (GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutput ¶
func (i GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutput() GetLaunchTemplateNetworkInterfaceArrayOutput
func (GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext ¶
func (i GetLaunchTemplateNetworkInterfaceArray) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceArrayOutput
type GetLaunchTemplateNetworkInterfaceArrayInput ¶
type GetLaunchTemplateNetworkInterfaceArrayInput interface {
pulumi.Input
ToGetLaunchTemplateNetworkInterfaceArrayOutput() GetLaunchTemplateNetworkInterfaceArrayOutput
ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext(context.Context) GetLaunchTemplateNetworkInterfaceArrayOutput
}
GetLaunchTemplateNetworkInterfaceArrayInput is an input type that accepts GetLaunchTemplateNetworkInterfaceArray and GetLaunchTemplateNetworkInterfaceArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateNetworkInterfaceArrayInput` via:
GetLaunchTemplateNetworkInterfaceArray{ GetLaunchTemplateNetworkInterfaceArgs{...} }
type GetLaunchTemplateNetworkInterfaceArrayOutput ¶
type GetLaunchTemplateNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateNetworkInterfaceArrayOutput) ElementType ¶
func (GetLaunchTemplateNetworkInterfaceArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutput ¶
func (o GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutput() GetLaunchTemplateNetworkInterfaceArrayOutput
func (GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext ¶
func (o GetLaunchTemplateNetworkInterfaceArrayOutput) ToGetLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceArrayOutput
type GetLaunchTemplateNetworkInterfaceInput ¶
type GetLaunchTemplateNetworkInterfaceInput interface {
pulumi.Input
ToGetLaunchTemplateNetworkInterfaceOutput() GetLaunchTemplateNetworkInterfaceOutput
ToGetLaunchTemplateNetworkInterfaceOutputWithContext(context.Context) GetLaunchTemplateNetworkInterfaceOutput
}
GetLaunchTemplateNetworkInterfaceInput is an input type that accepts GetLaunchTemplateNetworkInterfaceArgs and GetLaunchTemplateNetworkInterfaceOutput values. You can construct a concrete instance of `GetLaunchTemplateNetworkInterfaceInput` via:
GetLaunchTemplateNetworkInterfaceArgs{...}
type GetLaunchTemplateNetworkInterfaceOutput ¶
type GetLaunchTemplateNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateNetworkInterfaceOutput) AssociateCarrierIpAddress ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) AssociateCarrierIpAddress() pulumi.StringOutput
func (GetLaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress() pulumi.BoolPtrOutput
func (GetLaunchTemplateNetworkInterfaceOutput) DeleteOnTermination ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Description ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) Description() pulumi.StringOutput
func (GetLaunchTemplateNetworkInterfaceOutput) DeviceIndex ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) DeviceIndex() pulumi.IntOutput
func (GetLaunchTemplateNetworkInterfaceOutput) ElementType ¶
func (GetLaunchTemplateNetworkInterfaceOutput) ElementType() reflect.Type
func (GetLaunchTemplateNetworkInterfaceOutput) InterfaceType ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) InterfaceType() pulumi.StringOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Ipv4AddressCount ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv4AddressCount() pulumi.IntOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Ipv4Addresses ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv4Addresses() pulumi.StringArrayOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Ipv4PrefixCount ¶ added in v5.1.0
func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv4PrefixCount() pulumi.IntOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Ipv4Prefixes ¶ added in v5.1.0
func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv4Prefixes() pulumi.StringArrayOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Ipv6AddressCount ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv6AddressCount() pulumi.IntOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Ipv6Addresses ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv6Addresses() pulumi.StringArrayOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Ipv6PrefixCount ¶ added in v5.1.0
func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv6PrefixCount() pulumi.IntOutput
func (GetLaunchTemplateNetworkInterfaceOutput) Ipv6Prefixes ¶ added in v5.1.0
func (o GetLaunchTemplateNetworkInterfaceOutput) Ipv6Prefixes() pulumi.StringArrayOutput
func (GetLaunchTemplateNetworkInterfaceOutput) NetworkCardIndex ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) NetworkCardIndex() pulumi.IntOutput
func (GetLaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
func (GetLaunchTemplateNetworkInterfaceOutput) PrivateIpAddress ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) PrivateIpAddress() pulumi.StringOutput
func (GetLaunchTemplateNetworkInterfaceOutput) SecurityGroups ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) SecurityGroups() pulumi.StringArrayOutput
func (GetLaunchTemplateNetworkInterfaceOutput) SubnetId ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) SubnetId() pulumi.StringOutput
func (GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutput ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutput() GetLaunchTemplateNetworkInterfaceOutput
func (GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutputWithContext ¶
func (o GetLaunchTemplateNetworkInterfaceOutput) ToGetLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetLaunchTemplateNetworkInterfaceOutput
type GetLaunchTemplatePlacement ¶
type GetLaunchTemplatePlacement struct {
Affinity string `pulumi:"affinity"`
AvailabilityZone string `pulumi:"availabilityZone"`
GroupName string `pulumi:"groupName"`
HostId string `pulumi:"hostId"`
HostResourceGroupArn string `pulumi:"hostResourceGroupArn"`
PartitionNumber int `pulumi:"partitionNumber"`
SpreadDomain string `pulumi:"spreadDomain"`
Tenancy string `pulumi:"tenancy"`
}
type GetLaunchTemplatePlacementArgs ¶
type GetLaunchTemplatePlacementArgs struct {
Affinity pulumi.StringInput `pulumi:"affinity"`
AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
GroupName pulumi.StringInput `pulumi:"groupName"`
HostId pulumi.StringInput `pulumi:"hostId"`
HostResourceGroupArn pulumi.StringInput `pulumi:"hostResourceGroupArn"`
PartitionNumber pulumi.IntInput `pulumi:"partitionNumber"`
SpreadDomain pulumi.StringInput `pulumi:"spreadDomain"`
Tenancy pulumi.StringInput `pulumi:"tenancy"`
}
func (GetLaunchTemplatePlacementArgs) ElementType ¶
func (GetLaunchTemplatePlacementArgs) ElementType() reflect.Type
func (GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutput ¶
func (i GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutput() GetLaunchTemplatePlacementOutput
func (GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutputWithContext ¶
func (i GetLaunchTemplatePlacementArgs) ToGetLaunchTemplatePlacementOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementOutput
type GetLaunchTemplatePlacementArray ¶
type GetLaunchTemplatePlacementArray []GetLaunchTemplatePlacementInput
func (GetLaunchTemplatePlacementArray) ElementType ¶
func (GetLaunchTemplatePlacementArray) ElementType() reflect.Type
func (GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutput ¶
func (i GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutput() GetLaunchTemplatePlacementArrayOutput
func (GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutputWithContext ¶
func (i GetLaunchTemplatePlacementArray) ToGetLaunchTemplatePlacementArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementArrayOutput
type GetLaunchTemplatePlacementArrayInput ¶
type GetLaunchTemplatePlacementArrayInput interface {
pulumi.Input
ToGetLaunchTemplatePlacementArrayOutput() GetLaunchTemplatePlacementArrayOutput
ToGetLaunchTemplatePlacementArrayOutputWithContext(context.Context) GetLaunchTemplatePlacementArrayOutput
}
GetLaunchTemplatePlacementArrayInput is an input type that accepts GetLaunchTemplatePlacementArray and GetLaunchTemplatePlacementArrayOutput values. You can construct a concrete instance of `GetLaunchTemplatePlacementArrayInput` via:
GetLaunchTemplatePlacementArray{ GetLaunchTemplatePlacementArgs{...} }
type GetLaunchTemplatePlacementArrayOutput ¶
type GetLaunchTemplatePlacementArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplatePlacementArrayOutput) ElementType ¶
func (GetLaunchTemplatePlacementArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplatePlacementArrayOutput) Index ¶
func (o GetLaunchTemplatePlacementArrayOutput) Index(i pulumi.IntInput) GetLaunchTemplatePlacementOutput
func (GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutput ¶
func (o GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutput() GetLaunchTemplatePlacementArrayOutput
func (GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutputWithContext ¶
func (o GetLaunchTemplatePlacementArrayOutput) ToGetLaunchTemplatePlacementArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementArrayOutput
type GetLaunchTemplatePlacementInput ¶
type GetLaunchTemplatePlacementInput interface {
pulumi.Input
ToGetLaunchTemplatePlacementOutput() GetLaunchTemplatePlacementOutput
ToGetLaunchTemplatePlacementOutputWithContext(context.Context) GetLaunchTemplatePlacementOutput
}
GetLaunchTemplatePlacementInput is an input type that accepts GetLaunchTemplatePlacementArgs and GetLaunchTemplatePlacementOutput values. You can construct a concrete instance of `GetLaunchTemplatePlacementInput` via:
GetLaunchTemplatePlacementArgs{...}
type GetLaunchTemplatePlacementOutput ¶
type GetLaunchTemplatePlacementOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplatePlacementOutput) Affinity ¶
func (o GetLaunchTemplatePlacementOutput) Affinity() pulumi.StringOutput
func (GetLaunchTemplatePlacementOutput) AvailabilityZone ¶
func (o GetLaunchTemplatePlacementOutput) AvailabilityZone() pulumi.StringOutput
func (GetLaunchTemplatePlacementOutput) ElementType ¶
func (GetLaunchTemplatePlacementOutput) ElementType() reflect.Type
func (GetLaunchTemplatePlacementOutput) GroupName ¶
func (o GetLaunchTemplatePlacementOutput) GroupName() pulumi.StringOutput
func (GetLaunchTemplatePlacementOutput) HostId ¶
func (o GetLaunchTemplatePlacementOutput) HostId() pulumi.StringOutput
func (GetLaunchTemplatePlacementOutput) HostResourceGroupArn ¶
func (o GetLaunchTemplatePlacementOutput) HostResourceGroupArn() pulumi.StringOutput
func (GetLaunchTemplatePlacementOutput) PartitionNumber ¶
func (o GetLaunchTemplatePlacementOutput) PartitionNumber() pulumi.IntOutput
func (GetLaunchTemplatePlacementOutput) SpreadDomain ¶
func (o GetLaunchTemplatePlacementOutput) SpreadDomain() pulumi.StringOutput
func (GetLaunchTemplatePlacementOutput) Tenancy ¶
func (o GetLaunchTemplatePlacementOutput) Tenancy() pulumi.StringOutput
func (GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutput ¶
func (o GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutput() GetLaunchTemplatePlacementOutput
func (GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutputWithContext ¶
func (o GetLaunchTemplatePlacementOutput) ToGetLaunchTemplatePlacementOutputWithContext(ctx context.Context) GetLaunchTemplatePlacementOutput
type GetLaunchTemplatePrivateDnsNameOption ¶ added in v5.1.0
type GetLaunchTemplatePrivateDnsNameOptionArgs ¶ added in v5.1.0
type GetLaunchTemplatePrivateDnsNameOptionArgs struct {
EnableResourceNameDnsARecord pulumi.BoolInput `pulumi:"enableResourceNameDnsARecord"`
EnableResourceNameDnsAaaaRecord pulumi.BoolInput `pulumi:"enableResourceNameDnsAaaaRecord"`
HostnameType pulumi.StringInput `pulumi:"hostnameType"`
}
func (GetLaunchTemplatePrivateDnsNameOptionArgs) ElementType ¶ added in v5.1.0
func (GetLaunchTemplatePrivateDnsNameOptionArgs) ElementType() reflect.Type
func (GetLaunchTemplatePrivateDnsNameOptionArgs) ToGetLaunchTemplatePrivateDnsNameOptionOutput ¶ added in v5.1.0
func (i GetLaunchTemplatePrivateDnsNameOptionArgs) ToGetLaunchTemplatePrivateDnsNameOptionOutput() GetLaunchTemplatePrivateDnsNameOptionOutput
func (GetLaunchTemplatePrivateDnsNameOptionArgs) ToGetLaunchTemplatePrivateDnsNameOptionOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplatePrivateDnsNameOptionArgs) ToGetLaunchTemplatePrivateDnsNameOptionOutputWithContext(ctx context.Context) GetLaunchTemplatePrivateDnsNameOptionOutput
type GetLaunchTemplatePrivateDnsNameOptionArray ¶ added in v5.1.0
type GetLaunchTemplatePrivateDnsNameOptionArray []GetLaunchTemplatePrivateDnsNameOptionInput
func (GetLaunchTemplatePrivateDnsNameOptionArray) ElementType ¶ added in v5.1.0
func (GetLaunchTemplatePrivateDnsNameOptionArray) ElementType() reflect.Type
func (GetLaunchTemplatePrivateDnsNameOptionArray) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutput ¶ added in v5.1.0
func (i GetLaunchTemplatePrivateDnsNameOptionArray) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutput() GetLaunchTemplatePrivateDnsNameOptionArrayOutput
func (GetLaunchTemplatePrivateDnsNameOptionArray) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutputWithContext ¶ added in v5.1.0
func (i GetLaunchTemplatePrivateDnsNameOptionArray) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePrivateDnsNameOptionArrayOutput
type GetLaunchTemplatePrivateDnsNameOptionArrayInput ¶ added in v5.1.0
type GetLaunchTemplatePrivateDnsNameOptionArrayInput interface {
pulumi.Input
ToGetLaunchTemplatePrivateDnsNameOptionArrayOutput() GetLaunchTemplatePrivateDnsNameOptionArrayOutput
ToGetLaunchTemplatePrivateDnsNameOptionArrayOutputWithContext(context.Context) GetLaunchTemplatePrivateDnsNameOptionArrayOutput
}
GetLaunchTemplatePrivateDnsNameOptionArrayInput is an input type that accepts GetLaunchTemplatePrivateDnsNameOptionArray and GetLaunchTemplatePrivateDnsNameOptionArrayOutput values. You can construct a concrete instance of `GetLaunchTemplatePrivateDnsNameOptionArrayInput` via:
GetLaunchTemplatePrivateDnsNameOptionArray{ GetLaunchTemplatePrivateDnsNameOptionArgs{...} }
type GetLaunchTemplatePrivateDnsNameOptionArrayOutput ¶ added in v5.1.0
type GetLaunchTemplatePrivateDnsNameOptionArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutput ¶ added in v5.1.0
func (o GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutput() GetLaunchTemplatePrivateDnsNameOptionArrayOutput
func (GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplatePrivateDnsNameOptionArrayOutput) ToGetLaunchTemplatePrivateDnsNameOptionArrayOutputWithContext(ctx context.Context) GetLaunchTemplatePrivateDnsNameOptionArrayOutput
type GetLaunchTemplatePrivateDnsNameOptionInput ¶ added in v5.1.0
type GetLaunchTemplatePrivateDnsNameOptionInput interface {
pulumi.Input
ToGetLaunchTemplatePrivateDnsNameOptionOutput() GetLaunchTemplatePrivateDnsNameOptionOutput
ToGetLaunchTemplatePrivateDnsNameOptionOutputWithContext(context.Context) GetLaunchTemplatePrivateDnsNameOptionOutput
}
GetLaunchTemplatePrivateDnsNameOptionInput is an input type that accepts GetLaunchTemplatePrivateDnsNameOptionArgs and GetLaunchTemplatePrivateDnsNameOptionOutput values. You can construct a concrete instance of `GetLaunchTemplatePrivateDnsNameOptionInput` via:
GetLaunchTemplatePrivateDnsNameOptionArgs{...}
type GetLaunchTemplatePrivateDnsNameOptionOutput ¶ added in v5.1.0
type GetLaunchTemplatePrivateDnsNameOptionOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplatePrivateDnsNameOptionOutput) ElementType ¶ added in v5.1.0
func (GetLaunchTemplatePrivateDnsNameOptionOutput) ElementType() reflect.Type
func (GetLaunchTemplatePrivateDnsNameOptionOutput) EnableResourceNameDnsARecord ¶ added in v5.1.0
func (o GetLaunchTemplatePrivateDnsNameOptionOutput) EnableResourceNameDnsARecord() pulumi.BoolOutput
func (GetLaunchTemplatePrivateDnsNameOptionOutput) EnableResourceNameDnsAaaaRecord ¶ added in v5.1.0
func (o GetLaunchTemplatePrivateDnsNameOptionOutput) EnableResourceNameDnsAaaaRecord() pulumi.BoolOutput
func (GetLaunchTemplatePrivateDnsNameOptionOutput) HostnameType ¶ added in v5.1.0
func (o GetLaunchTemplatePrivateDnsNameOptionOutput) HostnameType() pulumi.StringOutput
func (GetLaunchTemplatePrivateDnsNameOptionOutput) ToGetLaunchTemplatePrivateDnsNameOptionOutput ¶ added in v5.1.0
func (o GetLaunchTemplatePrivateDnsNameOptionOutput) ToGetLaunchTemplatePrivateDnsNameOptionOutput() GetLaunchTemplatePrivateDnsNameOptionOutput
func (GetLaunchTemplatePrivateDnsNameOptionOutput) ToGetLaunchTemplatePrivateDnsNameOptionOutputWithContext ¶ added in v5.1.0
func (o GetLaunchTemplatePrivateDnsNameOptionOutput) ToGetLaunchTemplatePrivateDnsNameOptionOutputWithContext(ctx context.Context) GetLaunchTemplatePrivateDnsNameOptionOutput
type GetLaunchTemplateTagSpecificationArgs ¶
type GetLaunchTemplateTagSpecificationArgs struct {
ResourceType pulumi.StringInput `pulumi:"resourceType"`
// A map of tags, each pair of which must exactly match a pair on the desired Launch Template.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
func (GetLaunchTemplateTagSpecificationArgs) ElementType ¶
func (GetLaunchTemplateTagSpecificationArgs) ElementType() reflect.Type
func (GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutput ¶
func (i GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutput() GetLaunchTemplateTagSpecificationOutput
func (GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutputWithContext ¶
func (i GetLaunchTemplateTagSpecificationArgs) ToGetLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationOutput
type GetLaunchTemplateTagSpecificationArray ¶
type GetLaunchTemplateTagSpecificationArray []GetLaunchTemplateTagSpecificationInput
func (GetLaunchTemplateTagSpecificationArray) ElementType ¶
func (GetLaunchTemplateTagSpecificationArray) ElementType() reflect.Type
func (GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutput ¶
func (i GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutput() GetLaunchTemplateTagSpecificationArrayOutput
func (GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext ¶
func (i GetLaunchTemplateTagSpecificationArray) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationArrayOutput
type GetLaunchTemplateTagSpecificationArrayInput ¶
type GetLaunchTemplateTagSpecificationArrayInput interface {
pulumi.Input
ToGetLaunchTemplateTagSpecificationArrayOutput() GetLaunchTemplateTagSpecificationArrayOutput
ToGetLaunchTemplateTagSpecificationArrayOutputWithContext(context.Context) GetLaunchTemplateTagSpecificationArrayOutput
}
GetLaunchTemplateTagSpecificationArrayInput is an input type that accepts GetLaunchTemplateTagSpecificationArray and GetLaunchTemplateTagSpecificationArrayOutput values. You can construct a concrete instance of `GetLaunchTemplateTagSpecificationArrayInput` via:
GetLaunchTemplateTagSpecificationArray{ GetLaunchTemplateTagSpecificationArgs{...} }
type GetLaunchTemplateTagSpecificationArrayOutput ¶
type GetLaunchTemplateTagSpecificationArrayOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateTagSpecificationArrayOutput) ElementType ¶
func (GetLaunchTemplateTagSpecificationArrayOutput) ElementType() reflect.Type
func (GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutput ¶
func (o GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutput() GetLaunchTemplateTagSpecificationArrayOutput
func (GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext ¶
func (o GetLaunchTemplateTagSpecificationArrayOutput) ToGetLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationArrayOutput
type GetLaunchTemplateTagSpecificationInput ¶
type GetLaunchTemplateTagSpecificationInput interface {
pulumi.Input
ToGetLaunchTemplateTagSpecificationOutput() GetLaunchTemplateTagSpecificationOutput
ToGetLaunchTemplateTagSpecificationOutputWithContext(context.Context) GetLaunchTemplateTagSpecificationOutput
}
GetLaunchTemplateTagSpecificationInput is an input type that accepts GetLaunchTemplateTagSpecificationArgs and GetLaunchTemplateTagSpecificationOutput values. You can construct a concrete instance of `GetLaunchTemplateTagSpecificationInput` via:
GetLaunchTemplateTagSpecificationArgs{...}
type GetLaunchTemplateTagSpecificationOutput ¶
type GetLaunchTemplateTagSpecificationOutput struct{ *pulumi.OutputState }
func (GetLaunchTemplateTagSpecificationOutput) ElementType ¶
func (GetLaunchTemplateTagSpecificationOutput) ElementType() reflect.Type
func (GetLaunchTemplateTagSpecificationOutput) ResourceType ¶
func (o GetLaunchTemplateTagSpecificationOutput) ResourceType() pulumi.StringOutput
func (GetLaunchTemplateTagSpecificationOutput) Tags ¶
func (o GetLaunchTemplateTagSpecificationOutput) Tags() pulumi.StringMapOutput
A map of tags, each pair of which must exactly match a pair on the desired Launch Template.
func (GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutput ¶
func (o GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutput() GetLaunchTemplateTagSpecificationOutput
func (GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutputWithContext ¶
func (o GetLaunchTemplateTagSpecificationOutput) ToGetLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) GetLaunchTemplateTagSpecificationOutput
type GetLocalGatewayArgs ¶
type GetLocalGatewayArgs struct {
// Custom filter block as described below.
Filters []GetLocalGatewayFilter `pulumi:"filters"`
// The id of the specific Local Gateway to retrieve.
Id *string `pulumi:"id"`
// The current state of the desired Local Gateway.
// 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 Local Gateway.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGateway.
type GetLocalGatewayFilter ¶
type GetLocalGatewayFilter 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_DescribeLocalGateways.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field.
// A Local Gateway will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetLocalGatewayFilterArgs ¶
type GetLocalGatewayFilterArgs 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_DescribeLocalGateways.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field.
// A Local Gateway will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetLocalGatewayFilterArgs) ElementType ¶
func (GetLocalGatewayFilterArgs) ElementType() reflect.Type
func (GetLocalGatewayFilterArgs) ToGetLocalGatewayFilterOutput ¶
func (i GetLocalGatewayFilterArgs) ToGetLocalGatewayFilterOutput() GetLocalGatewayFilterOutput
func (GetLocalGatewayFilterArgs) ToGetLocalGatewayFilterOutputWithContext ¶
func (i GetLocalGatewayFilterArgs) ToGetLocalGatewayFilterOutputWithContext(ctx context.Context) GetLocalGatewayFilterOutput
type GetLocalGatewayFilterArray ¶
type GetLocalGatewayFilterArray []GetLocalGatewayFilterInput
func (GetLocalGatewayFilterArray) ElementType ¶
func (GetLocalGatewayFilterArray) ElementType() reflect.Type
func (GetLocalGatewayFilterArray) ToGetLocalGatewayFilterArrayOutput ¶
func (i GetLocalGatewayFilterArray) ToGetLocalGatewayFilterArrayOutput() GetLocalGatewayFilterArrayOutput
func (GetLocalGatewayFilterArray) ToGetLocalGatewayFilterArrayOutputWithContext ¶
func (i GetLocalGatewayFilterArray) ToGetLocalGatewayFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayFilterArrayOutput
type GetLocalGatewayFilterArrayInput ¶
type GetLocalGatewayFilterArrayInput interface {
pulumi.Input
ToGetLocalGatewayFilterArrayOutput() GetLocalGatewayFilterArrayOutput
ToGetLocalGatewayFilterArrayOutputWithContext(context.Context) GetLocalGatewayFilterArrayOutput
}
GetLocalGatewayFilterArrayInput is an input type that accepts GetLocalGatewayFilterArray and GetLocalGatewayFilterArrayOutput values. You can construct a concrete instance of `GetLocalGatewayFilterArrayInput` via:
GetLocalGatewayFilterArray{ GetLocalGatewayFilterArgs{...} }
type GetLocalGatewayFilterArrayOutput ¶
type GetLocalGatewayFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayFilterArrayOutput) ElementType ¶
func (GetLocalGatewayFilterArrayOutput) ElementType() reflect.Type
func (GetLocalGatewayFilterArrayOutput) Index ¶
func (o GetLocalGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewayFilterOutput
func (GetLocalGatewayFilterArrayOutput) ToGetLocalGatewayFilterArrayOutput ¶
func (o GetLocalGatewayFilterArrayOutput) ToGetLocalGatewayFilterArrayOutput() GetLocalGatewayFilterArrayOutput
func (GetLocalGatewayFilterArrayOutput) ToGetLocalGatewayFilterArrayOutputWithContext ¶
func (o GetLocalGatewayFilterArrayOutput) ToGetLocalGatewayFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayFilterArrayOutput
type GetLocalGatewayFilterInput ¶
type GetLocalGatewayFilterInput interface {
pulumi.Input
ToGetLocalGatewayFilterOutput() GetLocalGatewayFilterOutput
ToGetLocalGatewayFilterOutputWithContext(context.Context) GetLocalGatewayFilterOutput
}
GetLocalGatewayFilterInput is an input type that accepts GetLocalGatewayFilterArgs and GetLocalGatewayFilterOutput values. You can construct a concrete instance of `GetLocalGatewayFilterInput` via:
GetLocalGatewayFilterArgs{...}
type GetLocalGatewayFilterOutput ¶
type GetLocalGatewayFilterOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayFilterOutput) ElementType ¶
func (GetLocalGatewayFilterOutput) ElementType() reflect.Type
func (GetLocalGatewayFilterOutput) Name ¶
func (o GetLocalGatewayFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGateways.html).
func (GetLocalGatewayFilterOutput) ToGetLocalGatewayFilterOutput ¶
func (o GetLocalGatewayFilterOutput) ToGetLocalGatewayFilterOutput() GetLocalGatewayFilterOutput
func (GetLocalGatewayFilterOutput) ToGetLocalGatewayFilterOutputWithContext ¶
func (o GetLocalGatewayFilterOutput) ToGetLocalGatewayFilterOutputWithContext(ctx context.Context) GetLocalGatewayFilterOutput
func (GetLocalGatewayFilterOutput) Values ¶
func (o GetLocalGatewayFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A Local Gateway will be selected if any one of the given values matches.
type GetLocalGatewayOutputArgs ¶
type GetLocalGatewayOutputArgs struct {
// Custom filter block as described below.
Filters GetLocalGatewayFilterArrayInput `pulumi:"filters"`
// The id of the specific Local Gateway to retrieve.
Id pulumi.StringPtrInput `pulumi:"id"`
// The current state of the desired Local Gateway.
// Can be either `"pending"` or `"available"`.
State pulumi.StringPtrInput `pulumi:"state"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired Local Gateway.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGateway.
func (GetLocalGatewayOutputArgs) ElementType ¶
func (GetLocalGatewayOutputArgs) ElementType() reflect.Type
type GetLocalGatewayResult ¶
type GetLocalGatewayResult struct {
Filters []GetLocalGatewayFilter `pulumi:"filters"`
Id string `pulumi:"id"`
// Amazon Resource Name (ARN) of Outpost
OutpostArn string `pulumi:"outpostArn"`
// AWS account identifier that owns the Local Gateway.
OwnerId string `pulumi:"ownerId"`
// State of the local gateway.
State string `pulumi:"state"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getLocalGateway.
func GetLocalGateway ¶
func GetLocalGateway(ctx *pulumi.Context, args *GetLocalGatewayArgs, opts ...pulumi.InvokeOption) (*GetLocalGatewayResult, error)
Provides details about an EC2 Local Gateway.
## Example Usage
The following example shows how one might accept a local gateway id as a variable.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
localGatewayId := cfg.RequireObject("localGatewayId")
_, err := ec2.GetLocalGateway(ctx, &ec2.GetLocalGatewayArgs{
Id: pulumi.StringRef(localGatewayId),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetLocalGatewayResultOutput ¶
type GetLocalGatewayResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocalGateway.
func GetLocalGatewayOutput ¶
func GetLocalGatewayOutput(ctx *pulumi.Context, args GetLocalGatewayOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayResultOutput
func (GetLocalGatewayResultOutput) ElementType ¶
func (GetLocalGatewayResultOutput) ElementType() reflect.Type
func (GetLocalGatewayResultOutput) Filters ¶
func (o GetLocalGatewayResultOutput) Filters() GetLocalGatewayFilterArrayOutput
func (GetLocalGatewayResultOutput) Id ¶
func (o GetLocalGatewayResultOutput) Id() pulumi.StringOutput
func (GetLocalGatewayResultOutput) OutpostArn ¶
func (o GetLocalGatewayResultOutput) OutpostArn() pulumi.StringOutput
Amazon Resource Name (ARN) of Outpost
func (GetLocalGatewayResultOutput) OwnerId ¶
func (o GetLocalGatewayResultOutput) OwnerId() pulumi.StringOutput
AWS account identifier that owns the Local Gateway.
func (GetLocalGatewayResultOutput) State ¶
func (o GetLocalGatewayResultOutput) State() pulumi.StringOutput
State of the local gateway.
func (GetLocalGatewayResultOutput) Tags ¶
func (o GetLocalGatewayResultOutput) Tags() pulumi.StringMapOutput
func (GetLocalGatewayResultOutput) ToGetLocalGatewayResultOutput ¶
func (o GetLocalGatewayResultOutput) ToGetLocalGatewayResultOutput() GetLocalGatewayResultOutput
func (GetLocalGatewayResultOutput) ToGetLocalGatewayResultOutputWithContext ¶
func (o GetLocalGatewayResultOutput) ToGetLocalGatewayResultOutputWithContext(ctx context.Context) GetLocalGatewayResultOutput
type GetLocalGatewayRouteTableArgs ¶
type GetLocalGatewayRouteTableArgs struct {
Filters []GetLocalGatewayRouteTableFilter `pulumi:"filters"`
// The id of the specific local gateway route table to retrieve.
LocalGatewayId *string `pulumi:"localGatewayId"`
// Local Gateway Route Table Id assigned to desired local gateway route table
LocalGatewayRouteTableId *string `pulumi:"localGatewayRouteTableId"`
// The arn of the Outpost the local gateway route table is associated with.
OutpostArn *string `pulumi:"outpostArn"`
// The state of the local gateway route table.
State *string `pulumi:"state"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired local gateway route table.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayRouteTable.
type GetLocalGatewayRouteTableFilter ¶
type GetLocalGatewayRouteTableFilter 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_DescribeLocalGatewayRouteTables.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field.
// A local gateway route table will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetLocalGatewayRouteTableFilterArgs ¶
type GetLocalGatewayRouteTableFilterArgs 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_DescribeLocalGatewayRouteTables.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field.
// A local gateway route table will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetLocalGatewayRouteTableFilterArgs) ElementType ¶
func (GetLocalGatewayRouteTableFilterArgs) ElementType() reflect.Type
func (GetLocalGatewayRouteTableFilterArgs) ToGetLocalGatewayRouteTableFilterOutput ¶
func (i GetLocalGatewayRouteTableFilterArgs) ToGetLocalGatewayRouteTableFilterOutput() GetLocalGatewayRouteTableFilterOutput
func (GetLocalGatewayRouteTableFilterArgs) ToGetLocalGatewayRouteTableFilterOutputWithContext ¶
func (i GetLocalGatewayRouteTableFilterArgs) ToGetLocalGatewayRouteTableFilterOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableFilterOutput
type GetLocalGatewayRouteTableFilterArray ¶
type GetLocalGatewayRouteTableFilterArray []GetLocalGatewayRouteTableFilterInput
func (GetLocalGatewayRouteTableFilterArray) ElementType ¶
func (GetLocalGatewayRouteTableFilterArray) ElementType() reflect.Type
func (GetLocalGatewayRouteTableFilterArray) ToGetLocalGatewayRouteTableFilterArrayOutput ¶
func (i GetLocalGatewayRouteTableFilterArray) ToGetLocalGatewayRouteTableFilterArrayOutput() GetLocalGatewayRouteTableFilterArrayOutput
func (GetLocalGatewayRouteTableFilterArray) ToGetLocalGatewayRouteTableFilterArrayOutputWithContext ¶
func (i GetLocalGatewayRouteTableFilterArray) ToGetLocalGatewayRouteTableFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableFilterArrayOutput
type GetLocalGatewayRouteTableFilterArrayInput ¶
type GetLocalGatewayRouteTableFilterArrayInput interface {
pulumi.Input
ToGetLocalGatewayRouteTableFilterArrayOutput() GetLocalGatewayRouteTableFilterArrayOutput
ToGetLocalGatewayRouteTableFilterArrayOutputWithContext(context.Context) GetLocalGatewayRouteTableFilterArrayOutput
}
GetLocalGatewayRouteTableFilterArrayInput is an input type that accepts GetLocalGatewayRouteTableFilterArray and GetLocalGatewayRouteTableFilterArrayOutput values. You can construct a concrete instance of `GetLocalGatewayRouteTableFilterArrayInput` via:
GetLocalGatewayRouteTableFilterArray{ GetLocalGatewayRouteTableFilterArgs{...} }
type GetLocalGatewayRouteTableFilterArrayOutput ¶
type GetLocalGatewayRouteTableFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayRouteTableFilterArrayOutput) ElementType ¶
func (GetLocalGatewayRouteTableFilterArrayOutput) ElementType() reflect.Type
func (GetLocalGatewayRouteTableFilterArrayOutput) ToGetLocalGatewayRouteTableFilterArrayOutput ¶
func (o GetLocalGatewayRouteTableFilterArrayOutput) ToGetLocalGatewayRouteTableFilterArrayOutput() GetLocalGatewayRouteTableFilterArrayOutput
func (GetLocalGatewayRouteTableFilterArrayOutput) ToGetLocalGatewayRouteTableFilterArrayOutputWithContext ¶
func (o GetLocalGatewayRouteTableFilterArrayOutput) ToGetLocalGatewayRouteTableFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableFilterArrayOutput
type GetLocalGatewayRouteTableFilterInput ¶
type GetLocalGatewayRouteTableFilterInput interface {
pulumi.Input
ToGetLocalGatewayRouteTableFilterOutput() GetLocalGatewayRouteTableFilterOutput
ToGetLocalGatewayRouteTableFilterOutputWithContext(context.Context) GetLocalGatewayRouteTableFilterOutput
}
GetLocalGatewayRouteTableFilterInput is an input type that accepts GetLocalGatewayRouteTableFilterArgs and GetLocalGatewayRouteTableFilterOutput values. You can construct a concrete instance of `GetLocalGatewayRouteTableFilterInput` via:
GetLocalGatewayRouteTableFilterArgs{...}
type GetLocalGatewayRouteTableFilterOutput ¶
type GetLocalGatewayRouteTableFilterOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayRouteTableFilterOutput) ElementType ¶
func (GetLocalGatewayRouteTableFilterOutput) ElementType() reflect.Type
func (GetLocalGatewayRouteTableFilterOutput) Name ¶
func (o GetLocalGatewayRouteTableFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayRouteTables.html).
func (GetLocalGatewayRouteTableFilterOutput) ToGetLocalGatewayRouteTableFilterOutput ¶
func (o GetLocalGatewayRouteTableFilterOutput) ToGetLocalGatewayRouteTableFilterOutput() GetLocalGatewayRouteTableFilterOutput
func (GetLocalGatewayRouteTableFilterOutput) ToGetLocalGatewayRouteTableFilterOutputWithContext ¶
func (o GetLocalGatewayRouteTableFilterOutput) ToGetLocalGatewayRouteTableFilterOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableFilterOutput
func (GetLocalGatewayRouteTableFilterOutput) Values ¶
func (o GetLocalGatewayRouteTableFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A local gateway route table will be selected if any one of the given values matches.
type GetLocalGatewayRouteTableOutputArgs ¶
type GetLocalGatewayRouteTableOutputArgs struct {
Filters GetLocalGatewayRouteTableFilterArrayInput `pulumi:"filters"`
// The id of the specific local gateway route table to retrieve.
LocalGatewayId pulumi.StringPtrInput `pulumi:"localGatewayId"`
// Local Gateway Route Table Id assigned to desired local gateway route table
LocalGatewayRouteTableId pulumi.StringPtrInput `pulumi:"localGatewayRouteTableId"`
// The arn of the Outpost the local gateway route table is associated with.
OutpostArn pulumi.StringPtrInput `pulumi:"outpostArn"`
// The state of the local gateway route table.
State pulumi.StringPtrInput `pulumi:"state"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired local gateway route table.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayRouteTable.
func (GetLocalGatewayRouteTableOutputArgs) ElementType ¶
func (GetLocalGatewayRouteTableOutputArgs) ElementType() reflect.Type
type GetLocalGatewayRouteTableResult ¶
type GetLocalGatewayRouteTableResult struct {
Filters []GetLocalGatewayRouteTableFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
LocalGatewayId string `pulumi:"localGatewayId"`
LocalGatewayRouteTableId string `pulumi:"localGatewayRouteTableId"`
OutpostArn string `pulumi:"outpostArn"`
State string `pulumi:"state"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getLocalGatewayRouteTable.
func GetLocalGatewayRouteTable ¶
func GetLocalGatewayRouteTable(ctx *pulumi.Context, args *GetLocalGatewayRouteTableArgs, opts ...pulumi.InvokeOption) (*GetLocalGatewayRouteTableResult, error)
Provides details about an EC2 Local Gateway Route Table.
This data source can prove useful when a module accepts a local gateway route table id as an input variable and needs to, for example, find the associated Outpost or Local Gateway.
## Example Usage
The following example returns a specific local gateway route table ID ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
awsEc2LocalGatewayRouteTable := cfg.RequireObject("awsEc2LocalGatewayRouteTable")
_, err := ec2.GetLocalGatewayRouteTable(ctx, &ec2.GetLocalGatewayRouteTableArgs{
LocalGatewayRouteTableId: pulumi.StringRef(awsEc2LocalGatewayRouteTable),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetLocalGatewayRouteTableResultOutput ¶
type GetLocalGatewayRouteTableResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocalGatewayRouteTable.
func GetLocalGatewayRouteTableOutput ¶
func GetLocalGatewayRouteTableOutput(ctx *pulumi.Context, args GetLocalGatewayRouteTableOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayRouteTableResultOutput
func (GetLocalGatewayRouteTableResultOutput) ElementType ¶
func (GetLocalGatewayRouteTableResultOutput) ElementType() reflect.Type
func (GetLocalGatewayRouteTableResultOutput) Filters ¶
func (o GetLocalGatewayRouteTableResultOutput) Filters() GetLocalGatewayRouteTableFilterArrayOutput
func (GetLocalGatewayRouteTableResultOutput) Id ¶
func (o GetLocalGatewayRouteTableResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLocalGatewayRouteTableResultOutput) LocalGatewayId ¶
func (o GetLocalGatewayRouteTableResultOutput) LocalGatewayId() pulumi.StringOutput
func (GetLocalGatewayRouteTableResultOutput) LocalGatewayRouteTableId ¶
func (o GetLocalGatewayRouteTableResultOutput) LocalGatewayRouteTableId() pulumi.StringOutput
func (GetLocalGatewayRouteTableResultOutput) OutpostArn ¶
func (o GetLocalGatewayRouteTableResultOutput) OutpostArn() pulumi.StringOutput
func (GetLocalGatewayRouteTableResultOutput) State ¶
func (o GetLocalGatewayRouteTableResultOutput) State() pulumi.StringOutput
func (GetLocalGatewayRouteTableResultOutput) Tags ¶
func (o GetLocalGatewayRouteTableResultOutput) Tags() pulumi.StringMapOutput
func (GetLocalGatewayRouteTableResultOutput) ToGetLocalGatewayRouteTableResultOutput ¶
func (o GetLocalGatewayRouteTableResultOutput) ToGetLocalGatewayRouteTableResultOutput() GetLocalGatewayRouteTableResultOutput
func (GetLocalGatewayRouteTableResultOutput) ToGetLocalGatewayRouteTableResultOutputWithContext ¶
func (o GetLocalGatewayRouteTableResultOutput) ToGetLocalGatewayRouteTableResultOutputWithContext(ctx context.Context) GetLocalGatewayRouteTableResultOutput
type GetLocalGatewayRouteTablesArgs ¶
type GetLocalGatewayRouteTablesArgs struct {
// Custom filter block as described below.
Filters []GetLocalGatewayRouteTablesFilter `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired local gateway route table.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayRouteTables.
type GetLocalGatewayRouteTablesFilter ¶
type GetLocalGatewayRouteTablesFilter 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_DescribeLocalGatewayRouteTables.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field.
// A Local Gateway Route Table will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetLocalGatewayRouteTablesFilterArgs ¶
type GetLocalGatewayRouteTablesFilterArgs 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_DescribeLocalGatewayRouteTables.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field.
// A Local Gateway Route Table will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetLocalGatewayRouteTablesFilterArgs) ElementType ¶
func (GetLocalGatewayRouteTablesFilterArgs) ElementType() reflect.Type
func (GetLocalGatewayRouteTablesFilterArgs) ToGetLocalGatewayRouteTablesFilterOutput ¶
func (i GetLocalGatewayRouteTablesFilterArgs) ToGetLocalGatewayRouteTablesFilterOutput() GetLocalGatewayRouteTablesFilterOutput
func (GetLocalGatewayRouteTablesFilterArgs) ToGetLocalGatewayRouteTablesFilterOutputWithContext ¶
func (i GetLocalGatewayRouteTablesFilterArgs) ToGetLocalGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesFilterOutput
type GetLocalGatewayRouteTablesFilterArray ¶
type GetLocalGatewayRouteTablesFilterArray []GetLocalGatewayRouteTablesFilterInput
func (GetLocalGatewayRouteTablesFilterArray) ElementType ¶
func (GetLocalGatewayRouteTablesFilterArray) ElementType() reflect.Type
func (GetLocalGatewayRouteTablesFilterArray) ToGetLocalGatewayRouteTablesFilterArrayOutput ¶
func (i GetLocalGatewayRouteTablesFilterArray) ToGetLocalGatewayRouteTablesFilterArrayOutput() GetLocalGatewayRouteTablesFilterArrayOutput
func (GetLocalGatewayRouteTablesFilterArray) ToGetLocalGatewayRouteTablesFilterArrayOutputWithContext ¶
func (i GetLocalGatewayRouteTablesFilterArray) ToGetLocalGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesFilterArrayOutput
type GetLocalGatewayRouteTablesFilterArrayInput ¶
type GetLocalGatewayRouteTablesFilterArrayInput interface {
pulumi.Input
ToGetLocalGatewayRouteTablesFilterArrayOutput() GetLocalGatewayRouteTablesFilterArrayOutput
ToGetLocalGatewayRouteTablesFilterArrayOutputWithContext(context.Context) GetLocalGatewayRouteTablesFilterArrayOutput
}
GetLocalGatewayRouteTablesFilterArrayInput is an input type that accepts GetLocalGatewayRouteTablesFilterArray and GetLocalGatewayRouteTablesFilterArrayOutput values. You can construct a concrete instance of `GetLocalGatewayRouteTablesFilterArrayInput` via:
GetLocalGatewayRouteTablesFilterArray{ GetLocalGatewayRouteTablesFilterArgs{...} }
type GetLocalGatewayRouteTablesFilterArrayOutput ¶
type GetLocalGatewayRouteTablesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayRouteTablesFilterArrayOutput) ElementType ¶
func (GetLocalGatewayRouteTablesFilterArrayOutput) ElementType() reflect.Type
func (GetLocalGatewayRouteTablesFilterArrayOutput) ToGetLocalGatewayRouteTablesFilterArrayOutput ¶
func (o GetLocalGatewayRouteTablesFilterArrayOutput) ToGetLocalGatewayRouteTablesFilterArrayOutput() GetLocalGatewayRouteTablesFilterArrayOutput
func (GetLocalGatewayRouteTablesFilterArrayOutput) ToGetLocalGatewayRouteTablesFilterArrayOutputWithContext ¶
func (o GetLocalGatewayRouteTablesFilterArrayOutput) ToGetLocalGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesFilterArrayOutput
type GetLocalGatewayRouteTablesFilterInput ¶
type GetLocalGatewayRouteTablesFilterInput interface {
pulumi.Input
ToGetLocalGatewayRouteTablesFilterOutput() GetLocalGatewayRouteTablesFilterOutput
ToGetLocalGatewayRouteTablesFilterOutputWithContext(context.Context) GetLocalGatewayRouteTablesFilterOutput
}
GetLocalGatewayRouteTablesFilterInput is an input type that accepts GetLocalGatewayRouteTablesFilterArgs and GetLocalGatewayRouteTablesFilterOutput values. You can construct a concrete instance of `GetLocalGatewayRouteTablesFilterInput` via:
GetLocalGatewayRouteTablesFilterArgs{...}
type GetLocalGatewayRouteTablesFilterOutput ¶
type GetLocalGatewayRouteTablesFilterOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayRouteTablesFilterOutput) ElementType ¶
func (GetLocalGatewayRouteTablesFilterOutput) ElementType() reflect.Type
func (GetLocalGatewayRouteTablesFilterOutput) Name ¶
func (o GetLocalGatewayRouteTablesFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayRouteTables.html).
func (GetLocalGatewayRouteTablesFilterOutput) ToGetLocalGatewayRouteTablesFilterOutput ¶
func (o GetLocalGatewayRouteTablesFilterOutput) ToGetLocalGatewayRouteTablesFilterOutput() GetLocalGatewayRouteTablesFilterOutput
func (GetLocalGatewayRouteTablesFilterOutput) ToGetLocalGatewayRouteTablesFilterOutputWithContext ¶
func (o GetLocalGatewayRouteTablesFilterOutput) ToGetLocalGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesFilterOutput
func (GetLocalGatewayRouteTablesFilterOutput) Values ¶
func (o GetLocalGatewayRouteTablesFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A Local Gateway Route Table will be selected if any one of the given values matches.
type GetLocalGatewayRouteTablesOutputArgs ¶
type GetLocalGatewayRouteTablesOutputArgs struct {
// Custom filter block as described below.
Filters GetLocalGatewayRouteTablesFilterArrayInput `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired local gateway route table.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayRouteTables.
func (GetLocalGatewayRouteTablesOutputArgs) ElementType ¶
func (GetLocalGatewayRouteTablesOutputArgs) ElementType() reflect.Type
type GetLocalGatewayRouteTablesResult ¶
type GetLocalGatewayRouteTablesResult struct {
Filters []GetLocalGatewayRouteTablesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Set of Local Gateway Route Table identifiers
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getLocalGatewayRouteTables.
func GetLocalGatewayRouteTables ¶
func GetLocalGatewayRouteTables(ctx *pulumi.Context, args *GetLocalGatewayRouteTablesArgs, opts ...pulumi.InvokeOption) (*GetLocalGatewayRouteTablesResult, error)
Provides information for multiple EC2 Local Gateway Route Tables, such as their identifiers.
type GetLocalGatewayRouteTablesResultOutput ¶
type GetLocalGatewayRouteTablesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocalGatewayRouteTables.
func GetLocalGatewayRouteTablesOutput ¶
func GetLocalGatewayRouteTablesOutput(ctx *pulumi.Context, args GetLocalGatewayRouteTablesOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayRouteTablesResultOutput
func (GetLocalGatewayRouteTablesResultOutput) ElementType ¶
func (GetLocalGatewayRouteTablesResultOutput) ElementType() reflect.Type
func (GetLocalGatewayRouteTablesResultOutput) Id ¶
func (o GetLocalGatewayRouteTablesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLocalGatewayRouteTablesResultOutput) Ids ¶
func (o GetLocalGatewayRouteTablesResultOutput) Ids() pulumi.StringArrayOutput
Set of Local Gateway Route Table identifiers
func (GetLocalGatewayRouteTablesResultOutput) Tags ¶
func (o GetLocalGatewayRouteTablesResultOutput) Tags() pulumi.StringMapOutput
func (GetLocalGatewayRouteTablesResultOutput) ToGetLocalGatewayRouteTablesResultOutput ¶
func (o GetLocalGatewayRouteTablesResultOutput) ToGetLocalGatewayRouteTablesResultOutput() GetLocalGatewayRouteTablesResultOutput
func (GetLocalGatewayRouteTablesResultOutput) ToGetLocalGatewayRouteTablesResultOutputWithContext ¶
func (o GetLocalGatewayRouteTablesResultOutput) ToGetLocalGatewayRouteTablesResultOutputWithContext(ctx context.Context) GetLocalGatewayRouteTablesResultOutput
type GetLocalGatewayVirtualInterfaceArgs ¶
type GetLocalGatewayVirtualInterfaceArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaces.html) for supported filters. Detailed below.
Filters []GetLocalGatewayVirtualInterfaceFilter `pulumi:"filters"`
// Identifier of EC2 Local Gateway Virtual Interface.
Id *string `pulumi:"id"`
// Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayVirtualInterface.
type GetLocalGatewayVirtualInterfaceFilterArgs ¶
type GetLocalGatewayVirtualInterfaceFilterArgs struct {
// Name of the filter.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetLocalGatewayVirtualInterfaceFilterArgs) ElementType ¶
func (GetLocalGatewayVirtualInterfaceFilterArgs) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceFilterArgs) ToGetLocalGatewayVirtualInterfaceFilterOutput ¶
func (i GetLocalGatewayVirtualInterfaceFilterArgs) ToGetLocalGatewayVirtualInterfaceFilterOutput() GetLocalGatewayVirtualInterfaceFilterOutput
func (GetLocalGatewayVirtualInterfaceFilterArgs) ToGetLocalGatewayVirtualInterfaceFilterOutputWithContext ¶
func (i GetLocalGatewayVirtualInterfaceFilterArgs) ToGetLocalGatewayVirtualInterfaceFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceFilterOutput
type GetLocalGatewayVirtualInterfaceFilterArray ¶
type GetLocalGatewayVirtualInterfaceFilterArray []GetLocalGatewayVirtualInterfaceFilterInput
func (GetLocalGatewayVirtualInterfaceFilterArray) ElementType ¶
func (GetLocalGatewayVirtualInterfaceFilterArray) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceFilterArray) ToGetLocalGatewayVirtualInterfaceFilterArrayOutput ¶
func (i GetLocalGatewayVirtualInterfaceFilterArray) ToGetLocalGatewayVirtualInterfaceFilterArrayOutput() GetLocalGatewayVirtualInterfaceFilterArrayOutput
func (GetLocalGatewayVirtualInterfaceFilterArray) ToGetLocalGatewayVirtualInterfaceFilterArrayOutputWithContext ¶
func (i GetLocalGatewayVirtualInterfaceFilterArray) ToGetLocalGatewayVirtualInterfaceFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceFilterArrayOutput
type GetLocalGatewayVirtualInterfaceFilterArrayInput ¶
type GetLocalGatewayVirtualInterfaceFilterArrayInput interface {
pulumi.Input
ToGetLocalGatewayVirtualInterfaceFilterArrayOutput() GetLocalGatewayVirtualInterfaceFilterArrayOutput
ToGetLocalGatewayVirtualInterfaceFilterArrayOutputWithContext(context.Context) GetLocalGatewayVirtualInterfaceFilterArrayOutput
}
GetLocalGatewayVirtualInterfaceFilterArrayInput is an input type that accepts GetLocalGatewayVirtualInterfaceFilterArray and GetLocalGatewayVirtualInterfaceFilterArrayOutput values. You can construct a concrete instance of `GetLocalGatewayVirtualInterfaceFilterArrayInput` via:
GetLocalGatewayVirtualInterfaceFilterArray{ GetLocalGatewayVirtualInterfaceFilterArgs{...} }
type GetLocalGatewayVirtualInterfaceFilterArrayOutput ¶
type GetLocalGatewayVirtualInterfaceFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayVirtualInterfaceFilterArrayOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceFilterArrayOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceFilterArrayOutput ¶
func (o GetLocalGatewayVirtualInterfaceFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceFilterArrayOutput() GetLocalGatewayVirtualInterfaceFilterArrayOutput
func (GetLocalGatewayVirtualInterfaceFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceFilterArrayOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceFilterArrayOutput
type GetLocalGatewayVirtualInterfaceFilterInput ¶
type GetLocalGatewayVirtualInterfaceFilterInput interface {
pulumi.Input
ToGetLocalGatewayVirtualInterfaceFilterOutput() GetLocalGatewayVirtualInterfaceFilterOutput
ToGetLocalGatewayVirtualInterfaceFilterOutputWithContext(context.Context) GetLocalGatewayVirtualInterfaceFilterOutput
}
GetLocalGatewayVirtualInterfaceFilterInput is an input type that accepts GetLocalGatewayVirtualInterfaceFilterArgs and GetLocalGatewayVirtualInterfaceFilterOutput values. You can construct a concrete instance of `GetLocalGatewayVirtualInterfaceFilterInput` via:
GetLocalGatewayVirtualInterfaceFilterArgs{...}
type GetLocalGatewayVirtualInterfaceFilterOutput ¶
type GetLocalGatewayVirtualInterfaceFilterOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayVirtualInterfaceFilterOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceFilterOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceFilterOutput) Name ¶
func (o GetLocalGatewayVirtualInterfaceFilterOutput) Name() pulumi.StringOutput
Name of the filter.
func (GetLocalGatewayVirtualInterfaceFilterOutput) ToGetLocalGatewayVirtualInterfaceFilterOutput ¶
func (o GetLocalGatewayVirtualInterfaceFilterOutput) ToGetLocalGatewayVirtualInterfaceFilterOutput() GetLocalGatewayVirtualInterfaceFilterOutput
func (GetLocalGatewayVirtualInterfaceFilterOutput) ToGetLocalGatewayVirtualInterfaceFilterOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceFilterOutput) ToGetLocalGatewayVirtualInterfaceFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceFilterOutput
func (GetLocalGatewayVirtualInterfaceFilterOutput) Values ¶
func (o GetLocalGatewayVirtualInterfaceFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetLocalGatewayVirtualInterfaceGroupArgs ¶
type GetLocalGatewayVirtualInterfaceGroupArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaceGroups.html) for supported filters. Detailed below.
Filters []GetLocalGatewayVirtualInterfaceGroupFilter `pulumi:"filters"`
// Identifier of EC2 Local Gateway Virtual Interface Group.
Id *string `pulumi:"id"`
// Identifier of EC2 Local Gateway.
LocalGatewayId *string `pulumi:"localGatewayId"`
// Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayVirtualInterfaceGroup.
type GetLocalGatewayVirtualInterfaceGroupFilterArgs ¶
type GetLocalGatewayVirtualInterfaceGroupFilterArgs struct {
// Name of the filter.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetLocalGatewayVirtualInterfaceGroupFilterArgs) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupFilterArgs) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupFilterOutput ¶
func (i GetLocalGatewayVirtualInterfaceGroupFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupFilterOutput() GetLocalGatewayVirtualInterfaceGroupFilterOutput
func (GetLocalGatewayVirtualInterfaceGroupFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupFilterOutputWithContext ¶
func (i GetLocalGatewayVirtualInterfaceGroupFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupFilterOutput
type GetLocalGatewayVirtualInterfaceGroupFilterArray ¶
type GetLocalGatewayVirtualInterfaceGroupFilterArray []GetLocalGatewayVirtualInterfaceGroupFilterInput
func (GetLocalGatewayVirtualInterfaceGroupFilterArray) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupFilterArray) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupFilterArray) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutput ¶
func (i GetLocalGatewayVirtualInterfaceGroupFilterArray) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
func (GetLocalGatewayVirtualInterfaceGroupFilterArray) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutputWithContext ¶
func (i GetLocalGatewayVirtualInterfaceGroupFilterArray) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
type GetLocalGatewayVirtualInterfaceGroupFilterArrayInput ¶
type GetLocalGatewayVirtualInterfaceGroupFilterArrayInput interface {
pulumi.Input
ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutputWithContext(context.Context) GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
}
GetLocalGatewayVirtualInterfaceGroupFilterArrayInput is an input type that accepts GetLocalGatewayVirtualInterfaceGroupFilterArray and GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput values. You can construct a concrete instance of `GetLocalGatewayVirtualInterfaceGroupFilterArrayInput` via:
GetLocalGatewayVirtualInterfaceGroupFilterArray{ GetLocalGatewayVirtualInterfaceGroupFilterArgs{...} }
type GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput ¶
type GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutput ¶
func (o GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
func (GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupFilterArrayOutput
type GetLocalGatewayVirtualInterfaceGroupFilterInput ¶
type GetLocalGatewayVirtualInterfaceGroupFilterInput interface {
pulumi.Input
ToGetLocalGatewayVirtualInterfaceGroupFilterOutput() GetLocalGatewayVirtualInterfaceGroupFilterOutput
ToGetLocalGatewayVirtualInterfaceGroupFilterOutputWithContext(context.Context) GetLocalGatewayVirtualInterfaceGroupFilterOutput
}
GetLocalGatewayVirtualInterfaceGroupFilterInput is an input type that accepts GetLocalGatewayVirtualInterfaceGroupFilterArgs and GetLocalGatewayVirtualInterfaceGroupFilterOutput values. You can construct a concrete instance of `GetLocalGatewayVirtualInterfaceGroupFilterInput` via:
GetLocalGatewayVirtualInterfaceGroupFilterArgs{...}
type GetLocalGatewayVirtualInterfaceGroupFilterOutput ¶
type GetLocalGatewayVirtualInterfaceGroupFilterOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayVirtualInterfaceGroupFilterOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupFilterOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupFilterOutput) Name ¶
func (o GetLocalGatewayVirtualInterfaceGroupFilterOutput) Name() pulumi.StringOutput
Name of the filter.
func (GetLocalGatewayVirtualInterfaceGroupFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterOutput ¶
func (o GetLocalGatewayVirtualInterfaceGroupFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterOutput() GetLocalGatewayVirtualInterfaceGroupFilterOutput
func (GetLocalGatewayVirtualInterfaceGroupFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceGroupFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupFilterOutput
func (GetLocalGatewayVirtualInterfaceGroupFilterOutput) Values ¶
func (o GetLocalGatewayVirtualInterfaceGroupFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetLocalGatewayVirtualInterfaceGroupOutputArgs ¶
type GetLocalGatewayVirtualInterfaceGroupOutputArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaceGroups.html) for supported filters. Detailed below.
Filters GetLocalGatewayVirtualInterfaceGroupFilterArrayInput `pulumi:"filters"`
// Identifier of EC2 Local Gateway Virtual Interface Group.
Id pulumi.StringPtrInput `pulumi:"id"`
// Identifier of EC2 Local Gateway.
LocalGatewayId pulumi.StringPtrInput `pulumi:"localGatewayId"`
// Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayVirtualInterfaceGroup.
func (GetLocalGatewayVirtualInterfaceGroupOutputArgs) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupOutputArgs) ElementType() reflect.Type
type GetLocalGatewayVirtualInterfaceGroupResult ¶
type GetLocalGatewayVirtualInterfaceGroupResult struct {
Filters []GetLocalGatewayVirtualInterfaceGroupFilter `pulumi:"filters"`
Id string `pulumi:"id"`
LocalGatewayId string `pulumi:"localGatewayId"`
// Set of EC2 Local Gateway Virtual Interface identifiers.
LocalGatewayVirtualInterfaceIds []string `pulumi:"localGatewayVirtualInterfaceIds"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getLocalGatewayVirtualInterfaceGroup.
func GetLocalGatewayVirtualInterfaceGroup ¶
func GetLocalGatewayVirtualInterfaceGroup(ctx *pulumi.Context, args *GetLocalGatewayVirtualInterfaceGroupArgs, opts ...pulumi.InvokeOption) (*GetLocalGatewayVirtualInterfaceGroupResult, error)
Provides details about an EC2 Local Gateway Virtual Interface Group. More information can be found in the [Outposts User Guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#routing).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetLocalGatewayVirtualInterfaceGroup(ctx, &ec2.GetLocalGatewayVirtualInterfaceGroupArgs{
LocalGatewayId: pulumi.StringRef(data.Aws_ec2_local_gateway.Example.Id),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetLocalGatewayVirtualInterfaceGroupResultOutput ¶
type GetLocalGatewayVirtualInterfaceGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocalGatewayVirtualInterfaceGroup.
func GetLocalGatewayVirtualInterfaceGroupOutput ¶
func GetLocalGatewayVirtualInterfaceGroupOutput(ctx *pulumi.Context, args GetLocalGatewayVirtualInterfaceGroupOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayVirtualInterfaceGroupResultOutput
func (GetLocalGatewayVirtualInterfaceGroupResultOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupResultOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupResultOutput) LocalGatewayId ¶
func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) LocalGatewayId() pulumi.StringOutput
func (GetLocalGatewayVirtualInterfaceGroupResultOutput) LocalGatewayVirtualInterfaceIds ¶
func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) LocalGatewayVirtualInterfaceIds() pulumi.StringArrayOutput
Set of EC2 Local Gateway Virtual Interface identifiers.
func (GetLocalGatewayVirtualInterfaceGroupResultOutput) Tags ¶
func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) Tags() pulumi.StringMapOutput
func (GetLocalGatewayVirtualInterfaceGroupResultOutput) ToGetLocalGatewayVirtualInterfaceGroupResultOutput ¶
func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) ToGetLocalGatewayVirtualInterfaceGroupResultOutput() GetLocalGatewayVirtualInterfaceGroupResultOutput
func (GetLocalGatewayVirtualInterfaceGroupResultOutput) ToGetLocalGatewayVirtualInterfaceGroupResultOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceGroupResultOutput) ToGetLocalGatewayVirtualInterfaceGroupResultOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupResultOutput
type GetLocalGatewayVirtualInterfaceGroupsArgs ¶
type GetLocalGatewayVirtualInterfaceGroupsArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaceGroups.html) for supported filters. Detailed below.
Filters []GetLocalGatewayVirtualInterfaceGroupsFilter `pulumi:"filters"`
// Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayVirtualInterfaceGroups.
type GetLocalGatewayVirtualInterfaceGroupsFilterArgs ¶
type GetLocalGatewayVirtualInterfaceGroupsFilterArgs struct {
// Name of the filter.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutput ¶
func (i GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutput() GetLocalGatewayVirtualInterfaceGroupsFilterOutput
func (GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutputWithContext ¶
func (i GetLocalGatewayVirtualInterfaceGroupsFilterArgs) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterOutput
type GetLocalGatewayVirtualInterfaceGroupsFilterArray ¶
type GetLocalGatewayVirtualInterfaceGroupsFilterArray []GetLocalGatewayVirtualInterfaceGroupsFilterInput
func (GetLocalGatewayVirtualInterfaceGroupsFilterArray) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupsFilterArray) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupsFilterArray) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput ¶
func (i GetLocalGatewayVirtualInterfaceGroupsFilterArray) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
func (GetLocalGatewayVirtualInterfaceGroupsFilterArray) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutputWithContext ¶
func (i GetLocalGatewayVirtualInterfaceGroupsFilterArray) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
type GetLocalGatewayVirtualInterfaceGroupsFilterArrayInput ¶
type GetLocalGatewayVirtualInterfaceGroupsFilterArrayInput interface {
pulumi.Input
ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutputWithContext(context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
}
GetLocalGatewayVirtualInterfaceGroupsFilterArrayInput is an input type that accepts GetLocalGatewayVirtualInterfaceGroupsFilterArray and GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput values. You can construct a concrete instance of `GetLocalGatewayVirtualInterfaceGroupsFilterArrayInput` via:
GetLocalGatewayVirtualInterfaceGroupsFilterArray{ GetLocalGatewayVirtualInterfaceGroupsFilterArgs{...} }
type GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput ¶
type GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput ¶
func (o GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput() GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
func (GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterArrayOutput
type GetLocalGatewayVirtualInterfaceGroupsFilterInput ¶
type GetLocalGatewayVirtualInterfaceGroupsFilterInput interface {
pulumi.Input
ToGetLocalGatewayVirtualInterfaceGroupsFilterOutput() GetLocalGatewayVirtualInterfaceGroupsFilterOutput
ToGetLocalGatewayVirtualInterfaceGroupsFilterOutputWithContext(context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterOutput
}
GetLocalGatewayVirtualInterfaceGroupsFilterInput is an input type that accepts GetLocalGatewayVirtualInterfaceGroupsFilterArgs and GetLocalGatewayVirtualInterfaceGroupsFilterOutput values. You can construct a concrete instance of `GetLocalGatewayVirtualInterfaceGroupsFilterInput` via:
GetLocalGatewayVirtualInterfaceGroupsFilterArgs{...}
type GetLocalGatewayVirtualInterfaceGroupsFilterOutput ¶
type GetLocalGatewayVirtualInterfaceGroupsFilterOutput struct{ *pulumi.OutputState }
func (GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupsFilterOutput) Name ¶
func (o GetLocalGatewayVirtualInterfaceGroupsFilterOutput) Name() pulumi.StringOutput
Name of the filter.
func (GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutput ¶
func (o GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutput() GetLocalGatewayVirtualInterfaceGroupsFilterOutput
func (GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceGroupsFilterOutput) ToGetLocalGatewayVirtualInterfaceGroupsFilterOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsFilterOutput
func (GetLocalGatewayVirtualInterfaceGroupsFilterOutput) Values ¶
func (o GetLocalGatewayVirtualInterfaceGroupsFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetLocalGatewayVirtualInterfaceGroupsOutputArgs ¶
type GetLocalGatewayVirtualInterfaceGroupsOutputArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaceGroups.html) for supported filters. Detailed below.
Filters GetLocalGatewayVirtualInterfaceGroupsFilterArrayInput `pulumi:"filters"`
// Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayVirtualInterfaceGroups.
func (GetLocalGatewayVirtualInterfaceGroupsOutputArgs) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupsOutputArgs) ElementType() reflect.Type
type GetLocalGatewayVirtualInterfaceGroupsResult ¶
type GetLocalGatewayVirtualInterfaceGroupsResult struct {
Filters []GetLocalGatewayVirtualInterfaceGroupsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Set of EC2 Local Gateway Virtual Interface Group identifiers.
Ids []string `pulumi:"ids"`
// Set of EC2 Local Gateway Virtual Interface identifiers.
LocalGatewayVirtualInterfaceIds []string `pulumi:"localGatewayVirtualInterfaceIds"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getLocalGatewayVirtualInterfaceGroups.
func GetLocalGatewayVirtualInterfaceGroups ¶
func GetLocalGatewayVirtualInterfaceGroups(ctx *pulumi.Context, args *GetLocalGatewayVirtualInterfaceGroupsArgs, opts ...pulumi.InvokeOption) (*GetLocalGatewayVirtualInterfaceGroupsResult, error)
Provides details about multiple EC2 Local Gateway Virtual Interface Groups, such as identifiers. More information can be found in the [Outposts User Guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#routing).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetLocalGatewayVirtualInterfaceGroups(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetLocalGatewayVirtualInterfaceGroupsResultOutput ¶
type GetLocalGatewayVirtualInterfaceGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocalGatewayVirtualInterfaceGroups.
func GetLocalGatewayVirtualInterfaceGroupsOutput ¶
func GetLocalGatewayVirtualInterfaceGroupsOutput(ctx *pulumi.Context, args GetLocalGatewayVirtualInterfaceGroupsOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayVirtualInterfaceGroupsResultOutput
func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) Id ¶
The provider-assigned unique ID for this managed resource.
func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) Ids ¶
Set of EC2 Local Gateway Virtual Interface Group identifiers.
func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) LocalGatewayVirtualInterfaceIds ¶
func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) LocalGatewayVirtualInterfaceIds() pulumi.StringArrayOutput
Set of EC2 Local Gateway Virtual Interface identifiers.
func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) Tags ¶
func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) Tags() pulumi.StringMapOutput
func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) ToGetLocalGatewayVirtualInterfaceGroupsResultOutput ¶
func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) ToGetLocalGatewayVirtualInterfaceGroupsResultOutput() GetLocalGatewayVirtualInterfaceGroupsResultOutput
func (GetLocalGatewayVirtualInterfaceGroupsResultOutput) ToGetLocalGatewayVirtualInterfaceGroupsResultOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceGroupsResultOutput) ToGetLocalGatewayVirtualInterfaceGroupsResultOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceGroupsResultOutput
type GetLocalGatewayVirtualInterfaceOutputArgs ¶
type GetLocalGatewayVirtualInterfaceOutputArgs struct {
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaces.html) for supported filters. Detailed below.
Filters GetLocalGatewayVirtualInterfaceFilterArrayInput `pulumi:"filters"`
// Identifier of EC2 Local Gateway Virtual Interface.
Id pulumi.StringPtrInput `pulumi:"id"`
// Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGatewayVirtualInterface.
func (GetLocalGatewayVirtualInterfaceOutputArgs) ElementType ¶
func (GetLocalGatewayVirtualInterfaceOutputArgs) ElementType() reflect.Type
type GetLocalGatewayVirtualInterfaceResult ¶
type GetLocalGatewayVirtualInterfaceResult struct {
Filters []GetLocalGatewayVirtualInterfaceFilter `pulumi:"filters"`
Id string `pulumi:"id"`
// Local address.
LocalAddress string `pulumi:"localAddress"`
// Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway.
LocalBgpAsn int `pulumi:"localBgpAsn"`
// Identifier of the EC2 Local Gateway.
LocalGatewayId string `pulumi:"localGatewayId"`
LocalGatewayVirtualInterfaceIds []string `pulumi:"localGatewayVirtualInterfaceIds"`
// Peer address.
PeerAddress string `pulumi:"peerAddress"`
// Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer.
PeerBgpAsn int `pulumi:"peerBgpAsn"`
Tags map[string]string `pulumi:"tags"`
// Virtual Local Area Network.
Vlan int `pulumi:"vlan"`
}
A collection of values returned by getLocalGatewayVirtualInterface.
func GetLocalGatewayVirtualInterface ¶
func GetLocalGatewayVirtualInterface(ctx *pulumi.Context, args *GetLocalGatewayVirtualInterfaceArgs, opts ...pulumi.InvokeOption) (*GetLocalGatewayVirtualInterfaceResult, error)
Provides details about an EC2 Local Gateway Virtual Interface. More information can be found in the [Outposts User Guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#routing).
type GetLocalGatewayVirtualInterfaceResultOutput ¶
type GetLocalGatewayVirtualInterfaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocalGatewayVirtualInterface.
func GetLocalGatewayVirtualInterfaceOutput ¶
func GetLocalGatewayVirtualInterfaceOutput(ctx *pulumi.Context, args GetLocalGatewayVirtualInterfaceOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayVirtualInterfaceResultOutput
func (GetLocalGatewayVirtualInterfaceResultOutput) ElementType ¶
func (GetLocalGatewayVirtualInterfaceResultOutput) ElementType() reflect.Type
func (GetLocalGatewayVirtualInterfaceResultOutput) Id ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) Id() pulumi.StringOutput
func (GetLocalGatewayVirtualInterfaceResultOutput) LocalAddress ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalAddress() pulumi.StringOutput
Local address.
func (GetLocalGatewayVirtualInterfaceResultOutput) LocalBgpAsn ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalBgpAsn() pulumi.IntOutput
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway.
func (GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayId ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayId() pulumi.StringOutput
Identifier of the EC2 Local Gateway.
func (GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayVirtualInterfaceIds ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayVirtualInterfaceIds() pulumi.StringArrayOutput
func (GetLocalGatewayVirtualInterfaceResultOutput) PeerAddress ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) PeerAddress() pulumi.StringOutput
Peer address.
func (GetLocalGatewayVirtualInterfaceResultOutput) PeerBgpAsn ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) PeerBgpAsn() pulumi.IntOutput
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer.
func (GetLocalGatewayVirtualInterfaceResultOutput) Tags ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) Tags() pulumi.StringMapOutput
func (GetLocalGatewayVirtualInterfaceResultOutput) ToGetLocalGatewayVirtualInterfaceResultOutput ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) ToGetLocalGatewayVirtualInterfaceResultOutput() GetLocalGatewayVirtualInterfaceResultOutput
func (GetLocalGatewayVirtualInterfaceResultOutput) ToGetLocalGatewayVirtualInterfaceResultOutputWithContext ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) ToGetLocalGatewayVirtualInterfaceResultOutputWithContext(ctx context.Context) GetLocalGatewayVirtualInterfaceResultOutput
func (GetLocalGatewayVirtualInterfaceResultOutput) Vlan ¶
func (o GetLocalGatewayVirtualInterfaceResultOutput) Vlan() pulumi.IntOutput
Virtual Local Area Network.
type GetLocalGatewaysArgs ¶
type GetLocalGatewaysArgs struct {
// Custom filter block as described below.
Filters []GetLocalGatewaysFilter `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired local_gateways.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGateways.
type GetLocalGatewaysFilter ¶
type GetLocalGatewaysFilter 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_DescribeLocalGateways.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field.
// A Local Gateway will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetLocalGatewaysFilterArgs ¶
type GetLocalGatewaysFilterArgs 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_DescribeLocalGateways.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field.
// A Local Gateway will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetLocalGatewaysFilterArgs) ElementType ¶
func (GetLocalGatewaysFilterArgs) ElementType() reflect.Type
func (GetLocalGatewaysFilterArgs) ToGetLocalGatewaysFilterOutput ¶
func (i GetLocalGatewaysFilterArgs) ToGetLocalGatewaysFilterOutput() GetLocalGatewaysFilterOutput
func (GetLocalGatewaysFilterArgs) ToGetLocalGatewaysFilterOutputWithContext ¶
func (i GetLocalGatewaysFilterArgs) ToGetLocalGatewaysFilterOutputWithContext(ctx context.Context) GetLocalGatewaysFilterOutput
type GetLocalGatewaysFilterArray ¶
type GetLocalGatewaysFilterArray []GetLocalGatewaysFilterInput
func (GetLocalGatewaysFilterArray) ElementType ¶
func (GetLocalGatewaysFilterArray) ElementType() reflect.Type
func (GetLocalGatewaysFilterArray) ToGetLocalGatewaysFilterArrayOutput ¶
func (i GetLocalGatewaysFilterArray) ToGetLocalGatewaysFilterArrayOutput() GetLocalGatewaysFilterArrayOutput
func (GetLocalGatewaysFilterArray) ToGetLocalGatewaysFilterArrayOutputWithContext ¶
func (i GetLocalGatewaysFilterArray) ToGetLocalGatewaysFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewaysFilterArrayOutput
type GetLocalGatewaysFilterArrayInput ¶
type GetLocalGatewaysFilterArrayInput interface {
pulumi.Input
ToGetLocalGatewaysFilterArrayOutput() GetLocalGatewaysFilterArrayOutput
ToGetLocalGatewaysFilterArrayOutputWithContext(context.Context) GetLocalGatewaysFilterArrayOutput
}
GetLocalGatewaysFilterArrayInput is an input type that accepts GetLocalGatewaysFilterArray and GetLocalGatewaysFilterArrayOutput values. You can construct a concrete instance of `GetLocalGatewaysFilterArrayInput` via:
GetLocalGatewaysFilterArray{ GetLocalGatewaysFilterArgs{...} }
type GetLocalGatewaysFilterArrayOutput ¶
type GetLocalGatewaysFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLocalGatewaysFilterArrayOutput) ElementType ¶
func (GetLocalGatewaysFilterArrayOutput) ElementType() reflect.Type
func (GetLocalGatewaysFilterArrayOutput) Index ¶
func (o GetLocalGatewaysFilterArrayOutput) Index(i pulumi.IntInput) GetLocalGatewaysFilterOutput
func (GetLocalGatewaysFilterArrayOutput) ToGetLocalGatewaysFilterArrayOutput ¶
func (o GetLocalGatewaysFilterArrayOutput) ToGetLocalGatewaysFilterArrayOutput() GetLocalGatewaysFilterArrayOutput
func (GetLocalGatewaysFilterArrayOutput) ToGetLocalGatewaysFilterArrayOutputWithContext ¶
func (o GetLocalGatewaysFilterArrayOutput) ToGetLocalGatewaysFilterArrayOutputWithContext(ctx context.Context) GetLocalGatewaysFilterArrayOutput
type GetLocalGatewaysFilterInput ¶
type GetLocalGatewaysFilterInput interface {
pulumi.Input
ToGetLocalGatewaysFilterOutput() GetLocalGatewaysFilterOutput
ToGetLocalGatewaysFilterOutputWithContext(context.Context) GetLocalGatewaysFilterOutput
}
GetLocalGatewaysFilterInput is an input type that accepts GetLocalGatewaysFilterArgs and GetLocalGatewaysFilterOutput values. You can construct a concrete instance of `GetLocalGatewaysFilterInput` via:
GetLocalGatewaysFilterArgs{...}
type GetLocalGatewaysFilterOutput ¶
type GetLocalGatewaysFilterOutput struct{ *pulumi.OutputState }
func (GetLocalGatewaysFilterOutput) ElementType ¶
func (GetLocalGatewaysFilterOutput) ElementType() reflect.Type
func (GetLocalGatewaysFilterOutput) Name ¶
func (o GetLocalGatewaysFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGateways.html).
func (GetLocalGatewaysFilterOutput) ToGetLocalGatewaysFilterOutput ¶
func (o GetLocalGatewaysFilterOutput) ToGetLocalGatewaysFilterOutput() GetLocalGatewaysFilterOutput
func (GetLocalGatewaysFilterOutput) ToGetLocalGatewaysFilterOutputWithContext ¶
func (o GetLocalGatewaysFilterOutput) ToGetLocalGatewaysFilterOutputWithContext(ctx context.Context) GetLocalGatewaysFilterOutput
func (GetLocalGatewaysFilterOutput) Values ¶
func (o GetLocalGatewaysFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A Local Gateway will be selected if any one of the given values matches.
type GetLocalGatewaysOutputArgs ¶
type GetLocalGatewaysOutputArgs struct {
// Custom filter block as described below.
Filters GetLocalGatewaysFilterArrayInput `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired local_gateways.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getLocalGateways.
func (GetLocalGatewaysOutputArgs) ElementType ¶
func (GetLocalGatewaysOutputArgs) ElementType() reflect.Type
type GetLocalGatewaysResult ¶
type GetLocalGatewaysResult struct {
Filters []GetLocalGatewaysFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Set of all the Local Gateway identifiers
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getLocalGateways.
func GetLocalGateways ¶
func GetLocalGateways(ctx *pulumi.Context, args *GetLocalGatewaysArgs, opts ...pulumi.InvokeOption) (*GetLocalGatewaysResult, error)
Provides information for multiple EC2 Local Gateways, such as their identifiers.
## Example Usage
The following example retrieves Local Gateways with a resource tag of `service` set to `production`.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooLocalGateways, err := ec2.GetLocalGateways(ctx, &ec2.GetLocalGatewaysArgs{
Tags: map[string]interface{}{
"service": "production",
},
}, nil)
if err != nil {
return err
}
ctx.Export("foo", fooLocalGateways.Ids)
return nil
})
}
```
type GetLocalGatewaysResultOutput ¶
type GetLocalGatewaysResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocalGateways.
func GetLocalGatewaysOutput ¶
func GetLocalGatewaysOutput(ctx *pulumi.Context, args GetLocalGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewaysResultOutput
func (GetLocalGatewaysResultOutput) ElementType ¶
func (GetLocalGatewaysResultOutput) ElementType() reflect.Type
func (GetLocalGatewaysResultOutput) Filters ¶
func (o GetLocalGatewaysResultOutput) Filters() GetLocalGatewaysFilterArrayOutput
func (GetLocalGatewaysResultOutput) Id ¶
func (o GetLocalGatewaysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLocalGatewaysResultOutput) Ids ¶
func (o GetLocalGatewaysResultOutput) Ids() pulumi.StringArrayOutput
Set of all the Local Gateway identifiers
func (GetLocalGatewaysResultOutput) Tags ¶
func (o GetLocalGatewaysResultOutput) Tags() pulumi.StringMapOutput
func (GetLocalGatewaysResultOutput) ToGetLocalGatewaysResultOutput ¶
func (o GetLocalGatewaysResultOutput) ToGetLocalGatewaysResultOutput() GetLocalGatewaysResultOutput
func (GetLocalGatewaysResultOutput) ToGetLocalGatewaysResultOutputWithContext ¶
func (o GetLocalGatewaysResultOutput) ToGetLocalGatewaysResultOutputWithContext(ctx context.Context) GetLocalGatewaysResultOutput
type GetManagedPrefixListEntryTypeArgs ¶
type GetManagedPrefixListEntryTypeArgs struct {
Cidr pulumi.StringInput `pulumi:"cidr"`
Description pulumi.StringInput `pulumi:"description"`
}
func (GetManagedPrefixListEntryTypeArgs) ElementType ¶
func (GetManagedPrefixListEntryTypeArgs) ElementType() reflect.Type
func (GetManagedPrefixListEntryTypeArgs) ToGetManagedPrefixListEntryTypeOutput ¶
func (i GetManagedPrefixListEntryTypeArgs) ToGetManagedPrefixListEntryTypeOutput() GetManagedPrefixListEntryTypeOutput
func (GetManagedPrefixListEntryTypeArgs) ToGetManagedPrefixListEntryTypeOutputWithContext ¶
func (i GetManagedPrefixListEntryTypeArgs) ToGetManagedPrefixListEntryTypeOutputWithContext(ctx context.Context) GetManagedPrefixListEntryTypeOutput
type GetManagedPrefixListEntryTypeArray ¶
type GetManagedPrefixListEntryTypeArray []GetManagedPrefixListEntryTypeInput
func (GetManagedPrefixListEntryTypeArray) ElementType ¶
func (GetManagedPrefixListEntryTypeArray) ElementType() reflect.Type
func (GetManagedPrefixListEntryTypeArray) ToGetManagedPrefixListEntryTypeArrayOutput ¶
func (i GetManagedPrefixListEntryTypeArray) ToGetManagedPrefixListEntryTypeArrayOutput() GetManagedPrefixListEntryTypeArrayOutput
func (GetManagedPrefixListEntryTypeArray) ToGetManagedPrefixListEntryTypeArrayOutputWithContext ¶
func (i GetManagedPrefixListEntryTypeArray) ToGetManagedPrefixListEntryTypeArrayOutputWithContext(ctx context.Context) GetManagedPrefixListEntryTypeArrayOutput
type GetManagedPrefixListEntryTypeArrayInput ¶
type GetManagedPrefixListEntryTypeArrayInput interface {
pulumi.Input
ToGetManagedPrefixListEntryTypeArrayOutput() GetManagedPrefixListEntryTypeArrayOutput
ToGetManagedPrefixListEntryTypeArrayOutputWithContext(context.Context) GetManagedPrefixListEntryTypeArrayOutput
}
GetManagedPrefixListEntryTypeArrayInput is an input type that accepts GetManagedPrefixListEntryTypeArray and GetManagedPrefixListEntryTypeArrayOutput values. You can construct a concrete instance of `GetManagedPrefixListEntryTypeArrayInput` via:
GetManagedPrefixListEntryTypeArray{ GetManagedPrefixListEntryTypeArgs{...} }
type GetManagedPrefixListEntryTypeArrayOutput ¶
type GetManagedPrefixListEntryTypeArrayOutput struct{ *pulumi.OutputState }
func (GetManagedPrefixListEntryTypeArrayOutput) ElementType ¶
func (GetManagedPrefixListEntryTypeArrayOutput) ElementType() reflect.Type
func (GetManagedPrefixListEntryTypeArrayOutput) ToGetManagedPrefixListEntryTypeArrayOutput ¶
func (o GetManagedPrefixListEntryTypeArrayOutput) ToGetManagedPrefixListEntryTypeArrayOutput() GetManagedPrefixListEntryTypeArrayOutput
func (GetManagedPrefixListEntryTypeArrayOutput) ToGetManagedPrefixListEntryTypeArrayOutputWithContext ¶
func (o GetManagedPrefixListEntryTypeArrayOutput) ToGetManagedPrefixListEntryTypeArrayOutputWithContext(ctx context.Context) GetManagedPrefixListEntryTypeArrayOutput
type GetManagedPrefixListEntryTypeInput ¶
type GetManagedPrefixListEntryTypeInput interface {
pulumi.Input
ToGetManagedPrefixListEntryTypeOutput() GetManagedPrefixListEntryTypeOutput
ToGetManagedPrefixListEntryTypeOutputWithContext(context.Context) GetManagedPrefixListEntryTypeOutput
}
GetManagedPrefixListEntryTypeInput is an input type that accepts GetManagedPrefixListEntryTypeArgs and GetManagedPrefixListEntryTypeOutput values. You can construct a concrete instance of `GetManagedPrefixListEntryTypeInput` via:
GetManagedPrefixListEntryTypeArgs{...}
type GetManagedPrefixListEntryTypeOutput ¶
type GetManagedPrefixListEntryTypeOutput struct{ *pulumi.OutputState }
func (GetManagedPrefixListEntryTypeOutput) Cidr ¶
func (o GetManagedPrefixListEntryTypeOutput) Cidr() pulumi.StringOutput
func (GetManagedPrefixListEntryTypeOutput) Description ¶
func (o GetManagedPrefixListEntryTypeOutput) Description() pulumi.StringOutput
func (GetManagedPrefixListEntryTypeOutput) ElementType ¶
func (GetManagedPrefixListEntryTypeOutput) ElementType() reflect.Type
func (GetManagedPrefixListEntryTypeOutput) ToGetManagedPrefixListEntryTypeOutput ¶
func (o GetManagedPrefixListEntryTypeOutput) ToGetManagedPrefixListEntryTypeOutput() GetManagedPrefixListEntryTypeOutput
func (GetManagedPrefixListEntryTypeOutput) ToGetManagedPrefixListEntryTypeOutputWithContext ¶
func (o GetManagedPrefixListEntryTypeOutput) ToGetManagedPrefixListEntryTypeOutputWithContext(ctx context.Context) GetManagedPrefixListEntryTypeOutput
type GetManagedPrefixListFilter ¶
type GetManagedPrefixListFilter struct {
// The name of the filter field. Valid values can be found in the EC2 [DescribeManagedPrefixLists](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeManagedPrefixLists.html) API Reference.
Name string `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values []string `pulumi:"values"`
}
type GetManagedPrefixListFilterArgs ¶
type GetManagedPrefixListFilterArgs struct {
// The name of the filter field. Valid values can be found in the EC2 [DescribeManagedPrefixLists](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeManagedPrefixLists.html) API Reference.
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetManagedPrefixListFilterArgs) ElementType ¶
func (GetManagedPrefixListFilterArgs) ElementType() reflect.Type
func (GetManagedPrefixListFilterArgs) ToGetManagedPrefixListFilterOutput ¶
func (i GetManagedPrefixListFilterArgs) ToGetManagedPrefixListFilterOutput() GetManagedPrefixListFilterOutput
func (GetManagedPrefixListFilterArgs) ToGetManagedPrefixListFilterOutputWithContext ¶
func (i GetManagedPrefixListFilterArgs) ToGetManagedPrefixListFilterOutputWithContext(ctx context.Context) GetManagedPrefixListFilterOutput
type GetManagedPrefixListFilterArray ¶
type GetManagedPrefixListFilterArray []GetManagedPrefixListFilterInput
func (GetManagedPrefixListFilterArray) ElementType ¶
func (GetManagedPrefixListFilterArray) ElementType() reflect.Type
func (GetManagedPrefixListFilterArray) ToGetManagedPrefixListFilterArrayOutput ¶
func (i GetManagedPrefixListFilterArray) ToGetManagedPrefixListFilterArrayOutput() GetManagedPrefixListFilterArrayOutput
func (GetManagedPrefixListFilterArray) ToGetManagedPrefixListFilterArrayOutputWithContext ¶
func (i GetManagedPrefixListFilterArray) ToGetManagedPrefixListFilterArrayOutputWithContext(ctx context.Context) GetManagedPrefixListFilterArrayOutput
type GetManagedPrefixListFilterArrayInput ¶
type GetManagedPrefixListFilterArrayInput interface {
pulumi.Input
ToGetManagedPrefixListFilterArrayOutput() GetManagedPrefixListFilterArrayOutput
ToGetManagedPrefixListFilterArrayOutputWithContext(context.Context) GetManagedPrefixListFilterArrayOutput
}
GetManagedPrefixListFilterArrayInput is an input type that accepts GetManagedPrefixListFilterArray and GetManagedPrefixListFilterArrayOutput values. You can construct a concrete instance of `GetManagedPrefixListFilterArrayInput` via:
GetManagedPrefixListFilterArray{ GetManagedPrefixListFilterArgs{...} }
type GetManagedPrefixListFilterArrayOutput ¶
type GetManagedPrefixListFilterArrayOutput struct{ *pulumi.OutputState }
func (GetManagedPrefixListFilterArrayOutput) ElementType ¶
func (GetManagedPrefixListFilterArrayOutput) ElementType() reflect.Type
func (GetManagedPrefixListFilterArrayOutput) Index ¶
func (o GetManagedPrefixListFilterArrayOutput) Index(i pulumi.IntInput) GetManagedPrefixListFilterOutput
func (GetManagedPrefixListFilterArrayOutput) ToGetManagedPrefixListFilterArrayOutput ¶
func (o GetManagedPrefixListFilterArrayOutput) ToGetManagedPrefixListFilterArrayOutput() GetManagedPrefixListFilterArrayOutput
func (GetManagedPrefixListFilterArrayOutput) ToGetManagedPrefixListFilterArrayOutputWithContext ¶
func (o GetManagedPrefixListFilterArrayOutput) ToGetManagedPrefixListFilterArrayOutputWithContext(ctx context.Context) GetManagedPrefixListFilterArrayOutput
type GetManagedPrefixListFilterInput ¶
type GetManagedPrefixListFilterInput interface {
pulumi.Input
ToGetManagedPrefixListFilterOutput() GetManagedPrefixListFilterOutput
ToGetManagedPrefixListFilterOutputWithContext(context.Context) GetManagedPrefixListFilterOutput
}
GetManagedPrefixListFilterInput is an input type that accepts GetManagedPrefixListFilterArgs and GetManagedPrefixListFilterOutput values. You can construct a concrete instance of `GetManagedPrefixListFilterInput` via:
GetManagedPrefixListFilterArgs{...}
type GetManagedPrefixListFilterOutput ¶
type GetManagedPrefixListFilterOutput struct{ *pulumi.OutputState }
func (GetManagedPrefixListFilterOutput) ElementType ¶
func (GetManagedPrefixListFilterOutput) ElementType() reflect.Type
func (GetManagedPrefixListFilterOutput) Name ¶
func (o GetManagedPrefixListFilterOutput) Name() pulumi.StringOutput
The name of the filter field. Valid values can be found in the EC2 [DescribeManagedPrefixLists](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeManagedPrefixLists.html) API Reference.
func (GetManagedPrefixListFilterOutput) ToGetManagedPrefixListFilterOutput ¶
func (o GetManagedPrefixListFilterOutput) ToGetManagedPrefixListFilterOutput() GetManagedPrefixListFilterOutput
func (GetManagedPrefixListFilterOutput) ToGetManagedPrefixListFilterOutputWithContext ¶
func (o GetManagedPrefixListFilterOutput) ToGetManagedPrefixListFilterOutputWithContext(ctx context.Context) GetManagedPrefixListFilterOutput
func (GetManagedPrefixListFilterOutput) Values ¶
func (o GetManagedPrefixListFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetNatGatewayFilter ¶
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 ¶
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 ¶
func (GetNatGatewayFilterArgs) ElementType() reflect.Type
func (GetNatGatewayFilterArgs) ToGetNatGatewayFilterOutput ¶
func (i GetNatGatewayFilterArgs) ToGetNatGatewayFilterOutput() GetNatGatewayFilterOutput
func (GetNatGatewayFilterArgs) ToGetNatGatewayFilterOutputWithContext ¶
func (i GetNatGatewayFilterArgs) ToGetNatGatewayFilterOutputWithContext(ctx context.Context) GetNatGatewayFilterOutput
type GetNatGatewayFilterArray ¶
type GetNatGatewayFilterArray []GetNatGatewayFilterInput
func (GetNatGatewayFilterArray) ElementType ¶
func (GetNatGatewayFilterArray) ElementType() reflect.Type
func (GetNatGatewayFilterArray) ToGetNatGatewayFilterArrayOutput ¶
func (i GetNatGatewayFilterArray) ToGetNatGatewayFilterArrayOutput() GetNatGatewayFilterArrayOutput
func (GetNatGatewayFilterArray) ToGetNatGatewayFilterArrayOutputWithContext ¶
func (i GetNatGatewayFilterArray) ToGetNatGatewayFilterArrayOutputWithContext(ctx context.Context) GetNatGatewayFilterArrayOutput
type GetNatGatewayFilterArrayInput ¶
type GetNatGatewayFilterArrayInput interface {
pulumi.Input
ToGetNatGatewayFilterArrayOutput() GetNatGatewayFilterArrayOutput
ToGetNatGatewayFilterArrayOutputWithContext(context.Context) GetNatGatewayFilterArrayOutput
}
GetNatGatewayFilterArrayInput is an input type that accepts GetNatGatewayFilterArray and GetNatGatewayFilterArrayOutput values. You can construct a concrete instance of `GetNatGatewayFilterArrayInput` via:
GetNatGatewayFilterArray{ GetNatGatewayFilterArgs{...} }
type GetNatGatewayFilterArrayOutput ¶
type GetNatGatewayFilterArrayOutput struct{ *pulumi.OutputState }
func (GetNatGatewayFilterArrayOutput) ElementType ¶
func (GetNatGatewayFilterArrayOutput) ElementType() reflect.Type
func (GetNatGatewayFilterArrayOutput) Index ¶
func (o GetNatGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetNatGatewayFilterOutput
func (GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutput ¶
func (o GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutput() GetNatGatewayFilterArrayOutput
func (GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutputWithContext ¶
func (o GetNatGatewayFilterArrayOutput) ToGetNatGatewayFilterArrayOutputWithContext(ctx context.Context) GetNatGatewayFilterArrayOutput
type GetNatGatewayFilterInput ¶
type GetNatGatewayFilterInput interface {
pulumi.Input
ToGetNatGatewayFilterOutput() GetNatGatewayFilterOutput
ToGetNatGatewayFilterOutputWithContext(context.Context) GetNatGatewayFilterOutput
}
GetNatGatewayFilterInput is an input type that accepts GetNatGatewayFilterArgs and GetNatGatewayFilterOutput values. You can construct a concrete instance of `GetNatGatewayFilterInput` via:
GetNatGatewayFilterArgs{...}
type GetNatGatewayFilterOutput ¶
type GetNatGatewayFilterOutput struct{ *pulumi.OutputState }
func (GetNatGatewayFilterOutput) ElementType ¶
func (GetNatGatewayFilterOutput) ElementType() reflect.Type
func (GetNatGatewayFilterOutput) Name ¶
func (o GetNatGatewayFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutput() GetNatGatewayFilterOutput
func (GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutputWithContext ¶
func (o GetNatGatewayFilterOutput) ToGetNatGatewayFilterOutputWithContext(ctx context.Context) GetNatGatewayFilterOutput
func (GetNatGatewayFilterOutput) Values ¶
func (o GetNatGatewayFilterOutput) Values() pulumi.StringArrayOutput
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 ¶
type GetNetworkAclsArgs struct {
// Custom filter block as described below.
Filters []GetNetworkAclsFilter `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired network ACLs.
Tags map[string]string `pulumi:"tags"`
// The VPC ID that you want to filter from.
VpcId *string `pulumi:"vpcId"`
}
A collection of arguments for invoking getNetworkAcls.
type GetNetworkAclsFilter ¶
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 ¶
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 ¶
func (GetNetworkAclsFilterArgs) ElementType() reflect.Type
func (GetNetworkAclsFilterArgs) ToGetNetworkAclsFilterOutput ¶
func (i GetNetworkAclsFilterArgs) ToGetNetworkAclsFilterOutput() GetNetworkAclsFilterOutput
func (GetNetworkAclsFilterArgs) ToGetNetworkAclsFilterOutputWithContext ¶
func (i GetNetworkAclsFilterArgs) ToGetNetworkAclsFilterOutputWithContext(ctx context.Context) GetNetworkAclsFilterOutput
type GetNetworkAclsFilterArray ¶
type GetNetworkAclsFilterArray []GetNetworkAclsFilterInput
func (GetNetworkAclsFilterArray) ElementType ¶
func (GetNetworkAclsFilterArray) ElementType() reflect.Type
func (GetNetworkAclsFilterArray) ToGetNetworkAclsFilterArrayOutput ¶
func (i GetNetworkAclsFilterArray) ToGetNetworkAclsFilterArrayOutput() GetNetworkAclsFilterArrayOutput
func (GetNetworkAclsFilterArray) ToGetNetworkAclsFilterArrayOutputWithContext ¶
func (i GetNetworkAclsFilterArray) ToGetNetworkAclsFilterArrayOutputWithContext(ctx context.Context) GetNetworkAclsFilterArrayOutput
type GetNetworkAclsFilterArrayInput ¶
type GetNetworkAclsFilterArrayInput interface {
pulumi.Input
ToGetNetworkAclsFilterArrayOutput() GetNetworkAclsFilterArrayOutput
ToGetNetworkAclsFilterArrayOutputWithContext(context.Context) GetNetworkAclsFilterArrayOutput
}
GetNetworkAclsFilterArrayInput is an input type that accepts GetNetworkAclsFilterArray and GetNetworkAclsFilterArrayOutput values. You can construct a concrete instance of `GetNetworkAclsFilterArrayInput` via:
GetNetworkAclsFilterArray{ GetNetworkAclsFilterArgs{...} }
type GetNetworkAclsFilterArrayOutput ¶
type GetNetworkAclsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetNetworkAclsFilterArrayOutput) ElementType ¶
func (GetNetworkAclsFilterArrayOutput) ElementType() reflect.Type
func (GetNetworkAclsFilterArrayOutput) Index ¶
func (o GetNetworkAclsFilterArrayOutput) Index(i pulumi.IntInput) GetNetworkAclsFilterOutput
func (GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutput ¶
func (o GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutput() GetNetworkAclsFilterArrayOutput
func (GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutputWithContext ¶
func (o GetNetworkAclsFilterArrayOutput) ToGetNetworkAclsFilterArrayOutputWithContext(ctx context.Context) GetNetworkAclsFilterArrayOutput
type GetNetworkAclsFilterInput ¶
type GetNetworkAclsFilterInput interface {
pulumi.Input
ToGetNetworkAclsFilterOutput() GetNetworkAclsFilterOutput
ToGetNetworkAclsFilterOutputWithContext(context.Context) GetNetworkAclsFilterOutput
}
GetNetworkAclsFilterInput is an input type that accepts GetNetworkAclsFilterArgs and GetNetworkAclsFilterOutput values. You can construct a concrete instance of `GetNetworkAclsFilterInput` via:
GetNetworkAclsFilterArgs{...}
type GetNetworkAclsFilterOutput ¶
type GetNetworkAclsFilterOutput struct{ *pulumi.OutputState }
func (GetNetworkAclsFilterOutput) ElementType ¶
func (GetNetworkAclsFilterOutput) ElementType() reflect.Type
func (GetNetworkAclsFilterOutput) Name ¶
func (o GetNetworkAclsFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutput() GetNetworkAclsFilterOutput
func (GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutputWithContext ¶
func (o GetNetworkAclsFilterOutput) ToGetNetworkAclsFilterOutputWithContext(ctx context.Context) GetNetworkAclsFilterOutput
func (GetNetworkAclsFilterOutput) Values ¶
func (o GetNetworkAclsFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
type GetNetworkAclsOutputArgs ¶
type GetNetworkAclsOutputArgs struct {
// Custom filter block as described below.
Filters GetNetworkAclsFilterArrayInput `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired network ACLs.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The VPC ID that you want to filter from.
VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getNetworkAcls.
func (GetNetworkAclsOutputArgs) ElementType ¶
func (GetNetworkAclsOutputArgs) ElementType() reflect.Type
type GetNetworkAclsResult ¶
type GetNetworkAclsResult struct {
Filters []GetNetworkAclsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// A list of all the network ACL ids found.
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
VpcId *string `pulumi:"vpcId"`
}
A collection of values returned by getNetworkAcls.
func GetNetworkAcls ¶
func GetNetworkAcls(ctx *pulumi.Context, args *GetNetworkAclsArgs, opts ...pulumi.InvokeOption) (*GetNetworkAclsResult, error)
type GetNetworkAclsResultOutput ¶
type GetNetworkAclsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNetworkAcls.
func GetNetworkAclsOutput ¶
func GetNetworkAclsOutput(ctx *pulumi.Context, args GetNetworkAclsOutputArgs, opts ...pulumi.InvokeOption) GetNetworkAclsResultOutput
func (GetNetworkAclsResultOutput) ElementType ¶
func (GetNetworkAclsResultOutput) ElementType() reflect.Type
func (GetNetworkAclsResultOutput) Filters ¶
func (o GetNetworkAclsResultOutput) Filters() GetNetworkAclsFilterArrayOutput
func (GetNetworkAclsResultOutput) Id ¶
func (o GetNetworkAclsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNetworkAclsResultOutput) Ids ¶
func (o GetNetworkAclsResultOutput) Ids() pulumi.StringArrayOutput
A list of all the network ACL ids found.
func (GetNetworkAclsResultOutput) Tags ¶
func (o GetNetworkAclsResultOutput) Tags() pulumi.StringMapOutput
func (GetNetworkAclsResultOutput) ToGetNetworkAclsResultOutput ¶
func (o GetNetworkAclsResultOutput) ToGetNetworkAclsResultOutput() GetNetworkAclsResultOutput
func (GetNetworkAclsResultOutput) ToGetNetworkAclsResultOutputWithContext ¶
func (o GetNetworkAclsResultOutput) ToGetNetworkAclsResultOutputWithContext(ctx context.Context) GetNetworkAclsResultOutput
func (GetNetworkAclsResultOutput) VpcId ¶
func (o GetNetworkAclsResultOutput) VpcId() pulumi.StringPtrOutput
type GetNetworkInterfaceAssociation ¶
type GetNetworkInterfaceAssociation struct {
// The allocation ID.
AllocationId string `pulumi:"allocationId"`
// The association ID.
AssociationId string `pulumi:"associationId"`
// The carrier IP address associated with the network interface. This attribute is only set when the network interface is in a subnet which is associated with a Wavelength Zone.
CarrierIp string `pulumi:"carrierIp"`
// The customer-owned IP address.
CustomerOwnedIp string `pulumi:"customerOwnedIp"`
// 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 ¶
type GetNetworkInterfaceAssociationArgs struct {
// The allocation ID.
AllocationId pulumi.StringInput `pulumi:"allocationId"`
// The association ID.
AssociationId pulumi.StringInput `pulumi:"associationId"`
// The carrier IP address associated with the network interface. This attribute is only set when the network interface is in a subnet which is associated with a Wavelength Zone.
CarrierIp pulumi.StringInput `pulumi:"carrierIp"`
// The customer-owned IP address.
CustomerOwnedIp pulumi.StringInput `pulumi:"customerOwnedIp"`
// 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 ¶
func (GetNetworkInterfaceAssociationArgs) ElementType() reflect.Type
func (GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutput ¶
func (i GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutput() GetNetworkInterfaceAssociationOutput
func (GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutputWithContext ¶
func (i GetNetworkInterfaceAssociationArgs) ToGetNetworkInterfaceAssociationOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationOutput
type GetNetworkInterfaceAssociationArray ¶
type GetNetworkInterfaceAssociationArray []GetNetworkInterfaceAssociationInput
func (GetNetworkInterfaceAssociationArray) ElementType ¶
func (GetNetworkInterfaceAssociationArray) ElementType() reflect.Type
func (GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutput ¶
func (i GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutput() GetNetworkInterfaceAssociationArrayOutput
func (GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutputWithContext ¶
func (i GetNetworkInterfaceAssociationArray) ToGetNetworkInterfaceAssociationArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationArrayOutput
type GetNetworkInterfaceAssociationArrayInput ¶
type GetNetworkInterfaceAssociationArrayInput interface {
pulumi.Input
ToGetNetworkInterfaceAssociationArrayOutput() GetNetworkInterfaceAssociationArrayOutput
ToGetNetworkInterfaceAssociationArrayOutputWithContext(context.Context) GetNetworkInterfaceAssociationArrayOutput
}
GetNetworkInterfaceAssociationArrayInput is an input type that accepts GetNetworkInterfaceAssociationArray and GetNetworkInterfaceAssociationArrayOutput values. You can construct a concrete instance of `GetNetworkInterfaceAssociationArrayInput` via:
GetNetworkInterfaceAssociationArray{ GetNetworkInterfaceAssociationArgs{...} }
type GetNetworkInterfaceAssociationArrayOutput ¶
type GetNetworkInterfaceAssociationArrayOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfaceAssociationArrayOutput) ElementType ¶
func (GetNetworkInterfaceAssociationArrayOutput) ElementType() reflect.Type
func (GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutput ¶
func (o GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutput() GetNetworkInterfaceAssociationArrayOutput
func (GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutputWithContext ¶
func (o GetNetworkInterfaceAssociationArrayOutput) ToGetNetworkInterfaceAssociationArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationArrayOutput
type GetNetworkInterfaceAssociationInput ¶
type GetNetworkInterfaceAssociationInput interface {
pulumi.Input
ToGetNetworkInterfaceAssociationOutput() GetNetworkInterfaceAssociationOutput
ToGetNetworkInterfaceAssociationOutputWithContext(context.Context) GetNetworkInterfaceAssociationOutput
}
GetNetworkInterfaceAssociationInput is an input type that accepts GetNetworkInterfaceAssociationArgs and GetNetworkInterfaceAssociationOutput values. You can construct a concrete instance of `GetNetworkInterfaceAssociationInput` via:
GetNetworkInterfaceAssociationArgs{...}
type GetNetworkInterfaceAssociationOutput ¶
type GetNetworkInterfaceAssociationOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfaceAssociationOutput) AllocationId ¶
func (o GetNetworkInterfaceAssociationOutput) AllocationId() pulumi.StringOutput
The allocation ID.
func (GetNetworkInterfaceAssociationOutput) AssociationId ¶
func (o GetNetworkInterfaceAssociationOutput) AssociationId() pulumi.StringOutput
The association ID.
func (GetNetworkInterfaceAssociationOutput) CarrierIp ¶
func (o GetNetworkInterfaceAssociationOutput) CarrierIp() pulumi.StringOutput
The carrier IP address associated with the network interface. This attribute is only set when the network interface is in a subnet which is associated with a Wavelength Zone.
func (GetNetworkInterfaceAssociationOutput) CustomerOwnedIp ¶
func (o GetNetworkInterfaceAssociationOutput) CustomerOwnedIp() pulumi.StringOutput
The customer-owned IP address.
func (GetNetworkInterfaceAssociationOutput) ElementType ¶
func (GetNetworkInterfaceAssociationOutput) ElementType() reflect.Type
func (GetNetworkInterfaceAssociationOutput) IpOwnerId ¶
func (o GetNetworkInterfaceAssociationOutput) IpOwnerId() pulumi.StringOutput
The ID of the Elastic IP address owner.
func (GetNetworkInterfaceAssociationOutput) PublicDnsName ¶
func (o GetNetworkInterfaceAssociationOutput) PublicDnsName() pulumi.StringOutput
The public DNS name.
func (GetNetworkInterfaceAssociationOutput) PublicIp ¶
func (o GetNetworkInterfaceAssociationOutput) PublicIp() pulumi.StringOutput
The address of the Elastic IP address bound to the network interface.
func (GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutput ¶
func (o GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutput() GetNetworkInterfaceAssociationOutput
func (GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutputWithContext ¶
func (o GetNetworkInterfaceAssociationOutput) ToGetNetworkInterfaceAssociationOutputWithContext(ctx context.Context) GetNetworkInterfaceAssociationOutput
type GetNetworkInterfaceAttachmentTypeArgs ¶
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 ¶
func (GetNetworkInterfaceAttachmentTypeArgs) ElementType() reflect.Type
func (GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutput ¶
func (i GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutput() GetNetworkInterfaceAttachmentTypeOutput
func (GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutputWithContext ¶
func (i GetNetworkInterfaceAttachmentTypeArgs) ToGetNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeOutput
type GetNetworkInterfaceAttachmentTypeArray ¶
type GetNetworkInterfaceAttachmentTypeArray []GetNetworkInterfaceAttachmentTypeInput
func (GetNetworkInterfaceAttachmentTypeArray) ElementType ¶
func (GetNetworkInterfaceAttachmentTypeArray) ElementType() reflect.Type
func (GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutput ¶
func (i GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutput() GetNetworkInterfaceAttachmentTypeArrayOutput
func (GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext ¶
func (i GetNetworkInterfaceAttachmentTypeArray) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeArrayOutput
type GetNetworkInterfaceAttachmentTypeArrayInput ¶
type GetNetworkInterfaceAttachmentTypeArrayInput interface {
pulumi.Input
ToGetNetworkInterfaceAttachmentTypeArrayOutput() GetNetworkInterfaceAttachmentTypeArrayOutput
ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext(context.Context) GetNetworkInterfaceAttachmentTypeArrayOutput
}
GetNetworkInterfaceAttachmentTypeArrayInput is an input type that accepts GetNetworkInterfaceAttachmentTypeArray and GetNetworkInterfaceAttachmentTypeArrayOutput values. You can construct a concrete instance of `GetNetworkInterfaceAttachmentTypeArrayInput` via:
GetNetworkInterfaceAttachmentTypeArray{ GetNetworkInterfaceAttachmentTypeArgs{...} }
type GetNetworkInterfaceAttachmentTypeArrayOutput ¶
type GetNetworkInterfaceAttachmentTypeArrayOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfaceAttachmentTypeArrayOutput) ElementType ¶
func (GetNetworkInterfaceAttachmentTypeArrayOutput) ElementType() reflect.Type
func (GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutput ¶
func (o GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutput() GetNetworkInterfaceAttachmentTypeArrayOutput
func (GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext ¶
func (o GetNetworkInterfaceAttachmentTypeArrayOutput) ToGetNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeArrayOutput
type GetNetworkInterfaceAttachmentTypeInput ¶
type GetNetworkInterfaceAttachmentTypeInput interface {
pulumi.Input
ToGetNetworkInterfaceAttachmentTypeOutput() GetNetworkInterfaceAttachmentTypeOutput
ToGetNetworkInterfaceAttachmentTypeOutputWithContext(context.Context) GetNetworkInterfaceAttachmentTypeOutput
}
GetNetworkInterfaceAttachmentTypeInput is an input type that accepts GetNetworkInterfaceAttachmentTypeArgs and GetNetworkInterfaceAttachmentTypeOutput values. You can construct a concrete instance of `GetNetworkInterfaceAttachmentTypeInput` via:
GetNetworkInterfaceAttachmentTypeArgs{...}
type GetNetworkInterfaceAttachmentTypeOutput ¶
type GetNetworkInterfaceAttachmentTypeOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfaceAttachmentTypeOutput) AttachmentId ¶
func (o GetNetworkInterfaceAttachmentTypeOutput) AttachmentId() pulumi.StringOutput
func (GetNetworkInterfaceAttachmentTypeOutput) DeviceIndex ¶
func (o GetNetworkInterfaceAttachmentTypeOutput) DeviceIndex() pulumi.IntOutput
func (GetNetworkInterfaceAttachmentTypeOutput) ElementType ¶
func (GetNetworkInterfaceAttachmentTypeOutput) ElementType() reflect.Type
func (GetNetworkInterfaceAttachmentTypeOutput) InstanceId ¶
func (o GetNetworkInterfaceAttachmentTypeOutput) InstanceId() pulumi.StringOutput
func (GetNetworkInterfaceAttachmentTypeOutput) InstanceOwnerId ¶
func (o GetNetworkInterfaceAttachmentTypeOutput) InstanceOwnerId() pulumi.StringOutput
func (GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutput ¶
func (o GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutput() GetNetworkInterfaceAttachmentTypeOutput
func (GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutputWithContext ¶
func (o GetNetworkInterfaceAttachmentTypeOutput) ToGetNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) GetNetworkInterfaceAttachmentTypeOutput
type GetNetworkInterfaceFilterArgs ¶
type GetNetworkInterfaceFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetNetworkInterfaceFilterArgs) ElementType ¶
func (GetNetworkInterfaceFilterArgs) ElementType() reflect.Type
func (GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutput ¶
func (i GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutput() GetNetworkInterfaceFilterOutput
func (GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutputWithContext ¶
func (i GetNetworkInterfaceFilterArgs) ToGetNetworkInterfaceFilterOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterOutput
type GetNetworkInterfaceFilterArray ¶
type GetNetworkInterfaceFilterArray []GetNetworkInterfaceFilterInput
func (GetNetworkInterfaceFilterArray) ElementType ¶
func (GetNetworkInterfaceFilterArray) ElementType() reflect.Type
func (GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutput ¶
func (i GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutput() GetNetworkInterfaceFilterArrayOutput
func (GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutputWithContext ¶
func (i GetNetworkInterfaceFilterArray) ToGetNetworkInterfaceFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterArrayOutput
type GetNetworkInterfaceFilterArrayInput ¶
type GetNetworkInterfaceFilterArrayInput interface {
pulumi.Input
ToGetNetworkInterfaceFilterArrayOutput() GetNetworkInterfaceFilterArrayOutput
ToGetNetworkInterfaceFilterArrayOutputWithContext(context.Context) GetNetworkInterfaceFilterArrayOutput
}
GetNetworkInterfaceFilterArrayInput is an input type that accepts GetNetworkInterfaceFilterArray and GetNetworkInterfaceFilterArrayOutput values. You can construct a concrete instance of `GetNetworkInterfaceFilterArrayInput` via:
GetNetworkInterfaceFilterArray{ GetNetworkInterfaceFilterArgs{...} }
type GetNetworkInterfaceFilterArrayOutput ¶
type GetNetworkInterfaceFilterArrayOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfaceFilterArrayOutput) ElementType ¶
func (GetNetworkInterfaceFilterArrayOutput) ElementType() reflect.Type
func (GetNetworkInterfaceFilterArrayOutput) Index ¶
func (o GetNetworkInterfaceFilterArrayOutput) Index(i pulumi.IntInput) GetNetworkInterfaceFilterOutput
func (GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutput ¶
func (o GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutput() GetNetworkInterfaceFilterArrayOutput
func (GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutputWithContext ¶
func (o GetNetworkInterfaceFilterArrayOutput) ToGetNetworkInterfaceFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterArrayOutput
type GetNetworkInterfaceFilterInput ¶
type GetNetworkInterfaceFilterInput interface {
pulumi.Input
ToGetNetworkInterfaceFilterOutput() GetNetworkInterfaceFilterOutput
ToGetNetworkInterfaceFilterOutputWithContext(context.Context) GetNetworkInterfaceFilterOutput
}
GetNetworkInterfaceFilterInput is an input type that accepts GetNetworkInterfaceFilterArgs and GetNetworkInterfaceFilterOutput values. You can construct a concrete instance of `GetNetworkInterfaceFilterInput` via:
GetNetworkInterfaceFilterArgs{...}
type GetNetworkInterfaceFilterOutput ¶
type GetNetworkInterfaceFilterOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfaceFilterOutput) ElementType ¶
func (GetNetworkInterfaceFilterOutput) ElementType() reflect.Type
func (GetNetworkInterfaceFilterOutput) Name ¶
func (o GetNetworkInterfaceFilterOutput) Name() pulumi.StringOutput
func (GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutput ¶
func (o GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutput() GetNetworkInterfaceFilterOutput
func (GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutputWithContext ¶
func (o GetNetworkInterfaceFilterOutput) ToGetNetworkInterfaceFilterOutputWithContext(ctx context.Context) GetNetworkInterfaceFilterOutput
func (GetNetworkInterfaceFilterOutput) Values ¶
func (o GetNetworkInterfaceFilterOutput) Values() pulumi.StringArrayOutput
type GetNetworkInterfacesArgs ¶
type GetNetworkInterfacesArgs struct {
// Custom filter block as described below.
Filters []GetNetworkInterfacesFilter `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired network interfaces.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getNetworkInterfaces.
type GetNetworkInterfacesFilter ¶
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 ¶
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 ¶
func (GetNetworkInterfacesFilterArgs) ElementType() reflect.Type
func (GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutput ¶
func (i GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutput() GetNetworkInterfacesFilterOutput
func (GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutputWithContext ¶
func (i GetNetworkInterfacesFilterArgs) ToGetNetworkInterfacesFilterOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterOutput
type GetNetworkInterfacesFilterArray ¶
type GetNetworkInterfacesFilterArray []GetNetworkInterfacesFilterInput
func (GetNetworkInterfacesFilterArray) ElementType ¶
func (GetNetworkInterfacesFilterArray) ElementType() reflect.Type
func (GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutput ¶
func (i GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutput() GetNetworkInterfacesFilterArrayOutput
func (GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutputWithContext ¶
func (i GetNetworkInterfacesFilterArray) ToGetNetworkInterfacesFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterArrayOutput
type GetNetworkInterfacesFilterArrayInput ¶
type GetNetworkInterfacesFilterArrayInput interface {
pulumi.Input
ToGetNetworkInterfacesFilterArrayOutput() GetNetworkInterfacesFilterArrayOutput
ToGetNetworkInterfacesFilterArrayOutputWithContext(context.Context) GetNetworkInterfacesFilterArrayOutput
}
GetNetworkInterfacesFilterArrayInput is an input type that accepts GetNetworkInterfacesFilterArray and GetNetworkInterfacesFilterArrayOutput values. You can construct a concrete instance of `GetNetworkInterfacesFilterArrayInput` via:
GetNetworkInterfacesFilterArray{ GetNetworkInterfacesFilterArgs{...} }
type GetNetworkInterfacesFilterArrayOutput ¶
type GetNetworkInterfacesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfacesFilterArrayOutput) ElementType ¶
func (GetNetworkInterfacesFilterArrayOutput) ElementType() reflect.Type
func (GetNetworkInterfacesFilterArrayOutput) Index ¶
func (o GetNetworkInterfacesFilterArrayOutput) Index(i pulumi.IntInput) GetNetworkInterfacesFilterOutput
func (GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutput ¶
func (o GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutput() GetNetworkInterfacesFilterArrayOutput
func (GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutputWithContext ¶
func (o GetNetworkInterfacesFilterArrayOutput) ToGetNetworkInterfacesFilterArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterArrayOutput
type GetNetworkInterfacesFilterInput ¶
type GetNetworkInterfacesFilterInput interface {
pulumi.Input
ToGetNetworkInterfacesFilterOutput() GetNetworkInterfacesFilterOutput
ToGetNetworkInterfacesFilterOutputWithContext(context.Context) GetNetworkInterfacesFilterOutput
}
GetNetworkInterfacesFilterInput is an input type that accepts GetNetworkInterfacesFilterArgs and GetNetworkInterfacesFilterOutput values. You can construct a concrete instance of `GetNetworkInterfacesFilterInput` via:
GetNetworkInterfacesFilterArgs{...}
type GetNetworkInterfacesFilterOutput ¶
type GetNetworkInterfacesFilterOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfacesFilterOutput) ElementType ¶
func (GetNetworkInterfacesFilterOutput) ElementType() reflect.Type
func (GetNetworkInterfacesFilterOutput) Name ¶
func (o GetNetworkInterfacesFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutput() GetNetworkInterfacesFilterOutput
func (GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutputWithContext ¶
func (o GetNetworkInterfacesFilterOutput) ToGetNetworkInterfacesFilterOutputWithContext(ctx context.Context) GetNetworkInterfacesFilterOutput
func (GetNetworkInterfacesFilterOutput) Values ¶
func (o GetNetworkInterfacesFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field.
type GetNetworkInterfacesOutputArgs ¶
type GetNetworkInterfacesOutputArgs struct {
// Custom filter block as described below.
Filters GetNetworkInterfacesFilterArrayInput `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired network interfaces.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getNetworkInterfaces.
func (GetNetworkInterfacesOutputArgs) ElementType ¶
func (GetNetworkInterfacesOutputArgs) ElementType() reflect.Type
type GetNetworkInterfacesResult ¶
type GetNetworkInterfacesResult struct {
Filters []GetNetworkInterfacesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// A list of all the network interface ids found.
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getNetworkInterfaces.
func GetNetworkInterfaces ¶
func GetNetworkInterfaces(ctx *pulumi.Context, args *GetNetworkInterfacesArgs, opts ...pulumi.InvokeOption) (*GetNetworkInterfacesResult, error)
type GetNetworkInterfacesResultOutput ¶
type GetNetworkInterfacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNetworkInterfaces.
func GetNetworkInterfacesOutput ¶
func GetNetworkInterfacesOutput(ctx *pulumi.Context, args GetNetworkInterfacesOutputArgs, opts ...pulumi.InvokeOption) GetNetworkInterfacesResultOutput
func (GetNetworkInterfacesResultOutput) ElementType ¶
func (GetNetworkInterfacesResultOutput) ElementType() reflect.Type
func (GetNetworkInterfacesResultOutput) Filters ¶
func (o GetNetworkInterfacesResultOutput) Filters() GetNetworkInterfacesFilterArrayOutput
func (GetNetworkInterfacesResultOutput) Id ¶
func (o GetNetworkInterfacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNetworkInterfacesResultOutput) Ids ¶
func (o GetNetworkInterfacesResultOutput) Ids() pulumi.StringArrayOutput
A list of all the network interface ids found.
func (GetNetworkInterfacesResultOutput) Tags ¶
func (o GetNetworkInterfacesResultOutput) Tags() pulumi.StringMapOutput
func (GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutput ¶
func (o GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutput() GetNetworkInterfacesResultOutput
func (GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutputWithContext ¶
func (o GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutputWithContext(ctx context.Context) GetNetworkInterfacesResultOutput
type GetPrefixListArgs ¶
type GetPrefixListArgs struct {
// Configuration block(s) for filtering. Detailed below.
Filters []GetPrefixListFilter `pulumi:"filters"`
// The name of the filter field. Valid values can be found in the [EC2 DescribePrefixLists API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribePrefixLists.html).
Name *string `pulumi:"name"`
// The ID of the prefix list to select.
PrefixListId *string `pulumi:"prefixListId"`
}
A collection of arguments for invoking getPrefixList.
type GetPrefixListFilter ¶
type GetPrefixListFilter struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribePrefixLists API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribePrefixLists.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values []string `pulumi:"values"`
}
type GetPrefixListFilterArgs ¶
type GetPrefixListFilterArgs struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribePrefixLists API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribePrefixLists.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetPrefixListFilterArgs) ElementType ¶
func (GetPrefixListFilterArgs) ElementType() reflect.Type
func (GetPrefixListFilterArgs) ToGetPrefixListFilterOutput ¶
func (i GetPrefixListFilterArgs) ToGetPrefixListFilterOutput() GetPrefixListFilterOutput
func (GetPrefixListFilterArgs) ToGetPrefixListFilterOutputWithContext ¶
func (i GetPrefixListFilterArgs) ToGetPrefixListFilterOutputWithContext(ctx context.Context) GetPrefixListFilterOutput
type GetPrefixListFilterArray ¶
type GetPrefixListFilterArray []GetPrefixListFilterInput
func (GetPrefixListFilterArray) ElementType ¶
func (GetPrefixListFilterArray) ElementType() reflect.Type
func (GetPrefixListFilterArray) ToGetPrefixListFilterArrayOutput ¶
func (i GetPrefixListFilterArray) ToGetPrefixListFilterArrayOutput() GetPrefixListFilterArrayOutput
func (GetPrefixListFilterArray) ToGetPrefixListFilterArrayOutputWithContext ¶
func (i GetPrefixListFilterArray) ToGetPrefixListFilterArrayOutputWithContext(ctx context.Context) GetPrefixListFilterArrayOutput
type GetPrefixListFilterArrayInput ¶
type GetPrefixListFilterArrayInput interface {
pulumi.Input
ToGetPrefixListFilterArrayOutput() GetPrefixListFilterArrayOutput
ToGetPrefixListFilterArrayOutputWithContext(context.Context) GetPrefixListFilterArrayOutput
}
GetPrefixListFilterArrayInput is an input type that accepts GetPrefixListFilterArray and GetPrefixListFilterArrayOutput values. You can construct a concrete instance of `GetPrefixListFilterArrayInput` via:
GetPrefixListFilterArray{ GetPrefixListFilterArgs{...} }
type GetPrefixListFilterArrayOutput ¶
type GetPrefixListFilterArrayOutput struct{ *pulumi.OutputState }
func (GetPrefixListFilterArrayOutput) ElementType ¶
func (GetPrefixListFilterArrayOutput) ElementType() reflect.Type
func (GetPrefixListFilterArrayOutput) Index ¶
func (o GetPrefixListFilterArrayOutput) Index(i pulumi.IntInput) GetPrefixListFilterOutput
func (GetPrefixListFilterArrayOutput) ToGetPrefixListFilterArrayOutput ¶
func (o GetPrefixListFilterArrayOutput) ToGetPrefixListFilterArrayOutput() GetPrefixListFilterArrayOutput
func (GetPrefixListFilterArrayOutput) ToGetPrefixListFilterArrayOutputWithContext ¶
func (o GetPrefixListFilterArrayOutput) ToGetPrefixListFilterArrayOutputWithContext(ctx context.Context) GetPrefixListFilterArrayOutput
type GetPrefixListFilterInput ¶
type GetPrefixListFilterInput interface {
pulumi.Input
ToGetPrefixListFilterOutput() GetPrefixListFilterOutput
ToGetPrefixListFilterOutputWithContext(context.Context) GetPrefixListFilterOutput
}
GetPrefixListFilterInput is an input type that accepts GetPrefixListFilterArgs and GetPrefixListFilterOutput values. You can construct a concrete instance of `GetPrefixListFilterInput` via:
GetPrefixListFilterArgs{...}
type GetPrefixListFilterOutput ¶
type GetPrefixListFilterOutput struct{ *pulumi.OutputState }
func (GetPrefixListFilterOutput) ElementType ¶
func (GetPrefixListFilterOutput) ElementType() reflect.Type
func (GetPrefixListFilterOutput) Name ¶
func (o GetPrefixListFilterOutput) Name() pulumi.StringOutput
The name of the filter field. Valid values can be found in the [EC2 DescribePrefixLists API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribePrefixLists.html).
func (GetPrefixListFilterOutput) ToGetPrefixListFilterOutput ¶
func (o GetPrefixListFilterOutput) ToGetPrefixListFilterOutput() GetPrefixListFilterOutput
func (GetPrefixListFilterOutput) ToGetPrefixListFilterOutputWithContext ¶
func (o GetPrefixListFilterOutput) ToGetPrefixListFilterOutputWithContext(ctx context.Context) GetPrefixListFilterOutput
func (GetPrefixListFilterOutput) Values ¶
func (o GetPrefixListFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetPrefixListOutputArgs ¶
type GetPrefixListOutputArgs struct {
// Configuration block(s) for filtering. Detailed below.
Filters GetPrefixListFilterArrayInput `pulumi:"filters"`
// The name of the filter field. Valid values can be found in the [EC2 DescribePrefixLists API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribePrefixLists.html).
Name pulumi.StringPtrInput `pulumi:"name"`
// The ID of the prefix list to select.
PrefixListId pulumi.StringPtrInput `pulumi:"prefixListId"`
}
A collection of arguments for invoking getPrefixList.
func (GetPrefixListOutputArgs) ElementType ¶
func (GetPrefixListOutputArgs) ElementType() reflect.Type
type GetPrefixListResult ¶
type GetPrefixListResult struct {
// The list of CIDR blocks for the AWS service associated with the prefix list.
CidrBlocks []string `pulumi:"cidrBlocks"`
Filters []GetPrefixListFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// The name of the selected prefix list.
Name string `pulumi:"name"`
PrefixListId *string `pulumi:"prefixListId"`
}
A collection of values returned by getPrefixList.
func GetPrefixList ¶
func GetPrefixList(ctx *pulumi.Context, args *GetPrefixListArgs, opts ...pulumi.InvokeOption) (*GetPrefixListResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
privateS3VpcEndpoint, err := ec2.NewVpcEndpoint(ctx, "privateS3VpcEndpoint", &ec2.VpcEndpointArgs{
VpcId: pulumi.Any(aws_vpc.Foo.Id),
ServiceName: pulumi.String("com.amazonaws.us-west-2.s3"),
})
if err != nil {
return err
}
privateS3PrefixList := ec2.GetPrefixListOutput(ctx, ec2.GetPrefixListOutputArgs{
PrefixListId: privateS3VpcEndpoint.PrefixListId,
}, nil)
bar, err := ec2.NewNetworkAcl(ctx, "bar", &ec2.NetworkAclArgs{
VpcId: pulumi.Any(aws_vpc.Foo.Id),
})
if err != nil {
return err
}
_, err = ec2.NewNetworkAclRule(ctx, "privateS3NetworkAclRule", &ec2.NetworkAclRuleArgs{
NetworkAclId: bar.ID(),
RuleNumber: pulumi.Int(200),
Egress: pulumi.Bool(false),
Protocol: pulumi.String("tcp"),
RuleAction: pulumi.String("allow"),
CidrBlock: privateS3PrefixList.ApplyT(func(privateS3PrefixList ec2.GetPrefixListResult) (string, error) {
return privateS3PrefixList.CidrBlocks[0], nil
}).(pulumi.StringOutput),
FromPort: pulumi.Int(443),
ToPort: pulumi.Int(443),
})
if err != nil {
return err
}
return nil
})
}
``` ### Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetPrefixList(ctx, &ec2.GetPrefixListArgs{
Filters: []ec2.GetPrefixListFilter{
ec2.GetPrefixListFilter{
Name: "prefix-list-id",
Values: []string{
"pl-68a54001",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetPrefixListResultOutput ¶
type GetPrefixListResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPrefixList.
func GetPrefixListOutput ¶
func GetPrefixListOutput(ctx *pulumi.Context, args GetPrefixListOutputArgs, opts ...pulumi.InvokeOption) GetPrefixListResultOutput
func (GetPrefixListResultOutput) CidrBlocks ¶
func (o GetPrefixListResultOutput) CidrBlocks() pulumi.StringArrayOutput
The list of CIDR blocks for the AWS service associated with the prefix list.
func (GetPrefixListResultOutput) ElementType ¶
func (GetPrefixListResultOutput) ElementType() reflect.Type
func (GetPrefixListResultOutput) Filters ¶
func (o GetPrefixListResultOutput) Filters() GetPrefixListFilterArrayOutput
func (GetPrefixListResultOutput) Id ¶
func (o GetPrefixListResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPrefixListResultOutput) Name ¶
func (o GetPrefixListResultOutput) Name() pulumi.StringOutput
The name of the selected prefix list.
func (GetPrefixListResultOutput) PrefixListId ¶
func (o GetPrefixListResultOutput) PrefixListId() pulumi.StringPtrOutput
func (GetPrefixListResultOutput) ToGetPrefixListResultOutput ¶
func (o GetPrefixListResultOutput) ToGetPrefixListResultOutput() GetPrefixListResultOutput
func (GetPrefixListResultOutput) ToGetPrefixListResultOutputWithContext ¶
func (o GetPrefixListResultOutput) ToGetPrefixListResultOutputWithContext(ctx context.Context) GetPrefixListResultOutput
type GetRouteTableAssociationType ¶
type GetRouteTableAssociationType struct {
// 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"`
// Whether the association is due to the main route table.
Main bool `pulumi:"main"`
// Association ID.
RouteTableAssociationId string `pulumi:"routeTableAssociationId"`
// ID of the specific Route Table to retrieve.
RouteTableId string `pulumi:"routeTableId"`
// 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 ¶
type GetRouteTableAssociationTypeArgs struct {
// 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"`
// Whether the association is due to the main route table.
Main pulumi.BoolInput `pulumi:"main"`
// Association ID.
RouteTableAssociationId pulumi.StringInput `pulumi:"routeTableAssociationId"`
// ID of the specific Route Table to retrieve.
RouteTableId pulumi.StringInput `pulumi:"routeTableId"`
// 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 ¶
func (GetRouteTableAssociationTypeArgs) ElementType() reflect.Type
func (GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutput ¶
func (i GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutput() GetRouteTableAssociationTypeOutput
func (GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutputWithContext ¶
func (i GetRouteTableAssociationTypeArgs) ToGetRouteTableAssociationTypeOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeOutput
type GetRouteTableAssociationTypeArray ¶
type GetRouteTableAssociationTypeArray []GetRouteTableAssociationTypeInput
func (GetRouteTableAssociationTypeArray) ElementType ¶
func (GetRouteTableAssociationTypeArray) ElementType() reflect.Type
func (GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutput ¶
func (i GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutput() GetRouteTableAssociationTypeArrayOutput
func (GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutputWithContext ¶
func (i GetRouteTableAssociationTypeArray) ToGetRouteTableAssociationTypeArrayOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeArrayOutput
type GetRouteTableAssociationTypeArrayInput ¶
type GetRouteTableAssociationTypeArrayInput interface {
pulumi.Input
ToGetRouteTableAssociationTypeArrayOutput() GetRouteTableAssociationTypeArrayOutput
ToGetRouteTableAssociationTypeArrayOutputWithContext(context.Context) GetRouteTableAssociationTypeArrayOutput
}
GetRouteTableAssociationTypeArrayInput is an input type that accepts GetRouteTableAssociationTypeArray and GetRouteTableAssociationTypeArrayOutput values. You can construct a concrete instance of `GetRouteTableAssociationTypeArrayInput` via:
GetRouteTableAssociationTypeArray{ GetRouteTableAssociationTypeArgs{...} }
type GetRouteTableAssociationTypeArrayOutput ¶
type GetRouteTableAssociationTypeArrayOutput struct{ *pulumi.OutputState }
func (GetRouteTableAssociationTypeArrayOutput) ElementType ¶
func (GetRouteTableAssociationTypeArrayOutput) ElementType() reflect.Type
func (GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutput ¶
func (o GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutput() GetRouteTableAssociationTypeArrayOutput
func (GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutputWithContext ¶
func (o GetRouteTableAssociationTypeArrayOutput) ToGetRouteTableAssociationTypeArrayOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeArrayOutput
type GetRouteTableAssociationTypeInput ¶
type GetRouteTableAssociationTypeInput interface {
pulumi.Input
ToGetRouteTableAssociationTypeOutput() GetRouteTableAssociationTypeOutput
ToGetRouteTableAssociationTypeOutputWithContext(context.Context) GetRouteTableAssociationTypeOutput
}
GetRouteTableAssociationTypeInput is an input type that accepts GetRouteTableAssociationTypeArgs and GetRouteTableAssociationTypeOutput values. You can construct a concrete instance of `GetRouteTableAssociationTypeInput` via:
GetRouteTableAssociationTypeArgs{...}
type GetRouteTableAssociationTypeOutput ¶
type GetRouteTableAssociationTypeOutput struct{ *pulumi.OutputState }
func (GetRouteTableAssociationTypeOutput) ElementType ¶
func (GetRouteTableAssociationTypeOutput) ElementType() reflect.Type
func (GetRouteTableAssociationTypeOutput) GatewayId ¶
func (o GetRouteTableAssociationTypeOutput) GatewayId() pulumi.StringOutput
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 ¶
func (o GetRouteTableAssociationTypeOutput) Main() pulumi.BoolOutput
Whether the association is due to the main route table.
func (GetRouteTableAssociationTypeOutput) RouteTableAssociationId ¶
func (o GetRouteTableAssociationTypeOutput) RouteTableAssociationId() pulumi.StringOutput
Association ID.
func (GetRouteTableAssociationTypeOutput) RouteTableId ¶
func (o GetRouteTableAssociationTypeOutput) RouteTableId() pulumi.StringOutput
ID of the specific Route Table to retrieve.
func (GetRouteTableAssociationTypeOutput) SubnetId ¶
func (o GetRouteTableAssociationTypeOutput) SubnetId() pulumi.StringOutput
ID of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
func (GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutput ¶
func (o GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutput() GetRouteTableAssociationTypeOutput
func (GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutputWithContext ¶
func (o GetRouteTableAssociationTypeOutput) ToGetRouteTableAssociationTypeOutputWithContext(ctx context.Context) GetRouteTableAssociationTypeOutput
type GetRouteTableFilter ¶
type GetRouteTableFilter struct {
// 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 ¶
type GetRouteTableFilterArgs struct {
// 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 ¶
func (GetRouteTableFilterArgs) ElementType() reflect.Type
func (GetRouteTableFilterArgs) ToGetRouteTableFilterOutput ¶
func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
func (GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext ¶
func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput
type GetRouteTableFilterArray ¶
type GetRouteTableFilterArray []GetRouteTableFilterInput
func (GetRouteTableFilterArray) ElementType ¶
func (GetRouteTableFilterArray) ElementType() reflect.Type
func (GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput ¶
func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
func (GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext ¶
func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput
type GetRouteTableFilterArrayInput ¶
type GetRouteTableFilterArrayInput interface {
pulumi.Input
ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
ToGetRouteTableFilterArrayOutputWithContext(context.Context) GetRouteTableFilterArrayOutput
}
GetRouteTableFilterArrayInput is an input type that accepts GetRouteTableFilterArray and GetRouteTableFilterArrayOutput values. You can construct a concrete instance of `GetRouteTableFilterArrayInput` via:
GetRouteTableFilterArray{ GetRouteTableFilterArgs{...} }
type GetRouteTableFilterArrayOutput ¶
type GetRouteTableFilterArrayOutput struct{ *pulumi.OutputState }
func (GetRouteTableFilterArrayOutput) ElementType ¶
func (GetRouteTableFilterArrayOutput) ElementType() reflect.Type
func (GetRouteTableFilterArrayOutput) Index ¶
func (o GetRouteTableFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTableFilterOutput
func (GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput ¶
func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
func (GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext ¶
func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput
type GetRouteTableFilterInput ¶
type GetRouteTableFilterInput interface {
pulumi.Input
ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
ToGetRouteTableFilterOutputWithContext(context.Context) GetRouteTableFilterOutput
}
GetRouteTableFilterInput is an input type that accepts GetRouteTableFilterArgs and GetRouteTableFilterOutput values. You can construct a concrete instance of `GetRouteTableFilterInput` via:
GetRouteTableFilterArgs{...}
type GetRouteTableFilterOutput ¶
type GetRouteTableFilterOutput struct{ *pulumi.OutputState }
func (GetRouteTableFilterOutput) ElementType ¶
func (GetRouteTableFilterOutput) ElementType() reflect.Type
func (GetRouteTableFilterOutput) Name ¶
func (o GetRouteTableFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
func (GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext ¶
func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput
func (GetRouteTableFilterOutput) Values ¶
func (o GetRouteTableFilterOutput) Values() pulumi.StringArrayOutput
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 ¶
type GetRouteTableRoute struct {
// ID of the Carrier Gateway.
CarrierGatewayId string `pulumi:"carrierGatewayId"`
// CIDR block of the route.
CidrBlock string `pulumi:"cidrBlock"`
// The ID of a managed prefix list destination of the route.
DestinationPrefixListId string `pulumi:"destinationPrefixListId"`
// ID of the Egress Only Internet Gateway.
EgressOnlyGatewayId string `pulumi:"egressOnlyGatewayId"`
// 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"`
// EC2 instance ID.
InstanceId string `pulumi:"instanceId"`
// IPv6 CIDR block of the route.
Ipv6CidrBlock string `pulumi:"ipv6CidrBlock"`
// Local Gateway ID.
LocalGatewayId string `pulumi:"localGatewayId"`
// NAT Gateway ID.
NatGatewayId string `pulumi:"natGatewayId"`
// ID of the elastic network interface (eni) to use.
NetworkInterfaceId string `pulumi:"networkInterfaceId"`
// EC2 Transit Gateway ID.
TransitGatewayId string `pulumi:"transitGatewayId"`
// VPC Endpoint ID.
VpcEndpointId string `pulumi:"vpcEndpointId"`
// VPC Peering ID.
VpcPeeringConnectionId string `pulumi:"vpcPeeringConnectionId"`
}
type GetRouteTableRouteArgs ¶
type GetRouteTableRouteArgs struct {
// ID of the Carrier Gateway.
CarrierGatewayId pulumi.StringInput `pulumi:"carrierGatewayId"`
// CIDR block of the route.
CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
// The ID of a managed prefix list destination of the route.
DestinationPrefixListId pulumi.StringInput `pulumi:"destinationPrefixListId"`
// ID of the Egress Only Internet Gateway.
EgressOnlyGatewayId pulumi.StringInput `pulumi:"egressOnlyGatewayId"`
// 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"`
// EC2 instance ID.
InstanceId pulumi.StringInput `pulumi:"instanceId"`
// IPv6 CIDR block of the route.
Ipv6CidrBlock pulumi.StringInput `pulumi:"ipv6CidrBlock"`
// Local Gateway ID.
LocalGatewayId pulumi.StringInput `pulumi:"localGatewayId"`
// NAT Gateway ID.
NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"`
// ID of the elastic network interface (eni) to use.
NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
// EC2 Transit Gateway ID.
TransitGatewayId pulumi.StringInput `pulumi:"transitGatewayId"`
// VPC Endpoint ID.
VpcEndpointId pulumi.StringInput `pulumi:"vpcEndpointId"`
// VPC Peering ID.
VpcPeeringConnectionId pulumi.StringInput `pulumi:"vpcPeeringConnectionId"`
}
func (GetRouteTableRouteArgs) ElementType ¶
func (GetRouteTableRouteArgs) ElementType() reflect.Type
func (GetRouteTableRouteArgs) ToGetRouteTableRouteOutput ¶
func (i GetRouteTableRouteArgs) ToGetRouteTableRouteOutput() GetRouteTableRouteOutput
func (GetRouteTableRouteArgs) ToGetRouteTableRouteOutputWithContext ¶
func (i GetRouteTableRouteArgs) ToGetRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTableRouteOutput
type GetRouteTableRouteArray ¶
type GetRouteTableRouteArray []GetRouteTableRouteInput
func (GetRouteTableRouteArray) ElementType ¶
func (GetRouteTableRouteArray) ElementType() reflect.Type
func (GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutput ¶
func (i GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput
func (GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutputWithContext ¶
func (i GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRouteArrayOutput
type GetRouteTableRouteArrayInput ¶
type GetRouteTableRouteArrayInput interface {
pulumi.Input
ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput
ToGetRouteTableRouteArrayOutputWithContext(context.Context) GetRouteTableRouteArrayOutput
}
GetRouteTableRouteArrayInput is an input type that accepts GetRouteTableRouteArray and GetRouteTableRouteArrayOutput values. You can construct a concrete instance of `GetRouteTableRouteArrayInput` via:
GetRouteTableRouteArray{ GetRouteTableRouteArgs{...} }
type GetRouteTableRouteArrayOutput ¶
type GetRouteTableRouteArrayOutput struct{ *pulumi.OutputState }
func (GetRouteTableRouteArrayOutput) ElementType ¶
func (GetRouteTableRouteArrayOutput) ElementType() reflect.Type
func (GetRouteTableRouteArrayOutput) Index ¶
func (o GetRouteTableRouteArrayOutput) Index(i pulumi.IntInput) GetRouteTableRouteOutput
func (GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutput ¶
func (o GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput
func (GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutputWithContext ¶
func (o GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRouteArrayOutput
type GetRouteTableRouteInput ¶
type GetRouteTableRouteInput interface {
pulumi.Input
ToGetRouteTableRouteOutput() GetRouteTableRouteOutput
ToGetRouteTableRouteOutputWithContext(context.Context) GetRouteTableRouteOutput
}
GetRouteTableRouteInput is an input type that accepts GetRouteTableRouteArgs and GetRouteTableRouteOutput values. You can construct a concrete instance of `GetRouteTableRouteInput` via:
GetRouteTableRouteArgs{...}
type GetRouteTableRouteOutput ¶
type GetRouteTableRouteOutput struct{ *pulumi.OutputState }
func (GetRouteTableRouteOutput) CarrierGatewayId ¶
func (o GetRouteTableRouteOutput) CarrierGatewayId() pulumi.StringOutput
ID of the Carrier Gateway.
func (GetRouteTableRouteOutput) CidrBlock ¶
func (o GetRouteTableRouteOutput) CidrBlock() pulumi.StringOutput
CIDR block of the route.
func (GetRouteTableRouteOutput) DestinationPrefixListId ¶
func (o GetRouteTableRouteOutput) DestinationPrefixListId() pulumi.StringOutput
The ID of a managed prefix list destination of the route.
func (GetRouteTableRouteOutput) EgressOnlyGatewayId ¶
func (o GetRouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringOutput
ID of the Egress Only Internet Gateway.
func (GetRouteTableRouteOutput) ElementType ¶
func (GetRouteTableRouteOutput) ElementType() reflect.Type
func (GetRouteTableRouteOutput) GatewayId ¶
func (o GetRouteTableRouteOutput) GatewayId() pulumi.StringOutput
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 ¶
func (o GetRouteTableRouteOutput) InstanceId() pulumi.StringOutput
EC2 instance ID.
func (GetRouteTableRouteOutput) Ipv6CidrBlock ¶
func (o GetRouteTableRouteOutput) Ipv6CidrBlock() pulumi.StringOutput
IPv6 CIDR block of the route.
func (GetRouteTableRouteOutput) LocalGatewayId ¶
func (o GetRouteTableRouteOutput) LocalGatewayId() pulumi.StringOutput
Local Gateway ID.
func (GetRouteTableRouteOutput) NatGatewayId ¶
func (o GetRouteTableRouteOutput) NatGatewayId() pulumi.StringOutput
NAT Gateway ID.
func (GetRouteTableRouteOutput) NetworkInterfaceId ¶
func (o GetRouteTableRouteOutput) NetworkInterfaceId() pulumi.StringOutput
ID of the elastic network interface (eni) to use.
func (GetRouteTableRouteOutput) ToGetRouteTableRouteOutput ¶
func (o GetRouteTableRouteOutput) ToGetRouteTableRouteOutput() GetRouteTableRouteOutput
func (GetRouteTableRouteOutput) ToGetRouteTableRouteOutputWithContext ¶
func (o GetRouteTableRouteOutput) ToGetRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTableRouteOutput
func (GetRouteTableRouteOutput) TransitGatewayId ¶
func (o GetRouteTableRouteOutput) TransitGatewayId() pulumi.StringOutput
EC2 Transit Gateway ID.
func (GetRouteTableRouteOutput) VpcEndpointId ¶
func (o GetRouteTableRouteOutput) VpcEndpointId() pulumi.StringOutput
VPC Endpoint ID.
func (GetRouteTableRouteOutput) VpcPeeringConnectionId ¶
func (o GetRouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringOutput
VPC Peering ID.
type GetRouteTablesArgs ¶
type GetRouteTablesArgs struct {
// Custom filter block as described below.
Filters []GetRouteTablesFilter `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired route tables.
Tags map[string]string `pulumi:"tags"`
// The VPC ID that you want to filter from.
VpcId *string `pulumi:"vpcId"`
}
A collection of arguments for invoking getRouteTables.
type GetRouteTablesFilter ¶
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 ¶
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 ¶
func (GetRouteTablesFilterArgs) ElementType() reflect.Type
func (GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutput ¶
func (i GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput
func (GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutputWithContext ¶
func (i GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutputWithContext(ctx context.Context) GetRouteTablesFilterOutput
type GetRouteTablesFilterArray ¶
type GetRouteTablesFilterArray []GetRouteTablesFilterInput
func (GetRouteTablesFilterArray) ElementType ¶
func (GetRouteTablesFilterArray) ElementType() reflect.Type
func (GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutput ¶
func (i GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput
func (GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutputWithContext ¶
func (i GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetRouteTablesFilterArrayOutput
type GetRouteTablesFilterArrayInput ¶
type GetRouteTablesFilterArrayInput interface {
pulumi.Input
ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput
ToGetRouteTablesFilterArrayOutputWithContext(context.Context) GetRouteTablesFilterArrayOutput
}
GetRouteTablesFilterArrayInput is an input type that accepts GetRouteTablesFilterArray and GetRouteTablesFilterArrayOutput values. You can construct a concrete instance of `GetRouteTablesFilterArrayInput` via:
GetRouteTablesFilterArray{ GetRouteTablesFilterArgs{...} }
type GetRouteTablesFilterArrayOutput ¶
type GetRouteTablesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetRouteTablesFilterArrayOutput) ElementType ¶
func (GetRouteTablesFilterArrayOutput) ElementType() reflect.Type
func (GetRouteTablesFilterArrayOutput) Index ¶
func (o GetRouteTablesFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTablesFilterOutput
func (GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutput ¶
func (o GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput
func (GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutputWithContext ¶
func (o GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetRouteTablesFilterArrayOutput
type GetRouteTablesFilterInput ¶
type GetRouteTablesFilterInput interface {
pulumi.Input
ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput
ToGetRouteTablesFilterOutputWithContext(context.Context) GetRouteTablesFilterOutput
}
GetRouteTablesFilterInput is an input type that accepts GetRouteTablesFilterArgs and GetRouteTablesFilterOutput values. You can construct a concrete instance of `GetRouteTablesFilterInput` via:
GetRouteTablesFilterArgs{...}
type GetRouteTablesFilterOutput ¶
type GetRouteTablesFilterOutput struct{ *pulumi.OutputState }
func (GetRouteTablesFilterOutput) ElementType ¶
func (GetRouteTablesFilterOutput) ElementType() reflect.Type
func (GetRouteTablesFilterOutput) Name ¶
func (o GetRouteTablesFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput
func (GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutputWithContext ¶
func (o GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutputWithContext(ctx context.Context) GetRouteTablesFilterOutput
func (GetRouteTablesFilterOutput) Values ¶
func (o GetRouteTablesFilterOutput) Values() pulumi.StringArrayOutput
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 GetRouteTablesOutputArgs ¶
type GetRouteTablesOutputArgs struct {
// Custom filter block as described below.
Filters GetRouteTablesFilterArrayInput `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired route tables.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The VPC ID that you want to filter from.
VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getRouteTables.
func (GetRouteTablesOutputArgs) ElementType ¶
func (GetRouteTablesOutputArgs) ElementType() reflect.Type
type GetRouteTablesResult ¶
type GetRouteTablesResult struct {
Filters []GetRouteTablesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// A list of all the route table ids found.
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
VpcId *string `pulumi:"vpcId"`
}
A collection of values returned by getRouteTables.
func GetRouteTables ¶
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.
type GetRouteTablesResultOutput ¶
type GetRouteTablesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRouteTables.
func GetRouteTablesOutput ¶
func GetRouteTablesOutput(ctx *pulumi.Context, args GetRouteTablesOutputArgs, opts ...pulumi.InvokeOption) GetRouteTablesResultOutput
func (GetRouteTablesResultOutput) ElementType ¶
func (GetRouteTablesResultOutput) ElementType() reflect.Type
func (GetRouteTablesResultOutput) Filters ¶
func (o GetRouteTablesResultOutput) Filters() GetRouteTablesFilterArrayOutput
func (GetRouteTablesResultOutput) Id ¶
func (o GetRouteTablesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRouteTablesResultOutput) Ids ¶
func (o GetRouteTablesResultOutput) Ids() pulumi.StringArrayOutput
A list of all the route table ids found.
func (GetRouteTablesResultOutput) Tags ¶
func (o GetRouteTablesResultOutput) Tags() pulumi.StringMapOutput
func (GetRouteTablesResultOutput) ToGetRouteTablesResultOutput ¶
func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutput() GetRouteTablesResultOutput
func (GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext ¶
func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext(ctx context.Context) GetRouteTablesResultOutput
func (GetRouteTablesResultOutput) VpcId ¶
func (o GetRouteTablesResultOutput) VpcId() pulumi.StringPtrOutput
type GetSecurityGroupFilter ¶
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 ¶
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 ¶
func (GetSecurityGroupFilterArgs) ElementType() reflect.Type
func (GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutput ¶
func (i GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput
func (GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutputWithContext ¶
func (i GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutputWithContext(ctx context.Context) GetSecurityGroupFilterOutput
type GetSecurityGroupFilterArray ¶
type GetSecurityGroupFilterArray []GetSecurityGroupFilterInput
func (GetSecurityGroupFilterArray) ElementType ¶
func (GetSecurityGroupFilterArray) ElementType() reflect.Type
func (GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutput ¶
func (i GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput
func (GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutputWithContext ¶
func (i GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupFilterArrayOutput
type GetSecurityGroupFilterArrayInput ¶
type GetSecurityGroupFilterArrayInput interface {
pulumi.Input
ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput
ToGetSecurityGroupFilterArrayOutputWithContext(context.Context) GetSecurityGroupFilterArrayOutput
}
GetSecurityGroupFilterArrayInput is an input type that accepts GetSecurityGroupFilterArray and GetSecurityGroupFilterArrayOutput values. You can construct a concrete instance of `GetSecurityGroupFilterArrayInput` via:
GetSecurityGroupFilterArray{ GetSecurityGroupFilterArgs{...} }
type GetSecurityGroupFilterArrayOutput ¶
type GetSecurityGroupFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupFilterArrayOutput) ElementType ¶
func (GetSecurityGroupFilterArrayOutput) ElementType() reflect.Type
func (GetSecurityGroupFilterArrayOutput) Index ¶
func (o GetSecurityGroupFilterArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupFilterOutput
func (GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutput ¶
func (o GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput
func (GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutputWithContext ¶
func (o GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupFilterArrayOutput
type GetSecurityGroupFilterInput ¶
type GetSecurityGroupFilterInput interface {
pulumi.Input
ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput
ToGetSecurityGroupFilterOutputWithContext(context.Context) GetSecurityGroupFilterOutput
}
GetSecurityGroupFilterInput is an input type that accepts GetSecurityGroupFilterArgs and GetSecurityGroupFilterOutput values. You can construct a concrete instance of `GetSecurityGroupFilterInput` via:
GetSecurityGroupFilterArgs{...}
type GetSecurityGroupFilterOutput ¶
type GetSecurityGroupFilterOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupFilterOutput) ElementType ¶
func (GetSecurityGroupFilterOutput) ElementType() reflect.Type
func (GetSecurityGroupFilterOutput) Name ¶
func (o GetSecurityGroupFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput
func (GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutputWithContext ¶
func (o GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutputWithContext(ctx context.Context) GetSecurityGroupFilterOutput
func (GetSecurityGroupFilterOutput) Values ¶
func (o GetSecurityGroupFilterOutput) Values() pulumi.StringArrayOutput
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 ¶
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 map of tags, each pair of which must exactly match for desired security groups.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getSecurityGroups.
type GetSecurityGroupsFilter ¶
type GetSecurityGroupsFilterArgs ¶
type GetSecurityGroupsFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetSecurityGroupsFilterArgs) ElementType ¶
func (GetSecurityGroupsFilterArgs) ElementType() reflect.Type
func (GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutput ¶
func (i GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput
func (GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutputWithContext ¶
func (i GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutputWithContext(ctx context.Context) GetSecurityGroupsFilterOutput
type GetSecurityGroupsFilterArray ¶
type GetSecurityGroupsFilterArray []GetSecurityGroupsFilterInput
func (GetSecurityGroupsFilterArray) ElementType ¶
func (GetSecurityGroupsFilterArray) ElementType() reflect.Type
func (GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutput ¶
func (i GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput
func (GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutputWithContext ¶
func (i GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupsFilterArrayOutput
type GetSecurityGroupsFilterArrayInput ¶
type GetSecurityGroupsFilterArrayInput interface {
pulumi.Input
ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput
ToGetSecurityGroupsFilterArrayOutputWithContext(context.Context) GetSecurityGroupsFilterArrayOutput
}
GetSecurityGroupsFilterArrayInput is an input type that accepts GetSecurityGroupsFilterArray and GetSecurityGroupsFilterArrayOutput values. You can construct a concrete instance of `GetSecurityGroupsFilterArrayInput` via:
GetSecurityGroupsFilterArray{ GetSecurityGroupsFilterArgs{...} }
type GetSecurityGroupsFilterArrayOutput ¶
type GetSecurityGroupsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsFilterArrayOutput) ElementType ¶
func (GetSecurityGroupsFilterArrayOutput) ElementType() reflect.Type
func (GetSecurityGroupsFilterArrayOutput) Index ¶
func (o GetSecurityGroupsFilterArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsFilterOutput
func (GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutput ¶
func (o GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput
func (GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutputWithContext ¶
func (o GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupsFilterArrayOutput
type GetSecurityGroupsFilterInput ¶
type GetSecurityGroupsFilterInput interface {
pulumi.Input
ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput
ToGetSecurityGroupsFilterOutputWithContext(context.Context) GetSecurityGroupsFilterOutput
}
GetSecurityGroupsFilterInput is an input type that accepts GetSecurityGroupsFilterArgs and GetSecurityGroupsFilterOutput values. You can construct a concrete instance of `GetSecurityGroupsFilterInput` via:
GetSecurityGroupsFilterArgs{...}
type GetSecurityGroupsFilterOutput ¶
type GetSecurityGroupsFilterOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsFilterOutput) ElementType ¶
func (GetSecurityGroupsFilterOutput) ElementType() reflect.Type
func (GetSecurityGroupsFilterOutput) Name ¶
func (o GetSecurityGroupsFilterOutput) Name() pulumi.StringOutput
func (GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutput ¶
func (o GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput
func (GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutputWithContext ¶
func (o GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutputWithContext(ctx context.Context) GetSecurityGroupsFilterOutput
func (GetSecurityGroupsFilterOutput) Values ¶
func (o GetSecurityGroupsFilterOutput) Values() pulumi.StringArrayOutput
type GetSecurityGroupsOutputArgs ¶
type GetSecurityGroupsOutputArgs 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 GetSecurityGroupsFilterArrayInput `pulumi:"filters"`
// A map of tags, each pair of which must exactly match for desired security groups.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getSecurityGroups.
func (GetSecurityGroupsOutputArgs) ElementType ¶
func (GetSecurityGroupsOutputArgs) ElementType() reflect.Type
type GetSecurityGroupsResult ¶
type GetSecurityGroupsResult struct {
// ARNs of the matched security groups.
Arns []string `pulumi:"arns"`
Filters []GetSecurityGroupsFilter `pulumi:"filters"`
// 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]string `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 ¶
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.
type GetSecurityGroupsResultOutput ¶
type GetSecurityGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecurityGroups.
func GetSecurityGroupsOutput ¶
func GetSecurityGroupsOutput(ctx *pulumi.Context, args GetSecurityGroupsOutputArgs, opts ...pulumi.InvokeOption) GetSecurityGroupsResultOutput
func (GetSecurityGroupsResultOutput) Arns ¶
func (o GetSecurityGroupsResultOutput) Arns() pulumi.StringArrayOutput
ARNs of the matched security groups.
func (GetSecurityGroupsResultOutput) ElementType ¶
func (GetSecurityGroupsResultOutput) ElementType() reflect.Type
func (GetSecurityGroupsResultOutput) Filters ¶
func (o GetSecurityGroupsResultOutput) Filters() GetSecurityGroupsFilterArrayOutput
func (GetSecurityGroupsResultOutput) Id ¶
func (o GetSecurityGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecurityGroupsResultOutput) Ids ¶
func (o GetSecurityGroupsResultOutput) Ids() pulumi.StringArrayOutput
IDs of the matches security groups.
func (GetSecurityGroupsResultOutput) Tags ¶
func (o GetSecurityGroupsResultOutput) Tags() pulumi.StringMapOutput
func (GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput ¶
func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput() GetSecurityGroupsResultOutput
func (GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext ¶
func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext(ctx context.Context) GetSecurityGroupsResultOutput
func (GetSecurityGroupsResultOutput) VpcIds ¶
func (o GetSecurityGroupsResultOutput) VpcIds() pulumi.StringArrayOutput
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.
type GetSpotPriceArgs ¶
type GetSpotPriceArgs struct {
// The availability zone in which to query Spot price information.
AvailabilityZone *string `pulumi:"availabilityZone"`
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSpotPriceHistory.html) for supported filters. Detailed below.
Filters []GetSpotPriceFilter `pulumi:"filters"`
// The type of instance for which to query Spot Price information.
InstanceType *string `pulumi:"instanceType"`
}
A collection of arguments for invoking getSpotPrice.
type GetSpotPriceFilter ¶
type GetSpotPriceFilterArgs ¶
type GetSpotPriceFilterArgs struct {
// Name of the filter.
Name pulumi.StringInput `pulumi:"name"`
// List of one or more values for the filter.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetSpotPriceFilterArgs) ElementType ¶
func (GetSpotPriceFilterArgs) ElementType() reflect.Type
func (GetSpotPriceFilterArgs) ToGetSpotPriceFilterOutput ¶
func (i GetSpotPriceFilterArgs) ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput
func (GetSpotPriceFilterArgs) ToGetSpotPriceFilterOutputWithContext ¶
func (i GetSpotPriceFilterArgs) ToGetSpotPriceFilterOutputWithContext(ctx context.Context) GetSpotPriceFilterOutput
type GetSpotPriceFilterArray ¶
type GetSpotPriceFilterArray []GetSpotPriceFilterInput
func (GetSpotPriceFilterArray) ElementType ¶
func (GetSpotPriceFilterArray) ElementType() reflect.Type
func (GetSpotPriceFilterArray) ToGetSpotPriceFilterArrayOutput ¶
func (i GetSpotPriceFilterArray) ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput
func (GetSpotPriceFilterArray) ToGetSpotPriceFilterArrayOutputWithContext ¶
func (i GetSpotPriceFilterArray) ToGetSpotPriceFilterArrayOutputWithContext(ctx context.Context) GetSpotPriceFilterArrayOutput
type GetSpotPriceFilterArrayInput ¶
type GetSpotPriceFilterArrayInput interface {
pulumi.Input
ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput
ToGetSpotPriceFilterArrayOutputWithContext(context.Context) GetSpotPriceFilterArrayOutput
}
GetSpotPriceFilterArrayInput is an input type that accepts GetSpotPriceFilterArray and GetSpotPriceFilterArrayOutput values. You can construct a concrete instance of `GetSpotPriceFilterArrayInput` via:
GetSpotPriceFilterArray{ GetSpotPriceFilterArgs{...} }
type GetSpotPriceFilterArrayOutput ¶
type GetSpotPriceFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSpotPriceFilterArrayOutput) ElementType ¶
func (GetSpotPriceFilterArrayOutput) ElementType() reflect.Type
func (GetSpotPriceFilterArrayOutput) Index ¶
func (o GetSpotPriceFilterArrayOutput) Index(i pulumi.IntInput) GetSpotPriceFilterOutput
func (GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutput ¶
func (o GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput
func (GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutputWithContext ¶
func (o GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutputWithContext(ctx context.Context) GetSpotPriceFilterArrayOutput
type GetSpotPriceFilterInput ¶
type GetSpotPriceFilterInput interface {
pulumi.Input
ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput
ToGetSpotPriceFilterOutputWithContext(context.Context) GetSpotPriceFilterOutput
}
GetSpotPriceFilterInput is an input type that accepts GetSpotPriceFilterArgs and GetSpotPriceFilterOutput values. You can construct a concrete instance of `GetSpotPriceFilterInput` via:
GetSpotPriceFilterArgs{...}
type GetSpotPriceFilterOutput ¶
type GetSpotPriceFilterOutput struct{ *pulumi.OutputState }
func (GetSpotPriceFilterOutput) ElementType ¶
func (GetSpotPriceFilterOutput) ElementType() reflect.Type
func (GetSpotPriceFilterOutput) Name ¶
func (o GetSpotPriceFilterOutput) Name() pulumi.StringOutput
Name of the filter.
func (GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutput ¶
func (o GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput
func (GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutputWithContext ¶
func (o GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutputWithContext(ctx context.Context) GetSpotPriceFilterOutput
func (GetSpotPriceFilterOutput) Values ¶
func (o GetSpotPriceFilterOutput) Values() pulumi.StringArrayOutput
List of one or more values for the filter.
type GetSpotPriceOutputArgs ¶
type GetSpotPriceOutputArgs struct {
// The availability zone in which to query Spot price information.
AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
// One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSpotPriceHistory.html) for supported filters. Detailed below.
Filters GetSpotPriceFilterArrayInput `pulumi:"filters"`
// The type of instance for which to query Spot Price information.
InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
}
A collection of arguments for invoking getSpotPrice.
func (GetSpotPriceOutputArgs) ElementType ¶
func (GetSpotPriceOutputArgs) ElementType() reflect.Type
type GetSpotPriceResult ¶
type GetSpotPriceResult struct {
AvailabilityZone *string `pulumi:"availabilityZone"`
Filters []GetSpotPriceFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
InstanceType *string `pulumi:"instanceType"`
// The most recent Spot Price value for the given instance type and AZ.
SpotPrice string `pulumi:"spotPrice"`
// The timestamp at which the Spot Price value was published.
SpotPriceTimestamp string `pulumi:"spotPriceTimestamp"`
}
A collection of values returned by getSpotPrice.
func GetSpotPrice ¶
func GetSpotPrice(ctx *pulumi.Context, args *GetSpotPriceArgs, opts ...pulumi.InvokeOption) (*GetSpotPriceResult, error)
Information about most recent Spot Price for a given EC2 instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetSpotPrice(ctx, &ec2.GetSpotPriceArgs{
AvailabilityZone: pulumi.StringRef("us-west-2a"),
Filters: []ec2.GetSpotPriceFilter{
ec2.GetSpotPriceFilter{
Name: "product-description",
Values: []string{
"Linux/UNIX",
},
},
},
InstanceType: pulumi.StringRef("t3.medium"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetSpotPriceResultOutput ¶
type GetSpotPriceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSpotPrice.
func GetSpotPriceOutput ¶
func GetSpotPriceOutput(ctx *pulumi.Context, args GetSpotPriceOutputArgs, opts ...pulumi.InvokeOption) GetSpotPriceResultOutput
func (GetSpotPriceResultOutput) AvailabilityZone ¶
func (o GetSpotPriceResultOutput) AvailabilityZone() pulumi.StringPtrOutput
func (GetSpotPriceResultOutput) ElementType ¶
func (GetSpotPriceResultOutput) ElementType() reflect.Type
func (GetSpotPriceResultOutput) Filters ¶
func (o GetSpotPriceResultOutput) Filters() GetSpotPriceFilterArrayOutput
func (GetSpotPriceResultOutput) Id ¶
func (o GetSpotPriceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSpotPriceResultOutput) InstanceType ¶
func (o GetSpotPriceResultOutput) InstanceType() pulumi.StringPtrOutput
func (GetSpotPriceResultOutput) SpotPrice ¶
func (o GetSpotPriceResultOutput) SpotPrice() pulumi.StringOutput
The most recent Spot Price value for the given instance type and AZ.
func (GetSpotPriceResultOutput) SpotPriceTimestamp ¶
func (o GetSpotPriceResultOutput) SpotPriceTimestamp() pulumi.StringOutput
The timestamp at which the Spot Price value was published.
func (GetSpotPriceResultOutput) ToGetSpotPriceResultOutput ¶
func (o GetSpotPriceResultOutput) ToGetSpotPriceResultOutput() GetSpotPriceResultOutput
func (GetSpotPriceResultOutput) ToGetSpotPriceResultOutputWithContext ¶
func (o GetSpotPriceResultOutput) ToGetSpotPriceResultOutputWithContext(ctx context.Context) GetSpotPriceResultOutput
type GetSubnetFilter ¶
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).
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 ¶
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).
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 ¶
func (GetSubnetFilterArgs) ElementType() reflect.Type
func (GetSubnetFilterArgs) ToGetSubnetFilterOutput ¶
func (i GetSubnetFilterArgs) ToGetSubnetFilterOutput() GetSubnetFilterOutput
func (GetSubnetFilterArgs) ToGetSubnetFilterOutputWithContext ¶
func (i GetSubnetFilterArgs) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput
type GetSubnetFilterArray ¶
type GetSubnetFilterArray []GetSubnetFilterInput
func (GetSubnetFilterArray) ElementType ¶
func (GetSubnetFilterArray) ElementType() reflect.Type
func (GetSubnetFilterArray) ToGetSubnetFilterArrayOutput ¶
func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput
func (GetSubnetFilterArray) ToGetSubnetFilterArrayOutputWithContext ¶
func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput
type GetSubnetFilterArrayInput ¶
type GetSubnetFilterArrayInput interface {
pulumi.Input
ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput
ToGetSubnetFilterArrayOutputWithContext(context.Context) GetSubnetFilterArrayOutput
}
GetSubnetFilterArrayInput is an input type that accepts GetSubnetFilterArray and GetSubnetFilterArrayOutput values. You can construct a concrete instance of `GetSubnetFilterArrayInput` via:
GetSubnetFilterArray{ GetSubnetFilterArgs{...} }
type GetSubnetFilterArrayOutput ¶
type GetSubnetFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSubnetFilterArrayOutput) ElementType ¶
func (GetSubnetFilterArrayOutput) ElementType() reflect.Type
func (GetSubnetFilterArrayOutput) Index ¶
func (o GetSubnetFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetFilterOutput
func (GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutput ¶
func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput
func (GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutputWithContext ¶
func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput
type GetSubnetFilterInput ¶
type GetSubnetFilterInput interface {
pulumi.Input
ToGetSubnetFilterOutput() GetSubnetFilterOutput
ToGetSubnetFilterOutputWithContext(context.Context) GetSubnetFilterOutput
}
GetSubnetFilterInput is an input type that accepts GetSubnetFilterArgs and GetSubnetFilterOutput values. You can construct a concrete instance of `GetSubnetFilterInput` via:
GetSubnetFilterArgs{...}
type GetSubnetFilterOutput ¶
type GetSubnetFilterOutput struct{ *pulumi.OutputState }
func (GetSubnetFilterOutput) ElementType ¶
func (GetSubnetFilterOutput) ElementType() reflect.Type
func (GetSubnetFilterOutput) Name ¶
func (o GetSubnetFilterOutput) Name() pulumi.StringOutput
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).
func (GetSubnetFilterOutput) ToGetSubnetFilterOutput ¶
func (o GetSubnetFilterOutput) ToGetSubnetFilterOutput() GetSubnetFilterOutput
func (GetSubnetFilterOutput) ToGetSubnetFilterOutputWithContext ¶
func (o GetSubnetFilterOutput) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput
func (GetSubnetFilterOutput) Values ¶
func (o GetSubnetFilterOutput) Values() pulumi.StringArrayOutput
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 map of tags, each pair of which must exactly match
// a pair on the desired subnets.
Tags map[string]string `pulumi:"tags"`
// The VPC ID that you want to filter from.
VpcId string `pulumi:"vpcId"`
}
A collection of arguments for invoking getSubnetIds.
type GetSubnetIdsFilter ¶
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 ¶
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 ¶
func (GetSubnetIdsFilterArgs) ElementType() reflect.Type
func (GetSubnetIdsFilterArgs) ToGetSubnetIdsFilterOutput ¶
func (i GetSubnetIdsFilterArgs) ToGetSubnetIdsFilterOutput() GetSubnetIdsFilterOutput
func (GetSubnetIdsFilterArgs) ToGetSubnetIdsFilterOutputWithContext ¶
func (i GetSubnetIdsFilterArgs) ToGetSubnetIdsFilterOutputWithContext(ctx context.Context) GetSubnetIdsFilterOutput
type GetSubnetIdsFilterArray ¶
type GetSubnetIdsFilterArray []GetSubnetIdsFilterInput
func (GetSubnetIdsFilterArray) ElementType ¶
func (GetSubnetIdsFilterArray) ElementType() reflect.Type
func (GetSubnetIdsFilterArray) ToGetSubnetIdsFilterArrayOutput ¶
func (i GetSubnetIdsFilterArray) ToGetSubnetIdsFilterArrayOutput() GetSubnetIdsFilterArrayOutput
func (GetSubnetIdsFilterArray) ToGetSubnetIdsFilterArrayOutputWithContext ¶
func (i GetSubnetIdsFilterArray) ToGetSubnetIdsFilterArrayOutputWithContext(ctx context.Context) GetSubnetIdsFilterArrayOutput
type GetSubnetIdsFilterArrayInput ¶
type GetSubnetIdsFilterArrayInput interface {
pulumi.Input
ToGetSubnetIdsFilterArrayOutput() GetSubnetIdsFilterArrayOutput
ToGetSubnetIdsFilterArrayOutputWithContext(context.Context) GetSubnetIdsFilterArrayOutput
}
GetSubnetIdsFilterArrayInput is an input type that accepts GetSubnetIdsFilterArray and GetSubnetIdsFilterArrayOutput values. You can construct a concrete instance of `GetSubnetIdsFilterArrayInput` via:
GetSubnetIdsFilterArray{ GetSubnetIdsFilterArgs{...} }
type GetSubnetIdsFilterArrayOutput ¶
type GetSubnetIdsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSubnetIdsFilterArrayOutput) ElementType ¶
func (GetSubnetIdsFilterArrayOutput) ElementType() reflect.Type
func (GetSubnetIdsFilterArrayOutput) Index ¶
func (o GetSubnetIdsFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetIdsFilterOutput
func (GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutput ¶
func (o GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutput() GetSubnetIdsFilterArrayOutput
func (GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutputWithContext ¶
func (o GetSubnetIdsFilterArrayOutput) ToGetSubnetIdsFilterArrayOutputWithContext(ctx context.Context) GetSubnetIdsFilterArrayOutput
type GetSubnetIdsFilterInput ¶
type GetSubnetIdsFilterInput interface {
pulumi.Input
ToGetSubnetIdsFilterOutput() GetSubnetIdsFilterOutput
ToGetSubnetIdsFilterOutputWithContext(context.Context) GetSubnetIdsFilterOutput
}
GetSubnetIdsFilterInput is an input type that accepts GetSubnetIdsFilterArgs and GetSubnetIdsFilterOutput values. You can construct a concrete instance of `GetSubnetIdsFilterInput` via:
GetSubnetIdsFilterArgs{...}
type GetSubnetIdsFilterOutput ¶
type GetSubnetIdsFilterOutput struct{ *pulumi.OutputState }
func (GetSubnetIdsFilterOutput) ElementType ¶
func (GetSubnetIdsFilterOutput) ElementType() reflect.Type
func (GetSubnetIdsFilterOutput) Name ¶
func (o GetSubnetIdsFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutput() GetSubnetIdsFilterOutput
func (GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutputWithContext ¶
func (o GetSubnetIdsFilterOutput) ToGetSubnetIdsFilterOutputWithContext(ctx context.Context) GetSubnetIdsFilterOutput
func (GetSubnetIdsFilterOutput) Values ¶
func (o GetSubnetIdsFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. Subnet IDs will be selected if any one of the given values match.
type GetSubnetIdsOutputArgs ¶
type GetSubnetIdsOutputArgs struct {
// Custom filter block as described below.
Filters GetSubnetIdsFilterArrayInput `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired subnets.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The VPC ID that you want to filter from.
VpcId pulumi.StringInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getSubnetIds.
func (GetSubnetIdsOutputArgs) ElementType ¶
func (GetSubnetIdsOutputArgs) ElementType() reflect.Type
type GetSubnetIdsResult ¶
type GetSubnetIdsResult struct {
Filters []GetSubnetIdsFilter `pulumi:"filters"`
// 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]string `pulumi:"tags"`
VpcId string `pulumi:"vpcId"`
}
A collection of values returned by getSubnetIds.
func GetSubnetIds ¶
func GetSubnetIds(ctx *pulumi.Context, args *GetSubnetIdsArgs, opts ...pulumi.InvokeOption) (*GetSubnetIdsResult, error)
`ec2.getSubnetIds` provides a set of ids for a vpcId
This resource can be useful for getting back a set of subnet ids for a vpc.
> **NOTE:** The `ec2.getSubnetIds` data source has been deprecated and will be removed in a future version. Use the `ec2.getSubnets` data source instead.
type GetSubnetIdsResultOutput ¶
type GetSubnetIdsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubnetIds.
func GetSubnetIdsOutput ¶
func GetSubnetIdsOutput(ctx *pulumi.Context, args GetSubnetIdsOutputArgs, opts ...pulumi.InvokeOption) GetSubnetIdsResultOutput
func (GetSubnetIdsResultOutput) ElementType ¶
func (GetSubnetIdsResultOutput) ElementType() reflect.Type
func (GetSubnetIdsResultOutput) Filters ¶
func (o GetSubnetIdsResultOutput) Filters() GetSubnetIdsFilterArrayOutput
func (GetSubnetIdsResultOutput) Id ¶
func (o GetSubnetIdsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSubnetIdsResultOutput) Ids ¶
func (o GetSubnetIdsResultOutput) Ids() pulumi.StringArrayOutput
A set of all the subnet ids found. This data source will fail if none are found.
func (GetSubnetIdsResultOutput) Tags ¶
func (o GetSubnetIdsResultOutput) Tags() pulumi.StringMapOutput
func (GetSubnetIdsResultOutput) ToGetSubnetIdsResultOutput ¶
func (o GetSubnetIdsResultOutput) ToGetSubnetIdsResultOutput() GetSubnetIdsResultOutput
func (GetSubnetIdsResultOutput) ToGetSubnetIdsResultOutputWithContext ¶
func (o GetSubnetIdsResultOutput) ToGetSubnetIdsResultOutputWithContext(ctx context.Context) GetSubnetIdsResultOutput
func (GetSubnetIdsResultOutput) VpcId ¶
func (o GetSubnetIdsResultOutput) VpcId() pulumi.StringOutput
type GetSubnetsArgs ¶
type GetSubnetsArgs struct {
// Custom filter block as described below.
Filters []GetSubnetsFilter `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired subnets.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getSubnets.
type GetSubnetsFilter ¶
type GetSubnetsFilter 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 GetSubnetsFilterArgs ¶
type GetSubnetsFilterArgs 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 (GetSubnetsFilterArgs) ElementType ¶
func (GetSubnetsFilterArgs) ElementType() reflect.Type
func (GetSubnetsFilterArgs) ToGetSubnetsFilterOutput ¶
func (i GetSubnetsFilterArgs) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput
func (GetSubnetsFilterArgs) ToGetSubnetsFilterOutputWithContext ¶
func (i GetSubnetsFilterArgs) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput
type GetSubnetsFilterArray ¶
type GetSubnetsFilterArray []GetSubnetsFilterInput
func (GetSubnetsFilterArray) ElementType ¶
func (GetSubnetsFilterArray) ElementType() reflect.Type
func (GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutput ¶
func (i GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput
func (GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutputWithContext ¶
func (i GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput
type GetSubnetsFilterArrayInput ¶
type GetSubnetsFilterArrayInput interface {
pulumi.Input
ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput
ToGetSubnetsFilterArrayOutputWithContext(context.Context) GetSubnetsFilterArrayOutput
}
GetSubnetsFilterArrayInput is an input type that accepts GetSubnetsFilterArray and GetSubnetsFilterArrayOutput values. You can construct a concrete instance of `GetSubnetsFilterArrayInput` via:
GetSubnetsFilterArray{ GetSubnetsFilterArgs{...} }
type GetSubnetsFilterArrayOutput ¶
type GetSubnetsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSubnetsFilterArrayOutput) ElementType ¶
func (GetSubnetsFilterArrayOutput) ElementType() reflect.Type
func (GetSubnetsFilterArrayOutput) Index ¶
func (o GetSubnetsFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetsFilterOutput
func (GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutput ¶
func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput
func (GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutputWithContext ¶
func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput
type GetSubnetsFilterInput ¶
type GetSubnetsFilterInput interface {
pulumi.Input
ToGetSubnetsFilterOutput() GetSubnetsFilterOutput
ToGetSubnetsFilterOutputWithContext(context.Context) GetSubnetsFilterOutput
}
GetSubnetsFilterInput is an input type that accepts GetSubnetsFilterArgs and GetSubnetsFilterOutput values. You can construct a concrete instance of `GetSubnetsFilterInput` via:
GetSubnetsFilterArgs{...}
type GetSubnetsFilterOutput ¶
type GetSubnetsFilterOutput struct{ *pulumi.OutputState }
func (GetSubnetsFilterOutput) ElementType ¶
func (GetSubnetsFilterOutput) ElementType() reflect.Type
func (GetSubnetsFilterOutput) Name ¶
func (o GetSubnetsFilterOutput) Name() pulumi.StringOutput
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 (GetSubnetsFilterOutput) ToGetSubnetsFilterOutput ¶
func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput
func (GetSubnetsFilterOutput) ToGetSubnetsFilterOutputWithContext ¶
func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput
func (GetSubnetsFilterOutput) Values ¶
func (o GetSubnetsFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. Subnet IDs will be selected if any one of the given values match.
type GetSubnetsOutputArgs ¶
type GetSubnetsOutputArgs struct {
// Custom filter block as described below.
Filters GetSubnetsFilterArrayInput `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired subnets.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getSubnets.
func (GetSubnetsOutputArgs) ElementType ¶
func (GetSubnetsOutputArgs) ElementType() reflect.Type
type GetSubnetsResult ¶
type GetSubnetsResult struct {
Filters []GetSubnetsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// A list of all the subnet ids found.
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getSubnets.
func GetSubnets ¶
func GetSubnets(ctx *pulumi.Context, args *GetSubnetsArgs, opts ...pulumi.InvokeOption) (*GetSubnetsResult, error)
This resource can be useful for getting back a set of subnet IDs.
type GetSubnetsResultOutput ¶
type GetSubnetsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubnets.
func GetSubnetsOutput ¶
func GetSubnetsOutput(ctx *pulumi.Context, args GetSubnetsOutputArgs, opts ...pulumi.InvokeOption) GetSubnetsResultOutput
func (GetSubnetsResultOutput) ElementType ¶
func (GetSubnetsResultOutput) ElementType() reflect.Type
func (GetSubnetsResultOutput) Filters ¶
func (o GetSubnetsResultOutput) Filters() GetSubnetsFilterArrayOutput
func (GetSubnetsResultOutput) Id ¶
func (o GetSubnetsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSubnetsResultOutput) Ids ¶
func (o GetSubnetsResultOutput) Ids() pulumi.StringArrayOutput
A list of all the subnet ids found.
func (GetSubnetsResultOutput) Tags ¶
func (o GetSubnetsResultOutput) Tags() pulumi.StringMapOutput
func (GetSubnetsResultOutput) ToGetSubnetsResultOutput ¶
func (o GetSubnetsResultOutput) ToGetSubnetsResultOutput() GetSubnetsResultOutput
func (GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext ¶
func (o GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext(ctx context.Context) GetSubnetsResultOutput
type GetTransitGatewayRouteTablesArgs ¶
type GetTransitGatewayRouteTablesArgs struct {
// Custom filter block as described below.
Filters []GetTransitGatewayRouteTablesFilter `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired transit gateway route table.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getTransitGatewayRouteTables.
type GetTransitGatewayRouteTablesFilter ¶
type GetTransitGatewayRouteTablesFilter 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_DescribeTransitGatewayRouteTables.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given field.
// A Transit Gateway Route Table will be selected if any one of the given values matches.
Values []string `pulumi:"values"`
}
type GetTransitGatewayRouteTablesFilterArgs ¶
type GetTransitGatewayRouteTablesFilterArgs 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_DescribeTransitGatewayRouteTables.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given field.
// A Transit Gateway Route Table will be selected if any one of the given values matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetTransitGatewayRouteTablesFilterArgs) ElementType ¶
func (GetTransitGatewayRouteTablesFilterArgs) ElementType() reflect.Type
func (GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutput ¶
func (i GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput
func (GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutputWithContext ¶
func (i GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterOutput
type GetTransitGatewayRouteTablesFilterArray ¶
type GetTransitGatewayRouteTablesFilterArray []GetTransitGatewayRouteTablesFilterInput
func (GetTransitGatewayRouteTablesFilterArray) ElementType ¶
func (GetTransitGatewayRouteTablesFilterArray) ElementType() reflect.Type
func (GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutput ¶
func (i GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput
func (GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext ¶
func (i GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterArrayOutput
type GetTransitGatewayRouteTablesFilterArrayInput ¶
type GetTransitGatewayRouteTablesFilterArrayInput interface {
pulumi.Input
ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput
ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(context.Context) GetTransitGatewayRouteTablesFilterArrayOutput
}
GetTransitGatewayRouteTablesFilterArrayInput is an input type that accepts GetTransitGatewayRouteTablesFilterArray and GetTransitGatewayRouteTablesFilterArrayOutput values. You can construct a concrete instance of `GetTransitGatewayRouteTablesFilterArrayInput` via:
GetTransitGatewayRouteTablesFilterArray{ GetTransitGatewayRouteTablesFilterArgs{...} }
type GetTransitGatewayRouteTablesFilterArrayOutput ¶
type GetTransitGatewayRouteTablesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetTransitGatewayRouteTablesFilterArrayOutput) ElementType ¶
func (GetTransitGatewayRouteTablesFilterArrayOutput) ElementType() reflect.Type
func (GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutput ¶
func (o GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput
func (GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext ¶
func (o GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterArrayOutput
type GetTransitGatewayRouteTablesFilterInput ¶
type GetTransitGatewayRouteTablesFilterInput interface {
pulumi.Input
ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput
ToGetTransitGatewayRouteTablesFilterOutputWithContext(context.Context) GetTransitGatewayRouteTablesFilterOutput
}
GetTransitGatewayRouteTablesFilterInput is an input type that accepts GetTransitGatewayRouteTablesFilterArgs and GetTransitGatewayRouteTablesFilterOutput values. You can construct a concrete instance of `GetTransitGatewayRouteTablesFilterInput` via:
GetTransitGatewayRouteTablesFilterArgs{...}
type GetTransitGatewayRouteTablesFilterOutput ¶
type GetTransitGatewayRouteTablesFilterOutput struct{ *pulumi.OutputState }
func (GetTransitGatewayRouteTablesFilterOutput) ElementType ¶
func (GetTransitGatewayRouteTablesFilterOutput) ElementType() reflect.Type
func (GetTransitGatewayRouteTablesFilterOutput) Name ¶
func (o GetTransitGatewayRouteTablesFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayRouteTables.html).
func (GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutput ¶
func (o GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput
func (GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutputWithContext ¶
func (o GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterOutput
func (GetTransitGatewayRouteTablesFilterOutput) Values ¶
func (o GetTransitGatewayRouteTablesFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A Transit Gateway Route Table will be selected if any one of the given values matches.
type GetTransitGatewayRouteTablesOutputArgs ¶
type GetTransitGatewayRouteTablesOutputArgs struct {
// Custom filter block as described below.
Filters GetTransitGatewayRouteTablesFilterArrayInput `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired transit gateway route table.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getTransitGatewayRouteTables.
func (GetTransitGatewayRouteTablesOutputArgs) ElementType ¶
func (GetTransitGatewayRouteTablesOutputArgs) ElementType() reflect.Type
type GetTransitGatewayRouteTablesResult ¶
type GetTransitGatewayRouteTablesResult struct {
Filters []GetTransitGatewayRouteTablesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Set of Transit Gateway Route Table identifiers.
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getTransitGatewayRouteTables.
func GetTransitGatewayRouteTables ¶
func GetTransitGatewayRouteTables(ctx *pulumi.Context, args *GetTransitGatewayRouteTablesArgs, opts ...pulumi.InvokeOption) (*GetTransitGatewayRouteTablesResult, error)
Provides information for multiple EC2 Transit Gateway Route Tables, such as their identifiers.
## Example Usage
The following shows outputing all Transit Gateway Route Table Ids.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetTransitGatewayRouteTables(ctx, nil, nil)
if err != nil {
return err
}
ctx.Export("example", data.Aws_ec2_transit_gateway_route_table.Example.Ids)
return nil
})
}
```
type GetTransitGatewayRouteTablesResultOutput ¶
type GetTransitGatewayRouteTablesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTransitGatewayRouteTables.
func GetTransitGatewayRouteTablesOutput ¶
func GetTransitGatewayRouteTablesOutput(ctx *pulumi.Context, args GetTransitGatewayRouteTablesOutputArgs, opts ...pulumi.InvokeOption) GetTransitGatewayRouteTablesResultOutput
func (GetTransitGatewayRouteTablesResultOutput) ElementType ¶
func (GetTransitGatewayRouteTablesResultOutput) ElementType() reflect.Type
func (GetTransitGatewayRouteTablesResultOutput) Id ¶
func (o GetTransitGatewayRouteTablesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetTransitGatewayRouteTablesResultOutput) Ids ¶
func (o GetTransitGatewayRouteTablesResultOutput) Ids() pulumi.StringArrayOutput
Set of Transit Gateway Route Table identifiers.
func (GetTransitGatewayRouteTablesResultOutput) Tags ¶
func (o GetTransitGatewayRouteTablesResultOutput) Tags() pulumi.StringMapOutput
func (GetTransitGatewayRouteTablesResultOutput) ToGetTransitGatewayRouteTablesResultOutput ¶
func (o GetTransitGatewayRouteTablesResultOutput) ToGetTransitGatewayRouteTablesResultOutput() GetTransitGatewayRouteTablesResultOutput
func (GetTransitGatewayRouteTablesResultOutput) ToGetTransitGatewayRouteTablesResultOutputWithContext ¶
func (o GetTransitGatewayRouteTablesResultOutput) ToGetTransitGatewayRouteTablesResultOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesResultOutput
type GetVpcCidrBlockAssociation ¶
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 ¶
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 ¶
func (GetVpcCidrBlockAssociationArgs) ElementType() reflect.Type
func (GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutput ¶
func (i GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutput() GetVpcCidrBlockAssociationOutput
func (GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutputWithContext ¶
func (i GetVpcCidrBlockAssociationArgs) ToGetVpcCidrBlockAssociationOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationOutput
type GetVpcCidrBlockAssociationArray ¶
type GetVpcCidrBlockAssociationArray []GetVpcCidrBlockAssociationInput
func (GetVpcCidrBlockAssociationArray) ElementType ¶
func (GetVpcCidrBlockAssociationArray) ElementType() reflect.Type
func (GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutput ¶
func (i GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutput() GetVpcCidrBlockAssociationArrayOutput
func (GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutputWithContext ¶
func (i GetVpcCidrBlockAssociationArray) ToGetVpcCidrBlockAssociationArrayOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationArrayOutput
type GetVpcCidrBlockAssociationArrayInput ¶
type GetVpcCidrBlockAssociationArrayInput interface {
pulumi.Input
ToGetVpcCidrBlockAssociationArrayOutput() GetVpcCidrBlockAssociationArrayOutput
ToGetVpcCidrBlockAssociationArrayOutputWithContext(context.Context) GetVpcCidrBlockAssociationArrayOutput
}
GetVpcCidrBlockAssociationArrayInput is an input type that accepts GetVpcCidrBlockAssociationArray and GetVpcCidrBlockAssociationArrayOutput values. You can construct a concrete instance of `GetVpcCidrBlockAssociationArrayInput` via:
GetVpcCidrBlockAssociationArray{ GetVpcCidrBlockAssociationArgs{...} }
type GetVpcCidrBlockAssociationArrayOutput ¶
type GetVpcCidrBlockAssociationArrayOutput struct{ *pulumi.OutputState }
func (GetVpcCidrBlockAssociationArrayOutput) ElementType ¶
func (GetVpcCidrBlockAssociationArrayOutput) ElementType() reflect.Type
func (GetVpcCidrBlockAssociationArrayOutput) Index ¶
func (o GetVpcCidrBlockAssociationArrayOutput) Index(i pulumi.IntInput) GetVpcCidrBlockAssociationOutput
func (GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutput ¶
func (o GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutput() GetVpcCidrBlockAssociationArrayOutput
func (GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutputWithContext ¶
func (o GetVpcCidrBlockAssociationArrayOutput) ToGetVpcCidrBlockAssociationArrayOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationArrayOutput
type GetVpcCidrBlockAssociationInput ¶
type GetVpcCidrBlockAssociationInput interface {
pulumi.Input
ToGetVpcCidrBlockAssociationOutput() GetVpcCidrBlockAssociationOutput
ToGetVpcCidrBlockAssociationOutputWithContext(context.Context) GetVpcCidrBlockAssociationOutput
}
GetVpcCidrBlockAssociationInput is an input type that accepts GetVpcCidrBlockAssociationArgs and GetVpcCidrBlockAssociationOutput values. You can construct a concrete instance of `GetVpcCidrBlockAssociationInput` via:
GetVpcCidrBlockAssociationArgs{...}
type GetVpcCidrBlockAssociationOutput ¶
type GetVpcCidrBlockAssociationOutput struct{ *pulumi.OutputState }
func (GetVpcCidrBlockAssociationOutput) AssociationId ¶
func (o GetVpcCidrBlockAssociationOutput) AssociationId() pulumi.StringOutput
The association ID for the the IPv4 CIDR block.
func (GetVpcCidrBlockAssociationOutput) CidrBlock ¶
func (o GetVpcCidrBlockAssociationOutput) CidrBlock() pulumi.StringOutput
The cidr block of the desired VPC.
func (GetVpcCidrBlockAssociationOutput) ElementType ¶
func (GetVpcCidrBlockAssociationOutput) ElementType() reflect.Type
func (GetVpcCidrBlockAssociationOutput) State ¶
func (o GetVpcCidrBlockAssociationOutput) State() pulumi.StringOutput
The current state of the desired VPC. Can be either `"pending"` or `"available"`.
func (GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutput ¶
func (o GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutput() GetVpcCidrBlockAssociationOutput
func (GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutputWithContext ¶
func (o GetVpcCidrBlockAssociationOutput) ToGetVpcCidrBlockAssociationOutputWithContext(ctx context.Context) GetVpcCidrBlockAssociationOutput
type GetVpcDhcpOptionsFilter ¶
type GetVpcDhcpOptionsFilterArgs ¶
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 ¶
func (GetVpcDhcpOptionsFilterArgs) ElementType() reflect.Type
func (GetVpcDhcpOptionsFilterArgs) ToGetVpcDhcpOptionsFilterOutput ¶
func (i GetVpcDhcpOptionsFilterArgs) ToGetVpcDhcpOptionsFilterOutput() GetVpcDhcpOptionsFilterOutput
func (GetVpcDhcpOptionsFilterArgs) ToGetVpcDhcpOptionsFilterOutputWithContext ¶
func (i GetVpcDhcpOptionsFilterArgs) ToGetVpcDhcpOptionsFilterOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterOutput
type GetVpcDhcpOptionsFilterArray ¶
type GetVpcDhcpOptionsFilterArray []GetVpcDhcpOptionsFilterInput
func (GetVpcDhcpOptionsFilterArray) ElementType ¶
func (GetVpcDhcpOptionsFilterArray) ElementType() reflect.Type
func (GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutput ¶
func (i GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutput() GetVpcDhcpOptionsFilterArrayOutput
func (GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutputWithContext ¶
func (i GetVpcDhcpOptionsFilterArray) ToGetVpcDhcpOptionsFilterArrayOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterArrayOutput
type GetVpcDhcpOptionsFilterArrayInput ¶
type GetVpcDhcpOptionsFilterArrayInput interface {
pulumi.Input
ToGetVpcDhcpOptionsFilterArrayOutput() GetVpcDhcpOptionsFilterArrayOutput
ToGetVpcDhcpOptionsFilterArrayOutputWithContext(context.Context) GetVpcDhcpOptionsFilterArrayOutput
}
GetVpcDhcpOptionsFilterArrayInput is an input type that accepts GetVpcDhcpOptionsFilterArray and GetVpcDhcpOptionsFilterArrayOutput values. You can construct a concrete instance of `GetVpcDhcpOptionsFilterArrayInput` via:
GetVpcDhcpOptionsFilterArray{ GetVpcDhcpOptionsFilterArgs{...} }
type GetVpcDhcpOptionsFilterArrayOutput ¶
type GetVpcDhcpOptionsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcDhcpOptionsFilterArrayOutput) ElementType ¶
func (GetVpcDhcpOptionsFilterArrayOutput) ElementType() reflect.Type
func (GetVpcDhcpOptionsFilterArrayOutput) Index ¶
func (o GetVpcDhcpOptionsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcDhcpOptionsFilterOutput
func (GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutput ¶
func (o GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutput() GetVpcDhcpOptionsFilterArrayOutput
func (GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutputWithContext ¶
func (o GetVpcDhcpOptionsFilterArrayOutput) ToGetVpcDhcpOptionsFilterArrayOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterArrayOutput
type GetVpcDhcpOptionsFilterInput ¶
type GetVpcDhcpOptionsFilterInput interface {
pulumi.Input
ToGetVpcDhcpOptionsFilterOutput() GetVpcDhcpOptionsFilterOutput
ToGetVpcDhcpOptionsFilterOutputWithContext(context.Context) GetVpcDhcpOptionsFilterOutput
}
GetVpcDhcpOptionsFilterInput is an input type that accepts GetVpcDhcpOptionsFilterArgs and GetVpcDhcpOptionsFilterOutput values. You can construct a concrete instance of `GetVpcDhcpOptionsFilterInput` via:
GetVpcDhcpOptionsFilterArgs{...}
type GetVpcDhcpOptionsFilterOutput ¶
type GetVpcDhcpOptionsFilterOutput struct{ *pulumi.OutputState }
func (GetVpcDhcpOptionsFilterOutput) ElementType ¶
func (GetVpcDhcpOptionsFilterOutput) ElementType() reflect.Type
func (GetVpcDhcpOptionsFilterOutput) Name ¶
func (o GetVpcDhcpOptionsFilterOutput) Name() pulumi.StringOutput
The name of the field to filter.
func (GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutput ¶
func (o GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutput() GetVpcDhcpOptionsFilterOutput
func (GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutputWithContext ¶
func (o GetVpcDhcpOptionsFilterOutput) ToGetVpcDhcpOptionsFilterOutputWithContext(ctx context.Context) GetVpcDhcpOptionsFilterOutput
func (GetVpcDhcpOptionsFilterOutput) Values ¶
func (o GetVpcDhcpOptionsFilterOutput) Values() pulumi.StringArrayOutput
Set of values for filtering.
type GetVpcEndpointDnsEntry ¶
type GetVpcEndpointDnsEntryArgs ¶
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 ¶
func (GetVpcEndpointDnsEntryArgs) ElementType() reflect.Type
func (GetVpcEndpointDnsEntryArgs) ToGetVpcEndpointDnsEntryOutput ¶
func (i GetVpcEndpointDnsEntryArgs) ToGetVpcEndpointDnsEntryOutput() GetVpcEndpointDnsEntryOutput
func (GetVpcEndpointDnsEntryArgs) ToGetVpcEndpointDnsEntryOutputWithContext ¶
func (i GetVpcEndpointDnsEntryArgs) ToGetVpcEndpointDnsEntryOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryOutput
type GetVpcEndpointDnsEntryArray ¶
type GetVpcEndpointDnsEntryArray []GetVpcEndpointDnsEntryInput
func (GetVpcEndpointDnsEntryArray) ElementType ¶
func (GetVpcEndpointDnsEntryArray) ElementType() reflect.Type
func (GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutput ¶
func (i GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutput() GetVpcEndpointDnsEntryArrayOutput
func (GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutputWithContext ¶
func (i GetVpcEndpointDnsEntryArray) ToGetVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryArrayOutput
type GetVpcEndpointDnsEntryArrayInput ¶
type GetVpcEndpointDnsEntryArrayInput interface {
pulumi.Input
ToGetVpcEndpointDnsEntryArrayOutput() GetVpcEndpointDnsEntryArrayOutput
ToGetVpcEndpointDnsEntryArrayOutputWithContext(context.Context) GetVpcEndpointDnsEntryArrayOutput
}
GetVpcEndpointDnsEntryArrayInput is an input type that accepts GetVpcEndpointDnsEntryArray and GetVpcEndpointDnsEntryArrayOutput values. You can construct a concrete instance of `GetVpcEndpointDnsEntryArrayInput` via:
GetVpcEndpointDnsEntryArray{ GetVpcEndpointDnsEntryArgs{...} }
type GetVpcEndpointDnsEntryArrayOutput ¶
type GetVpcEndpointDnsEntryArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointDnsEntryArrayOutput) ElementType ¶
func (GetVpcEndpointDnsEntryArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointDnsEntryArrayOutput) Index ¶
func (o GetVpcEndpointDnsEntryArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointDnsEntryOutput
func (GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutput ¶
func (o GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutput() GetVpcEndpointDnsEntryArrayOutput
func (GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutputWithContext ¶
func (o GetVpcEndpointDnsEntryArrayOutput) ToGetVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryArrayOutput
type GetVpcEndpointDnsEntryInput ¶
type GetVpcEndpointDnsEntryInput interface {
pulumi.Input
ToGetVpcEndpointDnsEntryOutput() GetVpcEndpointDnsEntryOutput
ToGetVpcEndpointDnsEntryOutputWithContext(context.Context) GetVpcEndpointDnsEntryOutput
}
GetVpcEndpointDnsEntryInput is an input type that accepts GetVpcEndpointDnsEntryArgs and GetVpcEndpointDnsEntryOutput values. You can construct a concrete instance of `GetVpcEndpointDnsEntryInput` via:
GetVpcEndpointDnsEntryArgs{...}
type GetVpcEndpointDnsEntryOutput ¶
type GetVpcEndpointDnsEntryOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointDnsEntryOutput) DnsName ¶
func (o GetVpcEndpointDnsEntryOutput) DnsName() pulumi.StringOutput
The DNS name.
func (GetVpcEndpointDnsEntryOutput) ElementType ¶
func (GetVpcEndpointDnsEntryOutput) ElementType() reflect.Type
func (GetVpcEndpointDnsEntryOutput) HostedZoneId ¶
func (o GetVpcEndpointDnsEntryOutput) HostedZoneId() pulumi.StringOutput
The ID of the private hosted zone.
func (GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutput ¶
func (o GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutput() GetVpcEndpointDnsEntryOutput
func (GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutputWithContext ¶
func (o GetVpcEndpointDnsEntryOutput) ToGetVpcEndpointDnsEntryOutputWithContext(ctx context.Context) GetVpcEndpointDnsEntryOutput
type GetVpcEndpointFilter ¶
type GetVpcEndpointFilter 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_DescribeVpcEndpoints.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 ¶
type GetVpcEndpointFilterArgs 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_DescribeVpcEndpoints.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 ¶
func (GetVpcEndpointFilterArgs) ElementType() reflect.Type
func (GetVpcEndpointFilterArgs) ToGetVpcEndpointFilterOutput ¶
func (i GetVpcEndpointFilterArgs) ToGetVpcEndpointFilterOutput() GetVpcEndpointFilterOutput
func (GetVpcEndpointFilterArgs) ToGetVpcEndpointFilterOutputWithContext ¶
func (i GetVpcEndpointFilterArgs) ToGetVpcEndpointFilterOutputWithContext(ctx context.Context) GetVpcEndpointFilterOutput
type GetVpcEndpointFilterArray ¶
type GetVpcEndpointFilterArray []GetVpcEndpointFilterInput
func (GetVpcEndpointFilterArray) ElementType ¶
func (GetVpcEndpointFilterArray) ElementType() reflect.Type
func (GetVpcEndpointFilterArray) ToGetVpcEndpointFilterArrayOutput ¶
func (i GetVpcEndpointFilterArray) ToGetVpcEndpointFilterArrayOutput() GetVpcEndpointFilterArrayOutput
func (GetVpcEndpointFilterArray) ToGetVpcEndpointFilterArrayOutputWithContext ¶
func (i GetVpcEndpointFilterArray) ToGetVpcEndpointFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointFilterArrayOutput
type GetVpcEndpointFilterArrayInput ¶
type GetVpcEndpointFilterArrayInput interface {
pulumi.Input
ToGetVpcEndpointFilterArrayOutput() GetVpcEndpointFilterArrayOutput
ToGetVpcEndpointFilterArrayOutputWithContext(context.Context) GetVpcEndpointFilterArrayOutput
}
GetVpcEndpointFilterArrayInput is an input type that accepts GetVpcEndpointFilterArray and GetVpcEndpointFilterArrayOutput values. You can construct a concrete instance of `GetVpcEndpointFilterArrayInput` via:
GetVpcEndpointFilterArray{ GetVpcEndpointFilterArgs{...} }
type GetVpcEndpointFilterArrayOutput ¶
type GetVpcEndpointFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointFilterArrayOutput) ElementType ¶
func (GetVpcEndpointFilterArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointFilterArrayOutput) Index ¶
func (o GetVpcEndpointFilterArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointFilterOutput
func (GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutput ¶
func (o GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutput() GetVpcEndpointFilterArrayOutput
func (GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutputWithContext ¶
func (o GetVpcEndpointFilterArrayOutput) ToGetVpcEndpointFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointFilterArrayOutput
type GetVpcEndpointFilterInput ¶
type GetVpcEndpointFilterInput interface {
pulumi.Input
ToGetVpcEndpointFilterOutput() GetVpcEndpointFilterOutput
ToGetVpcEndpointFilterOutputWithContext(context.Context) GetVpcEndpointFilterOutput
}
GetVpcEndpointFilterInput is an input type that accepts GetVpcEndpointFilterArgs and GetVpcEndpointFilterOutput values. You can construct a concrete instance of `GetVpcEndpointFilterInput` via:
GetVpcEndpointFilterArgs{...}
type GetVpcEndpointFilterOutput ¶
type GetVpcEndpointFilterOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointFilterOutput) ElementType ¶
func (GetVpcEndpointFilterOutput) ElementType() reflect.Type
func (GetVpcEndpointFilterOutput) Name ¶
func (o GetVpcEndpointFilterOutput) Name() pulumi.StringOutput
The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpoints.html).
func (GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutput ¶
func (o GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutput() GetVpcEndpointFilterOutput
func (GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutputWithContext ¶
func (o GetVpcEndpointFilterOutput) ToGetVpcEndpointFilterOutputWithContext(ctx context.Context) GetVpcEndpointFilterOutput
func (GetVpcEndpointFilterOutput) Values ¶
func (o GetVpcEndpointFilterOutput) Values() pulumi.StringArrayOutput
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 GetVpcEndpointServiceFilter ¶
type GetVpcEndpointServiceFilter struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html).
Name string `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values []string `pulumi:"values"`
}
type GetVpcEndpointServiceFilterArgs ¶
type GetVpcEndpointServiceFilterArgs struct {
// The name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html).
Name pulumi.StringInput `pulumi:"name"`
// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetVpcEndpointServiceFilterArgs) ElementType ¶
func (GetVpcEndpointServiceFilterArgs) ElementType() reflect.Type
func (GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutput ¶
func (i GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput
func (GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutputWithContext ¶
func (i GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterOutput
type GetVpcEndpointServiceFilterArray ¶
type GetVpcEndpointServiceFilterArray []GetVpcEndpointServiceFilterInput
func (GetVpcEndpointServiceFilterArray) ElementType ¶
func (GetVpcEndpointServiceFilterArray) ElementType() reflect.Type
func (GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutput ¶
func (i GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput
func (GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutputWithContext ¶
func (i GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterArrayOutput
type GetVpcEndpointServiceFilterArrayInput ¶
type GetVpcEndpointServiceFilterArrayInput interface {
pulumi.Input
ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput
ToGetVpcEndpointServiceFilterArrayOutputWithContext(context.Context) GetVpcEndpointServiceFilterArrayOutput
}
GetVpcEndpointServiceFilterArrayInput is an input type that accepts GetVpcEndpointServiceFilterArray and GetVpcEndpointServiceFilterArrayOutput values. You can construct a concrete instance of `GetVpcEndpointServiceFilterArrayInput` via:
GetVpcEndpointServiceFilterArray{ GetVpcEndpointServiceFilterArgs{...} }
type GetVpcEndpointServiceFilterArrayOutput ¶
type GetVpcEndpointServiceFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointServiceFilterArrayOutput) ElementType ¶
func (GetVpcEndpointServiceFilterArrayOutput) ElementType() reflect.Type
func (GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutput ¶
func (o GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput
func (GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutputWithContext ¶
func (o GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterArrayOutput
type GetVpcEndpointServiceFilterInput ¶
type GetVpcEndpointServiceFilterInput interface {
pulumi.Input
ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput
ToGetVpcEndpointServiceFilterOutputWithContext(context.Context) GetVpcEndpointServiceFilterOutput
}
GetVpcEndpointServiceFilterInput is an input type that accepts GetVpcEndpointServiceFilterArgs and GetVpcEndpointServiceFilterOutput values. You can construct a concrete instance of `GetVpcEndpointServiceFilterInput` via:
GetVpcEndpointServiceFilterArgs{...}
type GetVpcEndpointServiceFilterOutput ¶
type GetVpcEndpointServiceFilterOutput struct{ *pulumi.OutputState }
func (GetVpcEndpointServiceFilterOutput) ElementType ¶
func (GetVpcEndpointServiceFilterOutput) ElementType() reflect.Type
func (GetVpcEndpointServiceFilterOutput) Name ¶
func (o GetVpcEndpointServiceFilterOutput) Name() pulumi.StringOutput
The name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html).
func (GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutput ¶
func (o GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput
func (GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutputWithContext ¶
func (o GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterOutput
func (GetVpcEndpointServiceFilterOutput) Values ¶
func (o GetVpcEndpointServiceFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetVpcFilter ¶
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 ¶
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 ¶
func (GetVpcFilterArgs) ElementType() reflect.Type
func (GetVpcFilterArgs) ToGetVpcFilterOutput ¶
func (i GetVpcFilterArgs) ToGetVpcFilterOutput() GetVpcFilterOutput
func (GetVpcFilterArgs) ToGetVpcFilterOutputWithContext ¶
func (i GetVpcFilterArgs) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput
type GetVpcFilterArray ¶
type GetVpcFilterArray []GetVpcFilterInput
func (GetVpcFilterArray) ElementType ¶
func (GetVpcFilterArray) ElementType() reflect.Type
func (GetVpcFilterArray) ToGetVpcFilterArrayOutput ¶
func (i GetVpcFilterArray) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput
func (GetVpcFilterArray) ToGetVpcFilterArrayOutputWithContext ¶
func (i GetVpcFilterArray) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput
type GetVpcFilterArrayInput ¶
type GetVpcFilterArrayInput interface {
pulumi.Input
ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput
ToGetVpcFilterArrayOutputWithContext(context.Context) GetVpcFilterArrayOutput
}
GetVpcFilterArrayInput is an input type that accepts GetVpcFilterArray and GetVpcFilterArrayOutput values. You can construct a concrete instance of `GetVpcFilterArrayInput` via:
GetVpcFilterArray{ GetVpcFilterArgs{...} }
type GetVpcFilterArrayOutput ¶
type GetVpcFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcFilterArrayOutput) ElementType ¶
func (GetVpcFilterArrayOutput) ElementType() reflect.Type
func (GetVpcFilterArrayOutput) Index ¶
func (o GetVpcFilterArrayOutput) Index(i pulumi.IntInput) GetVpcFilterOutput
func (GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput ¶
func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput
func (GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext ¶
func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput
type GetVpcFilterInput ¶
type GetVpcFilterInput interface {
pulumi.Input
ToGetVpcFilterOutput() GetVpcFilterOutput
ToGetVpcFilterOutputWithContext(context.Context) GetVpcFilterOutput
}
GetVpcFilterInput is an input type that accepts GetVpcFilterArgs and GetVpcFilterOutput values. You can construct a concrete instance of `GetVpcFilterInput` via:
GetVpcFilterArgs{...}
type GetVpcFilterOutput ¶
type GetVpcFilterOutput struct{ *pulumi.OutputState }
func (GetVpcFilterOutput) ElementType ¶
func (GetVpcFilterOutput) ElementType() reflect.Type
func (GetVpcFilterOutput) Name ¶
func (o GetVpcFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetVpcFilterOutput) ToGetVpcFilterOutput() GetVpcFilterOutput
func (GetVpcFilterOutput) ToGetVpcFilterOutputWithContext ¶
func (o GetVpcFilterOutput) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput
func (GetVpcFilterOutput) Values ¶
func (o GetVpcFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
type GetVpcIamPoolArgs ¶
type GetVpcIamPoolArgs struct {
// Tags that are required to create resources in using this pool.
AllocationResourceTags map[string]string `pulumi:"allocationResourceTags"`
// Custom filter block as described below.
Filters []GetVpcIamPoolFilter `pulumi:"filters"`
// -
Id *string `pulumi:"id"`
IpamPoolId *string `pulumi:"ipamPoolId"`
// A map of tags to assigned to the resource.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getVpcIamPool.
type GetVpcIamPoolFilter ¶
type GetVpcIamPoolFilterArgs ¶
type GetVpcIamPoolFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Values pulumi.StringArrayInput `pulumi:"values"`
}
func (GetVpcIamPoolFilterArgs) ElementType ¶
func (GetVpcIamPoolFilterArgs) ElementType() reflect.Type
func (GetVpcIamPoolFilterArgs) ToGetVpcIamPoolFilterOutput ¶
func (i GetVpcIamPoolFilterArgs) ToGetVpcIamPoolFilterOutput() GetVpcIamPoolFilterOutput
func (GetVpcIamPoolFilterArgs) ToGetVpcIamPoolFilterOutputWithContext ¶
func (i GetVpcIamPoolFilterArgs) ToGetVpcIamPoolFilterOutputWithContext(ctx context.Context) GetVpcIamPoolFilterOutput
type GetVpcIamPoolFilterArray ¶
type GetVpcIamPoolFilterArray []GetVpcIamPoolFilterInput
func (GetVpcIamPoolFilterArray) ElementType ¶
func (GetVpcIamPoolFilterArray) ElementType() reflect.Type
func (GetVpcIamPoolFilterArray) ToGetVpcIamPoolFilterArrayOutput ¶
func (i GetVpcIamPoolFilterArray) ToGetVpcIamPoolFilterArrayOutput() GetVpcIamPoolFilterArrayOutput
func (GetVpcIamPoolFilterArray) ToGetVpcIamPoolFilterArrayOutputWithContext ¶
func (i GetVpcIamPoolFilterArray) ToGetVpcIamPoolFilterArrayOutputWithContext(ctx context.Context) GetVpcIamPoolFilterArrayOutput
type GetVpcIamPoolFilterArrayInput ¶
type GetVpcIamPoolFilterArrayInput interface {
pulumi.Input
ToGetVpcIamPoolFilterArrayOutput() GetVpcIamPoolFilterArrayOutput
ToGetVpcIamPoolFilterArrayOutputWithContext(context.Context) GetVpcIamPoolFilterArrayOutput
}
GetVpcIamPoolFilterArrayInput is an input type that accepts GetVpcIamPoolFilterArray and GetVpcIamPoolFilterArrayOutput values. You can construct a concrete instance of `GetVpcIamPoolFilterArrayInput` via:
GetVpcIamPoolFilterArray{ GetVpcIamPoolFilterArgs{...} }
type GetVpcIamPoolFilterArrayOutput ¶
type GetVpcIamPoolFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcIamPoolFilterArrayOutput) ElementType ¶
func (GetVpcIamPoolFilterArrayOutput) ElementType() reflect.Type
func (GetVpcIamPoolFilterArrayOutput) Index ¶
func (o GetVpcIamPoolFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIamPoolFilterOutput
func (GetVpcIamPoolFilterArrayOutput) ToGetVpcIamPoolFilterArrayOutput ¶
func (o GetVpcIamPoolFilterArrayOutput) ToGetVpcIamPoolFilterArrayOutput() GetVpcIamPoolFilterArrayOutput
func (GetVpcIamPoolFilterArrayOutput) ToGetVpcIamPoolFilterArrayOutputWithContext ¶
func (o GetVpcIamPoolFilterArrayOutput) ToGetVpcIamPoolFilterArrayOutputWithContext(ctx context.Context) GetVpcIamPoolFilterArrayOutput
type GetVpcIamPoolFilterInput ¶
type GetVpcIamPoolFilterInput interface {
pulumi.Input
ToGetVpcIamPoolFilterOutput() GetVpcIamPoolFilterOutput
ToGetVpcIamPoolFilterOutputWithContext(context.Context) GetVpcIamPoolFilterOutput
}
GetVpcIamPoolFilterInput is an input type that accepts GetVpcIamPoolFilterArgs and GetVpcIamPoolFilterOutput values. You can construct a concrete instance of `GetVpcIamPoolFilterInput` via:
GetVpcIamPoolFilterArgs{...}
type GetVpcIamPoolFilterOutput ¶
type GetVpcIamPoolFilterOutput struct{ *pulumi.OutputState }
func (GetVpcIamPoolFilterOutput) ElementType ¶
func (GetVpcIamPoolFilterOutput) ElementType() reflect.Type
func (GetVpcIamPoolFilterOutput) Name ¶
func (o GetVpcIamPoolFilterOutput) Name() pulumi.StringOutput
func (GetVpcIamPoolFilterOutput) ToGetVpcIamPoolFilterOutput ¶
func (o GetVpcIamPoolFilterOutput) ToGetVpcIamPoolFilterOutput() GetVpcIamPoolFilterOutput
func (GetVpcIamPoolFilterOutput) ToGetVpcIamPoolFilterOutputWithContext ¶
func (o GetVpcIamPoolFilterOutput) ToGetVpcIamPoolFilterOutputWithContext(ctx context.Context) GetVpcIamPoolFilterOutput
func (GetVpcIamPoolFilterOutput) Values ¶
func (o GetVpcIamPoolFilterOutput) Values() pulumi.StringArrayOutput
type GetVpcIamPoolOutputArgs ¶
type GetVpcIamPoolOutputArgs struct {
// Tags that are required to create resources in using this pool.
AllocationResourceTags pulumi.StringMapInput `pulumi:"allocationResourceTags"`
// Custom filter block as described below.
Filters GetVpcIamPoolFilterArrayInput `pulumi:"filters"`
// -
Id pulumi.StringPtrInput `pulumi:"id"`
IpamPoolId pulumi.StringPtrInput `pulumi:"ipamPoolId"`
// A map of tags to assigned to the resource.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getVpcIamPool.
func (GetVpcIamPoolOutputArgs) ElementType ¶
func (GetVpcIamPoolOutputArgs) ElementType() reflect.Type
type GetVpcIamPoolResult ¶
type GetVpcIamPoolResult struct {
// The IP protocol assigned to this pool.
AddressFamily string `pulumi:"addressFamily"`
// A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
AllocationDefaultNetmaskLength int `pulumi:"allocationDefaultNetmaskLength"`
// The maximum netmask length that will be required for CIDR allocations in this pool.
AllocationMaxNetmaskLength int `pulumi:"allocationMaxNetmaskLength"`
// The minimum netmask length that will be required for CIDR allocations in this pool.
AllocationMinNetmaskLength int `pulumi:"allocationMinNetmaskLength"`
// Tags that are required to create resources in using this pool.
AllocationResourceTags map[string]string `pulumi:"allocationResourceTags"`
// Amazon Resource Name (ARN) of the pool
Arn string `pulumi:"arn"`
// If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM.
AutoImport bool `pulumi:"autoImport"`
// Limits which service in AWS that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.
AwsService string `pulumi:"awsService"`
// A description for the IPAM pool.
Description string `pulumi:"description"`
Filters []GetVpcIamPoolFilter `pulumi:"filters"`
Id *string `pulumi:"id"`
IpamPoolId *string `pulumi:"ipamPoolId"`
// The ID of the scope the pool belongs to.
IpamScopeId string `pulumi:"ipamScopeId"`
IpamScopeType string `pulumi:"ipamScopeType"`
// Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region.
Locale string `pulumi:"locale"`
PoolDepth int `pulumi:"poolDepth"`
// Defines whether or not IPv6 pool space is publicly ∂advertisable over the internet.
PubliclyAdvertisable bool `pulumi:"publiclyAdvertisable"`
// The ID of the source IPAM pool.
SourceIpamPoolId string `pulumi:"sourceIpamPoolId"`
State string `pulumi:"state"`
// A map of tags to assigned to the resource.
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getVpcIamPool.
func GetVpcIamPool ¶
func GetVpcIamPool(ctx *pulumi.Context, args *GetVpcIamPoolArgs, opts ...pulumi.InvokeOption) (*GetVpcIamPoolResult, error)
`ec2.VpcIpamPool` provides details about an IPAM pool.
This resource can prove useful when an ipam pool was created in another root module and you need the pool's id as an input variable. For example, pools can be shared via RAM and used to create vpcs with CIDRs from that pool.
## Example Usage
The following example shows an account that has only 1 pool, perhaps shared via RAM, and using that pool id to create a VPC with a CIDR derived from AWS IPAM.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
testVpcIamPool, err := ec2.GetVpcIamPool(ctx, &ec2.GetVpcIamPoolArgs{
Filters: []ec2.GetVpcIamPoolFilter{
ec2.GetVpcIamPoolFilter{
Name: "description",
Values: []string{
"*test*",
},
},
ec2.GetVpcIamPoolFilter{
Name: "address-family",
Values: []string{
"ipv4",
},
},
},
}, nil)
if err != nil {
return err
}
_, err = ec2.NewVpc(ctx, "testVpc", &ec2.VpcArgs{
Ipv4IpamPoolId: pulumi.String(testVpcIamPool.Id),
Ipv4NetmaskLength: pulumi.Int(28),
})
if err != nil {
return err
}
return nil
})
}
```
type GetVpcIamPoolResultOutput ¶
type GetVpcIamPoolResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcIamPool.
func GetVpcIamPoolOutput ¶
func GetVpcIamPoolOutput(ctx *pulumi.Context, args GetVpcIamPoolOutputArgs, opts ...pulumi.InvokeOption) GetVpcIamPoolResultOutput
func (GetVpcIamPoolResultOutput) AddressFamily ¶
func (o GetVpcIamPoolResultOutput) AddressFamily() pulumi.StringOutput
The IP protocol assigned to this pool.
func (GetVpcIamPoolResultOutput) AllocationDefaultNetmaskLength ¶
func (o GetVpcIamPoolResultOutput) AllocationDefaultNetmaskLength() pulumi.IntOutput
A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
func (GetVpcIamPoolResultOutput) AllocationMaxNetmaskLength ¶
func (o GetVpcIamPoolResultOutput) AllocationMaxNetmaskLength() pulumi.IntOutput
The maximum netmask length that will be required for CIDR allocations in this pool.
func (GetVpcIamPoolResultOutput) AllocationMinNetmaskLength ¶
func (o GetVpcIamPoolResultOutput) AllocationMinNetmaskLength() pulumi.IntOutput
The minimum netmask length that will be required for CIDR allocations in this pool.
func (GetVpcIamPoolResultOutput) AllocationResourceTags ¶
func (o GetVpcIamPoolResultOutput) AllocationResourceTags() pulumi.StringMapOutput
Tags that are required to create resources in using this pool.
func (GetVpcIamPoolResultOutput) Arn ¶
func (o GetVpcIamPoolResultOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the pool
func (GetVpcIamPoolResultOutput) AutoImport ¶
func (o GetVpcIamPoolResultOutput) AutoImport() pulumi.BoolOutput
If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM.
func (GetVpcIamPoolResultOutput) AwsService ¶
func (o GetVpcIamPoolResultOutput) AwsService() pulumi.StringOutput
Limits which service in AWS that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.
func (GetVpcIamPoolResultOutput) Description ¶
func (o GetVpcIamPoolResultOutput) Description() pulumi.StringOutput
A description for the IPAM pool.
func (GetVpcIamPoolResultOutput) ElementType ¶
func (GetVpcIamPoolResultOutput) ElementType() reflect.Type
func (GetVpcIamPoolResultOutput) Filters ¶
func (o GetVpcIamPoolResultOutput) Filters() GetVpcIamPoolFilterArrayOutput
func (GetVpcIamPoolResultOutput) Id ¶
func (o GetVpcIamPoolResultOutput) Id() pulumi.StringPtrOutput
func (GetVpcIamPoolResultOutput) IpamPoolId ¶
func (o GetVpcIamPoolResultOutput) IpamPoolId() pulumi.StringPtrOutput
func (GetVpcIamPoolResultOutput) IpamScopeId ¶
func (o GetVpcIamPoolResultOutput) IpamScopeId() pulumi.StringOutput
The ID of the scope the pool belongs to.
func (GetVpcIamPoolResultOutput) IpamScopeType ¶
func (o GetVpcIamPoolResultOutput) IpamScopeType() pulumi.StringOutput
func (GetVpcIamPoolResultOutput) Locale ¶
func (o GetVpcIamPoolResultOutput) Locale() pulumi.StringOutput
Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region.
func (GetVpcIamPoolResultOutput) PoolDepth ¶
func (o GetVpcIamPoolResultOutput) PoolDepth() pulumi.IntOutput
func (GetVpcIamPoolResultOutput) PubliclyAdvertisable ¶
func (o GetVpcIamPoolResultOutput) PubliclyAdvertisable() pulumi.BoolOutput
Defines whether or not IPv6 pool space is publicly ∂advertisable over the internet.
func (GetVpcIamPoolResultOutput) SourceIpamPoolId ¶
func (o GetVpcIamPoolResultOutput) SourceIpamPoolId() pulumi.StringOutput
The ID of the source IPAM pool.
func (GetVpcIamPoolResultOutput) State ¶
func (o GetVpcIamPoolResultOutput) State() pulumi.StringOutput
func (GetVpcIamPoolResultOutput) Tags ¶
func (o GetVpcIamPoolResultOutput) Tags() pulumi.StringMapOutput
A map of tags to assigned to the resource.
func (GetVpcIamPoolResultOutput) ToGetVpcIamPoolResultOutput ¶
func (o GetVpcIamPoolResultOutput) ToGetVpcIamPoolResultOutput() GetVpcIamPoolResultOutput
func (GetVpcIamPoolResultOutput) ToGetVpcIamPoolResultOutputWithContext ¶
func (o GetVpcIamPoolResultOutput) ToGetVpcIamPoolResultOutputWithContext(ctx context.Context) GetVpcIamPoolResultOutput
type GetVpcPeeringConnectionCidrBlockSet ¶
type GetVpcPeeringConnectionCidrBlockSet struct {
// The primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
CidrBlock string `pulumi:"cidrBlock"`
}
type GetVpcPeeringConnectionCidrBlockSetArgs ¶
type GetVpcPeeringConnectionCidrBlockSetArgs struct {
// The primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
}
func (GetVpcPeeringConnectionCidrBlockSetArgs) ElementType ¶
func (GetVpcPeeringConnectionCidrBlockSetArgs) ElementType() reflect.Type
func (GetVpcPeeringConnectionCidrBlockSetArgs) ToGetVpcPeeringConnectionCidrBlockSetOutput ¶
func (i GetVpcPeeringConnectionCidrBlockSetArgs) ToGetVpcPeeringConnectionCidrBlockSetOutput() GetVpcPeeringConnectionCidrBlockSetOutput
func (GetVpcPeeringConnectionCidrBlockSetArgs) ToGetVpcPeeringConnectionCidrBlockSetOutputWithContext ¶
func (i GetVpcPeeringConnectionCidrBlockSetArgs) ToGetVpcPeeringConnectionCidrBlockSetOutputWithContext(ctx context.Context) GetVpcPeeringConnectionCidrBlockSetOutput
type GetVpcPeeringConnectionCidrBlockSetArray ¶
type GetVpcPeeringConnectionCidrBlockSetArray []GetVpcPeeringConnectionCidrBlockSetInput
func (GetVpcPeeringConnectionCidrBlockSetArray) ElementType ¶
func (GetVpcPeeringConnectionCidrBlockSetArray) ElementType() reflect.Type
func (GetVpcPeeringConnectionCidrBlockSetArray) ToGetVpcPeeringConnectionCidrBlockSetArrayOutput ¶
func (i GetVpcPeeringConnectionCidrBlockSetArray) ToGetVpcPeeringConnectionCidrBlockSetArrayOutput() GetVpcPeeringConnectionCidrBlockSetArrayOutput
func (GetVpcPeeringConnectionCidrBlockSetArray) ToGetVpcPeeringConnectionCidrBlockSetArrayOutputWithContext ¶
func (i GetVpcPeeringConnectionCidrBlockSetArray) ToGetVpcPeeringConnectionCidrBlockSetArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionCidrBlockSetArrayOutput
type GetVpcPeeringConnectionCidrBlockSetArrayInput ¶
type GetVpcPeeringConnectionCidrBlockSetArrayInput interface {
pulumi.Input
ToGetVpcPeeringConnectionCidrBlockSetArrayOutput() GetVpcPeeringConnectionCidrBlockSetArrayOutput
ToGetVpcPeeringConnectionCidrBlockSetArrayOutputWithContext(context.Context) GetVpcPeeringConnectionCidrBlockSetArrayOutput
}
GetVpcPeeringConnectionCidrBlockSetArrayInput is an input type that accepts GetVpcPeeringConnectionCidrBlockSetArray and GetVpcPeeringConnectionCidrBlockSetArrayOutput values. You can construct a concrete instance of `GetVpcPeeringConnectionCidrBlockSetArrayInput` via:
GetVpcPeeringConnectionCidrBlockSetArray{ GetVpcPeeringConnectionCidrBlockSetArgs{...} }
type GetVpcPeeringConnectionCidrBlockSetArrayOutput ¶
type GetVpcPeeringConnectionCidrBlockSetArrayOutput struct{ *pulumi.OutputState }
func (GetVpcPeeringConnectionCidrBlockSetArrayOutput) ElementType ¶
func (GetVpcPeeringConnectionCidrBlockSetArrayOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionCidrBlockSetArrayOutput ¶
func (o GetVpcPeeringConnectionCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionCidrBlockSetArrayOutput() GetVpcPeeringConnectionCidrBlockSetArrayOutput
func (GetVpcPeeringConnectionCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionCidrBlockSetArrayOutputWithContext ¶
func (o GetVpcPeeringConnectionCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionCidrBlockSetArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionCidrBlockSetArrayOutput
type GetVpcPeeringConnectionCidrBlockSetInput ¶
type GetVpcPeeringConnectionCidrBlockSetInput interface {
pulumi.Input
ToGetVpcPeeringConnectionCidrBlockSetOutput() GetVpcPeeringConnectionCidrBlockSetOutput
ToGetVpcPeeringConnectionCidrBlockSetOutputWithContext(context.Context) GetVpcPeeringConnectionCidrBlockSetOutput
}
GetVpcPeeringConnectionCidrBlockSetInput is an input type that accepts GetVpcPeeringConnectionCidrBlockSetArgs and GetVpcPeeringConnectionCidrBlockSetOutput values. You can construct a concrete instance of `GetVpcPeeringConnectionCidrBlockSetInput` via:
GetVpcPeeringConnectionCidrBlockSetArgs{...}
type GetVpcPeeringConnectionCidrBlockSetOutput ¶
type GetVpcPeeringConnectionCidrBlockSetOutput struct{ *pulumi.OutputState }
func (GetVpcPeeringConnectionCidrBlockSetOutput) CidrBlock ¶
func (o GetVpcPeeringConnectionCidrBlockSetOutput) CidrBlock() pulumi.StringOutput
The primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
func (GetVpcPeeringConnectionCidrBlockSetOutput) ElementType ¶
func (GetVpcPeeringConnectionCidrBlockSetOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionCidrBlockSetOutput) ToGetVpcPeeringConnectionCidrBlockSetOutput ¶
func (o GetVpcPeeringConnectionCidrBlockSetOutput) ToGetVpcPeeringConnectionCidrBlockSetOutput() GetVpcPeeringConnectionCidrBlockSetOutput
func (GetVpcPeeringConnectionCidrBlockSetOutput) ToGetVpcPeeringConnectionCidrBlockSetOutputWithContext ¶
func (o GetVpcPeeringConnectionCidrBlockSetOutput) ToGetVpcPeeringConnectionCidrBlockSetOutputWithContext(ctx context.Context) GetVpcPeeringConnectionCidrBlockSetOutput
type GetVpcPeeringConnectionFilter ¶
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 ¶
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 ¶
func (GetVpcPeeringConnectionFilterArgs) ElementType() reflect.Type
func (GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutput ¶
func (i GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutput() GetVpcPeeringConnectionFilterOutput
func (GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutputWithContext ¶
func (i GetVpcPeeringConnectionFilterArgs) ToGetVpcPeeringConnectionFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterOutput
type GetVpcPeeringConnectionFilterArray ¶
type GetVpcPeeringConnectionFilterArray []GetVpcPeeringConnectionFilterInput
func (GetVpcPeeringConnectionFilterArray) ElementType ¶
func (GetVpcPeeringConnectionFilterArray) ElementType() reflect.Type
func (GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutput ¶
func (i GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutput() GetVpcPeeringConnectionFilterArrayOutput
func (GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutputWithContext ¶
func (i GetVpcPeeringConnectionFilterArray) ToGetVpcPeeringConnectionFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterArrayOutput
type GetVpcPeeringConnectionFilterArrayInput ¶
type GetVpcPeeringConnectionFilterArrayInput interface {
pulumi.Input
ToGetVpcPeeringConnectionFilterArrayOutput() GetVpcPeeringConnectionFilterArrayOutput
ToGetVpcPeeringConnectionFilterArrayOutputWithContext(context.Context) GetVpcPeeringConnectionFilterArrayOutput
}
GetVpcPeeringConnectionFilterArrayInput is an input type that accepts GetVpcPeeringConnectionFilterArray and GetVpcPeeringConnectionFilterArrayOutput values. You can construct a concrete instance of `GetVpcPeeringConnectionFilterArrayInput` via:
GetVpcPeeringConnectionFilterArray{ GetVpcPeeringConnectionFilterArgs{...} }
type GetVpcPeeringConnectionFilterArrayOutput ¶
type GetVpcPeeringConnectionFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcPeeringConnectionFilterArrayOutput) ElementType ¶
func (GetVpcPeeringConnectionFilterArrayOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutput ¶
func (o GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutput() GetVpcPeeringConnectionFilterArrayOutput
func (GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutputWithContext ¶
func (o GetVpcPeeringConnectionFilterArrayOutput) ToGetVpcPeeringConnectionFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterArrayOutput
type GetVpcPeeringConnectionFilterInput ¶
type GetVpcPeeringConnectionFilterInput interface {
pulumi.Input
ToGetVpcPeeringConnectionFilterOutput() GetVpcPeeringConnectionFilterOutput
ToGetVpcPeeringConnectionFilterOutputWithContext(context.Context) GetVpcPeeringConnectionFilterOutput
}
GetVpcPeeringConnectionFilterInput is an input type that accepts GetVpcPeeringConnectionFilterArgs and GetVpcPeeringConnectionFilterOutput values. You can construct a concrete instance of `GetVpcPeeringConnectionFilterInput` via:
GetVpcPeeringConnectionFilterArgs{...}
type GetVpcPeeringConnectionFilterOutput ¶
type GetVpcPeeringConnectionFilterOutput struct{ *pulumi.OutputState }
func (GetVpcPeeringConnectionFilterOutput) ElementType ¶
func (GetVpcPeeringConnectionFilterOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionFilterOutput) Name ¶
func (o GetVpcPeeringConnectionFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutput() GetVpcPeeringConnectionFilterOutput
func (GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutputWithContext ¶
func (o GetVpcPeeringConnectionFilterOutput) ToGetVpcPeeringConnectionFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionFilterOutput
func (GetVpcPeeringConnectionFilterOutput) Values ¶
func (o GetVpcPeeringConnectionFilterOutput) Values() pulumi.StringArrayOutput
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 GetVpcPeeringConnectionPeerCidrBlockSet ¶
type GetVpcPeeringConnectionPeerCidrBlockSet struct {
// The primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
CidrBlock string `pulumi:"cidrBlock"`
}
type GetVpcPeeringConnectionPeerCidrBlockSetArgs ¶
type GetVpcPeeringConnectionPeerCidrBlockSetArgs struct {
// The primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
}
func (GetVpcPeeringConnectionPeerCidrBlockSetArgs) ElementType ¶
func (GetVpcPeeringConnectionPeerCidrBlockSetArgs) ElementType() reflect.Type
func (GetVpcPeeringConnectionPeerCidrBlockSetArgs) ToGetVpcPeeringConnectionPeerCidrBlockSetOutput ¶
func (i GetVpcPeeringConnectionPeerCidrBlockSetArgs) ToGetVpcPeeringConnectionPeerCidrBlockSetOutput() GetVpcPeeringConnectionPeerCidrBlockSetOutput
func (GetVpcPeeringConnectionPeerCidrBlockSetArgs) ToGetVpcPeeringConnectionPeerCidrBlockSetOutputWithContext ¶
func (i GetVpcPeeringConnectionPeerCidrBlockSetArgs) ToGetVpcPeeringConnectionPeerCidrBlockSetOutputWithContext(ctx context.Context) GetVpcPeeringConnectionPeerCidrBlockSetOutput
type GetVpcPeeringConnectionPeerCidrBlockSetArray ¶
type GetVpcPeeringConnectionPeerCidrBlockSetArray []GetVpcPeeringConnectionPeerCidrBlockSetInput
func (GetVpcPeeringConnectionPeerCidrBlockSetArray) ElementType ¶
func (GetVpcPeeringConnectionPeerCidrBlockSetArray) ElementType() reflect.Type
func (GetVpcPeeringConnectionPeerCidrBlockSetArray) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutput ¶
func (i GetVpcPeeringConnectionPeerCidrBlockSetArray) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutput() GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
func (GetVpcPeeringConnectionPeerCidrBlockSetArray) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutputWithContext ¶
func (i GetVpcPeeringConnectionPeerCidrBlockSetArray) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
type GetVpcPeeringConnectionPeerCidrBlockSetArrayInput ¶
type GetVpcPeeringConnectionPeerCidrBlockSetArrayInput interface {
pulumi.Input
ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutput() GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutputWithContext(context.Context) GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
}
GetVpcPeeringConnectionPeerCidrBlockSetArrayInput is an input type that accepts GetVpcPeeringConnectionPeerCidrBlockSetArray and GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput values. You can construct a concrete instance of `GetVpcPeeringConnectionPeerCidrBlockSetArrayInput` via:
GetVpcPeeringConnectionPeerCidrBlockSetArray{ GetVpcPeeringConnectionPeerCidrBlockSetArgs{...} }
type GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput ¶
type GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput struct{ *pulumi.OutputState }
func (GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ElementType ¶
func (GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutput ¶
func (o GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutput() GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
func (GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutputWithContext ¶
func (o GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
type GetVpcPeeringConnectionPeerCidrBlockSetInput ¶
type GetVpcPeeringConnectionPeerCidrBlockSetInput interface {
pulumi.Input
ToGetVpcPeeringConnectionPeerCidrBlockSetOutput() GetVpcPeeringConnectionPeerCidrBlockSetOutput
ToGetVpcPeeringConnectionPeerCidrBlockSetOutputWithContext(context.Context) GetVpcPeeringConnectionPeerCidrBlockSetOutput
}
GetVpcPeeringConnectionPeerCidrBlockSetInput is an input type that accepts GetVpcPeeringConnectionPeerCidrBlockSetArgs and GetVpcPeeringConnectionPeerCidrBlockSetOutput values. You can construct a concrete instance of `GetVpcPeeringConnectionPeerCidrBlockSetInput` via:
GetVpcPeeringConnectionPeerCidrBlockSetArgs{...}
type GetVpcPeeringConnectionPeerCidrBlockSetOutput ¶
type GetVpcPeeringConnectionPeerCidrBlockSetOutput struct{ *pulumi.OutputState }
func (GetVpcPeeringConnectionPeerCidrBlockSetOutput) CidrBlock ¶
func (o GetVpcPeeringConnectionPeerCidrBlockSetOutput) CidrBlock() pulumi.StringOutput
The primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
func (GetVpcPeeringConnectionPeerCidrBlockSetOutput) ElementType ¶
func (GetVpcPeeringConnectionPeerCidrBlockSetOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionPeerCidrBlockSetOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetOutput ¶
func (o GetVpcPeeringConnectionPeerCidrBlockSetOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetOutput() GetVpcPeeringConnectionPeerCidrBlockSetOutput
func (GetVpcPeeringConnectionPeerCidrBlockSetOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetOutputWithContext ¶
func (o GetVpcPeeringConnectionPeerCidrBlockSetOutput) ToGetVpcPeeringConnectionPeerCidrBlockSetOutputWithContext(ctx context.Context) GetVpcPeeringConnectionPeerCidrBlockSetOutput
type GetVpcPeeringConnectionsArgs ¶
type GetVpcPeeringConnectionsArgs struct {
// Custom filter block as described below.
Filters []GetVpcPeeringConnectionsFilter `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired VPC Peering Connection.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getVpcPeeringConnections.
type GetVpcPeeringConnectionsFilter ¶
type GetVpcPeeringConnectionsFilter 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 GetVpcPeeringConnectionsFilterArgs ¶
type GetVpcPeeringConnectionsFilterArgs 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 (GetVpcPeeringConnectionsFilterArgs) ElementType ¶
func (GetVpcPeeringConnectionsFilterArgs) ElementType() reflect.Type
func (GetVpcPeeringConnectionsFilterArgs) ToGetVpcPeeringConnectionsFilterOutput ¶
func (i GetVpcPeeringConnectionsFilterArgs) ToGetVpcPeeringConnectionsFilterOutput() GetVpcPeeringConnectionsFilterOutput
func (GetVpcPeeringConnectionsFilterArgs) ToGetVpcPeeringConnectionsFilterOutputWithContext ¶
func (i GetVpcPeeringConnectionsFilterArgs) ToGetVpcPeeringConnectionsFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsFilterOutput
type GetVpcPeeringConnectionsFilterArray ¶
type GetVpcPeeringConnectionsFilterArray []GetVpcPeeringConnectionsFilterInput
func (GetVpcPeeringConnectionsFilterArray) ElementType ¶
func (GetVpcPeeringConnectionsFilterArray) ElementType() reflect.Type
func (GetVpcPeeringConnectionsFilterArray) ToGetVpcPeeringConnectionsFilterArrayOutput ¶
func (i GetVpcPeeringConnectionsFilterArray) ToGetVpcPeeringConnectionsFilterArrayOutput() GetVpcPeeringConnectionsFilterArrayOutput
func (GetVpcPeeringConnectionsFilterArray) ToGetVpcPeeringConnectionsFilterArrayOutputWithContext ¶
func (i GetVpcPeeringConnectionsFilterArray) ToGetVpcPeeringConnectionsFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsFilterArrayOutput
type GetVpcPeeringConnectionsFilterArrayInput ¶
type GetVpcPeeringConnectionsFilterArrayInput interface {
pulumi.Input
ToGetVpcPeeringConnectionsFilterArrayOutput() GetVpcPeeringConnectionsFilterArrayOutput
ToGetVpcPeeringConnectionsFilterArrayOutputWithContext(context.Context) GetVpcPeeringConnectionsFilterArrayOutput
}
GetVpcPeeringConnectionsFilterArrayInput is an input type that accepts GetVpcPeeringConnectionsFilterArray and GetVpcPeeringConnectionsFilterArrayOutput values. You can construct a concrete instance of `GetVpcPeeringConnectionsFilterArrayInput` via:
GetVpcPeeringConnectionsFilterArray{ GetVpcPeeringConnectionsFilterArgs{...} }
type GetVpcPeeringConnectionsFilterArrayOutput ¶
type GetVpcPeeringConnectionsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcPeeringConnectionsFilterArrayOutput) ElementType ¶
func (GetVpcPeeringConnectionsFilterArrayOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionsFilterArrayOutput) ToGetVpcPeeringConnectionsFilterArrayOutput ¶
func (o GetVpcPeeringConnectionsFilterArrayOutput) ToGetVpcPeeringConnectionsFilterArrayOutput() GetVpcPeeringConnectionsFilterArrayOutput
func (GetVpcPeeringConnectionsFilterArrayOutput) ToGetVpcPeeringConnectionsFilterArrayOutputWithContext ¶
func (o GetVpcPeeringConnectionsFilterArrayOutput) ToGetVpcPeeringConnectionsFilterArrayOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsFilterArrayOutput
type GetVpcPeeringConnectionsFilterInput ¶
type GetVpcPeeringConnectionsFilterInput interface {
pulumi.Input
ToGetVpcPeeringConnectionsFilterOutput() GetVpcPeeringConnectionsFilterOutput
ToGetVpcPeeringConnectionsFilterOutputWithContext(context.Context) GetVpcPeeringConnectionsFilterOutput
}
GetVpcPeeringConnectionsFilterInput is an input type that accepts GetVpcPeeringConnectionsFilterArgs and GetVpcPeeringConnectionsFilterOutput values. You can construct a concrete instance of `GetVpcPeeringConnectionsFilterInput` via:
GetVpcPeeringConnectionsFilterArgs{...}
type GetVpcPeeringConnectionsFilterOutput ¶
type GetVpcPeeringConnectionsFilterOutput struct{ *pulumi.OutputState }
func (GetVpcPeeringConnectionsFilterOutput) ElementType ¶
func (GetVpcPeeringConnectionsFilterOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionsFilterOutput) Name ¶
func (o GetVpcPeeringConnectionsFilterOutput) Name() pulumi.StringOutput
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 (GetVpcPeeringConnectionsFilterOutput) ToGetVpcPeeringConnectionsFilterOutput ¶
func (o GetVpcPeeringConnectionsFilterOutput) ToGetVpcPeeringConnectionsFilterOutput() GetVpcPeeringConnectionsFilterOutput
func (GetVpcPeeringConnectionsFilterOutput) ToGetVpcPeeringConnectionsFilterOutputWithContext ¶
func (o GetVpcPeeringConnectionsFilterOutput) ToGetVpcPeeringConnectionsFilterOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsFilterOutput
func (GetVpcPeeringConnectionsFilterOutput) Values ¶
func (o GetVpcPeeringConnectionsFilterOutput) Values() pulumi.StringArrayOutput
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 GetVpcPeeringConnectionsOutputArgs ¶
type GetVpcPeeringConnectionsOutputArgs struct {
// Custom filter block as described below.
Filters GetVpcPeeringConnectionsFilterArrayInput `pulumi:"filters"`
// A mapping of tags, each pair of which must exactly match
// a pair on the desired VPC Peering Connection.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getVpcPeeringConnections.
func (GetVpcPeeringConnectionsOutputArgs) ElementType ¶
func (GetVpcPeeringConnectionsOutputArgs) ElementType() reflect.Type
type GetVpcPeeringConnectionsResult ¶
type GetVpcPeeringConnectionsResult struct {
Filters []GetVpcPeeringConnectionsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// The IDs of the VPC Peering Connections.
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getVpcPeeringConnections.
func GetVpcPeeringConnections ¶
func GetVpcPeeringConnections(ctx *pulumi.Context, args *GetVpcPeeringConnectionsArgs, opts ...pulumi.InvokeOption) (*GetVpcPeeringConnectionsResult, error)
Use this data source to get IDs of Amazon VPC peering connections To get more details on each connection, use the data resource `ec2.VpcPeeringConnection`
type GetVpcPeeringConnectionsResultOutput ¶
type GetVpcPeeringConnectionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcPeeringConnections.
func GetVpcPeeringConnectionsOutput ¶
func GetVpcPeeringConnectionsOutput(ctx *pulumi.Context, args GetVpcPeeringConnectionsOutputArgs, opts ...pulumi.InvokeOption) GetVpcPeeringConnectionsResultOutput
func (GetVpcPeeringConnectionsResultOutput) ElementType ¶
func (GetVpcPeeringConnectionsResultOutput) ElementType() reflect.Type
func (GetVpcPeeringConnectionsResultOutput) Filters ¶
func (o GetVpcPeeringConnectionsResultOutput) Filters() GetVpcPeeringConnectionsFilterArrayOutput
func (GetVpcPeeringConnectionsResultOutput) Id ¶
func (o GetVpcPeeringConnectionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVpcPeeringConnectionsResultOutput) Ids ¶
func (o GetVpcPeeringConnectionsResultOutput) Ids() pulumi.StringArrayOutput
The IDs of the VPC Peering Connections.
func (GetVpcPeeringConnectionsResultOutput) Tags ¶
func (o GetVpcPeeringConnectionsResultOutput) Tags() pulumi.StringMapOutput
func (GetVpcPeeringConnectionsResultOutput) ToGetVpcPeeringConnectionsResultOutput ¶
func (o GetVpcPeeringConnectionsResultOutput) ToGetVpcPeeringConnectionsResultOutput() GetVpcPeeringConnectionsResultOutput
func (GetVpcPeeringConnectionsResultOutput) ToGetVpcPeeringConnectionsResultOutputWithContext ¶
func (o GetVpcPeeringConnectionsResultOutput) ToGetVpcPeeringConnectionsResultOutputWithContext(ctx context.Context) GetVpcPeeringConnectionsResultOutput
type GetVpcsArgs ¶
type GetVpcsArgs struct {
// Custom filter block as described below.
Filters []GetVpcsFilter `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired vpcs.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getVpcs.
type GetVpcsFilter ¶
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 ¶
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 ¶
func (GetVpcsFilterArgs) ElementType() reflect.Type
func (GetVpcsFilterArgs) ToGetVpcsFilterOutput ¶
func (i GetVpcsFilterArgs) ToGetVpcsFilterOutput() GetVpcsFilterOutput
func (GetVpcsFilterArgs) ToGetVpcsFilterOutputWithContext ¶
func (i GetVpcsFilterArgs) ToGetVpcsFilterOutputWithContext(ctx context.Context) GetVpcsFilterOutput
type GetVpcsFilterArray ¶
type GetVpcsFilterArray []GetVpcsFilterInput
func (GetVpcsFilterArray) ElementType ¶
func (GetVpcsFilterArray) ElementType() reflect.Type
func (GetVpcsFilterArray) ToGetVpcsFilterArrayOutput ¶
func (i GetVpcsFilterArray) ToGetVpcsFilterArrayOutput() GetVpcsFilterArrayOutput
func (GetVpcsFilterArray) ToGetVpcsFilterArrayOutputWithContext ¶
func (i GetVpcsFilterArray) ToGetVpcsFilterArrayOutputWithContext(ctx context.Context) GetVpcsFilterArrayOutput
type GetVpcsFilterArrayInput ¶
type GetVpcsFilterArrayInput interface {
pulumi.Input
ToGetVpcsFilterArrayOutput() GetVpcsFilterArrayOutput
ToGetVpcsFilterArrayOutputWithContext(context.Context) GetVpcsFilterArrayOutput
}
GetVpcsFilterArrayInput is an input type that accepts GetVpcsFilterArray and GetVpcsFilterArrayOutput values. You can construct a concrete instance of `GetVpcsFilterArrayInput` via:
GetVpcsFilterArray{ GetVpcsFilterArgs{...} }
type GetVpcsFilterArrayOutput ¶
type GetVpcsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpcsFilterArrayOutput) ElementType ¶
func (GetVpcsFilterArrayOutput) ElementType() reflect.Type
func (GetVpcsFilterArrayOutput) Index ¶
func (o GetVpcsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcsFilterOutput
func (GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutput ¶
func (o GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutput() GetVpcsFilterArrayOutput
func (GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutputWithContext ¶
func (o GetVpcsFilterArrayOutput) ToGetVpcsFilterArrayOutputWithContext(ctx context.Context) GetVpcsFilterArrayOutput
type GetVpcsFilterInput ¶
type GetVpcsFilterInput interface {
pulumi.Input
ToGetVpcsFilterOutput() GetVpcsFilterOutput
ToGetVpcsFilterOutputWithContext(context.Context) GetVpcsFilterOutput
}
GetVpcsFilterInput is an input type that accepts GetVpcsFilterArgs and GetVpcsFilterOutput values. You can construct a concrete instance of `GetVpcsFilterInput` via:
GetVpcsFilterArgs{...}
type GetVpcsFilterOutput ¶
type GetVpcsFilterOutput struct{ *pulumi.OutputState }
func (GetVpcsFilterOutput) ElementType ¶
func (GetVpcsFilterOutput) ElementType() reflect.Type
func (GetVpcsFilterOutput) Name ¶
func (o GetVpcsFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetVpcsFilterOutput) ToGetVpcsFilterOutput() GetVpcsFilterOutput
func (GetVpcsFilterOutput) ToGetVpcsFilterOutputWithContext ¶
func (o GetVpcsFilterOutput) ToGetVpcsFilterOutputWithContext(ctx context.Context) GetVpcsFilterOutput
func (GetVpcsFilterOutput) Values ¶
func (o GetVpcsFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field. A VPC will be selected if any one of the given values matches.
type GetVpcsOutputArgs ¶
type GetVpcsOutputArgs struct {
// Custom filter block as described below.
Filters GetVpcsFilterArrayInput `pulumi:"filters"`
// A map of tags, each pair of which must exactly match
// a pair on the desired vpcs.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getVpcs.
func (GetVpcsOutputArgs) ElementType ¶
func (GetVpcsOutputArgs) ElementType() reflect.Type
type GetVpcsResult ¶
type GetVpcsResult struct {
Filters []GetVpcsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// A list of all the VPC Ids found.
Ids []string `pulumi:"ids"`
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getVpcs.
func GetVpcs ¶
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".
type GetVpcsResultOutput ¶
type GetVpcsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcs.
func GetVpcsOutput ¶
func GetVpcsOutput(ctx *pulumi.Context, args GetVpcsOutputArgs, opts ...pulumi.InvokeOption) GetVpcsResultOutput
func (GetVpcsResultOutput) ElementType ¶
func (GetVpcsResultOutput) ElementType() reflect.Type
func (GetVpcsResultOutput) Filters ¶
func (o GetVpcsResultOutput) Filters() GetVpcsFilterArrayOutput
func (GetVpcsResultOutput) Id ¶
func (o GetVpcsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVpcsResultOutput) Ids ¶
func (o GetVpcsResultOutput) Ids() pulumi.StringArrayOutput
A list of all the VPC Ids found.
func (GetVpcsResultOutput) Tags ¶
func (o GetVpcsResultOutput) Tags() pulumi.StringMapOutput
func (GetVpcsResultOutput) ToGetVpcsResultOutput ¶
func (o GetVpcsResultOutput) ToGetVpcsResultOutput() GetVpcsResultOutput
func (GetVpcsResultOutput) ToGetVpcsResultOutputWithContext ¶
func (o GetVpcsResultOutput) ToGetVpcsResultOutputWithContext(ctx context.Context) GetVpcsResultOutput
type GetVpnGatewayFilter ¶
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 ¶
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 ¶
func (GetVpnGatewayFilterArgs) ElementType() reflect.Type
func (GetVpnGatewayFilterArgs) ToGetVpnGatewayFilterOutput ¶
func (i GetVpnGatewayFilterArgs) ToGetVpnGatewayFilterOutput() GetVpnGatewayFilterOutput
func (GetVpnGatewayFilterArgs) ToGetVpnGatewayFilterOutputWithContext ¶
func (i GetVpnGatewayFilterArgs) ToGetVpnGatewayFilterOutputWithContext(ctx context.Context) GetVpnGatewayFilterOutput
type GetVpnGatewayFilterArray ¶
type GetVpnGatewayFilterArray []GetVpnGatewayFilterInput
func (GetVpnGatewayFilterArray) ElementType ¶
func (GetVpnGatewayFilterArray) ElementType() reflect.Type
func (GetVpnGatewayFilterArray) ToGetVpnGatewayFilterArrayOutput ¶
func (i GetVpnGatewayFilterArray) ToGetVpnGatewayFilterArrayOutput() GetVpnGatewayFilterArrayOutput
func (GetVpnGatewayFilterArray) ToGetVpnGatewayFilterArrayOutputWithContext ¶
func (i GetVpnGatewayFilterArray) ToGetVpnGatewayFilterArrayOutputWithContext(ctx context.Context) GetVpnGatewayFilterArrayOutput
type GetVpnGatewayFilterArrayInput ¶
type GetVpnGatewayFilterArrayInput interface {
pulumi.Input
ToGetVpnGatewayFilterArrayOutput() GetVpnGatewayFilterArrayOutput
ToGetVpnGatewayFilterArrayOutputWithContext(context.Context) GetVpnGatewayFilterArrayOutput
}
GetVpnGatewayFilterArrayInput is an input type that accepts GetVpnGatewayFilterArray and GetVpnGatewayFilterArrayOutput values. You can construct a concrete instance of `GetVpnGatewayFilterArrayInput` via:
GetVpnGatewayFilterArray{ GetVpnGatewayFilterArgs{...} }
type GetVpnGatewayFilterArrayOutput ¶
type GetVpnGatewayFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVpnGatewayFilterArrayOutput) ElementType ¶
func (GetVpnGatewayFilterArrayOutput) ElementType() reflect.Type
func (GetVpnGatewayFilterArrayOutput) Index ¶
func (o GetVpnGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetVpnGatewayFilterOutput
func (GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutput ¶
func (o GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutput() GetVpnGatewayFilterArrayOutput
func (GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutputWithContext ¶
func (o GetVpnGatewayFilterArrayOutput) ToGetVpnGatewayFilterArrayOutputWithContext(ctx context.Context) GetVpnGatewayFilterArrayOutput
type GetVpnGatewayFilterInput ¶
type GetVpnGatewayFilterInput interface {
pulumi.Input
ToGetVpnGatewayFilterOutput() GetVpnGatewayFilterOutput
ToGetVpnGatewayFilterOutputWithContext(context.Context) GetVpnGatewayFilterOutput
}
GetVpnGatewayFilterInput is an input type that accepts GetVpnGatewayFilterArgs and GetVpnGatewayFilterOutput values. You can construct a concrete instance of `GetVpnGatewayFilterInput` via:
GetVpnGatewayFilterArgs{...}
type GetVpnGatewayFilterOutput ¶
type GetVpnGatewayFilterOutput struct{ *pulumi.OutputState }
func (GetVpnGatewayFilterOutput) ElementType ¶
func (GetVpnGatewayFilterOutput) ElementType() reflect.Type
func (GetVpnGatewayFilterOutput) Name ¶
func (o GetVpnGatewayFilterOutput) Name() pulumi.StringOutput
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 ¶
func (o GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutput() GetVpnGatewayFilterOutput
func (GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutputWithContext ¶
func (o GetVpnGatewayFilterOutput) ToGetVpnGatewayFilterOutputWithContext(ctx context.Context) GetVpnGatewayFilterOutput
func (GetVpnGatewayFilterOutput) Values ¶
func (o GetVpnGatewayFilterOutput) Values() pulumi.StringArrayOutput
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
// AMI to use for the instance. Required unless `launchTemplate` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
Ami pulumi.StringOutput `pulumi:"ami"`
// The ARN of the instance.
Arn pulumi.StringOutput `pulumi:"arn"`
// Whether to associate a public IP address with an instance in a VPC.
AssociatePublicIpAddress pulumi.BoolOutput `pulumi:"associatePublicIpAddress"`
// AZ to start the instance in.
AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
// Describes an instance's Capacity Reservation targeting option. See Capacity Reservation Specification below for more details.
CapacityReservationSpecification InstanceCapacityReservationSpecificationOutput `pulumi:"capacityReservationSpecification"`
// 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"`
// Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
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.BoolOutput `pulumi:"disableApiTermination"`
// One or more configuration blocks with 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. When accessing this as an attribute reference, it is a set of objects.
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.BoolOutput `pulumi:"ebsOptimized"`
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions InstanceEnclaveOptionsOutput `pulumi:"enclaveOptions"`
// One or more configuration blocks to customize Ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a set of objects.
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"`
// If true, the launched EC2 instance will support hibernation.
Hibernation pulumi.BoolPtrOutput `pulumi:"hibernation"`
// 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"`
// 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`.
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.StringOutput `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 instance type to use for the instance. Updates to this field will trigger a stop/start of the EC2 instance.
InstanceType pulumi.StringOutput `pulumi:"instanceType"`
// A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
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"`
// 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"`
// Specifies a Launch Template to configure the instance. Parameters configured on this resource will override the corresponding parameters in the Launch Template.
// See Launch Template Specification below for more details.
LaunchTemplate InstanceLaunchTemplatePtrOutput `pulumi:"launchTemplate"`
// Customize the metadata options of the instance. See Metadata Options below for more details.
MetadataOptions InstanceMetadataOptionsOutput `pulumi:"metadataOptions"`
// If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0)
Monitoring pulumi.BoolOutput `pulumi:"monitoring"`
// Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
NetworkInterfaces InstanceNetworkInterfaceArrayOutput `pulumi:"networkInterfaces"`
// The ARN of the Outpost the instance is assigned to.
OutpostArn pulumi.StringOutput `pulumi:"outpostArn"`
// 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"`
// Placement Group to start the instance in.
PlacementGroup pulumi.StringOutput `pulumi:"placementGroup"`
// The number of the partition the instance is in. Valid only if the `ec2.PlacementGroup` resource's `strategy` argument is set to `"partition"`.
PlacementPartitionNumber pulumi.IntOutput `pulumi:"placementPartitionNumber"`
// 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` 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"`
// Configuration block to customize details about the root block device of the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a list containing one object.
RootBlockDevice InstanceRootBlockDeviceOutput `pulumi:"rootBlockDevice"`
// A list of secondary private IPv4 addresses to assign to the instance's primary network interface (eth0) in a VPC. Can only be assigned to the primary network interface (eth0) attached at instance creation, not a pre-existing network interface i.e., referenced in a `networkInterface` block. Refer to the [Elastic network interfaces documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) to see the maximum number of private IP addresses allowed per instance type.
SecondaryPrivateIps pulumi.StringArrayOutput `pulumi:"secondaryPrivateIps"`
// A list of security group names to associate with.
//
// Deprecated: Use of `securityGroups` is discouraged as it does not allow for changes and will force your instance to be replaced if changes are made. To avoid this, use `vpcSecurityGroupIds` which allows for updates.
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"`
// VPC Subnet ID to launch in.
SubnetId pulumi.StringOutput `pulumi:"subnetId"`
// A map of tags to assign to the resource. Note that these tags apply to the instance and not block storage devices. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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"`
// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance.
UserData pulumi.StringOutput `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. Updates to this field will trigger a stop/start of the EC2 instance.
UserDataBase64 pulumi.StringOutput `pulumi:"userDataBase64"`
// A map of tags to assign, at instance-creation time, to root and EBS volumes.
VolumeTags pulumi.StringMapOutput `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.
## Example Usage ### Basic Example Using AMI Lookup
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ubuntu, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
MostRecent: pulumi.BoolRef(true),
Filters: []ec2.GetAmiFilter{
ec2.GetAmiFilter{
Name: "name",
Values: []string{
"ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*",
},
},
ec2.GetAmiFilter{
Name: "virtualization-type",
Values: []string{
"hvm",
},
},
},
Owners: []string{
"099720109477",
},
}, nil)
if err != nil {
return err
}
_, err = ec2.NewInstance(ctx, "web", &ec2.InstanceArgs{
Ami: pulumi.String(ubuntu.Id),
InstanceType: pulumi.String("t3.micro"),
Tags: pulumi.StringMap{
"Name": pulumi.String("HelloWorld"),
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Network and Credit Specification Example
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myVpc, err := ec2.NewVpc(ctx, "myVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("172.16.0.0/16"),
Tags: pulumi.StringMap{
"Name": pulumi.String("tf-example"),
},
})
if err != nil {
return err
}
mySubnet, err := ec2.NewSubnet(ctx, "mySubnet", &ec2.SubnetArgs{
VpcId: myVpc.ID(),
CidrBlock: pulumi.String("172.16.10.0/24"),
AvailabilityZone: pulumi.String("us-west-2a"),
Tags: pulumi.StringMap{
"Name": pulumi.String("tf-example"),
},
})
if err != nil {
return err
}
fooNetworkInterface, err := ec2.NewNetworkInterface(ctx, "fooNetworkInterface", &ec2.NetworkInterfaceArgs{
SubnetId: mySubnet.ID(),
PrivateIps: pulumi.StringArray{
pulumi.String("172.16.10.100"),
},
Tags: pulumi.StringMap{
"Name": pulumi.String("primary_network_interface"),
},
})
if err != nil {
return err
}
_, err = ec2.NewInstance(ctx, "fooInstance", &ec2.InstanceArgs{
Ami: pulumi.String("ami-005e54dee72cc1d00"),
InstanceType: pulumi.String("t2.micro"),
NetworkInterfaces: ec2.InstanceNetworkInterfaceArray{
&ec2.InstanceNetworkInterfaceArgs{
NetworkInterfaceId: fooNetworkInterface.ID(),
DeviceIndex: pulumi.Int(0),
},
},
CreditSpecification: &ec2.InstanceCreditSpecificationArgs{
CpuCredits: pulumi.String("unlimited"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Instances can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/instance:Instance web i-12345678
```
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.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct {
// AMI to use for the instance. Required unless `launchTemplate` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
Ami pulumi.StringPtrInput
// Whether to associate a public IP address with an instance in a VPC.
AssociatePublicIpAddress pulumi.BoolPtrInput
// AZ to start the instance in.
AvailabilityZone pulumi.StringPtrInput
// Describes an instance's Capacity Reservation targeting option. See Capacity Reservation Specification below for more details.
CapacityReservationSpecification InstanceCapacityReservationSpecificationPtrInput
// 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
// Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
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
// One or more configuration blocks with 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. When accessing this as an attribute reference, it is a set of objects.
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
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions InstanceEnclaveOptionsPtrInput
// One or more configuration blocks to customize Ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a set of objects.
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
// If true, the launched EC2 instance will support hibernation.
Hibernation pulumi.BoolPtrInput
// 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
// 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`.
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 instance type to use for the instance. Updates to this field will trigger a stop/start of the EC2 instance.
InstanceType pulumi.StringPtrInput
// A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
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
// Key name of the Key Pair to use for the instance; which can be managed using the `ec2.KeyPair` resource.
KeyName pulumi.StringPtrInput
// Specifies a Launch Template to configure the instance. Parameters configured on this resource will override the corresponding parameters in the Launch Template.
// See Launch Template Specification below for more details.
LaunchTemplate InstanceLaunchTemplatePtrInput
// Customize the metadata options of the instance. See Metadata Options below for more details.
MetadataOptions InstanceMetadataOptionsPtrInput
// 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
// Placement Group to start the instance in.
PlacementGroup pulumi.StringPtrInput
// The number of the partition the instance is in. Valid only if the `ec2.PlacementGroup` resource's `strategy` argument is set to `"partition"`.
PlacementPartitionNumber pulumi.IntPtrInput
// Private IP address to associate with the instance in a VPC.
PrivateIp pulumi.StringPtrInput
// Configuration block to customize details about the root block device of the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a list containing one object.
RootBlockDevice InstanceRootBlockDevicePtrInput
// A list of secondary private IPv4 addresses to assign to the instance's primary network interface (eth0) in a VPC. Can only be assigned to the primary network interface (eth0) attached at instance creation, not a pre-existing network interface i.e., referenced in a `networkInterface` block. Refer to the [Elastic network interfaces documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) to see the maximum number of private IP addresses allowed per instance type.
SecondaryPrivateIps pulumi.StringArrayInput
// A list of security group names to associate with.
//
// Deprecated: Use of `securityGroups` is discouraged as it does not allow for changes and will force your instance to be replaced if changes are made. To avoid this, use `vpcSecurityGroupIds` which allows for updates.
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
// VPC Subnet ID to launch in.
SubnetId pulumi.StringPtrInput
// A map of tags to assign to the resource. Note that these tags apply to the instance and not block storage devices. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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
// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance.
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. Updates to this field will trigger a stop/start of the EC2 instance.
UserDataBase64 pulumi.StringPtrInput
// A map of tags to assign, at instance-creation time, to root and EBS volumes.
VolumeTags pulumi.StringMapInput
// A list of security group IDs to associate with.
VpcSecurityGroupIds pulumi.StringArrayInput
}
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface {
pulumi.Input
ToInstanceArrayOutput() InstanceArrayOutput
ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceCapacityReservationSpecification ¶
type InstanceCapacityReservationSpecification struct {
// Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
CapacityReservationPreference *string `pulumi:"capacityReservationPreference"`
// Information about the target Capacity Reservation. See Capacity Reservation Target below for more details.
CapacityReservationTarget *InstanceCapacityReservationSpecificationCapacityReservationTarget `pulumi:"capacityReservationTarget"`
}
type InstanceCapacityReservationSpecificationArgs ¶
type InstanceCapacityReservationSpecificationArgs struct {
// Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
CapacityReservationPreference pulumi.StringPtrInput `pulumi:"capacityReservationPreference"`
// Information about the target Capacity Reservation. See Capacity Reservation Target below for more details.
CapacityReservationTarget InstanceCapacityReservationSpecificationCapacityReservationTargetPtrInput `pulumi:"capacityReservationTarget"`
}
func (InstanceCapacityReservationSpecificationArgs) ElementType ¶
func (InstanceCapacityReservationSpecificationArgs) ElementType() reflect.Type
func (InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationOutput ¶
func (i InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationOutput() InstanceCapacityReservationSpecificationOutput
func (InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationOutputWithContext ¶
func (i InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationOutput
func (InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationPtrOutput ¶
func (i InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationPtrOutput() InstanceCapacityReservationSpecificationPtrOutput
func (InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationPtrOutputWithContext ¶
func (i InstanceCapacityReservationSpecificationArgs) ToInstanceCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationPtrOutput
type InstanceCapacityReservationSpecificationCapacityReservationTarget ¶
type InstanceCapacityReservationSpecificationCapacityReservationTarget struct {
// The ID of the Capacity Reservation in which to run the instance.
CapacityReservationId *string `pulumi:"capacityReservationId"`
}
type InstanceCapacityReservationSpecificationCapacityReservationTargetArgs ¶
type InstanceCapacityReservationSpecificationCapacityReservationTargetArgs struct {
// The ID of the Capacity Reservation in which to run the instance.
CapacityReservationId pulumi.StringPtrInput `pulumi:"capacityReservationId"`
}
func (InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType ¶
func (InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType() reflect.Type
func (InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutput ¶
func (i InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
func (InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutputWithContext ¶
func (i InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
func (InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (i InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (i InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type InstanceCapacityReservationSpecificationCapacityReservationTargetInput ¶
type InstanceCapacityReservationSpecificationCapacityReservationTargetInput interface {
pulumi.Input
ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
}
InstanceCapacityReservationSpecificationCapacityReservationTargetInput is an input type that accepts InstanceCapacityReservationSpecificationCapacityReservationTargetArgs and InstanceCapacityReservationSpecificationCapacityReservationTargetOutput values. You can construct a concrete instance of `InstanceCapacityReservationSpecificationCapacityReservationTargetInput` via:
InstanceCapacityReservationSpecificationCapacityReservationTargetArgs{...}
type InstanceCapacityReservationSpecificationCapacityReservationTargetOutput ¶
type InstanceCapacityReservationSpecificationCapacityReservationTargetOutput struct{ *pulumi.OutputState }
func (InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId ¶
func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId() pulumi.StringPtrOutput
The ID of the Capacity Reservation in which to run the instance.
func (InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType ¶
func (InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType() reflect.Type
func (InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutput ¶
func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
func (InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutputWithContext ¶
func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetOutput
func (InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (o InstanceCapacityReservationSpecificationCapacityReservationTargetOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type InstanceCapacityReservationSpecificationCapacityReservationTargetPtrInput ¶
type InstanceCapacityReservationSpecificationCapacityReservationTargetPtrInput interface {
pulumi.Input
ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
}
InstanceCapacityReservationSpecificationCapacityReservationTargetPtrInput is an input type that accepts InstanceCapacityReservationSpecificationCapacityReservationTargetArgs, InstanceCapacityReservationSpecificationCapacityReservationTargetPtr and InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput values. You can construct a concrete instance of `InstanceCapacityReservationSpecificationCapacityReservationTargetPtrInput` via:
InstanceCapacityReservationSpecificationCapacityReservationTargetArgs{...}
or:
nil
func InstanceCapacityReservationSpecificationCapacityReservationTargetPtr ¶
func InstanceCapacityReservationSpecificationCapacityReservationTargetPtr(v *InstanceCapacityReservationSpecificationCapacityReservationTargetArgs) InstanceCapacityReservationSpecificationCapacityReservationTargetPtrInput
type InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
type InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput struct{ *pulumi.OutputState }
func (InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId ¶
func (o InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId() pulumi.StringPtrOutput
The ID of the Capacity Reservation in which to run the instance.
func (InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType ¶
func (InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType() reflect.Type
func (InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (o InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (o InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToInstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type InstanceCapacityReservationSpecificationInput ¶
type InstanceCapacityReservationSpecificationInput interface {
pulumi.Input
ToInstanceCapacityReservationSpecificationOutput() InstanceCapacityReservationSpecificationOutput
ToInstanceCapacityReservationSpecificationOutputWithContext(context.Context) InstanceCapacityReservationSpecificationOutput
}
InstanceCapacityReservationSpecificationInput is an input type that accepts InstanceCapacityReservationSpecificationArgs and InstanceCapacityReservationSpecificationOutput values. You can construct a concrete instance of `InstanceCapacityReservationSpecificationInput` via:
InstanceCapacityReservationSpecificationArgs{...}
type InstanceCapacityReservationSpecificationOutput ¶
type InstanceCapacityReservationSpecificationOutput struct{ *pulumi.OutputState }
func (InstanceCapacityReservationSpecificationOutput) CapacityReservationPreference ¶
func (o InstanceCapacityReservationSpecificationOutput) CapacityReservationPreference() pulumi.StringPtrOutput
Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
func (InstanceCapacityReservationSpecificationOutput) CapacityReservationTarget ¶
func (o InstanceCapacityReservationSpecificationOutput) CapacityReservationTarget() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
Information about the target Capacity Reservation. See Capacity Reservation Target below for more details.
func (InstanceCapacityReservationSpecificationOutput) ElementType ¶
func (InstanceCapacityReservationSpecificationOutput) ElementType() reflect.Type
func (InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationOutput ¶
func (o InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationOutput() InstanceCapacityReservationSpecificationOutput
func (InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationOutputWithContext ¶
func (o InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationOutput
func (InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationPtrOutput ¶
func (o InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationPtrOutput() InstanceCapacityReservationSpecificationPtrOutput
func (InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationPtrOutputWithContext ¶
func (o InstanceCapacityReservationSpecificationOutput) ToInstanceCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationPtrOutput
type InstanceCapacityReservationSpecificationPtrInput ¶
type InstanceCapacityReservationSpecificationPtrInput interface {
pulumi.Input
ToInstanceCapacityReservationSpecificationPtrOutput() InstanceCapacityReservationSpecificationPtrOutput
ToInstanceCapacityReservationSpecificationPtrOutputWithContext(context.Context) InstanceCapacityReservationSpecificationPtrOutput
}
InstanceCapacityReservationSpecificationPtrInput is an input type that accepts InstanceCapacityReservationSpecificationArgs, InstanceCapacityReservationSpecificationPtr and InstanceCapacityReservationSpecificationPtrOutput values. You can construct a concrete instance of `InstanceCapacityReservationSpecificationPtrInput` via:
InstanceCapacityReservationSpecificationArgs{...}
or:
nil
func InstanceCapacityReservationSpecificationPtr ¶
func InstanceCapacityReservationSpecificationPtr(v *InstanceCapacityReservationSpecificationArgs) InstanceCapacityReservationSpecificationPtrInput
type InstanceCapacityReservationSpecificationPtrOutput ¶
type InstanceCapacityReservationSpecificationPtrOutput struct{ *pulumi.OutputState }
func (InstanceCapacityReservationSpecificationPtrOutput) CapacityReservationPreference ¶
func (o InstanceCapacityReservationSpecificationPtrOutput) CapacityReservationPreference() pulumi.StringPtrOutput
Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
func (InstanceCapacityReservationSpecificationPtrOutput) CapacityReservationTarget ¶
func (o InstanceCapacityReservationSpecificationPtrOutput) CapacityReservationTarget() InstanceCapacityReservationSpecificationCapacityReservationTargetPtrOutput
Information about the target Capacity Reservation. See Capacity Reservation Target below for more details.
func (InstanceCapacityReservationSpecificationPtrOutput) ElementType ¶
func (InstanceCapacityReservationSpecificationPtrOutput) ElementType() reflect.Type
func (InstanceCapacityReservationSpecificationPtrOutput) ToInstanceCapacityReservationSpecificationPtrOutput ¶
func (o InstanceCapacityReservationSpecificationPtrOutput) ToInstanceCapacityReservationSpecificationPtrOutput() InstanceCapacityReservationSpecificationPtrOutput
func (InstanceCapacityReservationSpecificationPtrOutput) ToInstanceCapacityReservationSpecificationPtrOutputWithContext ¶
func (o InstanceCapacityReservationSpecificationPtrOutput) ToInstanceCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) InstanceCapacityReservationSpecificationPtrOutput
type InstanceCreditSpecification ¶
type InstanceCreditSpecification struct {
// Credit option for CPU usage. Valid values include `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
CpuCredits *string `pulumi:"cpuCredits"`
}
type InstanceCreditSpecificationArgs ¶
type InstanceCreditSpecificationArgs struct {
// Credit option for CPU usage. Valid values include `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
CpuCredits pulumi.StringPtrInput `pulumi:"cpuCredits"`
}
func (InstanceCreditSpecificationArgs) ElementType ¶
func (InstanceCreditSpecificationArgs) ElementType() reflect.Type
func (InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutput ¶
func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutput() InstanceCreditSpecificationOutput
func (InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutputWithContext ¶
func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationOutputWithContext(ctx context.Context) InstanceCreditSpecificationOutput
func (InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutput ¶
func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput
func (InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutputWithContext ¶
func (i InstanceCreditSpecificationArgs) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput
type InstanceCreditSpecificationInput ¶
type InstanceCreditSpecificationInput interface {
pulumi.Input
ToInstanceCreditSpecificationOutput() InstanceCreditSpecificationOutput
ToInstanceCreditSpecificationOutputWithContext(context.Context) InstanceCreditSpecificationOutput
}
InstanceCreditSpecificationInput is an input type that accepts InstanceCreditSpecificationArgs and InstanceCreditSpecificationOutput values. You can construct a concrete instance of `InstanceCreditSpecificationInput` via:
InstanceCreditSpecificationArgs{...}
type InstanceCreditSpecificationOutput ¶
type InstanceCreditSpecificationOutput struct{ *pulumi.OutputState }
func (InstanceCreditSpecificationOutput) CpuCredits ¶
func (o InstanceCreditSpecificationOutput) CpuCredits() pulumi.StringPtrOutput
Credit option for CPU usage. Valid values include `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
func (InstanceCreditSpecificationOutput) ElementType ¶
func (InstanceCreditSpecificationOutput) ElementType() reflect.Type
func (InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutput ¶
func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutput() InstanceCreditSpecificationOutput
func (InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutputWithContext ¶
func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationOutputWithContext(ctx context.Context) InstanceCreditSpecificationOutput
func (InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutput ¶
func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput
func (InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutputWithContext ¶
func (o InstanceCreditSpecificationOutput) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput
type InstanceCreditSpecificationPtrInput ¶
type InstanceCreditSpecificationPtrInput interface {
pulumi.Input
ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput
ToInstanceCreditSpecificationPtrOutputWithContext(context.Context) InstanceCreditSpecificationPtrOutput
}
InstanceCreditSpecificationPtrInput is an input type that accepts InstanceCreditSpecificationArgs, InstanceCreditSpecificationPtr and InstanceCreditSpecificationPtrOutput values. You can construct a concrete instance of `InstanceCreditSpecificationPtrInput` via:
InstanceCreditSpecificationArgs{...}
or:
nil
func InstanceCreditSpecificationPtr ¶
func InstanceCreditSpecificationPtr(v *InstanceCreditSpecificationArgs) InstanceCreditSpecificationPtrInput
type InstanceCreditSpecificationPtrOutput ¶
type InstanceCreditSpecificationPtrOutput struct{ *pulumi.OutputState }
func (InstanceCreditSpecificationPtrOutput) CpuCredits ¶
func (o InstanceCreditSpecificationPtrOutput) CpuCredits() pulumi.StringPtrOutput
Credit option for CPU usage. Valid values include `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
func (InstanceCreditSpecificationPtrOutput) ElementType ¶
func (InstanceCreditSpecificationPtrOutput) ElementType() reflect.Type
func (InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutput ¶
func (o InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutput() InstanceCreditSpecificationPtrOutput
func (InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutputWithContext ¶
func (o InstanceCreditSpecificationPtrOutput) ToInstanceCreditSpecificationPtrOutputWithContext(ctx context.Context) InstanceCreditSpecificationPtrOutput
type InstanceEbsBlockDevice ¶
type InstanceEbsBlockDevice struct {
// Whether the volume should be destroyed on instance termination. Defaults to `true`.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// Name of the device to mount.
DeviceName string `pulumi:"deviceName"`
// Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume. Defaults to `false`. Cannot be used with `snapshotId`. Must be configured to perform drift detection.
Encrypted *bool `pulumi:"encrypted"`
// Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
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"`
// Snapshot ID to mount.
SnapshotId *string `pulumi:"snapshotId"`
// A map of tags to assign to the device.
Tags map[string]string `pulumi:"tags"`
// Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
Throughput *int `pulumi:"throughput"`
// ID of the volume. For example, the ID can be accessed like this, `aws_instance.web.root_block_device.0.volume_id`.
VolumeId *string `pulumi:"volumeId"`
// Size of the volume in gibibytes (GiB).
VolumeSize *int `pulumi:"volumeSize"`
// Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
VolumeType *string `pulumi:"volumeType"`
}
type InstanceEbsBlockDeviceArgs ¶
type InstanceEbsBlockDeviceArgs struct {
// Whether the volume should be destroyed on instance termination. Defaults to `true`.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// Name of the device to mount.
DeviceName pulumi.StringInput `pulumi:"deviceName"`
// Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume. Defaults to `false`. Cannot be used with `snapshotId`. Must be configured to perform drift detection.
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
// Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
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"`
// Snapshot ID to mount.
SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
// A map of tags to assign to the device.
Tags pulumi.StringMapInput `pulumi:"tags"`
// Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
// ID of the volume. For example, the ID can be accessed like this, `aws_instance.web.root_block_device.0.volume_id`.
VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
// Size of the volume in gibibytes (GiB).
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
// Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (InstanceEbsBlockDeviceArgs) ElementType ¶
func (InstanceEbsBlockDeviceArgs) ElementType() reflect.Type
func (InstanceEbsBlockDeviceArgs) ToInstanceEbsBlockDeviceOutput ¶
func (i InstanceEbsBlockDeviceArgs) ToInstanceEbsBlockDeviceOutput() InstanceEbsBlockDeviceOutput
func (InstanceEbsBlockDeviceArgs) ToInstanceEbsBlockDeviceOutputWithContext ¶
func (i InstanceEbsBlockDeviceArgs) ToInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceOutput
type InstanceEbsBlockDeviceArray ¶
type InstanceEbsBlockDeviceArray []InstanceEbsBlockDeviceInput
func (InstanceEbsBlockDeviceArray) ElementType ¶
func (InstanceEbsBlockDeviceArray) ElementType() reflect.Type
func (InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutput ¶
func (i InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutput() InstanceEbsBlockDeviceArrayOutput
func (InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutputWithContext ¶
func (i InstanceEbsBlockDeviceArray) ToInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceArrayOutput
type InstanceEbsBlockDeviceArrayInput ¶
type InstanceEbsBlockDeviceArrayInput interface {
pulumi.Input
ToInstanceEbsBlockDeviceArrayOutput() InstanceEbsBlockDeviceArrayOutput
ToInstanceEbsBlockDeviceArrayOutputWithContext(context.Context) InstanceEbsBlockDeviceArrayOutput
}
InstanceEbsBlockDeviceArrayInput is an input type that accepts InstanceEbsBlockDeviceArray and InstanceEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `InstanceEbsBlockDeviceArrayInput` via:
InstanceEbsBlockDeviceArray{ InstanceEbsBlockDeviceArgs{...} }
type InstanceEbsBlockDeviceArrayOutput ¶
type InstanceEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (InstanceEbsBlockDeviceArrayOutput) ElementType ¶
func (InstanceEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (InstanceEbsBlockDeviceArrayOutput) Index ¶
func (o InstanceEbsBlockDeviceArrayOutput) Index(i pulumi.IntInput) InstanceEbsBlockDeviceOutput
func (InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutput ¶
func (o InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutput() InstanceEbsBlockDeviceArrayOutput
func (InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutputWithContext ¶
func (o InstanceEbsBlockDeviceArrayOutput) ToInstanceEbsBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceArrayOutput
type InstanceEbsBlockDeviceInput ¶
type InstanceEbsBlockDeviceInput interface {
pulumi.Input
ToInstanceEbsBlockDeviceOutput() InstanceEbsBlockDeviceOutput
ToInstanceEbsBlockDeviceOutputWithContext(context.Context) InstanceEbsBlockDeviceOutput
}
InstanceEbsBlockDeviceInput is an input type that accepts InstanceEbsBlockDeviceArgs and InstanceEbsBlockDeviceOutput values. You can construct a concrete instance of `InstanceEbsBlockDeviceInput` via:
InstanceEbsBlockDeviceArgs{...}
type InstanceEbsBlockDeviceOutput ¶
type InstanceEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (InstanceEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o InstanceEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Whether the volume should be destroyed on instance termination. Defaults to `true`.
func (InstanceEbsBlockDeviceOutput) DeviceName ¶
func (o InstanceEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
Name of the device to mount.
func (InstanceEbsBlockDeviceOutput) ElementType ¶
func (InstanceEbsBlockDeviceOutput) ElementType() reflect.Type
func (InstanceEbsBlockDeviceOutput) Encrypted ¶
func (o InstanceEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume. Defaults to `false`. Cannot be used with `snapshotId`. Must be configured to perform drift detection.
func (InstanceEbsBlockDeviceOutput) Iops ¶
func (o InstanceEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
func (InstanceEbsBlockDeviceOutput) KmsKeyId ¶
func (o InstanceEbsBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
func (InstanceEbsBlockDeviceOutput) SnapshotId ¶
func (o InstanceEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
Snapshot ID to mount.
func (InstanceEbsBlockDeviceOutput) Tags ¶
func (o InstanceEbsBlockDeviceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the device.
func (InstanceEbsBlockDeviceOutput) Throughput ¶
func (o InstanceEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
func (InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutput ¶
func (o InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutput() InstanceEbsBlockDeviceOutput
func (InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutputWithContext ¶
func (o InstanceEbsBlockDeviceOutput) ToInstanceEbsBlockDeviceOutputWithContext(ctx context.Context) InstanceEbsBlockDeviceOutput
func (InstanceEbsBlockDeviceOutput) VolumeId ¶
func (o InstanceEbsBlockDeviceOutput) VolumeId() pulumi.StringPtrOutput
ID of the volume. For example, the ID can be accessed like this, `aws_instance.web.root_block_device.0.volume_id`.
func (InstanceEbsBlockDeviceOutput) VolumeSize ¶
func (o InstanceEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
Size of the volume in gibibytes (GiB).
func (InstanceEbsBlockDeviceOutput) VolumeType ¶
func (o InstanceEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
type InstanceEnclaveOptions ¶
type InstanceEnclaveOptions struct {
// Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
Enabled *bool `pulumi:"enabled"`
}
type InstanceEnclaveOptionsArgs ¶
type InstanceEnclaveOptionsArgs struct {
// Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}
func (InstanceEnclaveOptionsArgs) ElementType ¶
func (InstanceEnclaveOptionsArgs) ElementType() reflect.Type
func (InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsOutput ¶
func (i InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsOutput() InstanceEnclaveOptionsOutput
func (InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsOutputWithContext ¶
func (i InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsOutputWithContext(ctx context.Context) InstanceEnclaveOptionsOutput
func (InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsPtrOutput ¶
func (i InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsPtrOutput() InstanceEnclaveOptionsPtrOutput
func (InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsPtrOutputWithContext ¶
func (i InstanceEnclaveOptionsArgs) ToInstanceEnclaveOptionsPtrOutputWithContext(ctx context.Context) InstanceEnclaveOptionsPtrOutput
type InstanceEnclaveOptionsInput ¶
type InstanceEnclaveOptionsInput interface {
pulumi.Input
ToInstanceEnclaveOptionsOutput() InstanceEnclaveOptionsOutput
ToInstanceEnclaveOptionsOutputWithContext(context.Context) InstanceEnclaveOptionsOutput
}
InstanceEnclaveOptionsInput is an input type that accepts InstanceEnclaveOptionsArgs and InstanceEnclaveOptionsOutput values. You can construct a concrete instance of `InstanceEnclaveOptionsInput` via:
InstanceEnclaveOptionsArgs{...}
type InstanceEnclaveOptionsOutput ¶
type InstanceEnclaveOptionsOutput struct{ *pulumi.OutputState }
func (InstanceEnclaveOptionsOutput) ElementType ¶
func (InstanceEnclaveOptionsOutput) ElementType() reflect.Type
func (InstanceEnclaveOptionsOutput) Enabled ¶
func (o InstanceEnclaveOptionsOutput) Enabled() pulumi.BoolPtrOutput
Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
func (InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsOutput ¶
func (o InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsOutput() InstanceEnclaveOptionsOutput
func (InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsOutputWithContext ¶
func (o InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsOutputWithContext(ctx context.Context) InstanceEnclaveOptionsOutput
func (InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsPtrOutput ¶
func (o InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsPtrOutput() InstanceEnclaveOptionsPtrOutput
func (InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsPtrOutputWithContext ¶
func (o InstanceEnclaveOptionsOutput) ToInstanceEnclaveOptionsPtrOutputWithContext(ctx context.Context) InstanceEnclaveOptionsPtrOutput
type InstanceEnclaveOptionsPtrInput ¶
type InstanceEnclaveOptionsPtrInput interface {
pulumi.Input
ToInstanceEnclaveOptionsPtrOutput() InstanceEnclaveOptionsPtrOutput
ToInstanceEnclaveOptionsPtrOutputWithContext(context.Context) InstanceEnclaveOptionsPtrOutput
}
InstanceEnclaveOptionsPtrInput is an input type that accepts InstanceEnclaveOptionsArgs, InstanceEnclaveOptionsPtr and InstanceEnclaveOptionsPtrOutput values. You can construct a concrete instance of `InstanceEnclaveOptionsPtrInput` via:
InstanceEnclaveOptionsArgs{...}
or:
nil
func InstanceEnclaveOptionsPtr ¶
func InstanceEnclaveOptionsPtr(v *InstanceEnclaveOptionsArgs) InstanceEnclaveOptionsPtrInput
type InstanceEnclaveOptionsPtrOutput ¶
type InstanceEnclaveOptionsPtrOutput struct{ *pulumi.OutputState }
func (InstanceEnclaveOptionsPtrOutput) Elem ¶
func (o InstanceEnclaveOptionsPtrOutput) Elem() InstanceEnclaveOptionsOutput
func (InstanceEnclaveOptionsPtrOutput) ElementType ¶
func (InstanceEnclaveOptionsPtrOutput) ElementType() reflect.Type
func (InstanceEnclaveOptionsPtrOutput) Enabled ¶
func (o InstanceEnclaveOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
func (InstanceEnclaveOptionsPtrOutput) ToInstanceEnclaveOptionsPtrOutput ¶
func (o InstanceEnclaveOptionsPtrOutput) ToInstanceEnclaveOptionsPtrOutput() InstanceEnclaveOptionsPtrOutput
func (InstanceEnclaveOptionsPtrOutput) ToInstanceEnclaveOptionsPtrOutputWithContext ¶
func (o InstanceEnclaveOptionsPtrOutput) ToInstanceEnclaveOptionsPtrOutputWithContext(ctx context.Context) InstanceEnclaveOptionsPtrOutput
type InstanceEphemeralBlockDevice ¶
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"`
// [Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g., `ephemeral0`).
VirtualName *string `pulumi:"virtualName"`
}
type InstanceEphemeralBlockDeviceArgs ¶
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"`
// [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 ¶
func (InstanceEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutput ¶
func (i InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutput() InstanceEphemeralBlockDeviceOutput
func (InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutputWithContext ¶
func (i InstanceEphemeralBlockDeviceArgs) ToInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceOutput
type InstanceEphemeralBlockDeviceArray ¶
type InstanceEphemeralBlockDeviceArray []InstanceEphemeralBlockDeviceInput
func (InstanceEphemeralBlockDeviceArray) ElementType ¶
func (InstanceEphemeralBlockDeviceArray) ElementType() reflect.Type
func (InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutput ¶
func (i InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutput() InstanceEphemeralBlockDeviceArrayOutput
func (InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutputWithContext ¶
func (i InstanceEphemeralBlockDeviceArray) ToInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceArrayOutput
type InstanceEphemeralBlockDeviceArrayInput ¶
type InstanceEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToInstanceEphemeralBlockDeviceArrayOutput() InstanceEphemeralBlockDeviceArrayOutput
ToInstanceEphemeralBlockDeviceArrayOutputWithContext(context.Context) InstanceEphemeralBlockDeviceArrayOutput
}
InstanceEphemeralBlockDeviceArrayInput is an input type that accepts InstanceEphemeralBlockDeviceArray and InstanceEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `InstanceEphemeralBlockDeviceArrayInput` via:
InstanceEphemeralBlockDeviceArray{ InstanceEphemeralBlockDeviceArgs{...} }
type InstanceEphemeralBlockDeviceArrayOutput ¶
type InstanceEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (InstanceEphemeralBlockDeviceArrayOutput) ElementType ¶
func (InstanceEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutput ¶
func (o InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutput() InstanceEphemeralBlockDeviceArrayOutput
func (InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutputWithContext ¶
func (o InstanceEphemeralBlockDeviceArrayOutput) ToInstanceEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceArrayOutput
type InstanceEphemeralBlockDeviceInput ¶
type InstanceEphemeralBlockDeviceInput interface {
pulumi.Input
ToInstanceEphemeralBlockDeviceOutput() InstanceEphemeralBlockDeviceOutput
ToInstanceEphemeralBlockDeviceOutputWithContext(context.Context) InstanceEphemeralBlockDeviceOutput
}
InstanceEphemeralBlockDeviceInput is an input type that accepts InstanceEphemeralBlockDeviceArgs and InstanceEphemeralBlockDeviceOutput values. You can construct a concrete instance of `InstanceEphemeralBlockDeviceInput` via:
InstanceEphemeralBlockDeviceArgs{...}
type InstanceEphemeralBlockDeviceOutput ¶
type InstanceEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (InstanceEphemeralBlockDeviceOutput) DeviceName ¶
func (o InstanceEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
The name of the block device to mount on the instance.
func (InstanceEphemeralBlockDeviceOutput) ElementType ¶
func (InstanceEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (InstanceEphemeralBlockDeviceOutput) NoDevice ¶
func (o InstanceEphemeralBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
Suppresses the specified device included in the AMI's block device mapping.
func (InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutput ¶
func (o InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutput() InstanceEphemeralBlockDeviceOutput
func (InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutputWithContext ¶
func (o InstanceEphemeralBlockDeviceOutput) ToInstanceEphemeralBlockDeviceOutputWithContext(ctx context.Context) InstanceEphemeralBlockDeviceOutput
func (InstanceEphemeralBlockDeviceOutput) VirtualName ¶
func (o InstanceEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
[Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g., `ephemeral0`).
type InstanceInput ¶
type InstanceInput interface {
pulumi.Input
ToInstanceOutput() InstanceOutput
ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}
type InstanceLaunchTemplate ¶
type InstanceLaunchTemplate struct {
// The ID of the launch template. Conflicts with `name`.
Id *string `pulumi:"id"`
// The name of the launch template. Conflicts with `id`.
Name *string `pulumi:"name"`
// Template version. Can be a specific version number, `$Latest` or `$Default`. The default value is `$Default`.
Version *string `pulumi:"version"`
}
type InstanceLaunchTemplateArgs ¶
type InstanceLaunchTemplateArgs struct {
// The ID of the launch template. Conflicts with `name`.
Id pulumi.StringPtrInput `pulumi:"id"`
// The name of the launch template. Conflicts with `id`.
Name pulumi.StringPtrInput `pulumi:"name"`
// Template version. Can be a specific version number, `$Latest` or `$Default`. The default value is `$Default`.
Version pulumi.StringPtrInput `pulumi:"version"`
}
func (InstanceLaunchTemplateArgs) ElementType ¶
func (InstanceLaunchTemplateArgs) ElementType() reflect.Type
func (InstanceLaunchTemplateArgs) ToInstanceLaunchTemplateOutput ¶
func (i InstanceLaunchTemplateArgs) ToInstanceLaunchTemplateOutput() InstanceLaunchTemplateOutput
func (InstanceLaunchTemplateArgs) ToInstanceLaunchTemplateOutputWithContext ¶
func (i InstanceLaunchTemplateArgs) ToInstanceLaunchTemplateOutputWithContext(ctx context.Context) InstanceLaunchTemplateOutput
func (InstanceLaunchTemplateArgs) ToInstanceLaunchTemplatePtrOutput ¶
func (i InstanceLaunchTemplateArgs) ToInstanceLaunchTemplatePtrOutput() InstanceLaunchTemplatePtrOutput
func (InstanceLaunchTemplateArgs) ToInstanceLaunchTemplatePtrOutputWithContext ¶
func (i InstanceLaunchTemplateArgs) ToInstanceLaunchTemplatePtrOutputWithContext(ctx context.Context) InstanceLaunchTemplatePtrOutput
type InstanceLaunchTemplateInput ¶
type InstanceLaunchTemplateInput interface {
pulumi.Input
ToInstanceLaunchTemplateOutput() InstanceLaunchTemplateOutput
ToInstanceLaunchTemplateOutputWithContext(context.Context) InstanceLaunchTemplateOutput
}
InstanceLaunchTemplateInput is an input type that accepts InstanceLaunchTemplateArgs and InstanceLaunchTemplateOutput values. You can construct a concrete instance of `InstanceLaunchTemplateInput` via:
InstanceLaunchTemplateArgs{...}
type InstanceLaunchTemplateOutput ¶
type InstanceLaunchTemplateOutput struct{ *pulumi.OutputState }
func (InstanceLaunchTemplateOutput) ElementType ¶
func (InstanceLaunchTemplateOutput) ElementType() reflect.Type
func (InstanceLaunchTemplateOutput) Id ¶
func (o InstanceLaunchTemplateOutput) Id() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `name`.
func (InstanceLaunchTemplateOutput) Name ¶
func (o InstanceLaunchTemplateOutput) Name() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `id`.
func (InstanceLaunchTemplateOutput) ToInstanceLaunchTemplateOutput ¶
func (o InstanceLaunchTemplateOutput) ToInstanceLaunchTemplateOutput() InstanceLaunchTemplateOutput
func (InstanceLaunchTemplateOutput) ToInstanceLaunchTemplateOutputWithContext ¶
func (o InstanceLaunchTemplateOutput) ToInstanceLaunchTemplateOutputWithContext(ctx context.Context) InstanceLaunchTemplateOutput
func (InstanceLaunchTemplateOutput) ToInstanceLaunchTemplatePtrOutput ¶
func (o InstanceLaunchTemplateOutput) ToInstanceLaunchTemplatePtrOutput() InstanceLaunchTemplatePtrOutput
func (InstanceLaunchTemplateOutput) ToInstanceLaunchTemplatePtrOutputWithContext ¶
func (o InstanceLaunchTemplateOutput) ToInstanceLaunchTemplatePtrOutputWithContext(ctx context.Context) InstanceLaunchTemplatePtrOutput
func (InstanceLaunchTemplateOutput) Version ¶
func (o InstanceLaunchTemplateOutput) Version() pulumi.StringPtrOutput
Template version. Can be a specific version number, `$Latest` or `$Default`. The default value is `$Default`.
type InstanceLaunchTemplatePtrInput ¶
type InstanceLaunchTemplatePtrInput interface {
pulumi.Input
ToInstanceLaunchTemplatePtrOutput() InstanceLaunchTemplatePtrOutput
ToInstanceLaunchTemplatePtrOutputWithContext(context.Context) InstanceLaunchTemplatePtrOutput
}
InstanceLaunchTemplatePtrInput is an input type that accepts InstanceLaunchTemplateArgs, InstanceLaunchTemplatePtr and InstanceLaunchTemplatePtrOutput values. You can construct a concrete instance of `InstanceLaunchTemplatePtrInput` via:
InstanceLaunchTemplateArgs{...}
or:
nil
func InstanceLaunchTemplatePtr ¶
func InstanceLaunchTemplatePtr(v *InstanceLaunchTemplateArgs) InstanceLaunchTemplatePtrInput
type InstanceLaunchTemplatePtrOutput ¶
type InstanceLaunchTemplatePtrOutput struct{ *pulumi.OutputState }
func (InstanceLaunchTemplatePtrOutput) Elem ¶
func (o InstanceLaunchTemplatePtrOutput) Elem() InstanceLaunchTemplateOutput
func (InstanceLaunchTemplatePtrOutput) ElementType ¶
func (InstanceLaunchTemplatePtrOutput) ElementType() reflect.Type
func (InstanceLaunchTemplatePtrOutput) Id ¶
func (o InstanceLaunchTemplatePtrOutput) Id() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `name`.
func (InstanceLaunchTemplatePtrOutput) Name ¶
func (o InstanceLaunchTemplatePtrOutput) Name() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `id`.
func (InstanceLaunchTemplatePtrOutput) ToInstanceLaunchTemplatePtrOutput ¶
func (o InstanceLaunchTemplatePtrOutput) ToInstanceLaunchTemplatePtrOutput() InstanceLaunchTemplatePtrOutput
func (InstanceLaunchTemplatePtrOutput) ToInstanceLaunchTemplatePtrOutputWithContext ¶
func (o InstanceLaunchTemplatePtrOutput) ToInstanceLaunchTemplatePtrOutputWithContext(ctx context.Context) InstanceLaunchTemplatePtrOutput
func (InstanceLaunchTemplatePtrOutput) Version ¶
func (o InstanceLaunchTemplatePtrOutput) Version() pulumi.StringPtrOutput
Template version. Can be a specific version number, `$Latest` or `$Default`. The default value is `$Default`.
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface {
pulumi.Input
ToInstanceMapOutput() InstanceMapOutput
ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMetadataOptions ¶
type InstanceMetadataOptions struct {
// Whether the metadata service is available. Valid values include `enabled` or `disabled`. Defaults to `enabled`.
HttpEndpoint *string `pulumi:"httpEndpoint"`
// Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`.
HttpPutResponseHopLimit *int `pulumi:"httpPutResponseHopLimit"`
// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`.
HttpTokens *string `pulumi:"httpTokens"`
// Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`.
InstanceMetadataTags *string `pulumi:"instanceMetadataTags"`
}
type InstanceMetadataOptionsArgs ¶
type InstanceMetadataOptionsArgs struct {
// Whether the metadata service is available. Valid values include `enabled` or `disabled`. Defaults to `enabled`.
HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"`
// Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`.
HttpPutResponseHopLimit pulumi.IntPtrInput `pulumi:"httpPutResponseHopLimit"`
// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`.
HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"`
// Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`.
InstanceMetadataTags pulumi.StringPtrInput `pulumi:"instanceMetadataTags"`
}
func (InstanceMetadataOptionsArgs) ElementType ¶
func (InstanceMetadataOptionsArgs) ElementType() reflect.Type
func (InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsOutput ¶
func (i InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsOutput() InstanceMetadataOptionsOutput
func (InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsOutputWithContext ¶
func (i InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsOutputWithContext(ctx context.Context) InstanceMetadataOptionsOutput
func (InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsPtrOutput ¶
func (i InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsPtrOutput() InstanceMetadataOptionsPtrOutput
func (InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsPtrOutputWithContext ¶
func (i InstanceMetadataOptionsArgs) ToInstanceMetadataOptionsPtrOutputWithContext(ctx context.Context) InstanceMetadataOptionsPtrOutput
type InstanceMetadataOptionsInput ¶
type InstanceMetadataOptionsInput interface {
pulumi.Input
ToInstanceMetadataOptionsOutput() InstanceMetadataOptionsOutput
ToInstanceMetadataOptionsOutputWithContext(context.Context) InstanceMetadataOptionsOutput
}
InstanceMetadataOptionsInput is an input type that accepts InstanceMetadataOptionsArgs and InstanceMetadataOptionsOutput values. You can construct a concrete instance of `InstanceMetadataOptionsInput` via:
InstanceMetadataOptionsArgs{...}
type InstanceMetadataOptionsOutput ¶
type InstanceMetadataOptionsOutput struct{ *pulumi.OutputState }
func (InstanceMetadataOptionsOutput) ElementType ¶
func (InstanceMetadataOptionsOutput) ElementType() reflect.Type
func (InstanceMetadataOptionsOutput) HttpEndpoint ¶
func (o InstanceMetadataOptionsOutput) HttpEndpoint() pulumi.StringPtrOutput
Whether the metadata service is available. Valid values include `enabled` or `disabled`. Defaults to `enabled`.
func (InstanceMetadataOptionsOutput) HttpPutResponseHopLimit ¶
func (o InstanceMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`.
func (InstanceMetadataOptionsOutput) HttpTokens ¶
func (o InstanceMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput
Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`.
func (InstanceMetadataOptionsOutput) InstanceMetadataTags ¶
func (o InstanceMetadataOptionsOutput) InstanceMetadataTags() pulumi.StringPtrOutput
Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`.
func (InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsOutput ¶
func (o InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsOutput() InstanceMetadataOptionsOutput
func (InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsOutputWithContext ¶
func (o InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsOutputWithContext(ctx context.Context) InstanceMetadataOptionsOutput
func (InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsPtrOutput ¶
func (o InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsPtrOutput() InstanceMetadataOptionsPtrOutput
func (InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsPtrOutputWithContext ¶
func (o InstanceMetadataOptionsOutput) ToInstanceMetadataOptionsPtrOutputWithContext(ctx context.Context) InstanceMetadataOptionsPtrOutput
type InstanceMetadataOptionsPtrInput ¶
type InstanceMetadataOptionsPtrInput interface {
pulumi.Input
ToInstanceMetadataOptionsPtrOutput() InstanceMetadataOptionsPtrOutput
ToInstanceMetadataOptionsPtrOutputWithContext(context.Context) InstanceMetadataOptionsPtrOutput
}
InstanceMetadataOptionsPtrInput is an input type that accepts InstanceMetadataOptionsArgs, InstanceMetadataOptionsPtr and InstanceMetadataOptionsPtrOutput values. You can construct a concrete instance of `InstanceMetadataOptionsPtrInput` via:
InstanceMetadataOptionsArgs{...}
or:
nil
func InstanceMetadataOptionsPtr ¶
func InstanceMetadataOptionsPtr(v *InstanceMetadataOptionsArgs) InstanceMetadataOptionsPtrInput
type InstanceMetadataOptionsPtrOutput ¶
type InstanceMetadataOptionsPtrOutput struct{ *pulumi.OutputState }
func (InstanceMetadataOptionsPtrOutput) Elem ¶
func (o InstanceMetadataOptionsPtrOutput) Elem() InstanceMetadataOptionsOutput
func (InstanceMetadataOptionsPtrOutput) ElementType ¶
func (InstanceMetadataOptionsPtrOutput) ElementType() reflect.Type
func (InstanceMetadataOptionsPtrOutput) HttpEndpoint ¶
func (o InstanceMetadataOptionsPtrOutput) HttpEndpoint() pulumi.StringPtrOutput
Whether the metadata service is available. Valid values include `enabled` or `disabled`. Defaults to `enabled`.
func (InstanceMetadataOptionsPtrOutput) HttpPutResponseHopLimit ¶
func (o InstanceMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`.
func (InstanceMetadataOptionsPtrOutput) HttpTokens ¶
func (o InstanceMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput
Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`.
func (InstanceMetadataOptionsPtrOutput) InstanceMetadataTags ¶
func (o InstanceMetadataOptionsPtrOutput) InstanceMetadataTags() pulumi.StringPtrOutput
Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`.
func (InstanceMetadataOptionsPtrOutput) ToInstanceMetadataOptionsPtrOutput ¶
func (o InstanceMetadataOptionsPtrOutput) ToInstanceMetadataOptionsPtrOutput() InstanceMetadataOptionsPtrOutput
func (InstanceMetadataOptionsPtrOutput) ToInstanceMetadataOptionsPtrOutputWithContext ¶
func (o InstanceMetadataOptionsPtrOutput) ToInstanceMetadataOptionsPtrOutputWithContext(ctx context.Context) InstanceMetadataOptionsPtrOutput
type InstanceNetworkInterface ¶
type InstanceNetworkInterface struct {
// Whether or not to delete the network interface on instance termination. Defaults to `false`. Currently, the only valid value is `false`, as this is only supported when creating new network interfaces when launching an instance.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// Integer index of the network interface attachment. Limited by instance type.
DeviceIndex int `pulumi:"deviceIndex"`
// ID of the network interface to attach.
NetworkInterfaceId string `pulumi:"networkInterfaceId"`
}
type InstanceNetworkInterfaceArgs ¶
type InstanceNetworkInterfaceArgs struct {
// Whether or not to delete the network interface on instance termination. Defaults to `false`. Currently, the only valid value is `false`, as this is only supported when creating new network interfaces when launching an instance.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// Integer index of the network interface attachment. Limited by instance type.
DeviceIndex pulumi.IntInput `pulumi:"deviceIndex"`
// ID of the network interface to attach.
NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
}
func (InstanceNetworkInterfaceArgs) ElementType ¶
func (InstanceNetworkInterfaceArgs) ElementType() reflect.Type
func (InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutput ¶
func (i InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutput() InstanceNetworkInterfaceOutput
func (InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutputWithContext ¶
func (i InstanceNetworkInterfaceArgs) ToInstanceNetworkInterfaceOutputWithContext(ctx context.Context) InstanceNetworkInterfaceOutput
type InstanceNetworkInterfaceArray ¶
type InstanceNetworkInterfaceArray []InstanceNetworkInterfaceInput
func (InstanceNetworkInterfaceArray) ElementType ¶
func (InstanceNetworkInterfaceArray) ElementType() reflect.Type
func (InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutput ¶
func (i InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutput() InstanceNetworkInterfaceArrayOutput
func (InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutputWithContext ¶
func (i InstanceNetworkInterfaceArray) ToInstanceNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstanceNetworkInterfaceArrayOutput
type InstanceNetworkInterfaceArrayInput ¶
type InstanceNetworkInterfaceArrayInput interface {
pulumi.Input
ToInstanceNetworkInterfaceArrayOutput() InstanceNetworkInterfaceArrayOutput
ToInstanceNetworkInterfaceArrayOutputWithContext(context.Context) InstanceNetworkInterfaceArrayOutput
}
InstanceNetworkInterfaceArrayInput is an input type that accepts InstanceNetworkInterfaceArray and InstanceNetworkInterfaceArrayOutput values. You can construct a concrete instance of `InstanceNetworkInterfaceArrayInput` via:
InstanceNetworkInterfaceArray{ InstanceNetworkInterfaceArgs{...} }
type InstanceNetworkInterfaceArrayOutput ¶
type InstanceNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (InstanceNetworkInterfaceArrayOutput) ElementType ¶
func (InstanceNetworkInterfaceArrayOutput) ElementType() reflect.Type
func (InstanceNetworkInterfaceArrayOutput) Index ¶
func (o InstanceNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) InstanceNetworkInterfaceOutput
func (InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutput ¶
func (o InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutput() InstanceNetworkInterfaceArrayOutput
func (InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutputWithContext ¶
func (o InstanceNetworkInterfaceArrayOutput) ToInstanceNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstanceNetworkInterfaceArrayOutput
type InstanceNetworkInterfaceInput ¶
type InstanceNetworkInterfaceInput interface {
pulumi.Input
ToInstanceNetworkInterfaceOutput() InstanceNetworkInterfaceOutput
ToInstanceNetworkInterfaceOutputWithContext(context.Context) InstanceNetworkInterfaceOutput
}
InstanceNetworkInterfaceInput is an input type that accepts InstanceNetworkInterfaceArgs and InstanceNetworkInterfaceOutput values. You can construct a concrete instance of `InstanceNetworkInterfaceInput` via:
InstanceNetworkInterfaceArgs{...}
type InstanceNetworkInterfaceOutput ¶
type InstanceNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (InstanceNetworkInterfaceOutput) DeleteOnTermination ¶
func (o InstanceNetworkInterfaceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Whether or not to delete the network interface on instance termination. Defaults to `false`. Currently, the only valid value is `false`, as this is only supported when creating new network interfaces when launching an instance.
func (InstanceNetworkInterfaceOutput) DeviceIndex ¶
func (o InstanceNetworkInterfaceOutput) DeviceIndex() pulumi.IntOutput
Integer index of the network interface attachment. Limited by instance type.
func (InstanceNetworkInterfaceOutput) ElementType ¶
func (InstanceNetworkInterfaceOutput) ElementType() reflect.Type
func (InstanceNetworkInterfaceOutput) NetworkInterfaceId ¶
func (o InstanceNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
ID of the network interface to attach.
func (InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutput ¶
func (o InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutput() InstanceNetworkInterfaceOutput
func (InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutputWithContext ¶
func (o InstanceNetworkInterfaceOutput) ToInstanceNetworkInterfaceOutputWithContext(ctx context.Context) InstanceNetworkInterfaceOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstancePlatform ¶
type InstancePlatform string
func (InstancePlatform) ElementType ¶
func (InstancePlatform) ElementType() reflect.Type
func (InstancePlatform) ToInstancePlatformOutput ¶
func (e InstancePlatform) ToInstancePlatformOutput() InstancePlatformOutput
func (InstancePlatform) ToInstancePlatformOutputWithContext ¶
func (e InstancePlatform) ToInstancePlatformOutputWithContext(ctx context.Context) InstancePlatformOutput
func (InstancePlatform) ToInstancePlatformPtrOutput ¶
func (e InstancePlatform) ToInstancePlatformPtrOutput() InstancePlatformPtrOutput
func (InstancePlatform) ToInstancePlatformPtrOutputWithContext ¶
func (e InstancePlatform) ToInstancePlatformPtrOutputWithContext(ctx context.Context) InstancePlatformPtrOutput
func (InstancePlatform) ToStringOutput ¶
func (e InstancePlatform) ToStringOutput() pulumi.StringOutput
func (InstancePlatform) ToStringOutputWithContext ¶
func (e InstancePlatform) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InstancePlatform) ToStringPtrOutput ¶
func (e InstancePlatform) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstancePlatform) ToStringPtrOutputWithContext ¶
func (e InstancePlatform) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InstancePlatformInput ¶
type InstancePlatformInput interface {
pulumi.Input
ToInstancePlatformOutput() InstancePlatformOutput
ToInstancePlatformOutputWithContext(context.Context) InstancePlatformOutput
}
InstancePlatformInput is an input type that accepts InstancePlatformArgs and InstancePlatformOutput values. You can construct a concrete instance of `InstancePlatformInput` via:
InstancePlatformArgs{...}
type InstancePlatformOutput ¶
type InstancePlatformOutput struct{ *pulumi.OutputState }
func (InstancePlatformOutput) ElementType ¶
func (InstancePlatformOutput) ElementType() reflect.Type
func (InstancePlatformOutput) ToInstancePlatformOutput ¶
func (o InstancePlatformOutput) ToInstancePlatformOutput() InstancePlatformOutput
func (InstancePlatformOutput) ToInstancePlatformOutputWithContext ¶
func (o InstancePlatformOutput) ToInstancePlatformOutputWithContext(ctx context.Context) InstancePlatformOutput
func (InstancePlatformOutput) ToInstancePlatformPtrOutput ¶
func (o InstancePlatformOutput) ToInstancePlatformPtrOutput() InstancePlatformPtrOutput
func (InstancePlatformOutput) ToInstancePlatformPtrOutputWithContext ¶
func (o InstancePlatformOutput) ToInstancePlatformPtrOutputWithContext(ctx context.Context) InstancePlatformPtrOutput
func (InstancePlatformOutput) ToStringOutput ¶
func (o InstancePlatformOutput) ToStringOutput() pulumi.StringOutput
func (InstancePlatformOutput) ToStringOutputWithContext ¶
func (o InstancePlatformOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InstancePlatformOutput) ToStringPtrOutput ¶
func (o InstancePlatformOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstancePlatformOutput) ToStringPtrOutputWithContext ¶
func (o InstancePlatformOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InstancePlatformPtrInput ¶
type InstancePlatformPtrInput interface {
pulumi.Input
ToInstancePlatformPtrOutput() InstancePlatformPtrOutput
ToInstancePlatformPtrOutputWithContext(context.Context) InstancePlatformPtrOutput
}
func InstancePlatformPtr ¶
func InstancePlatformPtr(v string) InstancePlatformPtrInput
type InstancePlatformPtrOutput ¶
type InstancePlatformPtrOutput struct{ *pulumi.OutputState }
func (InstancePlatformPtrOutput) Elem ¶
func (o InstancePlatformPtrOutput) Elem() InstancePlatformOutput
func (InstancePlatformPtrOutput) ElementType ¶
func (InstancePlatformPtrOutput) ElementType() reflect.Type
func (InstancePlatformPtrOutput) ToInstancePlatformPtrOutput ¶
func (o InstancePlatformPtrOutput) ToInstancePlatformPtrOutput() InstancePlatformPtrOutput
func (InstancePlatformPtrOutput) ToInstancePlatformPtrOutputWithContext ¶
func (o InstancePlatformPtrOutput) ToInstancePlatformPtrOutputWithContext(ctx context.Context) InstancePlatformPtrOutput
func (InstancePlatformPtrOutput) ToStringPtrOutput ¶
func (o InstancePlatformPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstancePlatformPtrOutput) ToStringPtrOutputWithContext ¶
func (o InstancePlatformPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InstanceRootBlockDevice ¶
type InstanceRootBlockDevice struct {
// Whether the volume should be destroyed on instance termination. Defaults to `true`.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// Name of the device to mount.
DeviceName *string `pulumi:"deviceName"`
// Whether to enable volume encryption. Defaults to `false`. Must be configured to perform drift detection.
Encrypted *bool `pulumi:"encrypted"`
// Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
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"`
// A map of tags to assign to the device.
Tags map[string]string `pulumi:"tags"`
// Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
Throughput *int `pulumi:"throughput"`
// ID of the volume. For example, the ID can be accessed like this, `aws_instance.web.root_block_device.0.volume_id`.
VolumeId *string `pulumi:"volumeId"`
// Size of the volume in gibibytes (GiB).
VolumeSize *int `pulumi:"volumeSize"`
// Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
VolumeType *string `pulumi:"volumeType"`
}
type InstanceRootBlockDeviceArgs ¶
type InstanceRootBlockDeviceArgs struct {
// Whether the volume should be destroyed on instance termination. Defaults to `true`.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// Name of the device to mount.
DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
// Whether to enable volume encryption. Defaults to `false`. Must be configured to perform drift detection.
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
// Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
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"`
// A map of tags to assign to the device.
Tags pulumi.StringMapInput `pulumi:"tags"`
// Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
// ID of the volume. For example, the ID can be accessed like this, `aws_instance.web.root_block_device.0.volume_id`.
VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
// Size of the volume in gibibytes (GiB).
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
// Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (InstanceRootBlockDeviceArgs) ElementType ¶
func (InstanceRootBlockDeviceArgs) ElementType() reflect.Type
func (InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutput ¶
func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutput() InstanceRootBlockDeviceOutput
func (InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutputWithContext ¶
func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDeviceOutputWithContext(ctx context.Context) InstanceRootBlockDeviceOutput
func (InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutput ¶
func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput
func (InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutputWithContext ¶
func (i InstanceRootBlockDeviceArgs) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput
type InstanceRootBlockDeviceInput ¶
type InstanceRootBlockDeviceInput interface {
pulumi.Input
ToInstanceRootBlockDeviceOutput() InstanceRootBlockDeviceOutput
ToInstanceRootBlockDeviceOutputWithContext(context.Context) InstanceRootBlockDeviceOutput
}
InstanceRootBlockDeviceInput is an input type that accepts InstanceRootBlockDeviceArgs and InstanceRootBlockDeviceOutput values. You can construct a concrete instance of `InstanceRootBlockDeviceInput` via:
InstanceRootBlockDeviceArgs{...}
type InstanceRootBlockDeviceOutput ¶
type InstanceRootBlockDeviceOutput struct{ *pulumi.OutputState }
func (InstanceRootBlockDeviceOutput) DeleteOnTermination ¶
func (o InstanceRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Whether the volume should be destroyed on instance termination. Defaults to `true`.
func (InstanceRootBlockDeviceOutput) DeviceName ¶
func (o InstanceRootBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
Name of the device to mount.
func (InstanceRootBlockDeviceOutput) ElementType ¶
func (InstanceRootBlockDeviceOutput) ElementType() reflect.Type
func (InstanceRootBlockDeviceOutput) Encrypted ¶
func (o InstanceRootBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
Whether to enable volume encryption. Defaults to `false`. Must be configured to perform drift detection.
func (InstanceRootBlockDeviceOutput) Iops ¶
func (o InstanceRootBlockDeviceOutput) Iops() pulumi.IntPtrOutput
Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
func (InstanceRootBlockDeviceOutput) KmsKeyId ¶
func (o InstanceRootBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
func (InstanceRootBlockDeviceOutput) Tags ¶
func (o InstanceRootBlockDeviceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the device.
func (InstanceRootBlockDeviceOutput) Throughput ¶
func (o InstanceRootBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
func (InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutput ¶
func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutput() InstanceRootBlockDeviceOutput
func (InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutputWithContext ¶
func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDeviceOutputWithContext(ctx context.Context) InstanceRootBlockDeviceOutput
func (InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutput ¶
func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput
func (InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutputWithContext ¶
func (o InstanceRootBlockDeviceOutput) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput
func (InstanceRootBlockDeviceOutput) VolumeId ¶
func (o InstanceRootBlockDeviceOutput) VolumeId() pulumi.StringPtrOutput
ID of the volume. For example, the ID can be accessed like this, `aws_instance.web.root_block_device.0.volume_id`.
func (InstanceRootBlockDeviceOutput) VolumeSize ¶
func (o InstanceRootBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
Size of the volume in gibibytes (GiB).
func (InstanceRootBlockDeviceOutput) VolumeType ¶
func (o InstanceRootBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
type InstanceRootBlockDevicePtrInput ¶
type InstanceRootBlockDevicePtrInput interface {
pulumi.Input
ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput
ToInstanceRootBlockDevicePtrOutputWithContext(context.Context) InstanceRootBlockDevicePtrOutput
}
InstanceRootBlockDevicePtrInput is an input type that accepts InstanceRootBlockDeviceArgs, InstanceRootBlockDevicePtr and InstanceRootBlockDevicePtrOutput values. You can construct a concrete instance of `InstanceRootBlockDevicePtrInput` via:
InstanceRootBlockDeviceArgs{...}
or:
nil
func InstanceRootBlockDevicePtr ¶
func InstanceRootBlockDevicePtr(v *InstanceRootBlockDeviceArgs) InstanceRootBlockDevicePtrInput
type InstanceRootBlockDevicePtrOutput ¶
type InstanceRootBlockDevicePtrOutput struct{ *pulumi.OutputState }
func (InstanceRootBlockDevicePtrOutput) DeleteOnTermination ¶
func (o InstanceRootBlockDevicePtrOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Whether the volume should be destroyed on instance termination. Defaults to `true`.
func (InstanceRootBlockDevicePtrOutput) DeviceName ¶
func (o InstanceRootBlockDevicePtrOutput) DeviceName() pulumi.StringPtrOutput
Name of the device to mount.
func (InstanceRootBlockDevicePtrOutput) Elem ¶
func (o InstanceRootBlockDevicePtrOutput) Elem() InstanceRootBlockDeviceOutput
func (InstanceRootBlockDevicePtrOutput) ElementType ¶
func (InstanceRootBlockDevicePtrOutput) ElementType() reflect.Type
func (InstanceRootBlockDevicePtrOutput) Encrypted ¶
func (o InstanceRootBlockDevicePtrOutput) Encrypted() pulumi.BoolPtrOutput
Whether to enable volume encryption. Defaults to `false`. Must be configured to perform drift detection.
func (InstanceRootBlockDevicePtrOutput) Iops ¶
func (o InstanceRootBlockDevicePtrOutput) Iops() pulumi.IntPtrOutput
Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
func (InstanceRootBlockDevicePtrOutput) KmsKeyId ¶
func (o InstanceRootBlockDevicePtrOutput) KmsKeyId() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
func (InstanceRootBlockDevicePtrOutput) Tags ¶
func (o InstanceRootBlockDevicePtrOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the device.
func (InstanceRootBlockDevicePtrOutput) Throughput ¶
func (o InstanceRootBlockDevicePtrOutput) Throughput() pulumi.IntPtrOutput
Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
func (InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutput ¶
func (o InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutput() InstanceRootBlockDevicePtrOutput
func (InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutputWithContext ¶
func (o InstanceRootBlockDevicePtrOutput) ToInstanceRootBlockDevicePtrOutputWithContext(ctx context.Context) InstanceRootBlockDevicePtrOutput
func (InstanceRootBlockDevicePtrOutput) VolumeId ¶
func (o InstanceRootBlockDevicePtrOutput) VolumeId() pulumi.StringPtrOutput
ID of the volume. For example, the ID can be accessed like this, `aws_instance.web.root_block_device.0.volume_id`.
func (InstanceRootBlockDevicePtrOutput) VolumeSize ¶
func (o InstanceRootBlockDevicePtrOutput) VolumeSize() pulumi.IntPtrOutput
Size of the volume in gibibytes (GiB).
func (InstanceRootBlockDevicePtrOutput) VolumeType ¶
func (o InstanceRootBlockDevicePtrOutput) VolumeType() pulumi.StringPtrOutput
Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
type InstanceState ¶
type InstanceState struct {
// AMI to use for the instance. Required unless `launchTemplate` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
Ami pulumi.StringPtrInput
// The ARN of the instance.
Arn pulumi.StringPtrInput
// Whether to associate a public IP address with an instance in a VPC.
AssociatePublicIpAddress pulumi.BoolPtrInput
// AZ to start the instance in.
AvailabilityZone pulumi.StringPtrInput
// Describes an instance's Capacity Reservation targeting option. See Capacity Reservation Specification below for more details.
CapacityReservationSpecification InstanceCapacityReservationSpecificationPtrInput
// 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
// Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
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
// One or more configuration blocks with 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. When accessing this as an attribute reference, it is a set of objects.
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
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions InstanceEnclaveOptionsPtrInput
// One or more configuration blocks to customize Ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a set of objects.
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
// If true, the launched EC2 instance will support hibernation.
Hibernation pulumi.BoolPtrInput
// 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
// 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`.
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 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 instance type to use for the instance. Updates to this field will trigger a stop/start of the EC2 instance.
InstanceType pulumi.StringPtrInput
// A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
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
// Key name of the Key Pair to use for the instance; which can be managed using the `ec2.KeyPair` resource.
KeyName pulumi.StringPtrInput
// Specifies a Launch Template to configure the instance. Parameters configured on this resource will override the corresponding parameters in the Launch Template.
// See Launch Template Specification below for more details.
LaunchTemplate InstanceLaunchTemplatePtrInput
// Customize the metadata options of the instance. See Metadata Options below for more details.
MetadataOptions InstanceMetadataOptionsPtrInput
// 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 ARN of the Outpost the instance is assigned to.
OutpostArn pulumi.StringPtrInput
// 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
// Placement Group to start the instance in.
PlacementGroup pulumi.StringPtrInput
// The number of the partition the instance is in. Valid only if the `ec2.PlacementGroup` resource's `strategy` argument is set to `"partition"`.
PlacementPartitionNumber pulumi.IntPtrInput
// 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` 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
// Configuration block to customize details about the root block device of the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a list containing one object.
RootBlockDevice InstanceRootBlockDevicePtrInput
// A list of secondary private IPv4 addresses to assign to the instance's primary network interface (eth0) in a VPC. Can only be assigned to the primary network interface (eth0) attached at instance creation, not a pre-existing network interface i.e., referenced in a `networkInterface` block. Refer to the [Elastic network interfaces documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) to see the maximum number of private IP addresses allowed per instance type.
SecondaryPrivateIps pulumi.StringArrayInput
// A list of security group names to associate with.
//
// Deprecated: Use of `securityGroups` is discouraged as it does not allow for changes and will force your instance to be replaced if changes are made. To avoid this, use `vpcSecurityGroupIds` which allows for updates.
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
// VPC Subnet ID to launch in.
SubnetId pulumi.StringPtrInput
// A map of tags to assign to the resource. Note that these tags apply to the instance and not block storage devices. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider.
TagsAll pulumi.StringMapInput
// 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
// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance.
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. Updates to this field will trigger a stop/start of the EC2 instance.
UserDataBase64 pulumi.StringPtrInput
// A map of tags to assign, at instance-creation time, to root and EBS volumes.
VolumeTags pulumi.StringMapInput
// A list of security group IDs to associate with.
VpcSecurityGroupIds pulumi.StringArrayInput
}
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type InstanceType ¶
type InstanceType string
func (InstanceType) ElementType ¶
func (InstanceType) ElementType() reflect.Type
func (InstanceType) ToInstanceTypeOutput ¶
func (e InstanceType) ToInstanceTypeOutput() InstanceTypeOutput
func (InstanceType) ToInstanceTypeOutputWithContext ¶
func (e InstanceType) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput
func (InstanceType) ToInstanceTypePtrOutput ¶
func (e InstanceType) ToInstanceTypePtrOutput() InstanceTypePtrOutput
func (InstanceType) ToInstanceTypePtrOutputWithContext ¶
func (e InstanceType) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
func (InstanceType) ToStringOutput ¶
func (e InstanceType) ToStringOutput() pulumi.StringOutput
func (InstanceType) ToStringOutputWithContext ¶
func (e InstanceType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InstanceType) ToStringPtrOutput ¶
func (e InstanceType) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstanceType) ToStringPtrOutputWithContext ¶
func (e InstanceType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InstanceTypeInput ¶
type InstanceTypeInput interface {
pulumi.Input
ToInstanceTypeOutput() InstanceTypeOutput
ToInstanceTypeOutputWithContext(context.Context) InstanceTypeOutput
}
InstanceTypeInput is an input type that accepts InstanceTypeArgs and InstanceTypeOutput values. You can construct a concrete instance of `InstanceTypeInput` via:
InstanceTypeArgs{...}
type InstanceTypeOutput ¶
type InstanceTypeOutput struct{ *pulumi.OutputState }
func (InstanceTypeOutput) ElementType ¶
func (InstanceTypeOutput) ElementType() reflect.Type
func (InstanceTypeOutput) ToInstanceTypeOutput ¶
func (o InstanceTypeOutput) ToInstanceTypeOutput() InstanceTypeOutput
func (InstanceTypeOutput) ToInstanceTypeOutputWithContext ¶
func (o InstanceTypeOutput) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput
func (InstanceTypeOutput) ToInstanceTypePtrOutput ¶
func (o InstanceTypeOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput
func (InstanceTypeOutput) ToInstanceTypePtrOutputWithContext ¶
func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
func (InstanceTypeOutput) ToStringOutput ¶
func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput
func (InstanceTypeOutput) ToStringOutputWithContext ¶
func (o InstanceTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InstanceTypeOutput) ToStringPtrOutput ¶
func (o InstanceTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstanceTypeOutput) ToStringPtrOutputWithContext ¶
func (o InstanceTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InstanceTypePtrInput ¶
type InstanceTypePtrInput interface {
pulumi.Input
ToInstanceTypePtrOutput() InstanceTypePtrOutput
ToInstanceTypePtrOutputWithContext(context.Context) InstanceTypePtrOutput
}
func InstanceTypePtr ¶
func InstanceTypePtr(v string) InstanceTypePtrInput
type InstanceTypePtrOutput ¶
type InstanceTypePtrOutput struct{ *pulumi.OutputState }
func (InstanceTypePtrOutput) Elem ¶
func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput
func (InstanceTypePtrOutput) ElementType ¶
func (InstanceTypePtrOutput) ElementType() reflect.Type
func (InstanceTypePtrOutput) ToInstanceTypePtrOutput ¶
func (o InstanceTypePtrOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput
func (InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext ¶
func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
func (InstanceTypePtrOutput) ToStringPtrOutput ¶
func (o InstanceTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstanceTypePtrOutput) ToStringPtrOutputWithContext ¶
func (o InstanceTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InternetGateway ¶
type InternetGateway struct {
pulumi.CustomResourceState
// The ARN of the Internet Gateway.
Arn pulumi.StringOutput `pulumi:"arn"`
// The ID of the AWS account that owns the internet gateway.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The VPC ID to create in. See the ec2.InternetGatewayAttachment resource for an alternate way to attach an Internet Gateway to a VPC.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides a resource to create a VPC Internet Gateway.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewInternetGateway(ctx, "gw", &ec2.InternetGatewayArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
Tags: pulumi.StringMap{
"Name": pulumi.String("main"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Internet Gateways can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/internetGateway:InternetGateway gw igw-c0a643a9
```
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.
func (*InternetGateway) ElementType ¶
func (*InternetGateway) ElementType() reflect.Type
func (*InternetGateway) ToInternetGatewayOutput ¶
func (i *InternetGateway) ToInternetGatewayOutput() InternetGatewayOutput
func (*InternetGateway) ToInternetGatewayOutputWithContext ¶
func (i *InternetGateway) ToInternetGatewayOutputWithContext(ctx context.Context) InternetGatewayOutput
type InternetGatewayArgs ¶
type InternetGatewayArgs struct {
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The VPC ID to create in. See the ec2.InternetGatewayAttachment resource for an alternate way to attach an Internet Gateway to a VPC.
VpcId pulumi.StringPtrInput
}
The set of arguments for constructing a InternetGateway resource.
func (InternetGatewayArgs) ElementType ¶
func (InternetGatewayArgs) ElementType() reflect.Type
type InternetGatewayArray ¶
type InternetGatewayArray []InternetGatewayInput
func (InternetGatewayArray) ElementType ¶
func (InternetGatewayArray) ElementType() reflect.Type
func (InternetGatewayArray) ToInternetGatewayArrayOutput ¶
func (i InternetGatewayArray) ToInternetGatewayArrayOutput() InternetGatewayArrayOutput
func (InternetGatewayArray) ToInternetGatewayArrayOutputWithContext ¶
func (i InternetGatewayArray) ToInternetGatewayArrayOutputWithContext(ctx context.Context) InternetGatewayArrayOutput
type InternetGatewayArrayInput ¶
type InternetGatewayArrayInput interface {
pulumi.Input
ToInternetGatewayArrayOutput() InternetGatewayArrayOutput
ToInternetGatewayArrayOutputWithContext(context.Context) InternetGatewayArrayOutput
}
InternetGatewayArrayInput is an input type that accepts InternetGatewayArray and InternetGatewayArrayOutput values. You can construct a concrete instance of `InternetGatewayArrayInput` via:
InternetGatewayArray{ InternetGatewayArgs{...} }
type InternetGatewayArrayOutput ¶
type InternetGatewayArrayOutput struct{ *pulumi.OutputState }
func (InternetGatewayArrayOutput) ElementType ¶
func (InternetGatewayArrayOutput) ElementType() reflect.Type
func (InternetGatewayArrayOutput) Index ¶
func (o InternetGatewayArrayOutput) Index(i pulumi.IntInput) InternetGatewayOutput
func (InternetGatewayArrayOutput) ToInternetGatewayArrayOutput ¶
func (o InternetGatewayArrayOutput) ToInternetGatewayArrayOutput() InternetGatewayArrayOutput
func (InternetGatewayArrayOutput) ToInternetGatewayArrayOutputWithContext ¶
func (o InternetGatewayArrayOutput) ToInternetGatewayArrayOutputWithContext(ctx context.Context) InternetGatewayArrayOutput
type InternetGatewayAttachment ¶ added in v5.1.0
type InternetGatewayAttachment struct {
pulumi.CustomResourceState
// The ID of the internet gateway.
InternetGatewayId pulumi.StringOutput `pulumi:"internetGatewayId"`
// The ID of the VPC.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides a resource to create a VPC Internet Gateway Attachment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
exampleInternetGateway, err := ec2.NewInternetGateway(ctx, "exampleInternetGateway", nil)
if err != nil {
return err
}
_, err = ec2.NewInternetGatewayAttachment(ctx, "exampleInternetGatewayAttachment", &ec2.InternetGatewayAttachmentArgs{
InternetGatewayId: exampleInternetGateway.ID(),
VpcId: exampleVpc.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Internet Gateway Attachments can be imported using the `id`, e.g.
```sh
$ pulumi import aws:ec2/internetGatewayAttachment:InternetGatewayAttachment example igw-c0a643a9:vpc-123456
```
func GetInternetGatewayAttachment ¶
func GetInternetGatewayAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InternetGatewayAttachmentState, opts ...pulumi.ResourceOption) (*InternetGatewayAttachment, error)
GetInternetGatewayAttachment gets an existing InternetGatewayAttachment 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 NewInternetGatewayAttachment ¶ added in v5.1.0
func NewInternetGatewayAttachment(ctx *pulumi.Context, name string, args *InternetGatewayAttachmentArgs, opts ...pulumi.ResourceOption) (*InternetGatewayAttachment, error)
NewInternetGatewayAttachment registers a new resource with the given unique name, arguments, and options.
func (*InternetGatewayAttachment) ElementType ¶ added in v5.1.0
func (*InternetGatewayAttachment) ElementType() reflect.Type
func (*InternetGatewayAttachment) ToInternetGatewayAttachmentOutput ¶ added in v5.1.0
func (i *InternetGatewayAttachment) ToInternetGatewayAttachmentOutput() InternetGatewayAttachmentOutput
func (*InternetGatewayAttachment) ToInternetGatewayAttachmentOutputWithContext ¶ added in v5.1.0
func (i *InternetGatewayAttachment) ToInternetGatewayAttachmentOutputWithContext(ctx context.Context) InternetGatewayAttachmentOutput
type InternetGatewayAttachmentArgs ¶ added in v5.1.0
type InternetGatewayAttachmentArgs struct {
// The ID of the internet gateway.
InternetGatewayId pulumi.StringInput
// The ID of the VPC.
VpcId pulumi.StringInput
}
The set of arguments for constructing a InternetGatewayAttachment resource.
func (InternetGatewayAttachmentArgs) ElementType ¶ added in v5.1.0
func (InternetGatewayAttachmentArgs) ElementType() reflect.Type
type InternetGatewayAttachmentArray ¶ added in v5.1.0
type InternetGatewayAttachmentArray []InternetGatewayAttachmentInput
func (InternetGatewayAttachmentArray) ElementType ¶ added in v5.1.0
func (InternetGatewayAttachmentArray) ElementType() reflect.Type
func (InternetGatewayAttachmentArray) ToInternetGatewayAttachmentArrayOutput ¶ added in v5.1.0
func (i InternetGatewayAttachmentArray) ToInternetGatewayAttachmentArrayOutput() InternetGatewayAttachmentArrayOutput
func (InternetGatewayAttachmentArray) ToInternetGatewayAttachmentArrayOutputWithContext ¶ added in v5.1.0
func (i InternetGatewayAttachmentArray) ToInternetGatewayAttachmentArrayOutputWithContext(ctx context.Context) InternetGatewayAttachmentArrayOutput
type InternetGatewayAttachmentArrayInput ¶ added in v5.1.0
type InternetGatewayAttachmentArrayInput interface {
pulumi.Input
ToInternetGatewayAttachmentArrayOutput() InternetGatewayAttachmentArrayOutput
ToInternetGatewayAttachmentArrayOutputWithContext(context.Context) InternetGatewayAttachmentArrayOutput
}
InternetGatewayAttachmentArrayInput is an input type that accepts InternetGatewayAttachmentArray and InternetGatewayAttachmentArrayOutput values. You can construct a concrete instance of `InternetGatewayAttachmentArrayInput` via:
InternetGatewayAttachmentArray{ InternetGatewayAttachmentArgs{...} }
type InternetGatewayAttachmentArrayOutput ¶ added in v5.1.0
type InternetGatewayAttachmentArrayOutput struct{ *pulumi.OutputState }
func (InternetGatewayAttachmentArrayOutput) ElementType ¶ added in v5.1.0
func (InternetGatewayAttachmentArrayOutput) ElementType() reflect.Type
func (InternetGatewayAttachmentArrayOutput) Index ¶ added in v5.1.0
func (o InternetGatewayAttachmentArrayOutput) Index(i pulumi.IntInput) InternetGatewayAttachmentOutput
func (InternetGatewayAttachmentArrayOutput) ToInternetGatewayAttachmentArrayOutput ¶ added in v5.1.0
func (o InternetGatewayAttachmentArrayOutput) ToInternetGatewayAttachmentArrayOutput() InternetGatewayAttachmentArrayOutput
func (InternetGatewayAttachmentArrayOutput) ToInternetGatewayAttachmentArrayOutputWithContext ¶ added in v5.1.0
func (o InternetGatewayAttachmentArrayOutput) ToInternetGatewayAttachmentArrayOutputWithContext(ctx context.Context) InternetGatewayAttachmentArrayOutput
type InternetGatewayAttachmentInput ¶ added in v5.1.0
type InternetGatewayAttachmentInput interface {
pulumi.Input
ToInternetGatewayAttachmentOutput() InternetGatewayAttachmentOutput
ToInternetGatewayAttachmentOutputWithContext(ctx context.Context) InternetGatewayAttachmentOutput
}
type InternetGatewayAttachmentMap ¶ added in v5.1.0
type InternetGatewayAttachmentMap map[string]InternetGatewayAttachmentInput
func (InternetGatewayAttachmentMap) ElementType ¶ added in v5.1.0
func (InternetGatewayAttachmentMap) ElementType() reflect.Type
func (InternetGatewayAttachmentMap) ToInternetGatewayAttachmentMapOutput ¶ added in v5.1.0
func (i InternetGatewayAttachmentMap) ToInternetGatewayAttachmentMapOutput() InternetGatewayAttachmentMapOutput
func (InternetGatewayAttachmentMap) ToInternetGatewayAttachmentMapOutputWithContext ¶ added in v5.1.0
func (i InternetGatewayAttachmentMap) ToInternetGatewayAttachmentMapOutputWithContext(ctx context.Context) InternetGatewayAttachmentMapOutput
type InternetGatewayAttachmentMapInput ¶ added in v5.1.0
type InternetGatewayAttachmentMapInput interface {
pulumi.Input
ToInternetGatewayAttachmentMapOutput() InternetGatewayAttachmentMapOutput
ToInternetGatewayAttachmentMapOutputWithContext(context.Context) InternetGatewayAttachmentMapOutput
}
InternetGatewayAttachmentMapInput is an input type that accepts InternetGatewayAttachmentMap and InternetGatewayAttachmentMapOutput values. You can construct a concrete instance of `InternetGatewayAttachmentMapInput` via:
InternetGatewayAttachmentMap{ "key": InternetGatewayAttachmentArgs{...} }
type InternetGatewayAttachmentMapOutput ¶ added in v5.1.0
type InternetGatewayAttachmentMapOutput struct{ *pulumi.OutputState }
func (InternetGatewayAttachmentMapOutput) ElementType ¶ added in v5.1.0
func (InternetGatewayAttachmentMapOutput) ElementType() reflect.Type
func (InternetGatewayAttachmentMapOutput) MapIndex ¶ added in v5.1.0
func (o InternetGatewayAttachmentMapOutput) MapIndex(k pulumi.StringInput) InternetGatewayAttachmentOutput
func (InternetGatewayAttachmentMapOutput) ToInternetGatewayAttachmentMapOutput ¶ added in v5.1.0
func (o InternetGatewayAttachmentMapOutput) ToInternetGatewayAttachmentMapOutput() InternetGatewayAttachmentMapOutput
func (InternetGatewayAttachmentMapOutput) ToInternetGatewayAttachmentMapOutputWithContext ¶ added in v5.1.0
func (o InternetGatewayAttachmentMapOutput) ToInternetGatewayAttachmentMapOutputWithContext(ctx context.Context) InternetGatewayAttachmentMapOutput
type InternetGatewayAttachmentOutput ¶ added in v5.1.0
type InternetGatewayAttachmentOutput struct{ *pulumi.OutputState }
func (InternetGatewayAttachmentOutput) ElementType ¶ added in v5.1.0
func (InternetGatewayAttachmentOutput) ElementType() reflect.Type
func (InternetGatewayAttachmentOutput) ToInternetGatewayAttachmentOutput ¶ added in v5.1.0
func (o InternetGatewayAttachmentOutput) ToInternetGatewayAttachmentOutput() InternetGatewayAttachmentOutput
func (InternetGatewayAttachmentOutput) ToInternetGatewayAttachmentOutputWithContext ¶ added in v5.1.0
func (o InternetGatewayAttachmentOutput) ToInternetGatewayAttachmentOutputWithContext(ctx context.Context) InternetGatewayAttachmentOutput
type InternetGatewayAttachmentState ¶ added in v5.1.0
type InternetGatewayAttachmentState struct {
// The ID of the internet gateway.
InternetGatewayId pulumi.StringPtrInput
// The ID of the VPC.
VpcId pulumi.StringPtrInput
}
func (InternetGatewayAttachmentState) ElementType ¶ added in v5.1.0
func (InternetGatewayAttachmentState) ElementType() reflect.Type
type InternetGatewayInput ¶
type InternetGatewayInput interface {
pulumi.Input
ToInternetGatewayOutput() InternetGatewayOutput
ToInternetGatewayOutputWithContext(ctx context.Context) InternetGatewayOutput
}
type InternetGatewayMap ¶
type InternetGatewayMap map[string]InternetGatewayInput
func (InternetGatewayMap) ElementType ¶
func (InternetGatewayMap) ElementType() reflect.Type
func (InternetGatewayMap) ToInternetGatewayMapOutput ¶
func (i InternetGatewayMap) ToInternetGatewayMapOutput() InternetGatewayMapOutput
func (InternetGatewayMap) ToInternetGatewayMapOutputWithContext ¶
func (i InternetGatewayMap) ToInternetGatewayMapOutputWithContext(ctx context.Context) InternetGatewayMapOutput
type InternetGatewayMapInput ¶
type InternetGatewayMapInput interface {
pulumi.Input
ToInternetGatewayMapOutput() InternetGatewayMapOutput
ToInternetGatewayMapOutputWithContext(context.Context) InternetGatewayMapOutput
}
InternetGatewayMapInput is an input type that accepts InternetGatewayMap and InternetGatewayMapOutput values. You can construct a concrete instance of `InternetGatewayMapInput` via:
InternetGatewayMap{ "key": InternetGatewayArgs{...} }
type InternetGatewayMapOutput ¶
type InternetGatewayMapOutput struct{ *pulumi.OutputState }
func (InternetGatewayMapOutput) ElementType ¶
func (InternetGatewayMapOutput) ElementType() reflect.Type
func (InternetGatewayMapOutput) MapIndex ¶
func (o InternetGatewayMapOutput) MapIndex(k pulumi.StringInput) InternetGatewayOutput
func (InternetGatewayMapOutput) ToInternetGatewayMapOutput ¶
func (o InternetGatewayMapOutput) ToInternetGatewayMapOutput() InternetGatewayMapOutput
func (InternetGatewayMapOutput) ToInternetGatewayMapOutputWithContext ¶
func (o InternetGatewayMapOutput) ToInternetGatewayMapOutputWithContext(ctx context.Context) InternetGatewayMapOutput
type InternetGatewayOutput ¶
type InternetGatewayOutput struct{ *pulumi.OutputState }
func (InternetGatewayOutput) ElementType ¶
func (InternetGatewayOutput) ElementType() reflect.Type
func (InternetGatewayOutput) ToInternetGatewayOutput ¶
func (o InternetGatewayOutput) ToInternetGatewayOutput() InternetGatewayOutput
func (InternetGatewayOutput) ToInternetGatewayOutputWithContext ¶
func (o InternetGatewayOutput) ToInternetGatewayOutputWithContext(ctx context.Context) InternetGatewayOutput
type InternetGatewayState ¶
type InternetGatewayState struct {
// The ARN of the Internet Gateway.
Arn pulumi.StringPtrInput
// The ID of the AWS account that owns the internet gateway.
OwnerId pulumi.StringPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The VPC ID to create in. See the ec2.InternetGatewayAttachment resource for an alternate way to attach an Internet Gateway to a VPC.
VpcId pulumi.StringPtrInput
}
func (InternetGatewayState) ElementType ¶
func (InternetGatewayState) ElementType() reflect.Type
type KeyPair ¶
type KeyPair struct {
pulumi.CustomResourceState
// The key pair ARN.
Arn pulumi.StringOutput `pulumi:"arn"`
// 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.StringOutput `pulumi:"keyNamePrefix"`
// The key pair ID.
KeyPairId pulumi.StringOutput `pulumi:"keyPairId"`
// The public key material.
PublicKey pulumi.StringOutput `pulumi:"publicKey"`
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
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
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewKeyPair(ctx, "deployer", &ec2.KeyPairArgs{
PublicKey: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 email@example.com"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Key Pairs can be imported using the `key_name`, e.g.,
```sh
$ pulumi import aws:ec2/keyPair:KeyPair deployer deployer-key
```
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.
func (*KeyPair) ElementType ¶
func (*KeyPair) ToKeyPairOutput ¶
func (i *KeyPair) ToKeyPairOutput() KeyPairOutput
func (*KeyPair) ToKeyPairOutputWithContext ¶
func (i *KeyPair) ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput
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 map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a KeyPair resource.
func (KeyPairArgs) ElementType ¶
func (KeyPairArgs) ElementType() reflect.Type
type KeyPairArray ¶
type KeyPairArray []KeyPairInput
func (KeyPairArray) ElementType ¶
func (KeyPairArray) ElementType() reflect.Type
func (KeyPairArray) ToKeyPairArrayOutput ¶
func (i KeyPairArray) ToKeyPairArrayOutput() KeyPairArrayOutput
func (KeyPairArray) ToKeyPairArrayOutputWithContext ¶
func (i KeyPairArray) ToKeyPairArrayOutputWithContext(ctx context.Context) KeyPairArrayOutput
type KeyPairArrayInput ¶
type KeyPairArrayInput interface {
pulumi.Input
ToKeyPairArrayOutput() KeyPairArrayOutput
ToKeyPairArrayOutputWithContext(context.Context) KeyPairArrayOutput
}
KeyPairArrayInput is an input type that accepts KeyPairArray and KeyPairArrayOutput values. You can construct a concrete instance of `KeyPairArrayInput` via:
KeyPairArray{ KeyPairArgs{...} }
type KeyPairArrayOutput ¶
type KeyPairArrayOutput struct{ *pulumi.OutputState }
func (KeyPairArrayOutput) ElementType ¶
func (KeyPairArrayOutput) ElementType() reflect.Type
func (KeyPairArrayOutput) Index ¶
func (o KeyPairArrayOutput) Index(i pulumi.IntInput) KeyPairOutput
func (KeyPairArrayOutput) ToKeyPairArrayOutput ¶
func (o KeyPairArrayOutput) ToKeyPairArrayOutput() KeyPairArrayOutput
func (KeyPairArrayOutput) ToKeyPairArrayOutputWithContext ¶
func (o KeyPairArrayOutput) ToKeyPairArrayOutputWithContext(ctx context.Context) KeyPairArrayOutput
type KeyPairInput ¶
type KeyPairInput interface {
pulumi.Input
ToKeyPairOutput() KeyPairOutput
ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput
}
type KeyPairMap ¶
type KeyPairMap map[string]KeyPairInput
func (KeyPairMap) ElementType ¶
func (KeyPairMap) ElementType() reflect.Type
func (KeyPairMap) ToKeyPairMapOutput ¶
func (i KeyPairMap) ToKeyPairMapOutput() KeyPairMapOutput
func (KeyPairMap) ToKeyPairMapOutputWithContext ¶
func (i KeyPairMap) ToKeyPairMapOutputWithContext(ctx context.Context) KeyPairMapOutput
type KeyPairMapInput ¶
type KeyPairMapInput interface {
pulumi.Input
ToKeyPairMapOutput() KeyPairMapOutput
ToKeyPairMapOutputWithContext(context.Context) KeyPairMapOutput
}
KeyPairMapInput is an input type that accepts KeyPairMap and KeyPairMapOutput values. You can construct a concrete instance of `KeyPairMapInput` via:
KeyPairMap{ "key": KeyPairArgs{...} }
type KeyPairMapOutput ¶
type KeyPairMapOutput struct{ *pulumi.OutputState }
func (KeyPairMapOutput) ElementType ¶
func (KeyPairMapOutput) ElementType() reflect.Type
func (KeyPairMapOutput) MapIndex ¶
func (o KeyPairMapOutput) MapIndex(k pulumi.StringInput) KeyPairOutput
func (KeyPairMapOutput) ToKeyPairMapOutput ¶
func (o KeyPairMapOutput) ToKeyPairMapOutput() KeyPairMapOutput
func (KeyPairMapOutput) ToKeyPairMapOutputWithContext ¶
func (o KeyPairMapOutput) ToKeyPairMapOutputWithContext(ctx context.Context) KeyPairMapOutput
type KeyPairOutput ¶
type KeyPairOutput struct{ *pulumi.OutputState }
func (KeyPairOutput) ElementType ¶
func (KeyPairOutput) ElementType() reflect.Type
func (KeyPairOutput) ToKeyPairOutput ¶
func (o KeyPairOutput) ToKeyPairOutput() KeyPairOutput
func (KeyPairOutput) ToKeyPairOutputWithContext ¶
func (o KeyPairOutput) ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput
type KeyPairState ¶
type KeyPairState struct {
// The key pair ARN.
Arn pulumi.StringPtrInput
// 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 map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (KeyPairState) ElementType ¶
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 metadata options for the instance.
MetadataOptions LaunchConfigurationMetadataOptionsOutput `pulumi:"metadataOptions"`
// The name of the launch configuration. If you leave
// this blank, this provider will auto-generate a unique name. Conflicts with `namePrefix`.
Name pulumi.StringOutput `pulumi:"name"`
// Creates a unique name beginning with the specified
// prefix. Conflicts with `name`.
NamePrefix pulumi.StringOutput `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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ubuntu, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
MostRecent: pulumi.BoolRef(true),
Filters: []ec2.GetAmiFilter{
ec2.GetAmiFilter{
Name: "name",
Values: []string{
"ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*",
},
},
ec2.GetAmiFilter{
Name: "virtualization-type",
Values: []string{
"hvm",
},
},
},
Owners: []string{
"099720109477",
},
}, nil)
if err != nil {
return err
}
_, err = ec2.NewLaunchConfiguration(ctx, "asConf", &ec2.LaunchConfigurationArgs{
ImageId: pulumi.String(ubuntu.Id),
InstanceType: pulumi.String("t2.micro"),
})
if err != nil {
return err
}
return nil
})
}
``` ## Using with AutoScaling Groups
Launch Configurations cannot be updated after creation with the Amazon Web Service API. In order to update a Launch Configuration, this provider will destroy the existing resource and create a replacement. In order to effectively use a Launch Configuration resource with an [AutoScaling Group resource](https://www.terraform.io/docs/providers/aws/r/autoscaling_group.html), it's recommended to specify `createBeforeDestroy` in a [lifecycle](https://www.terraform.io/docs/configuration/meta-arguments/lifecycle.html) block. Either omit the Launch Configuration `name` attribute, or specify a partial name with `namePrefix`. Example:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ubuntu, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
MostRecent: pulumi.BoolRef(true),
Filters: []ec2.GetAmiFilter{
ec2.GetAmiFilter{
Name: "name",
Values: []string{
"ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*",
},
},
ec2.GetAmiFilter{
Name: "virtualization-type",
Values: []string{
"hvm",
},
},
},
Owners: []string{
"099720109477",
},
}, nil)
if err != nil {
return err
}
asConf, err := ec2.NewLaunchConfiguration(ctx, "asConf", &ec2.LaunchConfigurationArgs{
NamePrefix: pulumi.String("lc-example-"),
ImageId: pulumi.String(ubuntu.Id),
InstanceType: pulumi.String("t2.micro"),
})
if err != nil {
return err
}
_, err = autoscaling.NewGroup(ctx, "bar", &autoscaling.GroupArgs{
LaunchConfiguration: asConf.Name,
MinSize: pulumi.Int(1),
MaxSize: pulumi.Int(2),
})
if err != nil {
return err
}
return nil
})
}
```
With this setup this provider generates a unique name for your Launch Configuration and can then update the AutoScaling Group without conflict before destroying the previous Launch Configuration.
## Using with Spot Instances
Launch configurations can set the spot instance pricing to be used for the Auto Scaling Group to reserve instances. Simply specifying the `spotPrice` parameter will set the price on the Launch Configuration which will attempt to reserve your instances at this price. See the [AWS Spot Instance documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html) for more information or how to launch [Spot Instances](https://www.terraform.io/docs/providers/aws/r/spot_instance_request.html) with this provider.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ubuntu, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
MostRecent: pulumi.BoolRef(true),
Filters: []ec2.GetAmiFilter{
ec2.GetAmiFilter{
Name: "name",
Values: []string{
"ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*",
},
},
ec2.GetAmiFilter{
Name: "virtualization-type",
Values: []string{
"hvm",
},
},
},
Owners: []string{
"099720109477",
},
}, nil)
if err != nil {
return err
}
asConf, err := ec2.NewLaunchConfiguration(ctx, "asConf", &ec2.LaunchConfigurationArgs{
ImageId: pulumi.String(ubuntu.Id),
InstanceType: pulumi.String("m4.large"),
SpotPrice: pulumi.String("0.001"),
})
if err != nil {
return err
}
_, err = autoscaling.NewGroup(ctx, "bar", &autoscaling.GroupArgs{
LaunchConfiguration: asConf.Name,
})
if err != nil {
return err
}
return nil
})
}
```
## 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"`, `"gp3"`, `"st1"`, `"sc1"` 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"`.
- `throughput` - (Optional) The throughput (MiBps) to provision for a `gp3` volume.
- `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"`, `"gp3"`, `"st1"`, `"sc1"` 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"`.
- `throughput` - (Optional) The throughput (MiBps) to provision for a `gp3` volume.
- `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`).
- `noDevice` - (Optional) Whether the device in the block device mapping of the AMI is suppressed.
Modifying any `ebsBlockDevice` currently requires resource replacement.
Each `ephemeralBlockDevice` supports the following:
- `deviceName` - (Required) The name of the block device to mount on the instance.
- `noDevice` - (Optional) Whether the device in the block device mapping of the AMI is suppressed.
- `virtualName` - (Optional) The [Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g., `"ephemeral0"`)
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 [`up` command with the --replace argument](https://www.pulumi.com/docs/reference/cli/pulumi_up/).
## Import
Launch configurations can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:ec2/launchConfiguration:LaunchConfiguration as_conf lg-123456
```
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.
func (*LaunchConfiguration) ElementType ¶
func (*LaunchConfiguration) ElementType() reflect.Type
func (*LaunchConfiguration) ToLaunchConfigurationOutput ¶
func (i *LaunchConfiguration) ToLaunchConfigurationOutput() LaunchConfigurationOutput
func (*LaunchConfiguration) ToLaunchConfigurationOutputWithContext ¶
func (i *LaunchConfiguration) ToLaunchConfigurationOutputWithContext(ctx context.Context) LaunchConfigurationOutput
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 metadata options for the instance.
MetadataOptions LaunchConfigurationMetadataOptionsPtrInput
// The name of the launch configuration. If you leave
// this blank, this provider will auto-generate a unique name. Conflicts with `namePrefix`.
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 ¶
func (LaunchConfigurationArgs) ElementType() reflect.Type
type LaunchConfigurationArray ¶
type LaunchConfigurationArray []LaunchConfigurationInput
func (LaunchConfigurationArray) ElementType ¶
func (LaunchConfigurationArray) ElementType() reflect.Type
func (LaunchConfigurationArray) ToLaunchConfigurationArrayOutput ¶
func (i LaunchConfigurationArray) ToLaunchConfigurationArrayOutput() LaunchConfigurationArrayOutput
func (LaunchConfigurationArray) ToLaunchConfigurationArrayOutputWithContext ¶
func (i LaunchConfigurationArray) ToLaunchConfigurationArrayOutputWithContext(ctx context.Context) LaunchConfigurationArrayOutput
type LaunchConfigurationArrayInput ¶
type LaunchConfigurationArrayInput interface {
pulumi.Input
ToLaunchConfigurationArrayOutput() LaunchConfigurationArrayOutput
ToLaunchConfigurationArrayOutputWithContext(context.Context) LaunchConfigurationArrayOutput
}
LaunchConfigurationArrayInput is an input type that accepts LaunchConfigurationArray and LaunchConfigurationArrayOutput values. You can construct a concrete instance of `LaunchConfigurationArrayInput` via:
LaunchConfigurationArray{ LaunchConfigurationArgs{...} }
type LaunchConfigurationArrayOutput ¶
type LaunchConfigurationArrayOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationArrayOutput) ElementType ¶
func (LaunchConfigurationArrayOutput) ElementType() reflect.Type
func (LaunchConfigurationArrayOutput) Index ¶
func (o LaunchConfigurationArrayOutput) Index(i pulumi.IntInput) LaunchConfigurationOutput
func (LaunchConfigurationArrayOutput) ToLaunchConfigurationArrayOutput ¶
func (o LaunchConfigurationArrayOutput) ToLaunchConfigurationArrayOutput() LaunchConfigurationArrayOutput
func (LaunchConfigurationArrayOutput) ToLaunchConfigurationArrayOutputWithContext ¶
func (o LaunchConfigurationArrayOutput) ToLaunchConfigurationArrayOutputWithContext(ctx context.Context) LaunchConfigurationArrayOutput
type LaunchConfigurationEbsBlockDevice ¶
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"`
Throughput *int `pulumi:"throughput"`
VolumeSize *int `pulumi:"volumeSize"`
VolumeType *string `pulumi:"volumeType"`
}
type LaunchConfigurationEbsBlockDeviceArgs ¶
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"`
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (LaunchConfigurationEbsBlockDeviceArgs) ElementType ¶
func (LaunchConfigurationEbsBlockDeviceArgs) ElementType() reflect.Type
func (LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutput ¶
func (i LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutput() LaunchConfigurationEbsBlockDeviceOutput
func (LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutputWithContext ¶
func (i LaunchConfigurationEbsBlockDeviceArgs) ToLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceOutput
type LaunchConfigurationEbsBlockDeviceArray ¶
type LaunchConfigurationEbsBlockDeviceArray []LaunchConfigurationEbsBlockDeviceInput
func (LaunchConfigurationEbsBlockDeviceArray) ElementType ¶
func (LaunchConfigurationEbsBlockDeviceArray) ElementType() reflect.Type
func (LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutput ¶
func (i LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutput() LaunchConfigurationEbsBlockDeviceArrayOutput
func (LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext ¶
func (i LaunchConfigurationEbsBlockDeviceArray) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceArrayOutput
type LaunchConfigurationEbsBlockDeviceArrayInput ¶
type LaunchConfigurationEbsBlockDeviceArrayInput interface {
pulumi.Input
ToLaunchConfigurationEbsBlockDeviceArrayOutput() LaunchConfigurationEbsBlockDeviceArrayOutput
ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(context.Context) LaunchConfigurationEbsBlockDeviceArrayOutput
}
LaunchConfigurationEbsBlockDeviceArrayInput is an input type that accepts LaunchConfigurationEbsBlockDeviceArray and LaunchConfigurationEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `LaunchConfigurationEbsBlockDeviceArrayInput` via:
LaunchConfigurationEbsBlockDeviceArray{ LaunchConfigurationEbsBlockDeviceArgs{...} }
type LaunchConfigurationEbsBlockDeviceArrayOutput ¶
type LaunchConfigurationEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationEbsBlockDeviceArrayOutput) ElementType ¶
func (LaunchConfigurationEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutput ¶
func (o LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutput() LaunchConfigurationEbsBlockDeviceArrayOutput
func (LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext ¶
func (o LaunchConfigurationEbsBlockDeviceArrayOutput) ToLaunchConfigurationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceArrayOutput
type LaunchConfigurationEbsBlockDeviceInput ¶
type LaunchConfigurationEbsBlockDeviceInput interface {
pulumi.Input
ToLaunchConfigurationEbsBlockDeviceOutput() LaunchConfigurationEbsBlockDeviceOutput
ToLaunchConfigurationEbsBlockDeviceOutputWithContext(context.Context) LaunchConfigurationEbsBlockDeviceOutput
}
LaunchConfigurationEbsBlockDeviceInput is an input type that accepts LaunchConfigurationEbsBlockDeviceArgs and LaunchConfigurationEbsBlockDeviceOutput values. You can construct a concrete instance of `LaunchConfigurationEbsBlockDeviceInput` via:
LaunchConfigurationEbsBlockDeviceArgs{...}
type LaunchConfigurationEbsBlockDeviceOutput ¶
type LaunchConfigurationEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
func (LaunchConfigurationEbsBlockDeviceOutput) DeviceName ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
func (LaunchConfigurationEbsBlockDeviceOutput) ElementType ¶
func (LaunchConfigurationEbsBlockDeviceOutput) ElementType() reflect.Type
func (LaunchConfigurationEbsBlockDeviceOutput) Encrypted ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
func (LaunchConfigurationEbsBlockDeviceOutput) Iops ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
func (LaunchConfigurationEbsBlockDeviceOutput) NoDevice ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
func (LaunchConfigurationEbsBlockDeviceOutput) SnapshotId ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
func (LaunchConfigurationEbsBlockDeviceOutput) Throughput ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
func (LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutput ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutput() LaunchConfigurationEbsBlockDeviceOutput
func (LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutputWithContext ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) ToLaunchConfigurationEbsBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEbsBlockDeviceOutput
func (LaunchConfigurationEbsBlockDeviceOutput) VolumeSize ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
func (LaunchConfigurationEbsBlockDeviceOutput) VolumeType ¶
func (o LaunchConfigurationEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
type LaunchConfigurationEphemeralBlockDeviceArgs ¶
type LaunchConfigurationEphemeralBlockDeviceArgs struct {
DeviceName pulumi.StringInput `pulumi:"deviceName"`
NoDevice pulumi.BoolPtrInput `pulumi:"noDevice"`
VirtualName pulumi.StringPtrInput `pulumi:"virtualName"`
}
func (LaunchConfigurationEphemeralBlockDeviceArgs) ElementType ¶
func (LaunchConfigurationEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutput ¶
func (i LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutput() LaunchConfigurationEphemeralBlockDeviceOutput
func (LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext ¶
func (i LaunchConfigurationEphemeralBlockDeviceArgs) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceOutput
type LaunchConfigurationEphemeralBlockDeviceArray ¶
type LaunchConfigurationEphemeralBlockDeviceArray []LaunchConfigurationEphemeralBlockDeviceInput
func (LaunchConfigurationEphemeralBlockDeviceArray) ElementType ¶
func (LaunchConfigurationEphemeralBlockDeviceArray) ElementType() reflect.Type
func (LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput ¶
func (i LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput() LaunchConfigurationEphemeralBlockDeviceArrayOutput
func (LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext ¶
func (i LaunchConfigurationEphemeralBlockDeviceArray) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceArrayOutput
type LaunchConfigurationEphemeralBlockDeviceArrayInput ¶
type LaunchConfigurationEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToLaunchConfigurationEphemeralBlockDeviceArrayOutput() LaunchConfigurationEphemeralBlockDeviceArrayOutput
ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(context.Context) LaunchConfigurationEphemeralBlockDeviceArrayOutput
}
LaunchConfigurationEphemeralBlockDeviceArrayInput is an input type that accepts LaunchConfigurationEphemeralBlockDeviceArray and LaunchConfigurationEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `LaunchConfigurationEphemeralBlockDeviceArrayInput` via:
LaunchConfigurationEphemeralBlockDeviceArray{ LaunchConfigurationEphemeralBlockDeviceArgs{...} }
type LaunchConfigurationEphemeralBlockDeviceArrayOutput ¶
type LaunchConfigurationEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) ElementType ¶
func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput ¶
func (o LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutput() LaunchConfigurationEphemeralBlockDeviceArrayOutput
func (LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext ¶
func (o LaunchConfigurationEphemeralBlockDeviceArrayOutput) ToLaunchConfigurationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceArrayOutput
type LaunchConfigurationEphemeralBlockDeviceInput ¶
type LaunchConfigurationEphemeralBlockDeviceInput interface {
pulumi.Input
ToLaunchConfigurationEphemeralBlockDeviceOutput() LaunchConfigurationEphemeralBlockDeviceOutput
ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext(context.Context) LaunchConfigurationEphemeralBlockDeviceOutput
}
LaunchConfigurationEphemeralBlockDeviceInput is an input type that accepts LaunchConfigurationEphemeralBlockDeviceArgs and LaunchConfigurationEphemeralBlockDeviceOutput values. You can construct a concrete instance of `LaunchConfigurationEphemeralBlockDeviceInput` via:
LaunchConfigurationEphemeralBlockDeviceArgs{...}
type LaunchConfigurationEphemeralBlockDeviceOutput ¶
type LaunchConfigurationEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationEphemeralBlockDeviceOutput) DeviceName ¶
func (o LaunchConfigurationEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
func (LaunchConfigurationEphemeralBlockDeviceOutput) ElementType ¶
func (LaunchConfigurationEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (LaunchConfigurationEphemeralBlockDeviceOutput) NoDevice ¶ added in v5.1.0
func (o LaunchConfigurationEphemeralBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
func (LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutput ¶
func (o LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutput() LaunchConfigurationEphemeralBlockDeviceOutput
func (LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext ¶
func (o LaunchConfigurationEphemeralBlockDeviceOutput) ToLaunchConfigurationEphemeralBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationEphemeralBlockDeviceOutput
func (LaunchConfigurationEphemeralBlockDeviceOutput) VirtualName ¶
func (o LaunchConfigurationEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
type LaunchConfigurationInput ¶
type LaunchConfigurationInput interface {
pulumi.Input
ToLaunchConfigurationOutput() LaunchConfigurationOutput
ToLaunchConfigurationOutputWithContext(ctx context.Context) LaunchConfigurationOutput
}
type LaunchConfigurationMap ¶
type LaunchConfigurationMap map[string]LaunchConfigurationInput
func (LaunchConfigurationMap) ElementType ¶
func (LaunchConfigurationMap) ElementType() reflect.Type
func (LaunchConfigurationMap) ToLaunchConfigurationMapOutput ¶
func (i LaunchConfigurationMap) ToLaunchConfigurationMapOutput() LaunchConfigurationMapOutput
func (LaunchConfigurationMap) ToLaunchConfigurationMapOutputWithContext ¶
func (i LaunchConfigurationMap) ToLaunchConfigurationMapOutputWithContext(ctx context.Context) LaunchConfigurationMapOutput
type LaunchConfigurationMapInput ¶
type LaunchConfigurationMapInput interface {
pulumi.Input
ToLaunchConfigurationMapOutput() LaunchConfigurationMapOutput
ToLaunchConfigurationMapOutputWithContext(context.Context) LaunchConfigurationMapOutput
}
LaunchConfigurationMapInput is an input type that accepts LaunchConfigurationMap and LaunchConfigurationMapOutput values. You can construct a concrete instance of `LaunchConfigurationMapInput` via:
LaunchConfigurationMap{ "key": LaunchConfigurationArgs{...} }
type LaunchConfigurationMapOutput ¶
type LaunchConfigurationMapOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationMapOutput) ElementType ¶
func (LaunchConfigurationMapOutput) ElementType() reflect.Type
func (LaunchConfigurationMapOutput) MapIndex ¶
func (o LaunchConfigurationMapOutput) MapIndex(k pulumi.StringInput) LaunchConfigurationOutput
func (LaunchConfigurationMapOutput) ToLaunchConfigurationMapOutput ¶
func (o LaunchConfigurationMapOutput) ToLaunchConfigurationMapOutput() LaunchConfigurationMapOutput
func (LaunchConfigurationMapOutput) ToLaunchConfigurationMapOutputWithContext ¶
func (o LaunchConfigurationMapOutput) ToLaunchConfigurationMapOutputWithContext(ctx context.Context) LaunchConfigurationMapOutput
type LaunchConfigurationMetadataOptions ¶
type LaunchConfigurationMetadataOptions struct {
// The state of the metadata service: `enabled`, `disabled`.
HttpEndpoint *string `pulumi:"httpEndpoint"`
// The desired HTTP PUT response hop limit for instance metadata requests.
HttpPutResponseHopLimit *int `pulumi:"httpPutResponseHopLimit"`
// If session tokens are required: `optional`, `required`.
HttpTokens *string `pulumi:"httpTokens"`
}
type LaunchConfigurationMetadataOptionsArgs ¶
type LaunchConfigurationMetadataOptionsArgs struct {
// The state of the metadata service: `enabled`, `disabled`.
HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"`
// The desired HTTP PUT response hop limit for instance metadata requests.
HttpPutResponseHopLimit pulumi.IntPtrInput `pulumi:"httpPutResponseHopLimit"`
// If session tokens are required: `optional`, `required`.
HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"`
}
func (LaunchConfigurationMetadataOptionsArgs) ElementType ¶
func (LaunchConfigurationMetadataOptionsArgs) ElementType() reflect.Type
func (LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsOutput ¶
func (i LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsOutput() LaunchConfigurationMetadataOptionsOutput
func (LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsOutputWithContext ¶
func (i LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsOutput
func (LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsPtrOutput ¶
func (i LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsPtrOutput() LaunchConfigurationMetadataOptionsPtrOutput
func (LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext ¶
func (i LaunchConfigurationMetadataOptionsArgs) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsPtrOutput
type LaunchConfigurationMetadataOptionsInput ¶
type LaunchConfigurationMetadataOptionsInput interface {
pulumi.Input
ToLaunchConfigurationMetadataOptionsOutput() LaunchConfigurationMetadataOptionsOutput
ToLaunchConfigurationMetadataOptionsOutputWithContext(context.Context) LaunchConfigurationMetadataOptionsOutput
}
LaunchConfigurationMetadataOptionsInput is an input type that accepts LaunchConfigurationMetadataOptionsArgs and LaunchConfigurationMetadataOptionsOutput values. You can construct a concrete instance of `LaunchConfigurationMetadataOptionsInput` via:
LaunchConfigurationMetadataOptionsArgs{...}
type LaunchConfigurationMetadataOptionsOutput ¶
type LaunchConfigurationMetadataOptionsOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationMetadataOptionsOutput) ElementType ¶
func (LaunchConfigurationMetadataOptionsOutput) ElementType() reflect.Type
func (LaunchConfigurationMetadataOptionsOutput) HttpEndpoint ¶
func (o LaunchConfigurationMetadataOptionsOutput) HttpEndpoint() pulumi.StringPtrOutput
The state of the metadata service: `enabled`, `disabled`.
func (LaunchConfigurationMetadataOptionsOutput) HttpPutResponseHopLimit ¶
func (o LaunchConfigurationMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
The desired HTTP PUT response hop limit for instance metadata requests.
func (LaunchConfigurationMetadataOptionsOutput) HttpTokens ¶
func (o LaunchConfigurationMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput
If session tokens are required: `optional`, `required`.
func (LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsOutput ¶
func (o LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsOutput() LaunchConfigurationMetadataOptionsOutput
func (LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsOutputWithContext ¶
func (o LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsOutput
func (LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsPtrOutput ¶
func (o LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsPtrOutput() LaunchConfigurationMetadataOptionsPtrOutput
func (LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext ¶
func (o LaunchConfigurationMetadataOptionsOutput) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsPtrOutput
type LaunchConfigurationMetadataOptionsPtrInput ¶
type LaunchConfigurationMetadataOptionsPtrInput interface {
pulumi.Input
ToLaunchConfigurationMetadataOptionsPtrOutput() LaunchConfigurationMetadataOptionsPtrOutput
ToLaunchConfigurationMetadataOptionsPtrOutputWithContext(context.Context) LaunchConfigurationMetadataOptionsPtrOutput
}
LaunchConfigurationMetadataOptionsPtrInput is an input type that accepts LaunchConfigurationMetadataOptionsArgs, LaunchConfigurationMetadataOptionsPtr and LaunchConfigurationMetadataOptionsPtrOutput values. You can construct a concrete instance of `LaunchConfigurationMetadataOptionsPtrInput` via:
LaunchConfigurationMetadataOptionsArgs{...}
or:
nil
func LaunchConfigurationMetadataOptionsPtr ¶
func LaunchConfigurationMetadataOptionsPtr(v *LaunchConfigurationMetadataOptionsArgs) LaunchConfigurationMetadataOptionsPtrInput
type LaunchConfigurationMetadataOptionsPtrOutput ¶
type LaunchConfigurationMetadataOptionsPtrOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationMetadataOptionsPtrOutput) ElementType ¶
func (LaunchConfigurationMetadataOptionsPtrOutput) ElementType() reflect.Type
func (LaunchConfigurationMetadataOptionsPtrOutput) HttpEndpoint ¶
func (o LaunchConfigurationMetadataOptionsPtrOutput) HttpEndpoint() pulumi.StringPtrOutput
The state of the metadata service: `enabled`, `disabled`.
func (LaunchConfigurationMetadataOptionsPtrOutput) HttpPutResponseHopLimit ¶
func (o LaunchConfigurationMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
The desired HTTP PUT response hop limit for instance metadata requests.
func (LaunchConfigurationMetadataOptionsPtrOutput) HttpTokens ¶
func (o LaunchConfigurationMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput
If session tokens are required: `optional`, `required`.
func (LaunchConfigurationMetadataOptionsPtrOutput) ToLaunchConfigurationMetadataOptionsPtrOutput ¶
func (o LaunchConfigurationMetadataOptionsPtrOutput) ToLaunchConfigurationMetadataOptionsPtrOutput() LaunchConfigurationMetadataOptionsPtrOutput
func (LaunchConfigurationMetadataOptionsPtrOutput) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext ¶
func (o LaunchConfigurationMetadataOptionsPtrOutput) ToLaunchConfigurationMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchConfigurationMetadataOptionsPtrOutput
type LaunchConfigurationOutput ¶
type LaunchConfigurationOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationOutput) ElementType ¶
func (LaunchConfigurationOutput) ElementType() reflect.Type
func (LaunchConfigurationOutput) ToLaunchConfigurationOutput ¶
func (o LaunchConfigurationOutput) ToLaunchConfigurationOutput() LaunchConfigurationOutput
func (LaunchConfigurationOutput) ToLaunchConfigurationOutputWithContext ¶
func (o LaunchConfigurationOutput) ToLaunchConfigurationOutputWithContext(ctx context.Context) LaunchConfigurationOutput
type LaunchConfigurationRootBlockDeviceArgs ¶
type LaunchConfigurationRootBlockDeviceArgs struct {
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
Iops pulumi.IntPtrInput `pulumi:"iops"`
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (LaunchConfigurationRootBlockDeviceArgs) ElementType ¶
func (LaunchConfigurationRootBlockDeviceArgs) ElementType() reflect.Type
func (LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutput ¶
func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutput() LaunchConfigurationRootBlockDeviceOutput
func (LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutputWithContext ¶
func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDeviceOutput
func (LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutput ¶
func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput
func (LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext ¶
func (i LaunchConfigurationRootBlockDeviceArgs) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput
type LaunchConfigurationRootBlockDeviceInput ¶
type LaunchConfigurationRootBlockDeviceInput interface {
pulumi.Input
ToLaunchConfigurationRootBlockDeviceOutput() LaunchConfigurationRootBlockDeviceOutput
ToLaunchConfigurationRootBlockDeviceOutputWithContext(context.Context) LaunchConfigurationRootBlockDeviceOutput
}
LaunchConfigurationRootBlockDeviceInput is an input type that accepts LaunchConfigurationRootBlockDeviceArgs and LaunchConfigurationRootBlockDeviceOutput values. You can construct a concrete instance of `LaunchConfigurationRootBlockDeviceInput` via:
LaunchConfigurationRootBlockDeviceArgs{...}
type LaunchConfigurationRootBlockDeviceOutput ¶
type LaunchConfigurationRootBlockDeviceOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationRootBlockDeviceOutput) DeleteOnTermination ¶
func (o LaunchConfigurationRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
func (LaunchConfigurationRootBlockDeviceOutput) ElementType ¶
func (LaunchConfigurationRootBlockDeviceOutput) ElementType() reflect.Type
func (LaunchConfigurationRootBlockDeviceOutput) Encrypted ¶
func (o LaunchConfigurationRootBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
func (LaunchConfigurationRootBlockDeviceOutput) Iops ¶
func (o LaunchConfigurationRootBlockDeviceOutput) Iops() pulumi.IntPtrOutput
func (LaunchConfigurationRootBlockDeviceOutput) Throughput ¶
func (o LaunchConfigurationRootBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
func (LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutput ¶
func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutput() LaunchConfigurationRootBlockDeviceOutput
func (LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutputWithContext ¶
func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDeviceOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDeviceOutput
func (LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutput ¶
func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput
func (LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext ¶
func (o LaunchConfigurationRootBlockDeviceOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput
func (LaunchConfigurationRootBlockDeviceOutput) VolumeSize ¶
func (o LaunchConfigurationRootBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
func (LaunchConfigurationRootBlockDeviceOutput) VolumeType ¶
func (o LaunchConfigurationRootBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
type LaunchConfigurationRootBlockDevicePtrInput ¶
type LaunchConfigurationRootBlockDevicePtrInput interface {
pulumi.Input
ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput
ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(context.Context) LaunchConfigurationRootBlockDevicePtrOutput
}
LaunchConfigurationRootBlockDevicePtrInput is an input type that accepts LaunchConfigurationRootBlockDeviceArgs, LaunchConfigurationRootBlockDevicePtr and LaunchConfigurationRootBlockDevicePtrOutput values. You can construct a concrete instance of `LaunchConfigurationRootBlockDevicePtrInput` via:
LaunchConfigurationRootBlockDeviceArgs{...}
or:
nil
func LaunchConfigurationRootBlockDevicePtr ¶
func LaunchConfigurationRootBlockDevicePtr(v *LaunchConfigurationRootBlockDeviceArgs) LaunchConfigurationRootBlockDevicePtrInput
type LaunchConfigurationRootBlockDevicePtrOutput ¶
type LaunchConfigurationRootBlockDevicePtrOutput struct{ *pulumi.OutputState }
func (LaunchConfigurationRootBlockDevicePtrOutput) DeleteOnTermination ¶
func (o LaunchConfigurationRootBlockDevicePtrOutput) DeleteOnTermination() pulumi.BoolPtrOutput
func (LaunchConfigurationRootBlockDevicePtrOutput) ElementType ¶
func (LaunchConfigurationRootBlockDevicePtrOutput) ElementType() reflect.Type
func (LaunchConfigurationRootBlockDevicePtrOutput) Encrypted ¶
func (o LaunchConfigurationRootBlockDevicePtrOutput) Encrypted() pulumi.BoolPtrOutput
func (LaunchConfigurationRootBlockDevicePtrOutput) Iops ¶
func (o LaunchConfigurationRootBlockDevicePtrOutput) Iops() pulumi.IntPtrOutput
func (LaunchConfigurationRootBlockDevicePtrOutput) Throughput ¶
func (o LaunchConfigurationRootBlockDevicePtrOutput) Throughput() pulumi.IntPtrOutput
func (LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutput ¶
func (o LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutput() LaunchConfigurationRootBlockDevicePtrOutput
func (LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext ¶
func (o LaunchConfigurationRootBlockDevicePtrOutput) ToLaunchConfigurationRootBlockDevicePtrOutputWithContext(ctx context.Context) LaunchConfigurationRootBlockDevicePtrOutput
func (LaunchConfigurationRootBlockDevicePtrOutput) VolumeSize ¶
func (o LaunchConfigurationRootBlockDevicePtrOutput) VolumeSize() pulumi.IntPtrOutput
func (LaunchConfigurationRootBlockDevicePtrOutput) VolumeType ¶
func (o LaunchConfigurationRootBlockDevicePtrOutput) VolumeType() pulumi.StringPtrOutput
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.Input
// 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 metadata options for the instance.
MetadataOptions LaunchConfigurationMetadataOptionsPtrInput
// The name of the launch configuration. If you leave
// this blank, this provider will auto-generate a unique name. Conflicts with `namePrefix`.
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 ¶
func (LaunchConfigurationState) ElementType() reflect.Type
type LaunchTemplate ¶
type LaunchTemplate struct {
pulumi.CustomResourceState
// The Amazon Resource Name (ARN) of the instance profile.
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"`
// The CPU options for the instance. See CPU Options below for more details.
CpuOptions LaunchTemplateCpuOptionsPtrOutput `pulumi:"cpuOptions"`
// Customize the credit specification of the instance. See Credit
// Specification below for more details.
CreditSpecification LaunchTemplateCreditSpecificationPtrOutput `pulumi:"creditSpecification"`
// 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"`
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions LaunchTemplateEnclaveOptionsPtrOutput `pulumi:"enclaveOptions"`
// The hibernation options for the instance. See Hibernation Options below for more details.
HibernationOptions LaunchTemplateHibernationOptionsPtrOutput `pulumi:"hibernationOptions"`
// 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"`
// Customize the metadata options for the instance. See Metadata Options below for more details.
MetadataOptions LaunchTemplateMetadataOptionsOutput `pulumi:"metadataOptions"`
// The monitoring option for the instance. See Monitoring below for more details.
Monitoring LaunchTemplateMonitoringPtrOutput `pulumi:"monitoring"`
Name pulumi.StringOutput `pulumi:"name"`
// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
NamePrefix pulumi.StringOutput `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 options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
PrivateDnsNameOptions LaunchTemplatePrivateDnsNameOptionsPtrOutput `pulumi:"privateDnsNameOptions"`
// 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 map of tags to assign to the launch template. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// Whether to update Default Version each update. Conflicts with `defaultVersion`.
UpdateDefaultVersion pulumi.BoolPtrOutput `pulumi:"updateDefaultVersion"`
// 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. Conflicts with `network_interfaces.security_groups`
VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"`
}
Provides an EC2 launch template resource. Can be used to create instances or auto scaling groups.
## Example Usage
```go package main
import (
"encoding/base64" "fmt" "io/ioutil" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func filebase64OrPanic(path string) pulumi.StringPtrInput {
if fileData, err := ioutil.ReadFile(path); err == nil {
return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))
} else {
panic(err.Error())
}
}
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewLaunchTemplate(ctx, "foo", &ec2.LaunchTemplateArgs{
BlockDeviceMappings: ec2.LaunchTemplateBlockDeviceMappingArray{
&ec2.LaunchTemplateBlockDeviceMappingArgs{
DeviceName: pulumi.String("/dev/sda1"),
Ebs: &ec2.LaunchTemplateBlockDeviceMappingEbsArgs{
VolumeSize: pulumi.Int(20),
},
},
},
CapacityReservationSpecification: &ec2.LaunchTemplateCapacityReservationSpecificationArgs{
CapacityReservationPreference: pulumi.String("open"),
},
CpuOptions: &ec2.LaunchTemplateCpuOptionsArgs{
CoreCount: pulumi.Int(4),
ThreadsPerCore: pulumi.Int(2),
},
CreditSpecification: &ec2.LaunchTemplateCreditSpecificationArgs{
CpuCredits: pulumi.String("standard"),
},
DisableApiTermination: pulumi.Bool(true),
EbsOptimized: pulumi.String("true"),
ElasticGpuSpecifications: ec2.LaunchTemplateElasticGpuSpecificationArray{
&ec2.LaunchTemplateElasticGpuSpecificationArgs{
Type: pulumi.String("test"),
},
},
ElasticInferenceAccelerator: &ec2.LaunchTemplateElasticInferenceAcceleratorArgs{
Type: pulumi.String("eia1.medium"),
},
IamInstanceProfile: &ec2.LaunchTemplateIamInstanceProfileArgs{
Name: pulumi.String("test"),
},
ImageId: pulumi.String("ami-test"),
InstanceInitiatedShutdownBehavior: pulumi.String("terminate"),
InstanceMarketOptions: &ec2.LaunchTemplateInstanceMarketOptionsArgs{
MarketType: pulumi.String("spot"),
},
InstanceType: pulumi.String("t2.micro"),
KernelId: pulumi.String("test"),
KeyName: pulumi.String("test"),
LicenseSpecifications: ec2.LaunchTemplateLicenseSpecificationArray{
&ec2.LaunchTemplateLicenseSpecificationArgs{
LicenseConfigurationArn: pulumi.String("arn:aws:license-manager:eu-west-1:123456789012:license-configuration:lic-0123456789abcdef0123456789abcdef"),
},
},
MetadataOptions: &ec2.LaunchTemplateMetadataOptionsArgs{
HttpEndpoint: pulumi.String("enabled"),
HttpTokens: pulumi.String("required"),
HttpPutResponseHopLimit: pulumi.Int(1),
InstanceMetadataTags: pulumi.String("enabled"),
},
Monitoring: &ec2.LaunchTemplateMonitoringArgs{
Enabled: pulumi.Bool(true),
},
NetworkInterfaces: ec2.LaunchTemplateNetworkInterfaceArray{
&ec2.LaunchTemplateNetworkInterfaceArgs{
AssociatePublicIpAddress: pulumi.String("true"),
},
},
Placement: &ec2.LaunchTemplatePlacementArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
},
RamDiskId: pulumi.String("test"),
VpcSecurityGroupIds: pulumi.StringArray{
pulumi.String("sg-12345678"),
},
TagSpecifications: ec2.LaunchTemplateTagSpecificationArray{
&ec2.LaunchTemplateTagSpecificationArgs{
ResourceType: pulumi.String("instance"),
Tags: pulumi.StringMap{
"Name": pulumi.String("test"),
},
},
},
UserData: filebase64OrPanic(fmt.Sprintf("%v%v", path.Module, "/example.sh")),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Launch Templates can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/launchTemplate:LaunchTemplate web lt-12345678
```
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.
func (*LaunchTemplate) ElementType ¶
func (*LaunchTemplate) ElementType() reflect.Type
func (*LaunchTemplate) ToLaunchTemplateOutput ¶
func (i *LaunchTemplate) ToLaunchTemplateOutput() LaunchTemplateOutput
func (*LaunchTemplate) ToLaunchTemplateOutputWithContext ¶
func (i *LaunchTemplate) ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput
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
// The CPU options for the instance. See CPU Options below for more details.
CpuOptions LaunchTemplateCpuOptionsPtrInput
// Customize the credit specification of the instance. See Credit
// Specification below for more details.
CreditSpecification LaunchTemplateCreditSpecificationPtrInput
// 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
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions LaunchTemplateEnclaveOptionsPtrInput
// The hibernation options for the instance. See Hibernation Options below for more details.
HibernationOptions LaunchTemplateHibernationOptionsPtrInput
// 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
// Customize the metadata options for the instance. See Metadata Options below for more details.
MetadataOptions LaunchTemplateMetadataOptionsPtrInput
// The monitoring option for the instance. See Monitoring below for more details.
Monitoring LaunchTemplateMonitoringPtrInput
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 options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
PrivateDnsNameOptions LaunchTemplatePrivateDnsNameOptionsPtrInput
// 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 map of tags to assign to the launch template. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Whether to update Default Version each update. Conflicts with `defaultVersion`.
UpdateDefaultVersion pulumi.BoolPtrInput
// The base64-encoded user data to provide when launching the instance.
UserData pulumi.StringPtrInput
// A list of security group IDs to associate with. Conflicts with `network_interfaces.security_groups`
VpcSecurityGroupIds pulumi.StringArrayInput
}
The set of arguments for constructing a LaunchTemplate resource.
func (LaunchTemplateArgs) ElementType ¶
func (LaunchTemplateArgs) ElementType() reflect.Type
type LaunchTemplateArray ¶
type LaunchTemplateArray []LaunchTemplateInput
func (LaunchTemplateArray) ElementType ¶
func (LaunchTemplateArray) ElementType() reflect.Type
func (LaunchTemplateArray) ToLaunchTemplateArrayOutput ¶
func (i LaunchTemplateArray) ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput
func (LaunchTemplateArray) ToLaunchTemplateArrayOutputWithContext ¶
func (i LaunchTemplateArray) ToLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplateArrayOutput
type LaunchTemplateArrayInput ¶
type LaunchTemplateArrayInput interface {
pulumi.Input
ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput
ToLaunchTemplateArrayOutputWithContext(context.Context) LaunchTemplateArrayOutput
}
LaunchTemplateArrayInput is an input type that accepts LaunchTemplateArray and LaunchTemplateArrayOutput values. You can construct a concrete instance of `LaunchTemplateArrayInput` via:
LaunchTemplateArray{ LaunchTemplateArgs{...} }
type LaunchTemplateArrayOutput ¶
type LaunchTemplateArrayOutput struct{ *pulumi.OutputState }
func (LaunchTemplateArrayOutput) ElementType ¶
func (LaunchTemplateArrayOutput) ElementType() reflect.Type
func (LaunchTemplateArrayOutput) Index ¶
func (o LaunchTemplateArrayOutput) Index(i pulumi.IntInput) LaunchTemplateOutput
func (LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutput ¶
func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput
func (LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutputWithContext ¶
func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplateArrayOutput
type LaunchTemplateBlockDeviceMapping ¶
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 ¶
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 ¶
func (LaunchTemplateBlockDeviceMappingArgs) ElementType() reflect.Type
func (LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutput ¶
func (i LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutput() LaunchTemplateBlockDeviceMappingOutput
func (LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutputWithContext ¶
func (i LaunchTemplateBlockDeviceMappingArgs) ToLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingOutput
type LaunchTemplateBlockDeviceMappingArray ¶
type LaunchTemplateBlockDeviceMappingArray []LaunchTemplateBlockDeviceMappingInput
func (LaunchTemplateBlockDeviceMappingArray) ElementType ¶
func (LaunchTemplateBlockDeviceMappingArray) ElementType() reflect.Type
func (LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutput ¶
func (i LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutput() LaunchTemplateBlockDeviceMappingArrayOutput
func (LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext ¶
func (i LaunchTemplateBlockDeviceMappingArray) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingArrayOutput
type LaunchTemplateBlockDeviceMappingArrayInput ¶
type LaunchTemplateBlockDeviceMappingArrayInput interface {
pulumi.Input
ToLaunchTemplateBlockDeviceMappingArrayOutput() LaunchTemplateBlockDeviceMappingArrayOutput
ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext(context.Context) LaunchTemplateBlockDeviceMappingArrayOutput
}
LaunchTemplateBlockDeviceMappingArrayInput is an input type that accepts LaunchTemplateBlockDeviceMappingArray and LaunchTemplateBlockDeviceMappingArrayOutput values. You can construct a concrete instance of `LaunchTemplateBlockDeviceMappingArrayInput` via:
LaunchTemplateBlockDeviceMappingArray{ LaunchTemplateBlockDeviceMappingArgs{...} }
type LaunchTemplateBlockDeviceMappingArrayOutput ¶
type LaunchTemplateBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState }
func (LaunchTemplateBlockDeviceMappingArrayOutput) ElementType ¶
func (LaunchTemplateBlockDeviceMappingArrayOutput) ElementType() reflect.Type
func (LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutput ¶
func (o LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutput() LaunchTemplateBlockDeviceMappingArrayOutput
func (LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext ¶
func (o LaunchTemplateBlockDeviceMappingArrayOutput) ToLaunchTemplateBlockDeviceMappingArrayOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingArrayOutput
type LaunchTemplateBlockDeviceMappingEbs ¶
type LaunchTemplateBlockDeviceMappingEbs struct {
// Whether the volume should be destroyed on instance termination. Defaults to `false` if not set. See [Preserving Amazon EBS Volumes on Instance Termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) for more information.
DeleteOnTermination *string `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`.
Encrypted *string `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/io2"`.
Iops *int `pulumi:"iops"`
// The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume.
// `encrypted` must be set to `true` when this is set.
KmsKeyId *string `pulumi:"kmsKeyId"`
// The Snapshot ID to mount.
SnapshotId *string `pulumi:"snapshotId"`
// The throughput to provision for a `gp3` volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
Throughput *int `pulumi:"throughput"`
// The size of the volume in gigabytes.
VolumeSize *int `pulumi:"volumeSize"`
// The volume type. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `gp2`).
VolumeType *string `pulumi:"volumeType"`
}
type LaunchTemplateBlockDeviceMappingEbsArgs ¶
type LaunchTemplateBlockDeviceMappingEbsArgs struct {
// Whether the volume should be destroyed on instance termination. Defaults to `false` if not set. See [Preserving Amazon EBS Volumes on Instance Termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) for more information.
DeleteOnTermination pulumi.StringPtrInput `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`.
Encrypted pulumi.StringPtrInput `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/io2"`.
Iops pulumi.IntPtrInput `pulumi:"iops"`
// The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume.
// `encrypted` must be set to `true` when this is set.
KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
// The Snapshot ID to mount.
SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
// The throughput to provision for a `gp3` volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
// The size of the volume in gigabytes.
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
// The volume type. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `gp2`).
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (LaunchTemplateBlockDeviceMappingEbsArgs) ElementType ¶
func (LaunchTemplateBlockDeviceMappingEbsArgs) ElementType() reflect.Type
func (LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutput ¶
func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutput() LaunchTemplateBlockDeviceMappingEbsOutput
func (LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext ¶
func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsOutput
func (LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput ¶
func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput
func (LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext ¶
func (i LaunchTemplateBlockDeviceMappingEbsArgs) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput
type LaunchTemplateBlockDeviceMappingEbsInput ¶
type LaunchTemplateBlockDeviceMappingEbsInput interface {
pulumi.Input
ToLaunchTemplateBlockDeviceMappingEbsOutput() LaunchTemplateBlockDeviceMappingEbsOutput
ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext(context.Context) LaunchTemplateBlockDeviceMappingEbsOutput
}
LaunchTemplateBlockDeviceMappingEbsInput is an input type that accepts LaunchTemplateBlockDeviceMappingEbsArgs and LaunchTemplateBlockDeviceMappingEbsOutput values. You can construct a concrete instance of `LaunchTemplateBlockDeviceMappingEbsInput` via:
LaunchTemplateBlockDeviceMappingEbsArgs{...}
type LaunchTemplateBlockDeviceMappingEbsOutput ¶
type LaunchTemplateBlockDeviceMappingEbsOutput struct{ *pulumi.OutputState }
func (LaunchTemplateBlockDeviceMappingEbsOutput) DeleteOnTermination ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) DeleteOnTermination() pulumi.StringPtrOutput
Whether the volume should be destroyed on instance termination. Defaults to `false` if not set. See [Preserving Amazon EBS Volumes on Instance Termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) for more information.
func (LaunchTemplateBlockDeviceMappingEbsOutput) ElementType ¶
func (LaunchTemplateBlockDeviceMappingEbsOutput) ElementType() reflect.Type
func (LaunchTemplateBlockDeviceMappingEbsOutput) Encrypted ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) Encrypted() pulumi.StringPtrOutput
Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume (Default: `false`). Cannot be used with `snapshotId`.
func (LaunchTemplateBlockDeviceMappingEbsOutput) Iops ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) Iops() pulumi.IntPtrOutput
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/io2"`.
func (LaunchTemplateBlockDeviceMappingEbsOutput) KmsKeyId ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) KmsKeyId() pulumi.StringPtrOutput
The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume. `encrypted` must be set to `true` when this is set.
func (LaunchTemplateBlockDeviceMappingEbsOutput) SnapshotId ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) SnapshotId() pulumi.StringPtrOutput
The Snapshot ID to mount.
func (LaunchTemplateBlockDeviceMappingEbsOutput) Throughput ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) Throughput() pulumi.IntPtrOutput
The throughput to provision for a `gp3` volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
func (LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutput ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutput() LaunchTemplateBlockDeviceMappingEbsOutput
func (LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsOutput
func (LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput
func (LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput
func (LaunchTemplateBlockDeviceMappingEbsOutput) VolumeSize ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) VolumeSize() pulumi.IntPtrOutput
The size of the volume in gigabytes.
func (LaunchTemplateBlockDeviceMappingEbsOutput) VolumeType ¶
func (o LaunchTemplateBlockDeviceMappingEbsOutput) VolumeType() pulumi.StringPtrOutput
The volume type. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `gp2`).
type LaunchTemplateBlockDeviceMappingEbsPtrInput ¶
type LaunchTemplateBlockDeviceMappingEbsPtrInput interface {
pulumi.Input
ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput
ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput
}
LaunchTemplateBlockDeviceMappingEbsPtrInput is an input type that accepts LaunchTemplateBlockDeviceMappingEbsArgs, LaunchTemplateBlockDeviceMappingEbsPtr and LaunchTemplateBlockDeviceMappingEbsPtrOutput values. You can construct a concrete instance of `LaunchTemplateBlockDeviceMappingEbsPtrInput` via:
LaunchTemplateBlockDeviceMappingEbsArgs{...}
or:
nil
func LaunchTemplateBlockDeviceMappingEbsPtr ¶
func LaunchTemplateBlockDeviceMappingEbsPtr(v *LaunchTemplateBlockDeviceMappingEbsArgs) LaunchTemplateBlockDeviceMappingEbsPtrInput
type LaunchTemplateBlockDeviceMappingEbsPtrOutput ¶
type LaunchTemplateBlockDeviceMappingEbsPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) DeleteOnTermination ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) DeleteOnTermination() pulumi.StringPtrOutput
Whether the volume should be destroyed on instance termination. Defaults to `false` if not set. See [Preserving Amazon EBS Volumes on Instance Termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) for more information.
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) ElementType ¶
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) ElementType() reflect.Type
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) Encrypted ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) Encrypted() pulumi.StringPtrOutput
Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume (Default: `false`). Cannot be used with `snapshotId`.
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) Iops ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) Iops() pulumi.IntPtrOutput
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/io2"`.
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) KmsKeyId ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) KmsKeyId() pulumi.StringPtrOutput
The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume. `encrypted` must be set to `true` when this is set.
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) SnapshotId ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) SnapshotId() pulumi.StringPtrOutput
The Snapshot ID to mount.
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) Throughput ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) Throughput() pulumi.IntPtrOutput
The throughput to provision for a `gp3` volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutput() LaunchTemplateBlockDeviceMappingEbsPtrOutput
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) ToLaunchTemplateBlockDeviceMappingEbsPtrOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingEbsPtrOutput
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) VolumeSize ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) VolumeSize() pulumi.IntPtrOutput
The size of the volume in gigabytes.
func (LaunchTemplateBlockDeviceMappingEbsPtrOutput) VolumeType ¶
func (o LaunchTemplateBlockDeviceMappingEbsPtrOutput) VolumeType() pulumi.StringPtrOutput
The volume type. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `gp2`).
type LaunchTemplateBlockDeviceMappingInput ¶
type LaunchTemplateBlockDeviceMappingInput interface {
pulumi.Input
ToLaunchTemplateBlockDeviceMappingOutput() LaunchTemplateBlockDeviceMappingOutput
ToLaunchTemplateBlockDeviceMappingOutputWithContext(context.Context) LaunchTemplateBlockDeviceMappingOutput
}
LaunchTemplateBlockDeviceMappingInput is an input type that accepts LaunchTemplateBlockDeviceMappingArgs and LaunchTemplateBlockDeviceMappingOutput values. You can construct a concrete instance of `LaunchTemplateBlockDeviceMappingInput` via:
LaunchTemplateBlockDeviceMappingArgs{...}
type LaunchTemplateBlockDeviceMappingOutput ¶
type LaunchTemplateBlockDeviceMappingOutput struct{ *pulumi.OutputState }
func (LaunchTemplateBlockDeviceMappingOutput) DeviceName ¶
func (o LaunchTemplateBlockDeviceMappingOutput) DeviceName() pulumi.StringPtrOutput
The name of the device to mount.
func (LaunchTemplateBlockDeviceMappingOutput) ElementType ¶
func (LaunchTemplateBlockDeviceMappingOutput) ElementType() reflect.Type
func (LaunchTemplateBlockDeviceMappingOutput) NoDevice ¶
func (o LaunchTemplateBlockDeviceMappingOutput) NoDevice() pulumi.StringPtrOutput
Suppresses the specified device included in the AMI's block device mapping.
func (LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutput ¶
func (o LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutput() LaunchTemplateBlockDeviceMappingOutput
func (LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutputWithContext ¶
func (o LaunchTemplateBlockDeviceMappingOutput) ToLaunchTemplateBlockDeviceMappingOutputWithContext(ctx context.Context) LaunchTemplateBlockDeviceMappingOutput
func (LaunchTemplateBlockDeviceMappingOutput) VirtualName ¶
func (o LaunchTemplateBlockDeviceMappingOutput) VirtualName() pulumi.StringPtrOutput
The [Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g., `"ephemeral0"`).
type LaunchTemplateCapacityReservationSpecification ¶
type LaunchTemplateCapacityReservationSpecification struct {
// Indicates the instance's Capacity Reservation preferences. Can be `open` or `none`. (Default `none`).
CapacityReservationPreference *string `pulumi:"capacityReservationPreference"`
// Used to target a specific Capacity Reservation:
CapacityReservationTarget *LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget `pulumi:"capacityReservationTarget"`
}
type LaunchTemplateCapacityReservationSpecificationArgs ¶
type LaunchTemplateCapacityReservationSpecificationArgs struct {
// Indicates the instance's Capacity Reservation preferences. Can be `open` or `none`. (Default `none`).
CapacityReservationPreference pulumi.StringPtrInput `pulumi:"capacityReservationPreference"`
// Used to target a specific Capacity Reservation:
CapacityReservationTarget LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput `pulumi:"capacityReservationTarget"`
}
func (LaunchTemplateCapacityReservationSpecificationArgs) ElementType ¶
func (LaunchTemplateCapacityReservationSpecificationArgs) ElementType() reflect.Type
func (LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutput ¶
func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutput() LaunchTemplateCapacityReservationSpecificationOutput
func (LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext ¶
func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationOutput
func (LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutput ¶
func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput
func (LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext ¶
func (i LaunchTemplateCapacityReservationSpecificationArgs) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget ¶
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget struct {
// The ID of the Capacity Reservation in which to run the instance.
CapacityReservationId *string `pulumi:"capacityReservationId"`
// The ARN of the Capacity Reservation resource group in which to run the instance.
CapacityReservationResourceGroupArn *string `pulumi:"capacityReservationResourceGroupArn"`
}
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs ¶
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs struct {
// The ID of the Capacity Reservation in which to run the instance.
CapacityReservationId pulumi.StringPtrInput `pulumi:"capacityReservationId"`
// The ARN of the Capacity Reservation resource group in which to run the instance.
CapacityReservationResourceGroupArn pulumi.StringPtrInput `pulumi:"capacityReservationResourceGroupArn"`
}
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType ¶
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType() reflect.Type
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput ¶
func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext ¶
func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (i LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput ¶
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput interface {
pulumi.Input
ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
}
LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput is an input type that accepts LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs and LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput values. You can construct a concrete instance of `LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetInput` via:
LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs{...}
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput ¶
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput struct{ *pulumi.OutputState }
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId ¶
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId() pulumi.StringPtrOutput
The ID of the Capacity Reservation in which to run the instance.
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationResourceGroupArn ¶ added in v5.1.0
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationResourceGroupArn() pulumi.StringPtrOutput
The ARN of the Capacity Reservation resource group in which to run the instance.
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType ¶
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType() reflect.Type
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput ¶
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext ¶
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput ¶
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput interface {
pulumi.Input
ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
}
LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput is an input type that accepts LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs, LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtr and LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput values. You can construct a concrete instance of `LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput` via:
LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs{...}
or:
nil
func LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtr ¶
func LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtr(v *LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrInput
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
type LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId ¶
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId() pulumi.StringPtrOutput
The ID of the Capacity Reservation in which to run the instance.
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationResourceGroupArn ¶ added in v5.1.0
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationResourceGroupArn() pulumi.StringPtrOutput
The ARN of the Capacity Reservation resource group in which to run the instance.
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType ¶
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType() reflect.Type
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (o LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToLaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type LaunchTemplateCapacityReservationSpecificationInput ¶
type LaunchTemplateCapacityReservationSpecificationInput interface {
pulumi.Input
ToLaunchTemplateCapacityReservationSpecificationOutput() LaunchTemplateCapacityReservationSpecificationOutput
ToLaunchTemplateCapacityReservationSpecificationOutputWithContext(context.Context) LaunchTemplateCapacityReservationSpecificationOutput
}
LaunchTemplateCapacityReservationSpecificationInput is an input type that accepts LaunchTemplateCapacityReservationSpecificationArgs and LaunchTemplateCapacityReservationSpecificationOutput values. You can construct a concrete instance of `LaunchTemplateCapacityReservationSpecificationInput` via:
LaunchTemplateCapacityReservationSpecificationArgs{...}
type LaunchTemplateCapacityReservationSpecificationOutput ¶
type LaunchTemplateCapacityReservationSpecificationOutput struct{ *pulumi.OutputState }
func (LaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationPreference ¶
func (o LaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationPreference() pulumi.StringPtrOutput
Indicates the instance's Capacity Reservation preferences. Can be `open` or `none`. (Default `none`).
func (LaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationTarget ¶
func (o LaunchTemplateCapacityReservationSpecificationOutput) CapacityReservationTarget() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
Used to target a specific Capacity Reservation:
func (LaunchTemplateCapacityReservationSpecificationOutput) ElementType ¶
func (LaunchTemplateCapacityReservationSpecificationOutput) ElementType() reflect.Type
func (LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutput ¶
func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutput() LaunchTemplateCapacityReservationSpecificationOutput
func (LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext ¶
func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationOutput
func (LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput ¶
func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput
func (LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext ¶
func (o LaunchTemplateCapacityReservationSpecificationOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput
type LaunchTemplateCapacityReservationSpecificationPtrInput ¶
type LaunchTemplateCapacityReservationSpecificationPtrInput interface {
pulumi.Input
ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput
ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput
}
LaunchTemplateCapacityReservationSpecificationPtrInput is an input type that accepts LaunchTemplateCapacityReservationSpecificationArgs, LaunchTemplateCapacityReservationSpecificationPtr and LaunchTemplateCapacityReservationSpecificationPtrOutput values. You can construct a concrete instance of `LaunchTemplateCapacityReservationSpecificationPtrInput` via:
LaunchTemplateCapacityReservationSpecificationArgs{...}
or:
nil
func LaunchTemplateCapacityReservationSpecificationPtr ¶
func LaunchTemplateCapacityReservationSpecificationPtr(v *LaunchTemplateCapacityReservationSpecificationArgs) LaunchTemplateCapacityReservationSpecificationPtrInput
type LaunchTemplateCapacityReservationSpecificationPtrOutput ¶
type LaunchTemplateCapacityReservationSpecificationPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateCapacityReservationSpecificationPtrOutput) CapacityReservationPreference ¶
func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) CapacityReservationPreference() pulumi.StringPtrOutput
Indicates the instance's Capacity Reservation preferences. Can be `open` or `none`. (Default `none`).
func (LaunchTemplateCapacityReservationSpecificationPtrOutput) CapacityReservationTarget ¶
func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) CapacityReservationTarget() LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetPtrOutput
Used to target a specific Capacity Reservation:
func (LaunchTemplateCapacityReservationSpecificationPtrOutput) ElementType ¶
func (LaunchTemplateCapacityReservationSpecificationPtrOutput) ElementType() reflect.Type
func (LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput ¶
func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutput() LaunchTemplateCapacityReservationSpecificationPtrOutput
func (LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext ¶
func (o LaunchTemplateCapacityReservationSpecificationPtrOutput) ToLaunchTemplateCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCapacityReservationSpecificationPtrOutput
type LaunchTemplateCpuOptions ¶
type LaunchTemplateCpuOptions struct {
// The number of CPU cores for the instance.
CoreCount *int `pulumi:"coreCount"`
// The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1.
// Otherwise, specify the default value of 2.
ThreadsPerCore *int `pulumi:"threadsPerCore"`
}
type LaunchTemplateCpuOptionsArgs ¶
type LaunchTemplateCpuOptionsArgs struct {
// The number of CPU cores for the instance.
CoreCount pulumi.IntPtrInput `pulumi:"coreCount"`
// The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1.
// Otherwise, specify the default value of 2.
ThreadsPerCore pulumi.IntPtrInput `pulumi:"threadsPerCore"`
}
func (LaunchTemplateCpuOptionsArgs) ElementType ¶
func (LaunchTemplateCpuOptionsArgs) ElementType() reflect.Type
func (LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsOutput ¶
func (i LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsOutput() LaunchTemplateCpuOptionsOutput
func (LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsOutputWithContext ¶
func (i LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsOutput
func (LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsPtrOutput ¶
func (i LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsPtrOutput() LaunchTemplateCpuOptionsPtrOutput
func (LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsPtrOutputWithContext ¶
func (i LaunchTemplateCpuOptionsArgs) ToLaunchTemplateCpuOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsPtrOutput
type LaunchTemplateCpuOptionsInput ¶
type LaunchTemplateCpuOptionsInput interface {
pulumi.Input
ToLaunchTemplateCpuOptionsOutput() LaunchTemplateCpuOptionsOutput
ToLaunchTemplateCpuOptionsOutputWithContext(context.Context) LaunchTemplateCpuOptionsOutput
}
LaunchTemplateCpuOptionsInput is an input type that accepts LaunchTemplateCpuOptionsArgs and LaunchTemplateCpuOptionsOutput values. You can construct a concrete instance of `LaunchTemplateCpuOptionsInput` via:
LaunchTemplateCpuOptionsArgs{...}
type LaunchTemplateCpuOptionsOutput ¶
type LaunchTemplateCpuOptionsOutput struct{ *pulumi.OutputState }
func (LaunchTemplateCpuOptionsOutput) CoreCount ¶
func (o LaunchTemplateCpuOptionsOutput) CoreCount() pulumi.IntPtrOutput
The number of CPU cores for the instance.
func (LaunchTemplateCpuOptionsOutput) ElementType ¶
func (LaunchTemplateCpuOptionsOutput) ElementType() reflect.Type
func (LaunchTemplateCpuOptionsOutput) ThreadsPerCore ¶
func (o LaunchTemplateCpuOptionsOutput) ThreadsPerCore() pulumi.IntPtrOutput
The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2.
func (LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsOutput ¶
func (o LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsOutput() LaunchTemplateCpuOptionsOutput
func (LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsOutputWithContext ¶
func (o LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsOutput
func (LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsPtrOutput ¶
func (o LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsPtrOutput() LaunchTemplateCpuOptionsPtrOutput
func (LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsPtrOutputWithContext ¶
func (o LaunchTemplateCpuOptionsOutput) ToLaunchTemplateCpuOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsPtrOutput
type LaunchTemplateCpuOptionsPtrInput ¶
type LaunchTemplateCpuOptionsPtrInput interface {
pulumi.Input
ToLaunchTemplateCpuOptionsPtrOutput() LaunchTemplateCpuOptionsPtrOutput
ToLaunchTemplateCpuOptionsPtrOutputWithContext(context.Context) LaunchTemplateCpuOptionsPtrOutput
}
LaunchTemplateCpuOptionsPtrInput is an input type that accepts LaunchTemplateCpuOptionsArgs, LaunchTemplateCpuOptionsPtr and LaunchTemplateCpuOptionsPtrOutput values. You can construct a concrete instance of `LaunchTemplateCpuOptionsPtrInput` via:
LaunchTemplateCpuOptionsArgs{...}
or:
nil
func LaunchTemplateCpuOptionsPtr ¶
func LaunchTemplateCpuOptionsPtr(v *LaunchTemplateCpuOptionsArgs) LaunchTemplateCpuOptionsPtrInput
type LaunchTemplateCpuOptionsPtrOutput ¶
type LaunchTemplateCpuOptionsPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateCpuOptionsPtrOutput) CoreCount ¶
func (o LaunchTemplateCpuOptionsPtrOutput) CoreCount() pulumi.IntPtrOutput
The number of CPU cores for the instance.
func (LaunchTemplateCpuOptionsPtrOutput) Elem ¶
func (o LaunchTemplateCpuOptionsPtrOutput) Elem() LaunchTemplateCpuOptionsOutput
func (LaunchTemplateCpuOptionsPtrOutput) ElementType ¶
func (LaunchTemplateCpuOptionsPtrOutput) ElementType() reflect.Type
func (LaunchTemplateCpuOptionsPtrOutput) ThreadsPerCore ¶
func (o LaunchTemplateCpuOptionsPtrOutput) ThreadsPerCore() pulumi.IntPtrOutput
The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2.
func (LaunchTemplateCpuOptionsPtrOutput) ToLaunchTemplateCpuOptionsPtrOutput ¶
func (o LaunchTemplateCpuOptionsPtrOutput) ToLaunchTemplateCpuOptionsPtrOutput() LaunchTemplateCpuOptionsPtrOutput
func (LaunchTemplateCpuOptionsPtrOutput) ToLaunchTemplateCpuOptionsPtrOutputWithContext ¶
func (o LaunchTemplateCpuOptionsPtrOutput) ToLaunchTemplateCpuOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateCpuOptionsPtrOutput
type LaunchTemplateCreditSpecification ¶
type LaunchTemplateCreditSpecification struct {
// The credit option for CPU usage. Can be `"standard"` or `"unlimited"`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
CpuCredits *string `pulumi:"cpuCredits"`
}
type LaunchTemplateCreditSpecificationArgs ¶
type LaunchTemplateCreditSpecificationArgs struct {
// The credit option for CPU usage. Can be `"standard"` or `"unlimited"`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
CpuCredits pulumi.StringPtrInput `pulumi:"cpuCredits"`
}
func (LaunchTemplateCreditSpecificationArgs) ElementType ¶
func (LaunchTemplateCreditSpecificationArgs) ElementType() reflect.Type
func (LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutput ¶
func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutput() LaunchTemplateCreditSpecificationOutput
func (LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutputWithContext ¶
func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationOutput
func (LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutput ¶
func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput
func (LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutputWithContext ¶
func (i LaunchTemplateCreditSpecificationArgs) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput
type LaunchTemplateCreditSpecificationInput ¶
type LaunchTemplateCreditSpecificationInput interface {
pulumi.Input
ToLaunchTemplateCreditSpecificationOutput() LaunchTemplateCreditSpecificationOutput
ToLaunchTemplateCreditSpecificationOutputWithContext(context.Context) LaunchTemplateCreditSpecificationOutput
}
LaunchTemplateCreditSpecificationInput is an input type that accepts LaunchTemplateCreditSpecificationArgs and LaunchTemplateCreditSpecificationOutput values. You can construct a concrete instance of `LaunchTemplateCreditSpecificationInput` via:
LaunchTemplateCreditSpecificationArgs{...}
type LaunchTemplateCreditSpecificationOutput ¶
type LaunchTemplateCreditSpecificationOutput struct{ *pulumi.OutputState }
func (LaunchTemplateCreditSpecificationOutput) CpuCredits ¶
func (o LaunchTemplateCreditSpecificationOutput) CpuCredits() pulumi.StringPtrOutput
The credit option for CPU usage. Can be `"standard"` or `"unlimited"`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
func (LaunchTemplateCreditSpecificationOutput) ElementType ¶
func (LaunchTemplateCreditSpecificationOutput) ElementType() reflect.Type
func (LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutput ¶
func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutput() LaunchTemplateCreditSpecificationOutput
func (LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutputWithContext ¶
func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationOutput
func (LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutput ¶
func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput
func (LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext ¶
func (o LaunchTemplateCreditSpecificationOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput
type LaunchTemplateCreditSpecificationPtrInput ¶
type LaunchTemplateCreditSpecificationPtrInput interface {
pulumi.Input
ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput
ToLaunchTemplateCreditSpecificationPtrOutputWithContext(context.Context) LaunchTemplateCreditSpecificationPtrOutput
}
LaunchTemplateCreditSpecificationPtrInput is an input type that accepts LaunchTemplateCreditSpecificationArgs, LaunchTemplateCreditSpecificationPtr and LaunchTemplateCreditSpecificationPtrOutput values. You can construct a concrete instance of `LaunchTemplateCreditSpecificationPtrInput` via:
LaunchTemplateCreditSpecificationArgs{...}
or:
nil
func LaunchTemplateCreditSpecificationPtr ¶
func LaunchTemplateCreditSpecificationPtr(v *LaunchTemplateCreditSpecificationArgs) LaunchTemplateCreditSpecificationPtrInput
type LaunchTemplateCreditSpecificationPtrOutput ¶
type LaunchTemplateCreditSpecificationPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateCreditSpecificationPtrOutput) CpuCredits ¶
func (o LaunchTemplateCreditSpecificationPtrOutput) CpuCredits() pulumi.StringPtrOutput
The credit option for CPU usage. Can be `"standard"` or `"unlimited"`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
func (LaunchTemplateCreditSpecificationPtrOutput) ElementType ¶
func (LaunchTemplateCreditSpecificationPtrOutput) ElementType() reflect.Type
func (LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutput ¶
func (o LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutput() LaunchTemplateCreditSpecificationPtrOutput
func (LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext ¶
func (o LaunchTemplateCreditSpecificationPtrOutput) ToLaunchTemplateCreditSpecificationPtrOutputWithContext(ctx context.Context) LaunchTemplateCreditSpecificationPtrOutput
type LaunchTemplateElasticGpuSpecification ¶
type LaunchTemplateElasticGpuSpecification struct {
// The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-gpus.html#elastic-gpus-basics)
Type string `pulumi:"type"`
}
type LaunchTemplateElasticGpuSpecificationArgs ¶
type LaunchTemplateElasticGpuSpecificationArgs struct {
// The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-gpus.html#elastic-gpus-basics)
Type pulumi.StringInput `pulumi:"type"`
}
func (LaunchTemplateElasticGpuSpecificationArgs) ElementType ¶
func (LaunchTemplateElasticGpuSpecificationArgs) ElementType() reflect.Type
func (LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutput ¶
func (i LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutput() LaunchTemplateElasticGpuSpecificationOutput
func (LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutputWithContext ¶
func (i LaunchTemplateElasticGpuSpecificationArgs) ToLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationOutput
type LaunchTemplateElasticGpuSpecificationArray ¶
type LaunchTemplateElasticGpuSpecificationArray []LaunchTemplateElasticGpuSpecificationInput
func (LaunchTemplateElasticGpuSpecificationArray) ElementType ¶
func (LaunchTemplateElasticGpuSpecificationArray) ElementType() reflect.Type
func (LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutput ¶
func (i LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutput() LaunchTemplateElasticGpuSpecificationArrayOutput
func (LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext ¶
func (i LaunchTemplateElasticGpuSpecificationArray) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationArrayOutput
type LaunchTemplateElasticGpuSpecificationArrayInput ¶
type LaunchTemplateElasticGpuSpecificationArrayInput interface {
pulumi.Input
ToLaunchTemplateElasticGpuSpecificationArrayOutput() LaunchTemplateElasticGpuSpecificationArrayOutput
ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(context.Context) LaunchTemplateElasticGpuSpecificationArrayOutput
}
LaunchTemplateElasticGpuSpecificationArrayInput is an input type that accepts LaunchTemplateElasticGpuSpecificationArray and LaunchTemplateElasticGpuSpecificationArrayOutput values. You can construct a concrete instance of `LaunchTemplateElasticGpuSpecificationArrayInput` via:
LaunchTemplateElasticGpuSpecificationArray{ LaunchTemplateElasticGpuSpecificationArgs{...} }
type LaunchTemplateElasticGpuSpecificationArrayOutput ¶
type LaunchTemplateElasticGpuSpecificationArrayOutput struct{ *pulumi.OutputState }
func (LaunchTemplateElasticGpuSpecificationArrayOutput) ElementType ¶
func (LaunchTemplateElasticGpuSpecificationArrayOutput) ElementType() reflect.Type
func (LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutput ¶
func (o LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutput() LaunchTemplateElasticGpuSpecificationArrayOutput
func (LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext ¶
func (o LaunchTemplateElasticGpuSpecificationArrayOutput) ToLaunchTemplateElasticGpuSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationArrayOutput
type LaunchTemplateElasticGpuSpecificationInput ¶
type LaunchTemplateElasticGpuSpecificationInput interface {
pulumi.Input
ToLaunchTemplateElasticGpuSpecificationOutput() LaunchTemplateElasticGpuSpecificationOutput
ToLaunchTemplateElasticGpuSpecificationOutputWithContext(context.Context) LaunchTemplateElasticGpuSpecificationOutput
}
LaunchTemplateElasticGpuSpecificationInput is an input type that accepts LaunchTemplateElasticGpuSpecificationArgs and LaunchTemplateElasticGpuSpecificationOutput values. You can construct a concrete instance of `LaunchTemplateElasticGpuSpecificationInput` via:
LaunchTemplateElasticGpuSpecificationArgs{...}
type LaunchTemplateElasticGpuSpecificationOutput ¶
type LaunchTemplateElasticGpuSpecificationOutput struct{ *pulumi.OutputState }
func (LaunchTemplateElasticGpuSpecificationOutput) ElementType ¶
func (LaunchTemplateElasticGpuSpecificationOutput) ElementType() reflect.Type
func (LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutput ¶
func (o LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutput() LaunchTemplateElasticGpuSpecificationOutput
func (LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutputWithContext ¶
func (o LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuSpecificationOutputWithContext(ctx context.Context) LaunchTemplateElasticGpuSpecificationOutput
func (LaunchTemplateElasticGpuSpecificationOutput) Type ¶
func (o LaunchTemplateElasticGpuSpecificationOutput) Type() pulumi.StringOutput
The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-gpus.html#elastic-gpus-basics)
type LaunchTemplateElasticInferenceAccelerator ¶
type LaunchTemplateElasticInferenceAccelerator struct {
// Accelerator type.
Type string `pulumi:"type"`
}
type LaunchTemplateElasticInferenceAcceleratorArgs ¶
type LaunchTemplateElasticInferenceAcceleratorArgs struct {
// Accelerator type.
Type pulumi.StringInput `pulumi:"type"`
}
func (LaunchTemplateElasticInferenceAcceleratorArgs) ElementType ¶
func (LaunchTemplateElasticInferenceAcceleratorArgs) ElementType() reflect.Type
func (LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutput ¶
func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutput() LaunchTemplateElasticInferenceAcceleratorOutput
func (LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext ¶
func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorOutput
func (LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput ¶
func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput
func (LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext ¶
func (i LaunchTemplateElasticInferenceAcceleratorArgs) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput
type LaunchTemplateElasticInferenceAcceleratorInput ¶
type LaunchTemplateElasticInferenceAcceleratorInput interface {
pulumi.Input
ToLaunchTemplateElasticInferenceAcceleratorOutput() LaunchTemplateElasticInferenceAcceleratorOutput
ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext(context.Context) LaunchTemplateElasticInferenceAcceleratorOutput
}
LaunchTemplateElasticInferenceAcceleratorInput is an input type that accepts LaunchTemplateElasticInferenceAcceleratorArgs and LaunchTemplateElasticInferenceAcceleratorOutput values. You can construct a concrete instance of `LaunchTemplateElasticInferenceAcceleratorInput` via:
LaunchTemplateElasticInferenceAcceleratorArgs{...}
type LaunchTemplateElasticInferenceAcceleratorOutput ¶
type LaunchTemplateElasticInferenceAcceleratorOutput struct{ *pulumi.OutputState }
func (LaunchTemplateElasticInferenceAcceleratorOutput) ElementType ¶
func (LaunchTemplateElasticInferenceAcceleratorOutput) ElementType() reflect.Type
func (LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutput ¶
func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutput() LaunchTemplateElasticInferenceAcceleratorOutput
func (LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext ¶
func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorOutput
func (LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput ¶
func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput
func (LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext ¶
func (o LaunchTemplateElasticInferenceAcceleratorOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput
func (LaunchTemplateElasticInferenceAcceleratorOutput) Type ¶
func (o LaunchTemplateElasticInferenceAcceleratorOutput) Type() pulumi.StringOutput
Accelerator type.
type LaunchTemplateElasticInferenceAcceleratorPtrInput ¶
type LaunchTemplateElasticInferenceAcceleratorPtrInput interface {
pulumi.Input
ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput
ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput
}
LaunchTemplateElasticInferenceAcceleratorPtrInput is an input type that accepts LaunchTemplateElasticInferenceAcceleratorArgs, LaunchTemplateElasticInferenceAcceleratorPtr and LaunchTemplateElasticInferenceAcceleratorPtrOutput values. You can construct a concrete instance of `LaunchTemplateElasticInferenceAcceleratorPtrInput` via:
LaunchTemplateElasticInferenceAcceleratorArgs{...}
or:
nil
func LaunchTemplateElasticInferenceAcceleratorPtr ¶
func LaunchTemplateElasticInferenceAcceleratorPtr(v *LaunchTemplateElasticInferenceAcceleratorArgs) LaunchTemplateElasticInferenceAcceleratorPtrInput
type LaunchTemplateElasticInferenceAcceleratorPtrOutput ¶
type LaunchTemplateElasticInferenceAcceleratorPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) ElementType ¶
func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) ElementType() reflect.Type
func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput ¶
func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutput() LaunchTemplateElasticInferenceAcceleratorPtrOutput
func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext ¶
func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) ToLaunchTemplateElasticInferenceAcceleratorPtrOutputWithContext(ctx context.Context) LaunchTemplateElasticInferenceAcceleratorPtrOutput
func (LaunchTemplateElasticInferenceAcceleratorPtrOutput) Type ¶
func (o LaunchTemplateElasticInferenceAcceleratorPtrOutput) Type() pulumi.StringPtrOutput
Accelerator type.
type LaunchTemplateEnclaveOptions ¶
type LaunchTemplateEnclaveOptions struct {
// If set to `true`, Nitro Enclaves will be enabled on the instance.
Enabled *bool `pulumi:"enabled"`
}
type LaunchTemplateEnclaveOptionsArgs ¶
type LaunchTemplateEnclaveOptionsArgs struct {
// If set to `true`, Nitro Enclaves will be enabled on the instance.
Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}
func (LaunchTemplateEnclaveOptionsArgs) ElementType ¶
func (LaunchTemplateEnclaveOptionsArgs) ElementType() reflect.Type
func (LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsOutput ¶
func (i LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsOutput() LaunchTemplateEnclaveOptionsOutput
func (LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsOutputWithContext ¶
func (i LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsOutput
func (LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsPtrOutput ¶
func (i LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsPtrOutput() LaunchTemplateEnclaveOptionsPtrOutput
func (LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext ¶
func (i LaunchTemplateEnclaveOptionsArgs) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsPtrOutput
type LaunchTemplateEnclaveOptionsInput ¶
type LaunchTemplateEnclaveOptionsInput interface {
pulumi.Input
ToLaunchTemplateEnclaveOptionsOutput() LaunchTemplateEnclaveOptionsOutput
ToLaunchTemplateEnclaveOptionsOutputWithContext(context.Context) LaunchTemplateEnclaveOptionsOutput
}
LaunchTemplateEnclaveOptionsInput is an input type that accepts LaunchTemplateEnclaveOptionsArgs and LaunchTemplateEnclaveOptionsOutput values. You can construct a concrete instance of `LaunchTemplateEnclaveOptionsInput` via:
LaunchTemplateEnclaveOptionsArgs{...}
type LaunchTemplateEnclaveOptionsOutput ¶
type LaunchTemplateEnclaveOptionsOutput struct{ *pulumi.OutputState }
func (LaunchTemplateEnclaveOptionsOutput) ElementType ¶
func (LaunchTemplateEnclaveOptionsOutput) ElementType() reflect.Type
func (LaunchTemplateEnclaveOptionsOutput) Enabled ¶
func (o LaunchTemplateEnclaveOptionsOutput) Enabled() pulumi.BoolPtrOutput
If set to `true`, Nitro Enclaves will be enabled on the instance.
func (LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsOutput ¶
func (o LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsOutput() LaunchTemplateEnclaveOptionsOutput
func (LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsOutputWithContext ¶
func (o LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsOutput
func (LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsPtrOutput ¶
func (o LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsPtrOutput() LaunchTemplateEnclaveOptionsPtrOutput
func (LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext ¶
func (o LaunchTemplateEnclaveOptionsOutput) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsPtrOutput
type LaunchTemplateEnclaveOptionsPtrInput ¶
type LaunchTemplateEnclaveOptionsPtrInput interface {
pulumi.Input
ToLaunchTemplateEnclaveOptionsPtrOutput() LaunchTemplateEnclaveOptionsPtrOutput
ToLaunchTemplateEnclaveOptionsPtrOutputWithContext(context.Context) LaunchTemplateEnclaveOptionsPtrOutput
}
LaunchTemplateEnclaveOptionsPtrInput is an input type that accepts LaunchTemplateEnclaveOptionsArgs, LaunchTemplateEnclaveOptionsPtr and LaunchTemplateEnclaveOptionsPtrOutput values. You can construct a concrete instance of `LaunchTemplateEnclaveOptionsPtrInput` via:
LaunchTemplateEnclaveOptionsArgs{...}
or:
nil
func LaunchTemplateEnclaveOptionsPtr ¶
func LaunchTemplateEnclaveOptionsPtr(v *LaunchTemplateEnclaveOptionsArgs) LaunchTemplateEnclaveOptionsPtrInput
type LaunchTemplateEnclaveOptionsPtrOutput ¶
type LaunchTemplateEnclaveOptionsPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateEnclaveOptionsPtrOutput) ElementType ¶
func (LaunchTemplateEnclaveOptionsPtrOutput) ElementType() reflect.Type
func (LaunchTemplateEnclaveOptionsPtrOutput) Enabled ¶
func (o LaunchTemplateEnclaveOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput
If set to `true`, Nitro Enclaves will be enabled on the instance.
func (LaunchTemplateEnclaveOptionsPtrOutput) ToLaunchTemplateEnclaveOptionsPtrOutput ¶
func (o LaunchTemplateEnclaveOptionsPtrOutput) ToLaunchTemplateEnclaveOptionsPtrOutput() LaunchTemplateEnclaveOptionsPtrOutput
func (LaunchTemplateEnclaveOptionsPtrOutput) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext ¶
func (o LaunchTemplateEnclaveOptionsPtrOutput) ToLaunchTemplateEnclaveOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateEnclaveOptionsPtrOutput
type LaunchTemplateHibernationOptions ¶
type LaunchTemplateHibernationOptions struct {
// If set to `true`, the launched EC2 instance will hibernation enabled.
Configured bool `pulumi:"configured"`
}
type LaunchTemplateHibernationOptionsArgs ¶
type LaunchTemplateHibernationOptionsArgs struct {
// If set to `true`, the launched EC2 instance will hibernation enabled.
Configured pulumi.BoolInput `pulumi:"configured"`
}
func (LaunchTemplateHibernationOptionsArgs) ElementType ¶
func (LaunchTemplateHibernationOptionsArgs) ElementType() reflect.Type
func (LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsOutput ¶
func (i LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsOutput() LaunchTemplateHibernationOptionsOutput
func (LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsOutputWithContext ¶
func (i LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsOutput
func (LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsPtrOutput ¶
func (i LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsPtrOutput() LaunchTemplateHibernationOptionsPtrOutput
func (LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsPtrOutputWithContext ¶
func (i LaunchTemplateHibernationOptionsArgs) ToLaunchTemplateHibernationOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsPtrOutput
type LaunchTemplateHibernationOptionsInput ¶
type LaunchTemplateHibernationOptionsInput interface {
pulumi.Input
ToLaunchTemplateHibernationOptionsOutput() LaunchTemplateHibernationOptionsOutput
ToLaunchTemplateHibernationOptionsOutputWithContext(context.Context) LaunchTemplateHibernationOptionsOutput
}
LaunchTemplateHibernationOptionsInput is an input type that accepts LaunchTemplateHibernationOptionsArgs and LaunchTemplateHibernationOptionsOutput values. You can construct a concrete instance of `LaunchTemplateHibernationOptionsInput` via:
LaunchTemplateHibernationOptionsArgs{...}
type LaunchTemplateHibernationOptionsOutput ¶
type LaunchTemplateHibernationOptionsOutput struct{ *pulumi.OutputState }
func (LaunchTemplateHibernationOptionsOutput) Configured ¶
func (o LaunchTemplateHibernationOptionsOutput) Configured() pulumi.BoolOutput
If set to `true`, the launched EC2 instance will hibernation enabled.
func (LaunchTemplateHibernationOptionsOutput) ElementType ¶
func (LaunchTemplateHibernationOptionsOutput) ElementType() reflect.Type
func (LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsOutput ¶
func (o LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsOutput() LaunchTemplateHibernationOptionsOutput
func (LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsOutputWithContext ¶
func (o LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsOutput
func (LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsPtrOutput ¶
func (o LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsPtrOutput() LaunchTemplateHibernationOptionsPtrOutput
func (LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsPtrOutputWithContext ¶
func (o LaunchTemplateHibernationOptionsOutput) ToLaunchTemplateHibernationOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsPtrOutput
type LaunchTemplateHibernationOptionsPtrInput ¶
type LaunchTemplateHibernationOptionsPtrInput interface {
pulumi.Input
ToLaunchTemplateHibernationOptionsPtrOutput() LaunchTemplateHibernationOptionsPtrOutput
ToLaunchTemplateHibernationOptionsPtrOutputWithContext(context.Context) LaunchTemplateHibernationOptionsPtrOutput
}
LaunchTemplateHibernationOptionsPtrInput is an input type that accepts LaunchTemplateHibernationOptionsArgs, LaunchTemplateHibernationOptionsPtr and LaunchTemplateHibernationOptionsPtrOutput values. You can construct a concrete instance of `LaunchTemplateHibernationOptionsPtrInput` via:
LaunchTemplateHibernationOptionsArgs{...}
or:
nil
func LaunchTemplateHibernationOptionsPtr ¶
func LaunchTemplateHibernationOptionsPtr(v *LaunchTemplateHibernationOptionsArgs) LaunchTemplateHibernationOptionsPtrInput
type LaunchTemplateHibernationOptionsPtrOutput ¶
type LaunchTemplateHibernationOptionsPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateHibernationOptionsPtrOutput) Configured ¶
func (o LaunchTemplateHibernationOptionsPtrOutput) Configured() pulumi.BoolPtrOutput
If set to `true`, the launched EC2 instance will hibernation enabled.
func (LaunchTemplateHibernationOptionsPtrOutput) ElementType ¶
func (LaunchTemplateHibernationOptionsPtrOutput) ElementType() reflect.Type
func (LaunchTemplateHibernationOptionsPtrOutput) ToLaunchTemplateHibernationOptionsPtrOutput ¶
func (o LaunchTemplateHibernationOptionsPtrOutput) ToLaunchTemplateHibernationOptionsPtrOutput() LaunchTemplateHibernationOptionsPtrOutput
func (LaunchTemplateHibernationOptionsPtrOutput) ToLaunchTemplateHibernationOptionsPtrOutputWithContext ¶
func (o LaunchTemplateHibernationOptionsPtrOutput) ToLaunchTemplateHibernationOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateHibernationOptionsPtrOutput
type LaunchTemplateIamInstanceProfileArgs ¶
type LaunchTemplateIamInstanceProfileArgs struct {
// The Amazon Resource Name (ARN) of the instance profile.
Arn pulumi.StringPtrInput `pulumi:"arn"`
// The name of the instance profile.
Name pulumi.StringPtrInput `pulumi:"name"`
}
func (LaunchTemplateIamInstanceProfileArgs) ElementType ¶
func (LaunchTemplateIamInstanceProfileArgs) ElementType() reflect.Type
func (LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutput ¶
func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutput() LaunchTemplateIamInstanceProfileOutput
func (LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutputWithContext ¶
func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfileOutput
func (LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutput ¶
func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput
func (LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext ¶
func (i LaunchTemplateIamInstanceProfileArgs) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput
type LaunchTemplateIamInstanceProfileInput ¶
type LaunchTemplateIamInstanceProfileInput interface {
pulumi.Input
ToLaunchTemplateIamInstanceProfileOutput() LaunchTemplateIamInstanceProfileOutput
ToLaunchTemplateIamInstanceProfileOutputWithContext(context.Context) LaunchTemplateIamInstanceProfileOutput
}
LaunchTemplateIamInstanceProfileInput is an input type that accepts LaunchTemplateIamInstanceProfileArgs and LaunchTemplateIamInstanceProfileOutput values. You can construct a concrete instance of `LaunchTemplateIamInstanceProfileInput` via:
LaunchTemplateIamInstanceProfileArgs{...}
type LaunchTemplateIamInstanceProfileOutput ¶
type LaunchTemplateIamInstanceProfileOutput struct{ *pulumi.OutputState }
func (LaunchTemplateIamInstanceProfileOutput) Arn ¶
func (o LaunchTemplateIamInstanceProfileOutput) Arn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the instance profile.
func (LaunchTemplateIamInstanceProfileOutput) ElementType ¶
func (LaunchTemplateIamInstanceProfileOutput) ElementType() reflect.Type
func (LaunchTemplateIamInstanceProfileOutput) Name ¶
func (o LaunchTemplateIamInstanceProfileOutput) Name() pulumi.StringPtrOutput
The name of the instance profile.
func (LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutput ¶
func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutput() LaunchTemplateIamInstanceProfileOutput
func (LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutputWithContext ¶
func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfileOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfileOutput
func (LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutput ¶
func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput
func (LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext ¶
func (o LaunchTemplateIamInstanceProfileOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput
type LaunchTemplateIamInstanceProfilePtrInput ¶
type LaunchTemplateIamInstanceProfilePtrInput interface {
pulumi.Input
ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput
ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(context.Context) LaunchTemplateIamInstanceProfilePtrOutput
}
LaunchTemplateIamInstanceProfilePtrInput is an input type that accepts LaunchTemplateIamInstanceProfileArgs, LaunchTemplateIamInstanceProfilePtr and LaunchTemplateIamInstanceProfilePtrOutput values. You can construct a concrete instance of `LaunchTemplateIamInstanceProfilePtrInput` via:
LaunchTemplateIamInstanceProfileArgs{...}
or:
nil
func LaunchTemplateIamInstanceProfilePtr ¶
func LaunchTemplateIamInstanceProfilePtr(v *LaunchTemplateIamInstanceProfileArgs) LaunchTemplateIamInstanceProfilePtrInput
type LaunchTemplateIamInstanceProfilePtrOutput ¶
type LaunchTemplateIamInstanceProfilePtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateIamInstanceProfilePtrOutput) Arn ¶
func (o LaunchTemplateIamInstanceProfilePtrOutput) Arn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the instance profile.
func (LaunchTemplateIamInstanceProfilePtrOutput) ElementType ¶
func (LaunchTemplateIamInstanceProfilePtrOutput) ElementType() reflect.Type
func (LaunchTemplateIamInstanceProfilePtrOutput) Name ¶
func (o LaunchTemplateIamInstanceProfilePtrOutput) Name() pulumi.StringPtrOutput
The name of the instance profile.
func (LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutput ¶
func (o LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutput() LaunchTemplateIamInstanceProfilePtrOutput
func (LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext ¶
func (o LaunchTemplateIamInstanceProfilePtrOutput) ToLaunchTemplateIamInstanceProfilePtrOutputWithContext(ctx context.Context) LaunchTemplateIamInstanceProfilePtrOutput
type LaunchTemplateInput ¶
type LaunchTemplateInput interface {
pulumi.Input
ToLaunchTemplateOutput() LaunchTemplateOutput
ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput
}
type LaunchTemplateInstanceMarketOptions ¶
type LaunchTemplateInstanceMarketOptions struct {
// The market type. Can be `spot`.
MarketType *string `pulumi:"marketType"`
// The options for [Spot Instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html)
SpotOptions *LaunchTemplateInstanceMarketOptionsSpotOptions `pulumi:"spotOptions"`
}
type LaunchTemplateInstanceMarketOptionsArgs ¶
type LaunchTemplateInstanceMarketOptionsArgs struct {
// The market type. Can be `spot`.
MarketType pulumi.StringPtrInput `pulumi:"marketType"`
// The options for [Spot Instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html)
SpotOptions LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput `pulumi:"spotOptions"`
}
func (LaunchTemplateInstanceMarketOptionsArgs) ElementType ¶
func (LaunchTemplateInstanceMarketOptionsArgs) ElementType() reflect.Type
func (LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutput ¶
func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutput() LaunchTemplateInstanceMarketOptionsOutput
func (LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutputWithContext ¶
func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsOutput
func (LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutput ¶
func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput
func (LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext ¶
func (i LaunchTemplateInstanceMarketOptionsArgs) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput
type LaunchTemplateInstanceMarketOptionsInput ¶
type LaunchTemplateInstanceMarketOptionsInput interface {
pulumi.Input
ToLaunchTemplateInstanceMarketOptionsOutput() LaunchTemplateInstanceMarketOptionsOutput
ToLaunchTemplateInstanceMarketOptionsOutputWithContext(context.Context) LaunchTemplateInstanceMarketOptionsOutput
}
LaunchTemplateInstanceMarketOptionsInput is an input type that accepts LaunchTemplateInstanceMarketOptionsArgs and LaunchTemplateInstanceMarketOptionsOutput values. You can construct a concrete instance of `LaunchTemplateInstanceMarketOptionsInput` via:
LaunchTemplateInstanceMarketOptionsArgs{...}
type LaunchTemplateInstanceMarketOptionsOutput ¶
type LaunchTemplateInstanceMarketOptionsOutput struct{ *pulumi.OutputState }
func (LaunchTemplateInstanceMarketOptionsOutput) ElementType ¶
func (LaunchTemplateInstanceMarketOptionsOutput) ElementType() reflect.Type
func (LaunchTemplateInstanceMarketOptionsOutput) MarketType ¶
func (o LaunchTemplateInstanceMarketOptionsOutput) MarketType() pulumi.StringPtrOutput
The market type. Can be `spot`.
func (LaunchTemplateInstanceMarketOptionsOutput) SpotOptions ¶
func (o LaunchTemplateInstanceMarketOptionsOutput) SpotOptions() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
The options for [Spot Instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html)
func (LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutput ¶
func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutput() LaunchTemplateInstanceMarketOptionsOutput
func (LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutputWithContext ¶
func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsOutput
func (LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput ¶
func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput
func (LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext ¶
func (o LaunchTemplateInstanceMarketOptionsOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput
type LaunchTemplateInstanceMarketOptionsPtrInput ¶
type LaunchTemplateInstanceMarketOptionsPtrInput interface {
pulumi.Input
ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput
ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput
}
LaunchTemplateInstanceMarketOptionsPtrInput is an input type that accepts LaunchTemplateInstanceMarketOptionsArgs, LaunchTemplateInstanceMarketOptionsPtr and LaunchTemplateInstanceMarketOptionsPtrOutput values. You can construct a concrete instance of `LaunchTemplateInstanceMarketOptionsPtrInput` via:
LaunchTemplateInstanceMarketOptionsArgs{...}
or:
nil
func LaunchTemplateInstanceMarketOptionsPtr ¶
func LaunchTemplateInstanceMarketOptionsPtr(v *LaunchTemplateInstanceMarketOptionsArgs) LaunchTemplateInstanceMarketOptionsPtrInput
type LaunchTemplateInstanceMarketOptionsPtrOutput ¶
type LaunchTemplateInstanceMarketOptionsPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateInstanceMarketOptionsPtrOutput) ElementType ¶
func (LaunchTemplateInstanceMarketOptionsPtrOutput) ElementType() reflect.Type
func (LaunchTemplateInstanceMarketOptionsPtrOutput) MarketType ¶
func (o LaunchTemplateInstanceMarketOptionsPtrOutput) MarketType() pulumi.StringPtrOutput
The market type. Can be `spot`.
func (LaunchTemplateInstanceMarketOptionsPtrOutput) SpotOptions ¶
func (o LaunchTemplateInstanceMarketOptionsPtrOutput) SpotOptions() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
The options for [Spot Instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html)
func (LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput ¶
func (o LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsPtrOutput
func (LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext ¶
func (o LaunchTemplateInstanceMarketOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsPtrOutput
type LaunchTemplateInstanceMarketOptionsSpotOptions ¶
type LaunchTemplateInstanceMarketOptionsSpotOptions struct {
// The required duration in minutes. This value must be a multiple of 60.
BlockDurationMinutes *int `pulumi:"blockDurationMinutes"`
// The behavior when a Spot Instance is interrupted. Can be `hibernate`,
// `stop`, or `terminate`. (Default: `terminate`).
InstanceInterruptionBehavior *string `pulumi:"instanceInterruptionBehavior"`
// The maximum hourly price you're willing to pay for the Spot Instances.
MaxPrice *string `pulumi:"maxPrice"`
// The Spot Instance request type. Can be `one-time`, or `persistent`.
SpotInstanceType *string `pulumi:"spotInstanceType"`
// The end date of the request.
ValidUntil *string `pulumi:"validUntil"`
}
type LaunchTemplateInstanceMarketOptionsSpotOptionsArgs ¶
type LaunchTemplateInstanceMarketOptionsSpotOptionsArgs struct {
// The required duration in minutes. This value must be a multiple of 60.
BlockDurationMinutes pulumi.IntPtrInput `pulumi:"blockDurationMinutes"`
// The behavior when a Spot Instance is interrupted. Can be `hibernate`,
// `stop`, or `terminate`. (Default: `terminate`).
InstanceInterruptionBehavior pulumi.StringPtrInput `pulumi:"instanceInterruptionBehavior"`
// The maximum hourly price you're willing to pay for the Spot Instances.
MaxPrice pulumi.StringPtrInput `pulumi:"maxPrice"`
// The Spot Instance request type. Can be `one-time`, or `persistent`.
SpotInstanceType pulumi.StringPtrInput `pulumi:"spotInstanceType"`
// The end date of the request.
ValidUntil pulumi.StringPtrInput `pulumi:"validUntil"`
}
func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ElementType ¶
func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ElementType() reflect.Type
func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput ¶
func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext ¶
func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput ¶
func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext ¶
func (i LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
type LaunchTemplateInstanceMarketOptionsSpotOptionsInput ¶
type LaunchTemplateInstanceMarketOptionsSpotOptionsInput interface {
pulumi.Input
ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext(context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
}
LaunchTemplateInstanceMarketOptionsSpotOptionsInput is an input type that accepts LaunchTemplateInstanceMarketOptionsSpotOptionsArgs and LaunchTemplateInstanceMarketOptionsSpotOptionsOutput values. You can construct a concrete instance of `LaunchTemplateInstanceMarketOptionsSpotOptionsInput` via:
LaunchTemplateInstanceMarketOptionsSpotOptionsArgs{...}
type LaunchTemplateInstanceMarketOptionsSpotOptionsOutput ¶
type LaunchTemplateInstanceMarketOptionsSpotOptionsOutput struct{ *pulumi.OutputState }
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) BlockDurationMinutes ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) BlockDurationMinutes() pulumi.IntPtrOutput
The required duration in minutes. This value must be a multiple of 60.
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ElementType ¶
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ElementType() reflect.Type
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) InstanceInterruptionBehavior ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput
The behavior when a Spot Instance is interrupted. Can be `hibernate`, `stop`, or `terminate`. (Default: `terminate`).
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) MaxPrice ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) MaxPrice() pulumi.StringPtrOutput
The maximum hourly price you're willing to pay for the Spot Instances.
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) SpotInstanceType ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) SpotInstanceType() pulumi.StringPtrOutput
The Spot Instance request type. Can be `one-time`, or `persistent`.
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ValidUntil ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsOutput) ValidUntil() pulumi.StringPtrOutput
The end date of the request.
type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput ¶
type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput interface {
pulumi.Input
ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
}
LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput is an input type that accepts LaunchTemplateInstanceMarketOptionsSpotOptionsArgs, LaunchTemplateInstanceMarketOptionsSpotOptionsPtr and LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput values. You can construct a concrete instance of `LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput` via:
LaunchTemplateInstanceMarketOptionsSpotOptionsArgs{...}
or:
nil
func LaunchTemplateInstanceMarketOptionsSpotOptionsPtr ¶
func LaunchTemplateInstanceMarketOptionsSpotOptionsPtr(v *LaunchTemplateInstanceMarketOptionsSpotOptionsArgs) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrInput
type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput ¶
type LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) BlockDurationMinutes ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) BlockDurationMinutes() pulumi.IntPtrOutput
The required duration in minutes. This value must be a multiple of 60.
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ElementType ¶
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ElementType() reflect.Type
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) InstanceInterruptionBehavior ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) InstanceInterruptionBehavior() pulumi.StringPtrOutput
The behavior when a Spot Instance is interrupted. Can be `hibernate`, `stop`, or `terminate`. (Default: `terminate`).
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) MaxPrice ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) MaxPrice() pulumi.StringPtrOutput
The maximum hourly price you're willing to pay for the Spot Instances.
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) SpotInstanceType ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) SpotInstanceType() pulumi.StringPtrOutput
The Spot Instance request type. Can be `one-time`, or `persistent`.
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput() LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ToLaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput
func (LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ValidUntil ¶
func (o LaunchTemplateInstanceMarketOptionsSpotOptionsPtrOutput) ValidUntil() pulumi.StringPtrOutput
The end date of the request.
type LaunchTemplateLicenseSpecification ¶
type LaunchTemplateLicenseSpecification struct {
// ARN of the license configuration.
LicenseConfigurationArn string `pulumi:"licenseConfigurationArn"`
}
type LaunchTemplateLicenseSpecificationArgs ¶
type LaunchTemplateLicenseSpecificationArgs struct {
// ARN of the license configuration.
LicenseConfigurationArn pulumi.StringInput `pulumi:"licenseConfigurationArn"`
}
func (LaunchTemplateLicenseSpecificationArgs) ElementType ¶
func (LaunchTemplateLicenseSpecificationArgs) ElementType() reflect.Type
func (LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutput ¶
func (i LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutput() LaunchTemplateLicenseSpecificationOutput
func (LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutputWithContext ¶
func (i LaunchTemplateLicenseSpecificationArgs) ToLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationOutput
type LaunchTemplateLicenseSpecificationArray ¶
type LaunchTemplateLicenseSpecificationArray []LaunchTemplateLicenseSpecificationInput
func (LaunchTemplateLicenseSpecificationArray) ElementType ¶
func (LaunchTemplateLicenseSpecificationArray) ElementType() reflect.Type
func (LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutput ¶
func (i LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutput() LaunchTemplateLicenseSpecificationArrayOutput
func (LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext ¶
func (i LaunchTemplateLicenseSpecificationArray) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationArrayOutput
type LaunchTemplateLicenseSpecificationArrayInput ¶
type LaunchTemplateLicenseSpecificationArrayInput interface {
pulumi.Input
ToLaunchTemplateLicenseSpecificationArrayOutput() LaunchTemplateLicenseSpecificationArrayOutput
ToLaunchTemplateLicenseSpecificationArrayOutputWithContext(context.Context) LaunchTemplateLicenseSpecificationArrayOutput
}
LaunchTemplateLicenseSpecificationArrayInput is an input type that accepts LaunchTemplateLicenseSpecificationArray and LaunchTemplateLicenseSpecificationArrayOutput values. You can construct a concrete instance of `LaunchTemplateLicenseSpecificationArrayInput` via:
LaunchTemplateLicenseSpecificationArray{ LaunchTemplateLicenseSpecificationArgs{...} }
type LaunchTemplateLicenseSpecificationArrayOutput ¶
type LaunchTemplateLicenseSpecificationArrayOutput struct{ *pulumi.OutputState }
func (LaunchTemplateLicenseSpecificationArrayOutput) ElementType ¶
func (LaunchTemplateLicenseSpecificationArrayOutput) ElementType() reflect.Type
func (LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutput ¶
func (o LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutput() LaunchTemplateLicenseSpecificationArrayOutput
func (LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext ¶
func (o LaunchTemplateLicenseSpecificationArrayOutput) ToLaunchTemplateLicenseSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationArrayOutput
type LaunchTemplateLicenseSpecificationInput ¶
type LaunchTemplateLicenseSpecificationInput interface {
pulumi.Input
ToLaunchTemplateLicenseSpecificationOutput() LaunchTemplateLicenseSpecificationOutput
ToLaunchTemplateLicenseSpecificationOutputWithContext(context.Context) LaunchTemplateLicenseSpecificationOutput
}
LaunchTemplateLicenseSpecificationInput is an input type that accepts LaunchTemplateLicenseSpecificationArgs and LaunchTemplateLicenseSpecificationOutput values. You can construct a concrete instance of `LaunchTemplateLicenseSpecificationInput` via:
LaunchTemplateLicenseSpecificationArgs{...}
type LaunchTemplateLicenseSpecificationOutput ¶
type LaunchTemplateLicenseSpecificationOutput struct{ *pulumi.OutputState }
func (LaunchTemplateLicenseSpecificationOutput) ElementType ¶
func (LaunchTemplateLicenseSpecificationOutput) ElementType() reflect.Type
func (LaunchTemplateLicenseSpecificationOutput) LicenseConfigurationArn ¶
func (o LaunchTemplateLicenseSpecificationOutput) LicenseConfigurationArn() pulumi.StringOutput
ARN of the license configuration.
func (LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutput ¶
func (o LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutput() LaunchTemplateLicenseSpecificationOutput
func (LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutputWithContext ¶
func (o LaunchTemplateLicenseSpecificationOutput) ToLaunchTemplateLicenseSpecificationOutputWithContext(ctx context.Context) LaunchTemplateLicenseSpecificationOutput
type LaunchTemplateMap ¶
type LaunchTemplateMap map[string]LaunchTemplateInput
func (LaunchTemplateMap) ElementType ¶
func (LaunchTemplateMap) ElementType() reflect.Type
func (LaunchTemplateMap) ToLaunchTemplateMapOutput ¶
func (i LaunchTemplateMap) ToLaunchTemplateMapOutput() LaunchTemplateMapOutput
func (LaunchTemplateMap) ToLaunchTemplateMapOutputWithContext ¶
func (i LaunchTemplateMap) ToLaunchTemplateMapOutputWithContext(ctx context.Context) LaunchTemplateMapOutput
type LaunchTemplateMapInput ¶
type LaunchTemplateMapInput interface {
pulumi.Input
ToLaunchTemplateMapOutput() LaunchTemplateMapOutput
ToLaunchTemplateMapOutputWithContext(context.Context) LaunchTemplateMapOutput
}
LaunchTemplateMapInput is an input type that accepts LaunchTemplateMap and LaunchTemplateMapOutput values. You can construct a concrete instance of `LaunchTemplateMapInput` via:
LaunchTemplateMap{ "key": LaunchTemplateArgs{...} }
type LaunchTemplateMapOutput ¶
type LaunchTemplateMapOutput struct{ *pulumi.OutputState }
func (LaunchTemplateMapOutput) ElementType ¶
func (LaunchTemplateMapOutput) ElementType() reflect.Type
func (LaunchTemplateMapOutput) MapIndex ¶
func (o LaunchTemplateMapOutput) MapIndex(k pulumi.StringInput) LaunchTemplateOutput
func (LaunchTemplateMapOutput) ToLaunchTemplateMapOutput ¶
func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutput() LaunchTemplateMapOutput
func (LaunchTemplateMapOutput) ToLaunchTemplateMapOutputWithContext ¶
func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutputWithContext(ctx context.Context) LaunchTemplateMapOutput
type LaunchTemplateMetadataOptions ¶
type LaunchTemplateMetadataOptions struct {
// Whether the metadata service is available. Can be `"enabled"` or `"disabled"`. (Default: `"enabled"`).
HttpEndpoint *string `pulumi:"httpEndpoint"`
// Enables or disables the IPv6 endpoint for the instance metadata service. (Default: `disabled`).
HttpProtocolIpv6 *string `pulumi:"httpProtocolIpv6"`
// The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from `1` to `64`. (Default: `1`).
HttpPutResponseHopLimit *int `pulumi:"httpPutResponseHopLimit"`
// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Can be `"optional"` or `"required"`. (Default: `"optional"`).
HttpTokens *string `pulumi:"httpTokens"`
// Enables or disables access to instance tags from the instance metadata service. (Default: `disabled`).
InstanceMetadataTags *string `pulumi:"instanceMetadataTags"`
}
type LaunchTemplateMetadataOptionsArgs ¶
type LaunchTemplateMetadataOptionsArgs struct {
// Whether the metadata service is available. Can be `"enabled"` or `"disabled"`. (Default: `"enabled"`).
HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"`
// Enables or disables the IPv6 endpoint for the instance metadata service. (Default: `disabled`).
HttpProtocolIpv6 pulumi.StringPtrInput `pulumi:"httpProtocolIpv6"`
// The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from `1` to `64`. (Default: `1`).
HttpPutResponseHopLimit pulumi.IntPtrInput `pulumi:"httpPutResponseHopLimit"`
// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Can be `"optional"` or `"required"`. (Default: `"optional"`).
HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"`
// Enables or disables access to instance tags from the instance metadata service. (Default: `disabled`).
InstanceMetadataTags pulumi.StringPtrInput `pulumi:"instanceMetadataTags"`
}
func (LaunchTemplateMetadataOptionsArgs) ElementType ¶
func (LaunchTemplateMetadataOptionsArgs) ElementType() reflect.Type
func (LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsOutput ¶
func (i LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsOutput() LaunchTemplateMetadataOptionsOutput
func (LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsOutputWithContext ¶
func (i LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsOutput
func (LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsPtrOutput ¶
func (i LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsPtrOutput() LaunchTemplateMetadataOptionsPtrOutput
func (LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsPtrOutputWithContext ¶
func (i LaunchTemplateMetadataOptionsArgs) ToLaunchTemplateMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsPtrOutput
type LaunchTemplateMetadataOptionsInput ¶
type LaunchTemplateMetadataOptionsInput interface {
pulumi.Input
ToLaunchTemplateMetadataOptionsOutput() LaunchTemplateMetadataOptionsOutput
ToLaunchTemplateMetadataOptionsOutputWithContext(context.Context) LaunchTemplateMetadataOptionsOutput
}
LaunchTemplateMetadataOptionsInput is an input type that accepts LaunchTemplateMetadataOptionsArgs and LaunchTemplateMetadataOptionsOutput values. You can construct a concrete instance of `LaunchTemplateMetadataOptionsInput` via:
LaunchTemplateMetadataOptionsArgs{...}
type LaunchTemplateMetadataOptionsOutput ¶
type LaunchTemplateMetadataOptionsOutput struct{ *pulumi.OutputState }
func (LaunchTemplateMetadataOptionsOutput) ElementType ¶
func (LaunchTemplateMetadataOptionsOutput) ElementType() reflect.Type
func (LaunchTemplateMetadataOptionsOutput) HttpEndpoint ¶
func (o LaunchTemplateMetadataOptionsOutput) HttpEndpoint() pulumi.StringPtrOutput
Whether the metadata service is available. Can be `"enabled"` or `"disabled"`. (Default: `"enabled"`).
func (LaunchTemplateMetadataOptionsOutput) HttpProtocolIpv6 ¶
func (o LaunchTemplateMetadataOptionsOutput) HttpProtocolIpv6() pulumi.StringPtrOutput
Enables or disables the IPv6 endpoint for the instance metadata service. (Default: `disabled`).
func (LaunchTemplateMetadataOptionsOutput) HttpPutResponseHopLimit ¶
func (o LaunchTemplateMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from `1` to `64`. (Default: `1`).
func (LaunchTemplateMetadataOptionsOutput) HttpTokens ¶
func (o LaunchTemplateMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput
Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Can be `"optional"` or `"required"`. (Default: `"optional"`).
func (LaunchTemplateMetadataOptionsOutput) InstanceMetadataTags ¶
func (o LaunchTemplateMetadataOptionsOutput) InstanceMetadataTags() pulumi.StringPtrOutput
Enables or disables access to instance tags from the instance metadata service. (Default: `disabled`).
func (LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsOutput ¶
func (o LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsOutput() LaunchTemplateMetadataOptionsOutput
func (LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsOutputWithContext ¶
func (o LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsOutput
func (LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsPtrOutput ¶
func (o LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsPtrOutput() LaunchTemplateMetadataOptionsPtrOutput
func (LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsPtrOutputWithContext ¶
func (o LaunchTemplateMetadataOptionsOutput) ToLaunchTemplateMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsPtrOutput
type LaunchTemplateMetadataOptionsPtrInput ¶
type LaunchTemplateMetadataOptionsPtrInput interface {
pulumi.Input
ToLaunchTemplateMetadataOptionsPtrOutput() LaunchTemplateMetadataOptionsPtrOutput
ToLaunchTemplateMetadataOptionsPtrOutputWithContext(context.Context) LaunchTemplateMetadataOptionsPtrOutput
}
LaunchTemplateMetadataOptionsPtrInput is an input type that accepts LaunchTemplateMetadataOptionsArgs, LaunchTemplateMetadataOptionsPtr and LaunchTemplateMetadataOptionsPtrOutput values. You can construct a concrete instance of `LaunchTemplateMetadataOptionsPtrInput` via:
LaunchTemplateMetadataOptionsArgs{...}
or:
nil
func LaunchTemplateMetadataOptionsPtr ¶
func LaunchTemplateMetadataOptionsPtr(v *LaunchTemplateMetadataOptionsArgs) LaunchTemplateMetadataOptionsPtrInput
type LaunchTemplateMetadataOptionsPtrOutput ¶
type LaunchTemplateMetadataOptionsPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateMetadataOptionsPtrOutput) ElementType ¶
func (LaunchTemplateMetadataOptionsPtrOutput) ElementType() reflect.Type
func (LaunchTemplateMetadataOptionsPtrOutput) HttpEndpoint ¶
func (o LaunchTemplateMetadataOptionsPtrOutput) HttpEndpoint() pulumi.StringPtrOutput
Whether the metadata service is available. Can be `"enabled"` or `"disabled"`. (Default: `"enabled"`).
func (LaunchTemplateMetadataOptionsPtrOutput) HttpProtocolIpv6 ¶
func (o LaunchTemplateMetadataOptionsPtrOutput) HttpProtocolIpv6() pulumi.StringPtrOutput
Enables or disables the IPv6 endpoint for the instance metadata service. (Default: `disabled`).
func (LaunchTemplateMetadataOptionsPtrOutput) HttpPutResponseHopLimit ¶
func (o LaunchTemplateMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from `1` to `64`. (Default: `1`).
func (LaunchTemplateMetadataOptionsPtrOutput) HttpTokens ¶
func (o LaunchTemplateMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput
Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Can be `"optional"` or `"required"`. (Default: `"optional"`).
func (LaunchTemplateMetadataOptionsPtrOutput) InstanceMetadataTags ¶
func (o LaunchTemplateMetadataOptionsPtrOutput) InstanceMetadataTags() pulumi.StringPtrOutput
Enables or disables access to instance tags from the instance metadata service. (Default: `disabled`).
func (LaunchTemplateMetadataOptionsPtrOutput) ToLaunchTemplateMetadataOptionsPtrOutput ¶
func (o LaunchTemplateMetadataOptionsPtrOutput) ToLaunchTemplateMetadataOptionsPtrOutput() LaunchTemplateMetadataOptionsPtrOutput
func (LaunchTemplateMetadataOptionsPtrOutput) ToLaunchTemplateMetadataOptionsPtrOutputWithContext ¶
func (o LaunchTemplateMetadataOptionsPtrOutput) ToLaunchTemplateMetadataOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplateMetadataOptionsPtrOutput
type LaunchTemplateMonitoring ¶
type LaunchTemplateMonitoring struct {
// If `true`, the launched EC2 instance will have detailed monitoring enabled.
Enabled *bool `pulumi:"enabled"`
}
type LaunchTemplateMonitoringArgs ¶
type LaunchTemplateMonitoringArgs struct {
// If `true`, the launched EC2 instance will have detailed monitoring enabled.
Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}
func (LaunchTemplateMonitoringArgs) ElementType ¶
func (LaunchTemplateMonitoringArgs) ElementType() reflect.Type
func (LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutput ¶
func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutput() LaunchTemplateMonitoringOutput
func (LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutputWithContext ¶
func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringOutputWithContext(ctx context.Context) LaunchTemplateMonitoringOutput
func (LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutput ¶
func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput
func (LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutputWithContext ¶
func (i LaunchTemplateMonitoringArgs) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput
type LaunchTemplateMonitoringInput ¶
type LaunchTemplateMonitoringInput interface {
pulumi.Input
ToLaunchTemplateMonitoringOutput() LaunchTemplateMonitoringOutput
ToLaunchTemplateMonitoringOutputWithContext(context.Context) LaunchTemplateMonitoringOutput
}
LaunchTemplateMonitoringInput is an input type that accepts LaunchTemplateMonitoringArgs and LaunchTemplateMonitoringOutput values. You can construct a concrete instance of `LaunchTemplateMonitoringInput` via:
LaunchTemplateMonitoringArgs{...}
type LaunchTemplateMonitoringOutput ¶
type LaunchTemplateMonitoringOutput struct{ *pulumi.OutputState }
func (LaunchTemplateMonitoringOutput) ElementType ¶
func (LaunchTemplateMonitoringOutput) ElementType() reflect.Type
func (LaunchTemplateMonitoringOutput) Enabled ¶
func (o LaunchTemplateMonitoringOutput) Enabled() pulumi.BoolPtrOutput
If `true`, the launched EC2 instance will have detailed monitoring enabled.
func (LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutput ¶
func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutput() LaunchTemplateMonitoringOutput
func (LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutputWithContext ¶
func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringOutputWithContext(ctx context.Context) LaunchTemplateMonitoringOutput
func (LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutput ¶
func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput
func (LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutputWithContext ¶
func (o LaunchTemplateMonitoringOutput) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput
type LaunchTemplateMonitoringPtrInput ¶
type LaunchTemplateMonitoringPtrInput interface {
pulumi.Input
ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput
ToLaunchTemplateMonitoringPtrOutputWithContext(context.Context) LaunchTemplateMonitoringPtrOutput
}
LaunchTemplateMonitoringPtrInput is an input type that accepts LaunchTemplateMonitoringArgs, LaunchTemplateMonitoringPtr and LaunchTemplateMonitoringPtrOutput values. You can construct a concrete instance of `LaunchTemplateMonitoringPtrInput` via:
LaunchTemplateMonitoringArgs{...}
or:
nil
func LaunchTemplateMonitoringPtr ¶
func LaunchTemplateMonitoringPtr(v *LaunchTemplateMonitoringArgs) LaunchTemplateMonitoringPtrInput
type LaunchTemplateMonitoringPtrOutput ¶
type LaunchTemplateMonitoringPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateMonitoringPtrOutput) Elem ¶
func (o LaunchTemplateMonitoringPtrOutput) Elem() LaunchTemplateMonitoringOutput
func (LaunchTemplateMonitoringPtrOutput) ElementType ¶
func (LaunchTemplateMonitoringPtrOutput) ElementType() reflect.Type
func (LaunchTemplateMonitoringPtrOutput) Enabled ¶
func (o LaunchTemplateMonitoringPtrOutput) Enabled() pulumi.BoolPtrOutput
If `true`, the launched EC2 instance will have detailed monitoring enabled.
func (LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutput ¶
func (o LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutput() LaunchTemplateMonitoringPtrOutput
func (LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutputWithContext ¶
func (o LaunchTemplateMonitoringPtrOutput) ToLaunchTemplateMonitoringPtrOutputWithContext(ctx context.Context) LaunchTemplateMonitoringPtrOutput
type LaunchTemplateNetworkInterface ¶
type LaunchTemplateNetworkInterface struct {
// Associate a Carrier IP address with `eth0` for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value.
AssociateCarrierIpAddress *string `pulumi:"associateCarrierIpAddress"`
// Associate a public ip address with the network interface. Boolean value.
AssociatePublicIpAddress *string `pulumi:"associatePublicIpAddress"`
// Whether the network interface should be destroyed on instance termination. Defaults to `false` if not set.
DeleteOnTermination *string `pulumi:"deleteOnTermination"`
// Description of the network interface.
Description *string `pulumi:"description"`
// The integer index of the network interface attachment.
DeviceIndex *int `pulumi:"deviceIndex"`
// The type of network interface. To create an Elastic Fabric Adapter (EFA), specify `efa`.
InterfaceType *string `pulumi:"interfaceType"`
// The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with `ipv4Addresses`
Ipv4AddressCount *int `pulumi:"ipv4AddressCount"`
// One or more private IPv4 addresses to associate. Conflicts with `ipv4AddressCount`
Ipv4Addresses []string `pulumi:"ipv4Addresses"`
// The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with `ipv4Prefixes`
Ipv4PrefixCount *int `pulumi:"ipv4PrefixCount"`
// One or more IPv4 prefixes to be assigned to the network interface. Conflicts with `ipv4PrefixCount`
Ipv4Prefixes []string `pulumi:"ipv4Prefixes"`
// The number of IPv6 addresses to assign to a network interface. Conflicts with `ipv6Addresses`
Ipv6AddressCount *int `pulumi:"ipv6AddressCount"`
// One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with `ipv6AddressCount`
Ipv6Addresses []string `pulumi:"ipv6Addresses"`
// The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with `ipv6Prefixes`
Ipv6PrefixCount *int `pulumi:"ipv6PrefixCount"`
// One or more IPv6 prefixes to be assigned to the network interface. Conflicts with `ipv6PrefixCount`
Ipv6Prefixes []string `pulumi:"ipv6Prefixes"`
// The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
NetworkCardIndex *int `pulumi:"networkCardIndex"`
// The ID of the network interface to attach.
NetworkInterfaceId *string `pulumi:"networkInterfaceId"`
// The primary private IPv4 address.
PrivateIpAddress *string `pulumi:"privateIpAddress"`
// A list of security group IDs to associate.
SecurityGroups []string `pulumi:"securityGroups"`
// The VPC Subnet ID to associate.
SubnetId *string `pulumi:"subnetId"`
}
type LaunchTemplateNetworkInterfaceArgs ¶
type LaunchTemplateNetworkInterfaceArgs struct {
// Associate a Carrier IP address with `eth0` for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value.
AssociateCarrierIpAddress pulumi.StringPtrInput `pulumi:"associateCarrierIpAddress"`
// Associate a public ip address with the network interface. Boolean value.
AssociatePublicIpAddress pulumi.StringPtrInput `pulumi:"associatePublicIpAddress"`
// Whether the network interface should be destroyed on instance termination. Defaults to `false` if not set.
DeleteOnTermination pulumi.StringPtrInput `pulumi:"deleteOnTermination"`
// Description of the network interface.
Description pulumi.StringPtrInput `pulumi:"description"`
// The integer index of the network interface attachment.
DeviceIndex pulumi.IntPtrInput `pulumi:"deviceIndex"`
// The type of network interface. To create an Elastic Fabric Adapter (EFA), specify `efa`.
InterfaceType pulumi.StringPtrInput `pulumi:"interfaceType"`
// The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with `ipv4Addresses`
Ipv4AddressCount pulumi.IntPtrInput `pulumi:"ipv4AddressCount"`
// One or more private IPv4 addresses to associate. Conflicts with `ipv4AddressCount`
Ipv4Addresses pulumi.StringArrayInput `pulumi:"ipv4Addresses"`
// The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with `ipv4Prefixes`
Ipv4PrefixCount pulumi.IntPtrInput `pulumi:"ipv4PrefixCount"`
// One or more IPv4 prefixes to be assigned to the network interface. Conflicts with `ipv4PrefixCount`
Ipv4Prefixes pulumi.StringArrayInput `pulumi:"ipv4Prefixes"`
// The number of IPv6 addresses to assign to a network interface. Conflicts with `ipv6Addresses`
Ipv6AddressCount pulumi.IntPtrInput `pulumi:"ipv6AddressCount"`
// One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with `ipv6AddressCount`
Ipv6Addresses pulumi.StringArrayInput `pulumi:"ipv6Addresses"`
// The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with `ipv6Prefixes`
Ipv6PrefixCount pulumi.IntPtrInput `pulumi:"ipv6PrefixCount"`
// One or more IPv6 prefixes to be assigned to the network interface. Conflicts with `ipv6PrefixCount`
Ipv6Prefixes pulumi.StringArrayInput `pulumi:"ipv6Prefixes"`
// The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
NetworkCardIndex pulumi.IntPtrInput `pulumi:"networkCardIndex"`
// The ID of the network interface to attach.
NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"`
// The primary private IPv4 address.
PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"`
// A list of security group IDs to associate.
SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
// The VPC Subnet ID to associate.
SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}
func (LaunchTemplateNetworkInterfaceArgs) ElementType ¶
func (LaunchTemplateNetworkInterfaceArgs) ElementType() reflect.Type
func (LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutput ¶
func (i LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput
func (LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutputWithContext ¶
func (i LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceOutput
type LaunchTemplateNetworkInterfaceArray ¶
type LaunchTemplateNetworkInterfaceArray []LaunchTemplateNetworkInterfaceInput
func (LaunchTemplateNetworkInterfaceArray) ElementType ¶
func (LaunchTemplateNetworkInterfaceArray) ElementType() reflect.Type
func (LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutput ¶
func (i LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput
func (LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext ¶
func (i LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceArrayOutput
type LaunchTemplateNetworkInterfaceArrayInput ¶
type LaunchTemplateNetworkInterfaceArrayInput interface {
pulumi.Input
ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput
ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(context.Context) LaunchTemplateNetworkInterfaceArrayOutput
}
LaunchTemplateNetworkInterfaceArrayInput is an input type that accepts LaunchTemplateNetworkInterfaceArray and LaunchTemplateNetworkInterfaceArrayOutput values. You can construct a concrete instance of `LaunchTemplateNetworkInterfaceArrayInput` via:
LaunchTemplateNetworkInterfaceArray{ LaunchTemplateNetworkInterfaceArgs{...} }
type LaunchTemplateNetworkInterfaceArrayOutput ¶
type LaunchTemplateNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (LaunchTemplateNetworkInterfaceArrayOutput) ElementType ¶
func (LaunchTemplateNetworkInterfaceArrayOutput) ElementType() reflect.Type
func (LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutput ¶
func (o LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput
func (LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext ¶
func (o LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceArrayOutput
type LaunchTemplateNetworkInterfaceInput ¶
type LaunchTemplateNetworkInterfaceInput interface {
pulumi.Input
ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput
ToLaunchTemplateNetworkInterfaceOutputWithContext(context.Context) LaunchTemplateNetworkInterfaceOutput
}
LaunchTemplateNetworkInterfaceInput is an input type that accepts LaunchTemplateNetworkInterfaceArgs and LaunchTemplateNetworkInterfaceOutput values. You can construct a concrete instance of `LaunchTemplateNetworkInterfaceInput` via:
LaunchTemplateNetworkInterfaceArgs{...}
type LaunchTemplateNetworkInterfaceOutput ¶
type LaunchTemplateNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (LaunchTemplateNetworkInterfaceOutput) AssociateCarrierIpAddress ¶
func (o LaunchTemplateNetworkInterfaceOutput) AssociateCarrierIpAddress() pulumi.StringPtrOutput
Associate a Carrier IP address with `eth0` for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value.
func (LaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress ¶
func (o LaunchTemplateNetworkInterfaceOutput) AssociatePublicIpAddress() pulumi.StringPtrOutput
Associate a public ip address with the network interface. Boolean value.
func (LaunchTemplateNetworkInterfaceOutput) DeleteOnTermination ¶
func (o LaunchTemplateNetworkInterfaceOutput) DeleteOnTermination() pulumi.StringPtrOutput
Whether the network interface should be destroyed on instance termination. Defaults to `false` if not set.
func (LaunchTemplateNetworkInterfaceOutput) Description ¶
func (o LaunchTemplateNetworkInterfaceOutput) Description() pulumi.StringPtrOutput
Description of the network interface.
func (LaunchTemplateNetworkInterfaceOutput) DeviceIndex ¶
func (o LaunchTemplateNetworkInterfaceOutput) DeviceIndex() pulumi.IntPtrOutput
The integer index of the network interface attachment.
func (LaunchTemplateNetworkInterfaceOutput) ElementType ¶
func (LaunchTemplateNetworkInterfaceOutput) ElementType() reflect.Type
func (LaunchTemplateNetworkInterfaceOutput) InterfaceType ¶
func (o LaunchTemplateNetworkInterfaceOutput) InterfaceType() pulumi.StringPtrOutput
The type of network interface. To create an Elastic Fabric Adapter (EFA), specify `efa`.
func (LaunchTemplateNetworkInterfaceOutput) Ipv4AddressCount ¶
func (o LaunchTemplateNetworkInterfaceOutput) Ipv4AddressCount() pulumi.IntPtrOutput
The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with `ipv4Addresses`
func (LaunchTemplateNetworkInterfaceOutput) Ipv4Addresses ¶
func (o LaunchTemplateNetworkInterfaceOutput) Ipv4Addresses() pulumi.StringArrayOutput
One or more private IPv4 addresses to associate. Conflicts with `ipv4AddressCount`
func (LaunchTemplateNetworkInterfaceOutput) Ipv4PrefixCount ¶ added in v5.1.0
func (o LaunchTemplateNetworkInterfaceOutput) Ipv4PrefixCount() pulumi.IntPtrOutput
The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with `ipv4Prefixes`
func (LaunchTemplateNetworkInterfaceOutput) Ipv4Prefixes ¶ added in v5.1.0
func (o LaunchTemplateNetworkInterfaceOutput) Ipv4Prefixes() pulumi.StringArrayOutput
One or more IPv4 prefixes to be assigned to the network interface. Conflicts with `ipv4PrefixCount`
func (LaunchTemplateNetworkInterfaceOutput) Ipv6AddressCount ¶
func (o LaunchTemplateNetworkInterfaceOutput) Ipv6AddressCount() pulumi.IntPtrOutput
The number of IPv6 addresses to assign to a network interface. Conflicts with `ipv6Addresses`
func (LaunchTemplateNetworkInterfaceOutput) Ipv6Addresses ¶
func (o LaunchTemplateNetworkInterfaceOutput) Ipv6Addresses() pulumi.StringArrayOutput
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with `ipv6AddressCount`
func (LaunchTemplateNetworkInterfaceOutput) Ipv6PrefixCount ¶ added in v5.1.0
func (o LaunchTemplateNetworkInterfaceOutput) Ipv6PrefixCount() pulumi.IntPtrOutput
The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with `ipv6Prefixes`
func (LaunchTemplateNetworkInterfaceOutput) Ipv6Prefixes ¶ added in v5.1.0
func (o LaunchTemplateNetworkInterfaceOutput) Ipv6Prefixes() pulumi.StringArrayOutput
One or more IPv6 prefixes to be assigned to the network interface. Conflicts with `ipv6PrefixCount`
func (LaunchTemplateNetworkInterfaceOutput) NetworkCardIndex ¶
func (o LaunchTemplateNetworkInterfaceOutput) NetworkCardIndex() pulumi.IntPtrOutput
The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
func (LaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId ¶
func (o LaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringPtrOutput
The ID of the network interface to attach.
func (LaunchTemplateNetworkInterfaceOutput) PrivateIpAddress ¶
func (o LaunchTemplateNetworkInterfaceOutput) PrivateIpAddress() pulumi.StringPtrOutput
The primary private IPv4 address.
func (LaunchTemplateNetworkInterfaceOutput) SecurityGroups ¶
func (o LaunchTemplateNetworkInterfaceOutput) SecurityGroups() pulumi.StringArrayOutput
A list of security group IDs to associate.
func (LaunchTemplateNetworkInterfaceOutput) SubnetId ¶
func (o LaunchTemplateNetworkInterfaceOutput) SubnetId() pulumi.StringPtrOutput
The VPC Subnet ID to associate.
func (LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutput ¶
func (o LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput
func (LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutputWithContext ¶
func (o LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceOutput
type LaunchTemplateOutput ¶
type LaunchTemplateOutput struct{ *pulumi.OutputState }
func (LaunchTemplateOutput) ElementType ¶
func (LaunchTemplateOutput) ElementType() reflect.Type
func (LaunchTemplateOutput) ToLaunchTemplateOutput ¶
func (o LaunchTemplateOutput) ToLaunchTemplateOutput() LaunchTemplateOutput
func (LaunchTemplateOutput) ToLaunchTemplateOutputWithContext ¶
func (o LaunchTemplateOutput) ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput
type LaunchTemplatePlacement ¶
type LaunchTemplatePlacement struct {
// The affinity setting for an instance on a Dedicated Host.
Affinity *string `pulumi:"affinity"`
// The Availability Zone for the instance.
AvailabilityZone *string `pulumi:"availabilityZone"`
// The name of the placement group for the instance.
GroupName *string `pulumi:"groupName"`
// The ID of the Dedicated Host for the instance.
HostId *string `pulumi:"hostId"`
// The ARN of the Host Resource Group in which to launch instances.
HostResourceGroupArn *string `pulumi:"hostResourceGroupArn"`
// The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
PartitionNumber *int `pulumi:"partitionNumber"`
// Reserved for future use.
SpreadDomain *string `pulumi:"spreadDomain"`
// The tenancy of the instance (if the instance is running in a VPC). Can be `default`, `dedicated`, or `host`.
Tenancy *string `pulumi:"tenancy"`
}
type LaunchTemplatePlacementArgs ¶
type LaunchTemplatePlacementArgs struct {
// The affinity setting for an instance on a Dedicated Host.
Affinity pulumi.StringPtrInput `pulumi:"affinity"`
// The Availability Zone for the instance.
AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
// The name of the placement group for the instance.
GroupName pulumi.StringPtrInput `pulumi:"groupName"`
// The ID of the Dedicated Host for the instance.
HostId pulumi.StringPtrInput `pulumi:"hostId"`
// The ARN of the Host Resource Group in which to launch instances.
HostResourceGroupArn pulumi.StringPtrInput `pulumi:"hostResourceGroupArn"`
// The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
PartitionNumber pulumi.IntPtrInput `pulumi:"partitionNumber"`
// Reserved for future use.
SpreadDomain pulumi.StringPtrInput `pulumi:"spreadDomain"`
// The tenancy of the instance (if the instance is running in a VPC). Can be `default`, `dedicated`, or `host`.
Tenancy pulumi.StringPtrInput `pulumi:"tenancy"`
}
func (LaunchTemplatePlacementArgs) ElementType ¶
func (LaunchTemplatePlacementArgs) ElementType() reflect.Type
func (LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutput ¶
func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutput() LaunchTemplatePlacementOutput
func (LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutputWithContext ¶
func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementOutputWithContext(ctx context.Context) LaunchTemplatePlacementOutput
func (LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutput ¶
func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput
func (LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutputWithContext ¶
func (i LaunchTemplatePlacementArgs) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput
type LaunchTemplatePlacementInput ¶
type LaunchTemplatePlacementInput interface {
pulumi.Input
ToLaunchTemplatePlacementOutput() LaunchTemplatePlacementOutput
ToLaunchTemplatePlacementOutputWithContext(context.Context) LaunchTemplatePlacementOutput
}
LaunchTemplatePlacementInput is an input type that accepts LaunchTemplatePlacementArgs and LaunchTemplatePlacementOutput values. You can construct a concrete instance of `LaunchTemplatePlacementInput` via:
LaunchTemplatePlacementArgs{...}
type LaunchTemplatePlacementOutput ¶
type LaunchTemplatePlacementOutput struct{ *pulumi.OutputState }
func (LaunchTemplatePlacementOutput) Affinity ¶
func (o LaunchTemplatePlacementOutput) Affinity() pulumi.StringPtrOutput
The affinity setting for an instance on a Dedicated Host.
func (LaunchTemplatePlacementOutput) AvailabilityZone ¶
func (o LaunchTemplatePlacementOutput) AvailabilityZone() pulumi.StringPtrOutput
The Availability Zone for the instance.
func (LaunchTemplatePlacementOutput) ElementType ¶
func (LaunchTemplatePlacementOutput) ElementType() reflect.Type
func (LaunchTemplatePlacementOutput) GroupName ¶
func (o LaunchTemplatePlacementOutput) GroupName() pulumi.StringPtrOutput
The name of the placement group for the instance.
func (LaunchTemplatePlacementOutput) HostId ¶
func (o LaunchTemplatePlacementOutput) HostId() pulumi.StringPtrOutput
The ID of the Dedicated Host for the instance.
func (LaunchTemplatePlacementOutput) HostResourceGroupArn ¶
func (o LaunchTemplatePlacementOutput) HostResourceGroupArn() pulumi.StringPtrOutput
The ARN of the Host Resource Group in which to launch instances.
func (LaunchTemplatePlacementOutput) PartitionNumber ¶
func (o LaunchTemplatePlacementOutput) PartitionNumber() pulumi.IntPtrOutput
The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
func (LaunchTemplatePlacementOutput) SpreadDomain ¶
func (o LaunchTemplatePlacementOutput) SpreadDomain() pulumi.StringPtrOutput
Reserved for future use.
func (LaunchTemplatePlacementOutput) Tenancy ¶
func (o LaunchTemplatePlacementOutput) Tenancy() pulumi.StringPtrOutput
The tenancy of the instance (if the instance is running in a VPC). Can be `default`, `dedicated`, or `host`.
func (LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutput ¶
func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutput() LaunchTemplatePlacementOutput
func (LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutputWithContext ¶
func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementOutputWithContext(ctx context.Context) LaunchTemplatePlacementOutput
func (LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutput ¶
func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput
func (LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutputWithContext ¶
func (o LaunchTemplatePlacementOutput) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput
type LaunchTemplatePlacementPtrInput ¶
type LaunchTemplatePlacementPtrInput interface {
pulumi.Input
ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput
ToLaunchTemplatePlacementPtrOutputWithContext(context.Context) LaunchTemplatePlacementPtrOutput
}
LaunchTemplatePlacementPtrInput is an input type that accepts LaunchTemplatePlacementArgs, LaunchTemplatePlacementPtr and LaunchTemplatePlacementPtrOutput values. You can construct a concrete instance of `LaunchTemplatePlacementPtrInput` via:
LaunchTemplatePlacementArgs{...}
or:
nil
func LaunchTemplatePlacementPtr ¶
func LaunchTemplatePlacementPtr(v *LaunchTemplatePlacementArgs) LaunchTemplatePlacementPtrInput
type LaunchTemplatePlacementPtrOutput ¶
type LaunchTemplatePlacementPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplatePlacementPtrOutput) Affinity ¶
func (o LaunchTemplatePlacementPtrOutput) Affinity() pulumi.StringPtrOutput
The affinity setting for an instance on a Dedicated Host.
func (LaunchTemplatePlacementPtrOutput) AvailabilityZone ¶
func (o LaunchTemplatePlacementPtrOutput) AvailabilityZone() pulumi.StringPtrOutput
The Availability Zone for the instance.
func (LaunchTemplatePlacementPtrOutput) Elem ¶
func (o LaunchTemplatePlacementPtrOutput) Elem() LaunchTemplatePlacementOutput
func (LaunchTemplatePlacementPtrOutput) ElementType ¶
func (LaunchTemplatePlacementPtrOutput) ElementType() reflect.Type
func (LaunchTemplatePlacementPtrOutput) GroupName ¶
func (o LaunchTemplatePlacementPtrOutput) GroupName() pulumi.StringPtrOutput
The name of the placement group for the instance.
func (LaunchTemplatePlacementPtrOutput) HostId ¶
func (o LaunchTemplatePlacementPtrOutput) HostId() pulumi.StringPtrOutput
The ID of the Dedicated Host for the instance.
func (LaunchTemplatePlacementPtrOutput) HostResourceGroupArn ¶
func (o LaunchTemplatePlacementPtrOutput) HostResourceGroupArn() pulumi.StringPtrOutput
The ARN of the Host Resource Group in which to launch instances.
func (LaunchTemplatePlacementPtrOutput) PartitionNumber ¶
func (o LaunchTemplatePlacementPtrOutput) PartitionNumber() pulumi.IntPtrOutput
The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
func (LaunchTemplatePlacementPtrOutput) SpreadDomain ¶
func (o LaunchTemplatePlacementPtrOutput) SpreadDomain() pulumi.StringPtrOutput
Reserved for future use.
func (LaunchTemplatePlacementPtrOutput) Tenancy ¶
func (o LaunchTemplatePlacementPtrOutput) Tenancy() pulumi.StringPtrOutput
The tenancy of the instance (if the instance is running in a VPC). Can be `default`, `dedicated`, or `host`.
func (LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutput ¶
func (o LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutput() LaunchTemplatePlacementPtrOutput
func (LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutputWithContext ¶
func (o LaunchTemplatePlacementPtrOutput) ToLaunchTemplatePlacementPtrOutputWithContext(ctx context.Context) LaunchTemplatePlacementPtrOutput
type LaunchTemplatePrivateDnsNameOptions ¶ added in v5.1.0
type LaunchTemplatePrivateDnsNameOptions struct {
// Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
EnableResourceNameDnsARecord *bool `pulumi:"enableResourceNameDnsARecord"`
// Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
EnableResourceNameDnsAaaaRecord *bool `pulumi:"enableResourceNameDnsAaaaRecord"`
// The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name` and `resource-name`.
HostnameType *string `pulumi:"hostnameType"`
}
type LaunchTemplatePrivateDnsNameOptionsArgs ¶ added in v5.1.0
type LaunchTemplatePrivateDnsNameOptionsArgs struct {
// Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
EnableResourceNameDnsARecord pulumi.BoolPtrInput `pulumi:"enableResourceNameDnsARecord"`
// Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
EnableResourceNameDnsAaaaRecord pulumi.BoolPtrInput `pulumi:"enableResourceNameDnsAaaaRecord"`
// The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name` and `resource-name`.
HostnameType pulumi.StringPtrInput `pulumi:"hostnameType"`
}
func (LaunchTemplatePrivateDnsNameOptionsArgs) ElementType ¶ added in v5.1.0
func (LaunchTemplatePrivateDnsNameOptionsArgs) ElementType() reflect.Type
func (LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsOutput ¶ added in v5.1.0
func (i LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsOutput() LaunchTemplatePrivateDnsNameOptionsOutput
func (LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsOutputWithContext ¶ added in v5.1.0
func (i LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsOutput
func (LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput ¶ added in v5.1.0
func (i LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput() LaunchTemplatePrivateDnsNameOptionsPtrOutput
func (LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext ¶ added in v5.1.0
func (i LaunchTemplatePrivateDnsNameOptionsArgs) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsPtrOutput
type LaunchTemplatePrivateDnsNameOptionsInput ¶ added in v5.1.0
type LaunchTemplatePrivateDnsNameOptionsInput interface {
pulumi.Input
ToLaunchTemplatePrivateDnsNameOptionsOutput() LaunchTemplatePrivateDnsNameOptionsOutput
ToLaunchTemplatePrivateDnsNameOptionsOutputWithContext(context.Context) LaunchTemplatePrivateDnsNameOptionsOutput
}
LaunchTemplatePrivateDnsNameOptionsInput is an input type that accepts LaunchTemplatePrivateDnsNameOptionsArgs and LaunchTemplatePrivateDnsNameOptionsOutput values. You can construct a concrete instance of `LaunchTemplatePrivateDnsNameOptionsInput` via:
LaunchTemplatePrivateDnsNameOptionsArgs{...}
type LaunchTemplatePrivateDnsNameOptionsOutput ¶ added in v5.1.0
type LaunchTemplatePrivateDnsNameOptionsOutput struct{ *pulumi.OutputState }
func (LaunchTemplatePrivateDnsNameOptionsOutput) ElementType ¶ added in v5.1.0
func (LaunchTemplatePrivateDnsNameOptionsOutput) ElementType() reflect.Type
func (LaunchTemplatePrivateDnsNameOptionsOutput) EnableResourceNameDnsARecord ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsOutput) EnableResourceNameDnsARecord() pulumi.BoolPtrOutput
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
func (LaunchTemplatePrivateDnsNameOptionsOutput) EnableResourceNameDnsAaaaRecord ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsOutput) EnableResourceNameDnsAaaaRecord() pulumi.BoolPtrOutput
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
func (LaunchTemplatePrivateDnsNameOptionsOutput) HostnameType ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsOutput) HostnameType() pulumi.StringPtrOutput
The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name` and `resource-name`.
func (LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsOutput ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsOutput() LaunchTemplatePrivateDnsNameOptionsOutput
func (LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsOutputWithContext ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsOutput
func (LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput() LaunchTemplatePrivateDnsNameOptionsPtrOutput
func (LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsPtrOutput
type LaunchTemplatePrivateDnsNameOptionsPtrInput ¶ added in v5.1.0
type LaunchTemplatePrivateDnsNameOptionsPtrInput interface {
pulumi.Input
ToLaunchTemplatePrivateDnsNameOptionsPtrOutput() LaunchTemplatePrivateDnsNameOptionsPtrOutput
ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext(context.Context) LaunchTemplatePrivateDnsNameOptionsPtrOutput
}
LaunchTemplatePrivateDnsNameOptionsPtrInput is an input type that accepts LaunchTemplatePrivateDnsNameOptionsArgs, LaunchTemplatePrivateDnsNameOptionsPtr and LaunchTemplatePrivateDnsNameOptionsPtrOutput values. You can construct a concrete instance of `LaunchTemplatePrivateDnsNameOptionsPtrInput` via:
LaunchTemplatePrivateDnsNameOptionsArgs{...}
or:
nil
func LaunchTemplatePrivateDnsNameOptionsPtr ¶ added in v5.1.0
func LaunchTemplatePrivateDnsNameOptionsPtr(v *LaunchTemplatePrivateDnsNameOptionsArgs) LaunchTemplatePrivateDnsNameOptionsPtrInput
type LaunchTemplatePrivateDnsNameOptionsPtrOutput ¶ added in v5.1.0
type LaunchTemplatePrivateDnsNameOptionsPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplatePrivateDnsNameOptionsPtrOutput) ElementType ¶ added in v5.1.0
func (LaunchTemplatePrivateDnsNameOptionsPtrOutput) ElementType() reflect.Type
func (LaunchTemplatePrivateDnsNameOptionsPtrOutput) EnableResourceNameDnsARecord ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) EnableResourceNameDnsARecord() pulumi.BoolPtrOutput
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
func (LaunchTemplatePrivateDnsNameOptionsPtrOutput) EnableResourceNameDnsAaaaRecord ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) EnableResourceNameDnsAaaaRecord() pulumi.BoolPtrOutput
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
func (LaunchTemplatePrivateDnsNameOptionsPtrOutput) HostnameType ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) HostnameType() pulumi.StringPtrOutput
The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name` and `resource-name`.
func (LaunchTemplatePrivateDnsNameOptionsPtrOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutput() LaunchTemplatePrivateDnsNameOptionsPtrOutput
func (LaunchTemplatePrivateDnsNameOptionsPtrOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext ¶ added in v5.1.0
func (o LaunchTemplatePrivateDnsNameOptionsPtrOutput) ToLaunchTemplatePrivateDnsNameOptionsPtrOutputWithContext(ctx context.Context) LaunchTemplatePrivateDnsNameOptionsPtrOutput
type LaunchTemplateState ¶
type LaunchTemplateState struct {
// The Amazon Resource Name (ARN) of the instance profile.
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
// The CPU options for the instance. See CPU Options below for more details.
CpuOptions LaunchTemplateCpuOptionsPtrInput
// Customize the credit specification of the instance. See Credit
// Specification below for more details.
CreditSpecification LaunchTemplateCreditSpecificationPtrInput
// 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
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions LaunchTemplateEnclaveOptionsPtrInput
// The hibernation options for the instance. See Hibernation Options below for more details.
HibernationOptions LaunchTemplateHibernationOptionsPtrInput
// 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
// Customize the metadata options for the instance. See Metadata Options below for more details.
MetadataOptions LaunchTemplateMetadataOptionsPtrInput
// The monitoring option for the instance. See Monitoring below for more details.
Monitoring LaunchTemplateMonitoringPtrInput
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 options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
PrivateDnsNameOptions LaunchTemplatePrivateDnsNameOptionsPtrInput
// 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 map of tags to assign to the launch template. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// Whether to update Default Version each update. Conflicts with `defaultVersion`.
UpdateDefaultVersion pulumi.BoolPtrInput
// The base64-encoded user data to provide when launching the instance.
UserData pulumi.StringPtrInput
// A list of security group IDs to associate with. Conflicts with `network_interfaces.security_groups`
VpcSecurityGroupIds pulumi.StringArrayInput
}
func (LaunchTemplateState) ElementType ¶
func (LaunchTemplateState) ElementType() reflect.Type
type LaunchTemplateTagSpecificationArgs ¶
type LaunchTemplateTagSpecificationArgs struct {
// The type of resource to tag.
ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
// A map of tags to assign to the resource.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
func (LaunchTemplateTagSpecificationArgs) ElementType ¶
func (LaunchTemplateTagSpecificationArgs) ElementType() reflect.Type
func (LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutput ¶
func (i LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutput() LaunchTemplateTagSpecificationOutput
func (LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutputWithContext ¶
func (i LaunchTemplateTagSpecificationArgs) ToLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationOutput
type LaunchTemplateTagSpecificationArray ¶
type LaunchTemplateTagSpecificationArray []LaunchTemplateTagSpecificationInput
func (LaunchTemplateTagSpecificationArray) ElementType ¶
func (LaunchTemplateTagSpecificationArray) ElementType() reflect.Type
func (LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutput ¶
func (i LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutput() LaunchTemplateTagSpecificationArrayOutput
func (LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutputWithContext ¶
func (i LaunchTemplateTagSpecificationArray) ToLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationArrayOutput
type LaunchTemplateTagSpecificationArrayInput ¶
type LaunchTemplateTagSpecificationArrayInput interface {
pulumi.Input
ToLaunchTemplateTagSpecificationArrayOutput() LaunchTemplateTagSpecificationArrayOutput
ToLaunchTemplateTagSpecificationArrayOutputWithContext(context.Context) LaunchTemplateTagSpecificationArrayOutput
}
LaunchTemplateTagSpecificationArrayInput is an input type that accepts LaunchTemplateTagSpecificationArray and LaunchTemplateTagSpecificationArrayOutput values. You can construct a concrete instance of `LaunchTemplateTagSpecificationArrayInput` via:
LaunchTemplateTagSpecificationArray{ LaunchTemplateTagSpecificationArgs{...} }
type LaunchTemplateTagSpecificationArrayOutput ¶
type LaunchTemplateTagSpecificationArrayOutput struct{ *pulumi.OutputState }
func (LaunchTemplateTagSpecificationArrayOutput) ElementType ¶
func (LaunchTemplateTagSpecificationArrayOutput) ElementType() reflect.Type
func (LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutput ¶
func (o LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutput() LaunchTemplateTagSpecificationArrayOutput
func (LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutputWithContext ¶
func (o LaunchTemplateTagSpecificationArrayOutput) ToLaunchTemplateTagSpecificationArrayOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationArrayOutput
type LaunchTemplateTagSpecificationInput ¶
type LaunchTemplateTagSpecificationInput interface {
pulumi.Input
ToLaunchTemplateTagSpecificationOutput() LaunchTemplateTagSpecificationOutput
ToLaunchTemplateTagSpecificationOutputWithContext(context.Context) LaunchTemplateTagSpecificationOutput
}
LaunchTemplateTagSpecificationInput is an input type that accepts LaunchTemplateTagSpecificationArgs and LaunchTemplateTagSpecificationOutput values. You can construct a concrete instance of `LaunchTemplateTagSpecificationInput` via:
LaunchTemplateTagSpecificationArgs{...}
type LaunchTemplateTagSpecificationOutput ¶
type LaunchTemplateTagSpecificationOutput struct{ *pulumi.OutputState }
func (LaunchTemplateTagSpecificationOutput) ElementType ¶
func (LaunchTemplateTagSpecificationOutput) ElementType() reflect.Type
func (LaunchTemplateTagSpecificationOutput) ResourceType ¶
func (o LaunchTemplateTagSpecificationOutput) ResourceType() pulumi.StringPtrOutput
The type of resource to tag.
func (LaunchTemplateTagSpecificationOutput) Tags ¶
func (o LaunchTemplateTagSpecificationOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource.
func (LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutput ¶
func (o LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutput() LaunchTemplateTagSpecificationOutput
func (LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutputWithContext ¶
func (o LaunchTemplateTagSpecificationOutput) ToLaunchTemplateTagSpecificationOutputWithContext(ctx context.Context) LaunchTemplateTagSpecificationOutput
type LocalGatewayRoute ¶
type LocalGatewayRoute struct {
pulumi.CustomResourceState
// IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match.
DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
// Identifier of EC2 Local Gateway Route Table.
LocalGatewayRouteTableId pulumi.StringOutput `pulumi:"localGatewayRouteTableId"`
// Identifier of EC2 Local Gateway Virtual Interface Group.
LocalGatewayVirtualInterfaceGroupId pulumi.StringOutput `pulumi:"localGatewayVirtualInterfaceGroupId"`
}
Manages an EC2 Local Gateway Route. More information can be found in the [Outposts User Guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#routing).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewLocalGatewayRoute(ctx, "example", &ec2.LocalGatewayRouteArgs{
DestinationCidrBlock: pulumi.String("172.16.0.0/16"),
LocalGatewayRouteTableId: pulumi.Any(data.Aws_ec2_local_gateway_route_table.Example.Id),
LocalGatewayVirtualInterfaceGroupId: pulumi.Any(data.Aws_ec2_local_gateway_virtual_interface_group.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_ec2_local_gateway_route` can be imported by using the EC2 Local Gateway Route Table identifier and destination CIDR block separated by underscores (`_`), e.g.,
```sh
$ pulumi import aws:ec2/localGatewayRoute:LocalGatewayRoute example lgw-rtb-12345678_172.16.0.0/16
```
func GetLocalGatewayRoute ¶
func GetLocalGatewayRoute(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LocalGatewayRouteState, opts ...pulumi.ResourceOption) (*LocalGatewayRoute, error)
GetLocalGatewayRoute gets an existing LocalGatewayRoute 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 NewLocalGatewayRoute ¶
func NewLocalGatewayRoute(ctx *pulumi.Context, name string, args *LocalGatewayRouteArgs, opts ...pulumi.ResourceOption) (*LocalGatewayRoute, error)
NewLocalGatewayRoute registers a new resource with the given unique name, arguments, and options.
func (*LocalGatewayRoute) ElementType ¶
func (*LocalGatewayRoute) ElementType() reflect.Type
func (*LocalGatewayRoute) ToLocalGatewayRouteOutput ¶
func (i *LocalGatewayRoute) ToLocalGatewayRouteOutput() LocalGatewayRouteOutput
func (*LocalGatewayRoute) ToLocalGatewayRouteOutputWithContext ¶
func (i *LocalGatewayRoute) ToLocalGatewayRouteOutputWithContext(ctx context.Context) LocalGatewayRouteOutput
type LocalGatewayRouteArgs ¶
type LocalGatewayRouteArgs struct {
// IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match.
DestinationCidrBlock pulumi.StringInput
// Identifier of EC2 Local Gateway Route Table.
LocalGatewayRouteTableId pulumi.StringInput
// Identifier of EC2 Local Gateway Virtual Interface Group.
LocalGatewayVirtualInterfaceGroupId pulumi.StringInput
}
The set of arguments for constructing a LocalGatewayRoute resource.
func (LocalGatewayRouteArgs) ElementType ¶
func (LocalGatewayRouteArgs) ElementType() reflect.Type
type LocalGatewayRouteArray ¶
type LocalGatewayRouteArray []LocalGatewayRouteInput
func (LocalGatewayRouteArray) ElementType ¶
func (LocalGatewayRouteArray) ElementType() reflect.Type
func (LocalGatewayRouteArray) ToLocalGatewayRouteArrayOutput ¶
func (i LocalGatewayRouteArray) ToLocalGatewayRouteArrayOutput() LocalGatewayRouteArrayOutput
func (LocalGatewayRouteArray) ToLocalGatewayRouteArrayOutputWithContext ¶
func (i LocalGatewayRouteArray) ToLocalGatewayRouteArrayOutputWithContext(ctx context.Context) LocalGatewayRouteArrayOutput
type LocalGatewayRouteArrayInput ¶
type LocalGatewayRouteArrayInput interface {
pulumi.Input
ToLocalGatewayRouteArrayOutput() LocalGatewayRouteArrayOutput
ToLocalGatewayRouteArrayOutputWithContext(context.Context) LocalGatewayRouteArrayOutput
}
LocalGatewayRouteArrayInput is an input type that accepts LocalGatewayRouteArray and LocalGatewayRouteArrayOutput values. You can construct a concrete instance of `LocalGatewayRouteArrayInput` via:
LocalGatewayRouteArray{ LocalGatewayRouteArgs{...} }
type LocalGatewayRouteArrayOutput ¶
type LocalGatewayRouteArrayOutput struct{ *pulumi.OutputState }
func (LocalGatewayRouteArrayOutput) ElementType ¶
func (LocalGatewayRouteArrayOutput) ElementType() reflect.Type
func (LocalGatewayRouteArrayOutput) Index ¶
func (o LocalGatewayRouteArrayOutput) Index(i pulumi.IntInput) LocalGatewayRouteOutput
func (LocalGatewayRouteArrayOutput) ToLocalGatewayRouteArrayOutput ¶
func (o LocalGatewayRouteArrayOutput) ToLocalGatewayRouteArrayOutput() LocalGatewayRouteArrayOutput
func (LocalGatewayRouteArrayOutput) ToLocalGatewayRouteArrayOutputWithContext ¶
func (o LocalGatewayRouteArrayOutput) ToLocalGatewayRouteArrayOutputWithContext(ctx context.Context) LocalGatewayRouteArrayOutput
type LocalGatewayRouteInput ¶
type LocalGatewayRouteInput interface {
pulumi.Input
ToLocalGatewayRouteOutput() LocalGatewayRouteOutput
ToLocalGatewayRouteOutputWithContext(ctx context.Context) LocalGatewayRouteOutput
}
type LocalGatewayRouteMap ¶
type LocalGatewayRouteMap map[string]LocalGatewayRouteInput
func (LocalGatewayRouteMap) ElementType ¶
func (LocalGatewayRouteMap) ElementType() reflect.Type
func (LocalGatewayRouteMap) ToLocalGatewayRouteMapOutput ¶
func (i LocalGatewayRouteMap) ToLocalGatewayRouteMapOutput() LocalGatewayRouteMapOutput
func (LocalGatewayRouteMap) ToLocalGatewayRouteMapOutputWithContext ¶
func (i LocalGatewayRouteMap) ToLocalGatewayRouteMapOutputWithContext(ctx context.Context) LocalGatewayRouteMapOutput
type LocalGatewayRouteMapInput ¶
type LocalGatewayRouteMapInput interface {
pulumi.Input
ToLocalGatewayRouteMapOutput() LocalGatewayRouteMapOutput
ToLocalGatewayRouteMapOutputWithContext(context.Context) LocalGatewayRouteMapOutput
}
LocalGatewayRouteMapInput is an input type that accepts LocalGatewayRouteMap and LocalGatewayRouteMapOutput values. You can construct a concrete instance of `LocalGatewayRouteMapInput` via:
LocalGatewayRouteMap{ "key": LocalGatewayRouteArgs{...} }
type LocalGatewayRouteMapOutput ¶
type LocalGatewayRouteMapOutput struct{ *pulumi.OutputState }
func (LocalGatewayRouteMapOutput) ElementType ¶
func (LocalGatewayRouteMapOutput) ElementType() reflect.Type
func (LocalGatewayRouteMapOutput) MapIndex ¶
func (o LocalGatewayRouteMapOutput) MapIndex(k pulumi.StringInput) LocalGatewayRouteOutput
func (LocalGatewayRouteMapOutput) ToLocalGatewayRouteMapOutput ¶
func (o LocalGatewayRouteMapOutput) ToLocalGatewayRouteMapOutput() LocalGatewayRouteMapOutput
func (LocalGatewayRouteMapOutput) ToLocalGatewayRouteMapOutputWithContext ¶
func (o LocalGatewayRouteMapOutput) ToLocalGatewayRouteMapOutputWithContext(ctx context.Context) LocalGatewayRouteMapOutput
type LocalGatewayRouteOutput ¶
type LocalGatewayRouteOutput struct{ *pulumi.OutputState }
func (LocalGatewayRouteOutput) ElementType ¶
func (LocalGatewayRouteOutput) ElementType() reflect.Type
func (LocalGatewayRouteOutput) ToLocalGatewayRouteOutput ¶
func (o LocalGatewayRouteOutput) ToLocalGatewayRouteOutput() LocalGatewayRouteOutput
func (LocalGatewayRouteOutput) ToLocalGatewayRouteOutputWithContext ¶
func (o LocalGatewayRouteOutput) ToLocalGatewayRouteOutputWithContext(ctx context.Context) LocalGatewayRouteOutput
type LocalGatewayRouteState ¶
type LocalGatewayRouteState struct {
// IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match.
DestinationCidrBlock pulumi.StringPtrInput
// Identifier of EC2 Local Gateway Route Table.
LocalGatewayRouteTableId pulumi.StringPtrInput
// Identifier of EC2 Local Gateway Virtual Interface Group.
LocalGatewayVirtualInterfaceGroupId pulumi.StringPtrInput
}
func (LocalGatewayRouteState) ElementType ¶
func (LocalGatewayRouteState) ElementType() reflect.Type
type LocalGatewayRouteTableVpcAssociation ¶
type LocalGatewayRouteTableVpcAssociation struct {
pulumi.CustomResourceState
LocalGatewayId pulumi.StringOutput `pulumi:"localGatewayId"`
// Identifier of EC2 Local Gateway Route Table.
LocalGatewayRouteTableId pulumi.StringOutput `pulumi:"localGatewayRouteTableId"`
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// Identifier of EC2 VPC.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Manages an EC2 Local Gateway Route Table VPC Association. More information can be found in the [Outposts User Guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-local-gateways.html#vpc-associations).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleLocalGatewayRouteTable, err := ec2.GetLocalGatewayRouteTable(ctx, &ec2.GetLocalGatewayRouteTableArgs{
OutpostArn: pulumi.StringRef("arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef"),
}, nil)
if err != nil {
return err
}
exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewLocalGatewayRouteTableVpcAssociation(ctx, "exampleLocalGatewayRouteTableVpcAssociation", &ec2.LocalGatewayRouteTableVpcAssociationArgs{
LocalGatewayRouteTableId: pulumi.String(exampleLocalGatewayRouteTable.Id),
VpcId: exampleVpc.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_ec2_local_gateway_route_table_vpc_association` can be imported by using the Local Gateway Route Table VPC Association identifier, e.g.,
```sh
$ pulumi import aws:ec2/localGatewayRouteTableVpcAssociation:LocalGatewayRouteTableVpcAssociation example lgw-vpc-assoc-1234567890abcdef
```
func GetLocalGatewayRouteTableVpcAssociation ¶
func GetLocalGatewayRouteTableVpcAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LocalGatewayRouteTableVpcAssociationState, opts ...pulumi.ResourceOption) (*LocalGatewayRouteTableVpcAssociation, error)
GetLocalGatewayRouteTableVpcAssociation gets an existing LocalGatewayRouteTableVpcAssociation 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 NewLocalGatewayRouteTableVpcAssociation ¶
func NewLocalGatewayRouteTableVpcAssociation(ctx *pulumi.Context, name string, args *LocalGatewayRouteTableVpcAssociationArgs, opts ...pulumi.ResourceOption) (*LocalGatewayRouteTableVpcAssociation, error)
NewLocalGatewayRouteTableVpcAssociation registers a new resource with the given unique name, arguments, and options.
func (*LocalGatewayRouteTableVpcAssociation) ElementType ¶
func (*LocalGatewayRouteTableVpcAssociation) ElementType() reflect.Type
func (*LocalGatewayRouteTableVpcAssociation) ToLocalGatewayRouteTableVpcAssociationOutput ¶
func (i *LocalGatewayRouteTableVpcAssociation) ToLocalGatewayRouteTableVpcAssociationOutput() LocalGatewayRouteTableVpcAssociationOutput
func (*LocalGatewayRouteTableVpcAssociation) ToLocalGatewayRouteTableVpcAssociationOutputWithContext ¶
func (i *LocalGatewayRouteTableVpcAssociation) ToLocalGatewayRouteTableVpcAssociationOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationOutput
type LocalGatewayRouteTableVpcAssociationArgs ¶
type LocalGatewayRouteTableVpcAssociationArgs struct {
// Identifier of EC2 Local Gateway Route Table.
LocalGatewayRouteTableId pulumi.StringInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Identifier of EC2 VPC.
VpcId pulumi.StringInput
}
The set of arguments for constructing a LocalGatewayRouteTableVpcAssociation resource.
func (LocalGatewayRouteTableVpcAssociationArgs) ElementType ¶
func (LocalGatewayRouteTableVpcAssociationArgs) ElementType() reflect.Type
type LocalGatewayRouteTableVpcAssociationArray ¶
type LocalGatewayRouteTableVpcAssociationArray []LocalGatewayRouteTableVpcAssociationInput
func (LocalGatewayRouteTableVpcAssociationArray) ElementType ¶
func (LocalGatewayRouteTableVpcAssociationArray) ElementType() reflect.Type
func (LocalGatewayRouteTableVpcAssociationArray) ToLocalGatewayRouteTableVpcAssociationArrayOutput ¶
func (i LocalGatewayRouteTableVpcAssociationArray) ToLocalGatewayRouteTableVpcAssociationArrayOutput() LocalGatewayRouteTableVpcAssociationArrayOutput
func (LocalGatewayRouteTableVpcAssociationArray) ToLocalGatewayRouteTableVpcAssociationArrayOutputWithContext ¶
func (i LocalGatewayRouteTableVpcAssociationArray) ToLocalGatewayRouteTableVpcAssociationArrayOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationArrayOutput
type LocalGatewayRouteTableVpcAssociationArrayInput ¶
type LocalGatewayRouteTableVpcAssociationArrayInput interface {
pulumi.Input
ToLocalGatewayRouteTableVpcAssociationArrayOutput() LocalGatewayRouteTableVpcAssociationArrayOutput
ToLocalGatewayRouteTableVpcAssociationArrayOutputWithContext(context.Context) LocalGatewayRouteTableVpcAssociationArrayOutput
}
LocalGatewayRouteTableVpcAssociationArrayInput is an input type that accepts LocalGatewayRouteTableVpcAssociationArray and LocalGatewayRouteTableVpcAssociationArrayOutput values. You can construct a concrete instance of `LocalGatewayRouteTableVpcAssociationArrayInput` via:
LocalGatewayRouteTableVpcAssociationArray{ LocalGatewayRouteTableVpcAssociationArgs{...} }
type LocalGatewayRouteTableVpcAssociationArrayOutput ¶
type LocalGatewayRouteTableVpcAssociationArrayOutput struct{ *pulumi.OutputState }
func (LocalGatewayRouteTableVpcAssociationArrayOutput) ElementType ¶
func (LocalGatewayRouteTableVpcAssociationArrayOutput) ElementType() reflect.Type
func (LocalGatewayRouteTableVpcAssociationArrayOutput) ToLocalGatewayRouteTableVpcAssociationArrayOutput ¶
func (o LocalGatewayRouteTableVpcAssociationArrayOutput) ToLocalGatewayRouteTableVpcAssociationArrayOutput() LocalGatewayRouteTableVpcAssociationArrayOutput
func (LocalGatewayRouteTableVpcAssociationArrayOutput) ToLocalGatewayRouteTableVpcAssociationArrayOutputWithContext ¶
func (o LocalGatewayRouteTableVpcAssociationArrayOutput) ToLocalGatewayRouteTableVpcAssociationArrayOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationArrayOutput
type LocalGatewayRouteTableVpcAssociationInput ¶
type LocalGatewayRouteTableVpcAssociationInput interface {
pulumi.Input
ToLocalGatewayRouteTableVpcAssociationOutput() LocalGatewayRouteTableVpcAssociationOutput
ToLocalGatewayRouteTableVpcAssociationOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationOutput
}
type LocalGatewayRouteTableVpcAssociationMap ¶
type LocalGatewayRouteTableVpcAssociationMap map[string]LocalGatewayRouteTableVpcAssociationInput
func (LocalGatewayRouteTableVpcAssociationMap) ElementType ¶
func (LocalGatewayRouteTableVpcAssociationMap) ElementType() reflect.Type
func (LocalGatewayRouteTableVpcAssociationMap) ToLocalGatewayRouteTableVpcAssociationMapOutput ¶
func (i LocalGatewayRouteTableVpcAssociationMap) ToLocalGatewayRouteTableVpcAssociationMapOutput() LocalGatewayRouteTableVpcAssociationMapOutput
func (LocalGatewayRouteTableVpcAssociationMap) ToLocalGatewayRouteTableVpcAssociationMapOutputWithContext ¶
func (i LocalGatewayRouteTableVpcAssociationMap) ToLocalGatewayRouteTableVpcAssociationMapOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationMapOutput
type LocalGatewayRouteTableVpcAssociationMapInput ¶
type LocalGatewayRouteTableVpcAssociationMapInput interface {
pulumi.Input
ToLocalGatewayRouteTableVpcAssociationMapOutput() LocalGatewayRouteTableVpcAssociationMapOutput
ToLocalGatewayRouteTableVpcAssociationMapOutputWithContext(context.Context) LocalGatewayRouteTableVpcAssociationMapOutput
}
LocalGatewayRouteTableVpcAssociationMapInput is an input type that accepts LocalGatewayRouteTableVpcAssociationMap and LocalGatewayRouteTableVpcAssociationMapOutput values. You can construct a concrete instance of `LocalGatewayRouteTableVpcAssociationMapInput` via:
LocalGatewayRouteTableVpcAssociationMap{ "key": LocalGatewayRouteTableVpcAssociationArgs{...} }
type LocalGatewayRouteTableVpcAssociationMapOutput ¶
type LocalGatewayRouteTableVpcAssociationMapOutput struct{ *pulumi.OutputState }
func (LocalGatewayRouteTableVpcAssociationMapOutput) ElementType ¶
func (LocalGatewayRouteTableVpcAssociationMapOutput) ElementType() reflect.Type
func (LocalGatewayRouteTableVpcAssociationMapOutput) ToLocalGatewayRouteTableVpcAssociationMapOutput ¶
func (o LocalGatewayRouteTableVpcAssociationMapOutput) ToLocalGatewayRouteTableVpcAssociationMapOutput() LocalGatewayRouteTableVpcAssociationMapOutput
func (LocalGatewayRouteTableVpcAssociationMapOutput) ToLocalGatewayRouteTableVpcAssociationMapOutputWithContext ¶
func (o LocalGatewayRouteTableVpcAssociationMapOutput) ToLocalGatewayRouteTableVpcAssociationMapOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationMapOutput
type LocalGatewayRouteTableVpcAssociationOutput ¶
type LocalGatewayRouteTableVpcAssociationOutput struct{ *pulumi.OutputState }
func (LocalGatewayRouteTableVpcAssociationOutput) ElementType ¶
func (LocalGatewayRouteTableVpcAssociationOutput) ElementType() reflect.Type
func (LocalGatewayRouteTableVpcAssociationOutput) ToLocalGatewayRouteTableVpcAssociationOutput ¶
func (o LocalGatewayRouteTableVpcAssociationOutput) ToLocalGatewayRouteTableVpcAssociationOutput() LocalGatewayRouteTableVpcAssociationOutput
func (LocalGatewayRouteTableVpcAssociationOutput) ToLocalGatewayRouteTableVpcAssociationOutputWithContext ¶
func (o LocalGatewayRouteTableVpcAssociationOutput) ToLocalGatewayRouteTableVpcAssociationOutputWithContext(ctx context.Context) LocalGatewayRouteTableVpcAssociationOutput
type LocalGatewayRouteTableVpcAssociationState ¶
type LocalGatewayRouteTableVpcAssociationState struct {
LocalGatewayId pulumi.StringPtrInput
// Identifier of EC2 Local Gateway Route Table.
LocalGatewayRouteTableId pulumi.StringPtrInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// Identifier of EC2 VPC.
VpcId pulumi.StringPtrInput
}
func (LocalGatewayRouteTableVpcAssociationState) ElementType ¶
func (LocalGatewayRouteTableVpcAssociationState) ElementType() reflect.Type
type LookupAmiArgs ¶
type LookupAmiArgs struct {
// Limit search to users with *explicit* launch permission on
// the image. Valid items are the numeric account ID or `self`.
ExecutableUsers []string `pulumi:"executableUsers"`
// One or more name/value pairs to filter off of. There are
// several valid keys, for a full reference, check out
// [describe-images in the AWS CLI reference][1].
Filters []GetAmiFilter `pulumi:"filters"`
// If more than one result is returned, use the most
// recent AMI.
MostRecent *bool `pulumi:"mostRecent"`
// A regex string to apply to the AMI list returned
// by AWS. This allows more advanced filtering not supported from the AWS API. This
// filtering is done locally on what AWS returns, and could have a performance
// impact if the result is large. It is recommended to combine this with other
// options to narrow down the list AWS returns.
NameRegex *string `pulumi:"nameRegex"`
// List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`).
Owners []string `pulumi:"owners"`
// Any tags assigned to the image.
// * `tags.#.key` - The key name of the tag.
// * `tags.#.value` - The value of the tag.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getAmi.
type LookupAmiOutputArgs ¶
type LookupAmiOutputArgs struct {
// Limit search to users with *explicit* launch permission on
// the image. Valid items are the numeric account ID or `self`.
ExecutableUsers pulumi.StringArrayInput `pulumi:"executableUsers"`
// One or more name/value pairs to filter off of. There are
// several valid keys, for a full reference, check out
// [describe-images in the AWS CLI reference][1].
Filters GetAmiFilterArrayInput `pulumi:"filters"`
// If more than one result is returned, use the most
// recent AMI.
MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"`
// A regex string to apply to the AMI list returned
// by AWS. This allows more advanced filtering not supported from the AWS API. This
// filtering is done locally on what AWS returns, and could have a performance
// impact if the result is large. It is recommended to combine this with other
// options to narrow down the list AWS returns.
NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
// List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`).
Owners pulumi.StringArrayInput `pulumi:"owners"`
// Any tags assigned to the image.
// * `tags.#.key` - The key name of the tag.
// * `tags.#.value` - The value of the tag.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getAmi.
func (LookupAmiOutputArgs) ElementType ¶
func (LookupAmiOutputArgs) ElementType() reflect.Type
type LookupAmiResult ¶
type LookupAmiResult struct {
// The OS architecture of the AMI (ie: `i386` or `x8664`).
Architecture string `pulumi:"architecture"`
// The ARN of the AMI.
Arn string `pulumi:"arn"`
// Set of objects with block device mappings of the AMI.
BlockDeviceMappings []GetAmiBlockDeviceMapping `pulumi:"blockDeviceMappings"`
// The boot mode of the image.
BootMode string `pulumi:"bootMode"`
// The date and time the image was created.
CreationDate string `pulumi:"creationDate"`
// The description of the AMI that was provided during image
// creation.
Description string `pulumi:"description"`
// Specifies whether enhanced networking with ENA is enabled.
EnaSupport bool `pulumi:"enaSupport"`
ExecutableUsers []string `pulumi:"executableUsers"`
Filters []GetAmiFilter `pulumi:"filters"`
// The hypervisor type of the image.
Hypervisor string `pulumi:"hypervisor"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// The ID of the AMI. Should be the same as the resource `id`.
ImageId string `pulumi:"imageId"`
// The location of the AMI.
ImageLocation string `pulumi:"imageLocation"`
// The AWS account alias (for example, `amazon`, `self`) or
// the AWS account ID of the AMI owner.
ImageOwnerAlias string `pulumi:"imageOwnerAlias"`
// The type of image.
ImageType string `pulumi:"imageType"`
// The kernel associated with the image, if any. Only applicable
// for machine images.
KernelId string `pulumi:"kernelId"`
MostRecent *bool `pulumi:"mostRecent"`
// The name of the AMI that was provided during image creation.
Name string `pulumi:"name"`
NameRegex *string `pulumi:"nameRegex"`
// The AWS account ID of the image owner.
OwnerId string `pulumi:"ownerId"`
Owners []string `pulumi:"owners"`
// The value is Windows for `Windows` AMIs; otherwise blank.
Platform string `pulumi:"platform"`
// The platform details associated with the billing code of the AMI.
PlatformDetails string `pulumi:"platformDetails"`
// Any product codes associated with the AMI.
// * `product_codes.#.product_code_id` - The product code.
// * `product_codes.#.product_code_type` - The type of product code.
ProductCodes []GetAmiProductCode `pulumi:"productCodes"`
// `true` if the image has public launch permissions.
Public bool `pulumi:"public"`
// The RAM disk associated with the image, if any. Only applicable
// for machine images.
RamdiskId string `pulumi:"ramdiskId"`
// The device name of the root device.
RootDeviceName string `pulumi:"rootDeviceName"`
// The type of root device (ie: `ebs` or `instance-store`).
RootDeviceType string `pulumi:"rootDeviceType"`
// The snapshot id associated with the root device, if any
// (only applies to `ebs` root devices).
RootSnapshotId string `pulumi:"rootSnapshotId"`
// Specifies whether enhanced networking is enabled.
SriovNetSupport string `pulumi:"sriovNetSupport"`
// The current state of the AMI. If the state is `available`, the image
// is successfully registered and can be used to launch an instance.
State string `pulumi:"state"`
// Describes a state change. Fields are `UNSET` if not available.
// * `state_reason.code` - The reason code for the state change.
// * `state_reason.message` - The message for the state change.
StateReason map[string]string `pulumi:"stateReason"`
// Any tags assigned to the image.
// * `tags.#.key` - The key name of the tag.
// * `tags.#.value` - The value of the tag.
Tags map[string]string `pulumi:"tags"`
// The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
UsageOperation string `pulumi:"usageOperation"`
// The type of virtualization of the AMI (ie: `hvm` or
// `paravirtual`).
VirtualizationType string `pulumi:"virtualizationType"`
}
A collection of values returned by getAmi.
func LookupAmi ¶
func LookupAmi(ctx *pulumi.Context, args *LookupAmiArgs, opts ...pulumi.InvokeOption) (*LookupAmiResult, error)
Use this data source to get the ID of a registered AMI for use in other resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
ExecutableUsers: []string{
"self",
},
Filters: []ec2.GetAmiFilter{
ec2.GetAmiFilter{
Name: "name",
Values: []string{
"myami-*",
},
},
ec2.GetAmiFilter{
Name: "root-device-type",
Values: []string{
"ebs",
},
},
ec2.GetAmiFilter{
Name: "virtualization-type",
Values: []string{
"hvm",
},
},
},
MostRecent: pulumi.BoolRef(true),
NameRegex: pulumi.StringRef("^myami-\\d{3}"),
Owners: []string{
"self",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupAmiResultOutput ¶
type LookupAmiResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAmi.
func LookupAmiOutput ¶
func LookupAmiOutput(ctx *pulumi.Context, args LookupAmiOutputArgs, opts ...pulumi.InvokeOption) LookupAmiResultOutput
func (LookupAmiResultOutput) Architecture ¶
func (o LookupAmiResultOutput) Architecture() pulumi.StringOutput
The OS architecture of the AMI (ie: `i386` or `x8664`).
func (LookupAmiResultOutput) Arn ¶
func (o LookupAmiResultOutput) Arn() pulumi.StringOutput
The ARN of the AMI.
func (LookupAmiResultOutput) BlockDeviceMappings ¶
func (o LookupAmiResultOutput) BlockDeviceMappings() GetAmiBlockDeviceMappingArrayOutput
Set of objects with block device mappings of the AMI.
func (LookupAmiResultOutput) BootMode ¶
func (o LookupAmiResultOutput) BootMode() pulumi.StringOutput
The boot mode of the image.
func (LookupAmiResultOutput) CreationDate ¶
func (o LookupAmiResultOutput) CreationDate() pulumi.StringOutput
The date and time the image was created.
func (LookupAmiResultOutput) Description ¶
func (o LookupAmiResultOutput) Description() pulumi.StringOutput
The description of the AMI that was provided during image creation.
func (LookupAmiResultOutput) ElementType ¶
func (LookupAmiResultOutput) ElementType() reflect.Type
func (LookupAmiResultOutput) EnaSupport ¶
func (o LookupAmiResultOutput) EnaSupport() pulumi.BoolOutput
Specifies whether enhanced networking with ENA is enabled.
func (LookupAmiResultOutput) ExecutableUsers ¶
func (o LookupAmiResultOutput) ExecutableUsers() pulumi.StringArrayOutput
func (LookupAmiResultOutput) Filters ¶
func (o LookupAmiResultOutput) Filters() GetAmiFilterArrayOutput
func (LookupAmiResultOutput) Hypervisor ¶
func (o LookupAmiResultOutput) Hypervisor() pulumi.StringOutput
The hypervisor type of the image.
func (LookupAmiResultOutput) Id ¶
func (o LookupAmiResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAmiResultOutput) ImageId ¶
func (o LookupAmiResultOutput) ImageId() pulumi.StringOutput
The ID of the AMI. Should be the same as the resource `id`.
func (LookupAmiResultOutput) ImageLocation ¶
func (o LookupAmiResultOutput) ImageLocation() pulumi.StringOutput
The location of the AMI.
func (LookupAmiResultOutput) ImageOwnerAlias ¶
func (o LookupAmiResultOutput) ImageOwnerAlias() pulumi.StringOutput
The AWS account alias (for example, `amazon`, `self`) or the AWS account ID of the AMI owner.
func (LookupAmiResultOutput) ImageType ¶
func (o LookupAmiResultOutput) ImageType() pulumi.StringOutput
The type of image.
func (LookupAmiResultOutput) KernelId ¶
func (o LookupAmiResultOutput) KernelId() pulumi.StringOutput
The kernel associated with the image, if any. Only applicable for machine images.
func (LookupAmiResultOutput) MostRecent ¶
func (o LookupAmiResultOutput) MostRecent() pulumi.BoolPtrOutput
func (LookupAmiResultOutput) Name ¶
func (o LookupAmiResultOutput) Name() pulumi.StringOutput
The name of the AMI that was provided during image creation.
func (LookupAmiResultOutput) NameRegex ¶
func (o LookupAmiResultOutput) NameRegex() pulumi.StringPtrOutput
func (LookupAmiResultOutput) OwnerId ¶
func (o LookupAmiResultOutput) OwnerId() pulumi.StringOutput
The AWS account ID of the image owner.
func (LookupAmiResultOutput) Owners ¶
func (o LookupAmiResultOutput) Owners() pulumi.StringArrayOutput
func (LookupAmiResultOutput) Platform ¶
func (o LookupAmiResultOutput) Platform() pulumi.StringOutput
The value is Windows for `Windows` AMIs; otherwise blank.
func (LookupAmiResultOutput) PlatformDetails ¶
func (o LookupAmiResultOutput) PlatformDetails() pulumi.StringOutput
The platform details associated with the billing code of the AMI.
func (LookupAmiResultOutput) ProductCodes ¶
func (o LookupAmiResultOutput) ProductCodes() GetAmiProductCodeArrayOutput
Any product codes associated with the AMI. * `product_codes.#.product_code_id` - The product code. * `product_codes.#.product_code_type` - The type of product code.
func (LookupAmiResultOutput) Public ¶
func (o LookupAmiResultOutput) Public() pulumi.BoolOutput
`true` if the image has public launch permissions.
func (LookupAmiResultOutput) RamdiskId ¶
func (o LookupAmiResultOutput) RamdiskId() pulumi.StringOutput
The RAM disk associated with the image, if any. Only applicable for machine images.
func (LookupAmiResultOutput) RootDeviceName ¶
func (o LookupAmiResultOutput) RootDeviceName() pulumi.StringOutput
The device name of the root device.
func (LookupAmiResultOutput) RootDeviceType ¶
func (o LookupAmiResultOutput) RootDeviceType() pulumi.StringOutput
The type of root device (ie: `ebs` or `instance-store`).
func (LookupAmiResultOutput) RootSnapshotId ¶
func (o LookupAmiResultOutput) RootSnapshotId() pulumi.StringOutput
The snapshot id associated with the root device, if any (only applies to `ebs` root devices).
func (LookupAmiResultOutput) SriovNetSupport ¶
func (o LookupAmiResultOutput) SriovNetSupport() pulumi.StringOutput
Specifies whether enhanced networking is enabled.
func (LookupAmiResultOutput) State ¶
func (o LookupAmiResultOutput) State() pulumi.StringOutput
The current state of the AMI. If the state is `available`, the image is successfully registered and can be used to launch an instance.
func (LookupAmiResultOutput) StateReason ¶
func (o LookupAmiResultOutput) StateReason() pulumi.StringMapOutput
Describes a state change. Fields are `UNSET` if not available. * `state_reason.code` - The reason code for the state change. * `state_reason.message` - The message for the state change.
func (LookupAmiResultOutput) Tags ¶
func (o LookupAmiResultOutput) Tags() pulumi.StringMapOutput
Any tags assigned to the image. * `tags.#.key` - The key name of the tag. * `tags.#.value` - The value of the tag.
func (LookupAmiResultOutput) ToLookupAmiResultOutput ¶
func (o LookupAmiResultOutput) ToLookupAmiResultOutput() LookupAmiResultOutput
func (LookupAmiResultOutput) ToLookupAmiResultOutputWithContext ¶
func (o LookupAmiResultOutput) ToLookupAmiResultOutputWithContext(ctx context.Context) LookupAmiResultOutput
func (LookupAmiResultOutput) UsageOperation ¶
func (o LookupAmiResultOutput) UsageOperation() pulumi.StringOutput
The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
func (LookupAmiResultOutput) VirtualizationType ¶
func (o LookupAmiResultOutput) VirtualizationType() pulumi.StringOutput
The type of virtualization of the AMI (ie: `hvm` or `paravirtual`).
type LookupCustomerGatewayArgs ¶
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"`
// Map of key-value pairs assigned to the gateway.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getCustomerGateway.
type LookupCustomerGatewayOutputArgs ¶
type LookupCustomerGatewayOutputArgs struct {
// One or more [name-value pairs][dcg-filters] to filter by.
Filters GetCustomerGatewayFilterArrayInput `pulumi:"filters"`
// The ID of the gateway.
Id pulumi.StringPtrInput `pulumi:"id"`
// Map of key-value pairs assigned to the gateway.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getCustomerGateway.
func (LookupCustomerGatewayOutputArgs) ElementType ¶
func (LookupCustomerGatewayOutputArgs) ElementType() reflect.Type
type LookupCustomerGatewayResult ¶
type LookupCustomerGatewayResult struct {
// The ARN of the customer gateway.
Arn string `pulumi:"arn"`
// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
BgpAsn int `pulumi:"bgpAsn"`
// The Amazon Resource Name (ARN) for the customer gateway certificate.
CertificateArn string `pulumi:"certificateArn"`
// A name for the customer gateway device.
DeviceName string `pulumi:"deviceName"`
Filters []GetCustomerGatewayFilter `pulumi:"filters"`
Id string `pulumi:"id"`
// 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]string `pulumi:"tags"`
// 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 ¶
func LookupCustomerGateway(ctx *pulumi.Context, args *LookupCustomerGatewayArgs, opts ...pulumi.InvokeOption) (*LookupCustomerGatewayResult, error)
Get an existing AWS Customer Gateway.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foo, err := ec2.LookupCustomerGateway(ctx, &ec2.LookupCustomerGatewayArgs{
Filters: []ec2.GetCustomerGatewayFilter{
ec2.GetCustomerGatewayFilter{
Name: "tag:Name",
Values: []string{
"foo-prod",
},
},
},
}, nil)
if err != nil {
return err
}
main, err := ec2.NewVpnGateway(ctx, "main", &ec2.VpnGatewayArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
AmazonSideAsn: pulumi.String("7224"),
})
if err != nil {
return err
}
_, err = ec2.NewVpnConnection(ctx, "transit", &ec2.VpnConnectionArgs{
VpnGatewayId: main.ID(),
CustomerGatewayId: pulumi.String(foo.Id),
Type: pulumi.String(foo.Type),
StaticRoutesOnly: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
```
type LookupCustomerGatewayResultOutput ¶
type LookupCustomerGatewayResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCustomerGateway.
func LookupCustomerGatewayOutput ¶
func LookupCustomerGatewayOutput(ctx *pulumi.Context, args LookupCustomerGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupCustomerGatewayResultOutput
func (LookupCustomerGatewayResultOutput) Arn ¶
func (o LookupCustomerGatewayResultOutput) Arn() pulumi.StringOutput
The ARN of the customer gateway.
func (LookupCustomerGatewayResultOutput) BgpAsn ¶
func (o LookupCustomerGatewayResultOutput) BgpAsn() pulumi.IntOutput
The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
func (LookupCustomerGatewayResultOutput) CertificateArn ¶
func (o LookupCustomerGatewayResultOutput) CertificateArn() pulumi.StringOutput
The Amazon Resource Name (ARN) for the customer gateway certificate.
func (LookupCustomerGatewayResultOutput) DeviceName ¶
func (o LookupCustomerGatewayResultOutput) DeviceName() pulumi.StringOutput
A name for the customer gateway device.
func (LookupCustomerGatewayResultOutput) ElementType ¶
func (LookupCustomerGatewayResultOutput) ElementType() reflect.Type
func (LookupCustomerGatewayResultOutput) Filters ¶
func (o LookupCustomerGatewayResultOutput) Filters() GetCustomerGatewayFilterArrayOutput
func (LookupCustomerGatewayResultOutput) Id ¶
func (o LookupCustomerGatewayResultOutput) Id() pulumi.StringOutput
func (LookupCustomerGatewayResultOutput) IpAddress ¶
func (o LookupCustomerGatewayResultOutput) IpAddress() pulumi.StringOutput
The IP address of the gateway's Internet-routable external interface.
func (LookupCustomerGatewayResultOutput) Tags ¶
func (o LookupCustomerGatewayResultOutput) Tags() pulumi.StringMapOutput
Map of key-value pairs assigned to the gateway.
func (LookupCustomerGatewayResultOutput) ToLookupCustomerGatewayResultOutput ¶
func (o LookupCustomerGatewayResultOutput) ToLookupCustomerGatewayResultOutput() LookupCustomerGatewayResultOutput
func (LookupCustomerGatewayResultOutput) ToLookupCustomerGatewayResultOutputWithContext ¶
func (o LookupCustomerGatewayResultOutput) ToLookupCustomerGatewayResultOutputWithContext(ctx context.Context) LookupCustomerGatewayResultOutput
func (LookupCustomerGatewayResultOutput) Type ¶
func (o LookupCustomerGatewayResultOutput) Type() pulumi.StringOutput
The type of customer gateway. The only type AWS supports at this time is "ipsec.1".
type LookupDedicatedHostArgs ¶
type LookupDedicatedHostArgs struct {
// Configuration block. Detailed below.
Filters []GetDedicatedHostFilter `pulumi:"filters"`
// The ID of the Dedicated Host.
HostId *string `pulumi:"hostId"`
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getDedicatedHost.
type LookupDedicatedHostOutputArgs ¶
type LookupDedicatedHostOutputArgs struct {
// Configuration block. Detailed below.
Filters GetDedicatedHostFilterArrayInput `pulumi:"filters"`
// The ID of the Dedicated Host.
HostId pulumi.StringPtrInput `pulumi:"hostId"`
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getDedicatedHost.
func (LookupDedicatedHostOutputArgs) ElementType ¶
func (LookupDedicatedHostOutputArgs) ElementType() reflect.Type
type LookupDedicatedHostResult ¶
type LookupDedicatedHostResult struct {
// The ARN of the Dedicated Host.
Arn string `pulumi:"arn"`
// Whether auto-placement is on or off.
AutoPlacement string `pulumi:"autoPlacement"`
// The Availability Zone of the Dedicated Host.
AvailabilityZone string `pulumi:"availabilityZone"`
// The number of cores on the Dedicated Host.
Cores int `pulumi:"cores"`
Filters []GetDedicatedHostFilter `pulumi:"filters"`
HostId string `pulumi:"hostId"`
// Indicates whether host recovery is enabled or disabled for the Dedicated Host.
HostRecovery string `pulumi:"hostRecovery"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// The instance family supported by the Dedicated Host. For example, "m5".
InstanceFamily string `pulumi:"instanceFamily"`
// The instance type supported by the Dedicated Host. For example, "m5.large". If the host supports multiple instance types, no instanceType is returned.
InstanceType string `pulumi:"instanceType"`
// The ID of the AWS account that owns the Dedicated Host.
OwnerId string `pulumi:"ownerId"`
// The number of sockets on the Dedicated Host.
Sockets int `pulumi:"sockets"`
Tags map[string]string `pulumi:"tags"`
// The total number of vCPUs on the Dedicated Host.
TotalVcpus int `pulumi:"totalVcpus"`
}
A collection of values returned by getDedicatedHost.
func LookupDedicatedHost ¶
func LookupDedicatedHost(ctx *pulumi.Context, args *LookupDedicatedHostArgs, opts ...pulumi.InvokeOption) (*LookupDedicatedHostResult, error)
Use this data source to get information about an EC2 Dedicated Host.
## Example Usage ### Filter Example
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupDedicatedHost(ctx, &ec2.LookupDedicatedHostArgs{
Filters: []ec2.GetDedicatedHostFilter{
ec2.GetDedicatedHostFilter{
Name: "instance-type",
Values: []string{
"c5.18xlarge",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupDedicatedHostResultOutput ¶
type LookupDedicatedHostResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDedicatedHost.
func LookupDedicatedHostOutput ¶
func LookupDedicatedHostOutput(ctx *pulumi.Context, args LookupDedicatedHostOutputArgs, opts ...pulumi.InvokeOption) LookupDedicatedHostResultOutput
func (LookupDedicatedHostResultOutput) Arn ¶
func (o LookupDedicatedHostResultOutput) Arn() pulumi.StringOutput
The ARN of the Dedicated Host.
func (LookupDedicatedHostResultOutput) AutoPlacement ¶
func (o LookupDedicatedHostResultOutput) AutoPlacement() pulumi.StringOutput
Whether auto-placement is on or off.
func (LookupDedicatedHostResultOutput) AvailabilityZone ¶
func (o LookupDedicatedHostResultOutput) AvailabilityZone() pulumi.StringOutput
The Availability Zone of the Dedicated Host.
func (LookupDedicatedHostResultOutput) Cores ¶
func (o LookupDedicatedHostResultOutput) Cores() pulumi.IntOutput
The number of cores on the Dedicated Host.
func (LookupDedicatedHostResultOutput) ElementType ¶
func (LookupDedicatedHostResultOutput) ElementType() reflect.Type
func (LookupDedicatedHostResultOutput) Filters ¶
func (o LookupDedicatedHostResultOutput) Filters() GetDedicatedHostFilterArrayOutput
func (LookupDedicatedHostResultOutput) HostId ¶
func (o LookupDedicatedHostResultOutput) HostId() pulumi.StringOutput
func (LookupDedicatedHostResultOutput) HostRecovery ¶
func (o LookupDedicatedHostResultOutput) HostRecovery() pulumi.StringOutput
Indicates whether host recovery is enabled or disabled for the Dedicated Host.
func (LookupDedicatedHostResultOutput) Id ¶
func (o LookupDedicatedHostResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDedicatedHostResultOutput) InstanceFamily ¶
func (o LookupDedicatedHostResultOutput) InstanceFamily() pulumi.StringOutput
The instance family supported by the Dedicated Host. For example, "m5".
func (LookupDedicatedHostResultOutput) InstanceType ¶
func (o LookupDedicatedHostResultOutput) InstanceType() pulumi.StringOutput
The instance type supported by the Dedicated Host. For example, "m5.large". If the host supports multiple instance types, no instanceType is returned.
func (LookupDedicatedHostResultOutput) OwnerId ¶
func (o LookupDedicatedHostResultOutput) OwnerId() pulumi.StringOutput
The ID of the AWS account that owns the Dedicated Host.
func (LookupDedicatedHostResultOutput) Sockets ¶
func (o LookupDedicatedHostResultOutput) Sockets() pulumi.IntOutput
The number of sockets on the Dedicated Host.
func (LookupDedicatedHostResultOutput) Tags ¶
func (o LookupDedicatedHostResultOutput) Tags() pulumi.StringMapOutput
func (LookupDedicatedHostResultOutput) ToLookupDedicatedHostResultOutput ¶
func (o LookupDedicatedHostResultOutput) ToLookupDedicatedHostResultOutput() LookupDedicatedHostResultOutput
func (LookupDedicatedHostResultOutput) ToLookupDedicatedHostResultOutputWithContext ¶
func (o LookupDedicatedHostResultOutput) ToLookupDedicatedHostResultOutputWithContext(ctx context.Context) LookupDedicatedHostResultOutput
func (LookupDedicatedHostResultOutput) TotalVcpus ¶
func (o LookupDedicatedHostResultOutput) TotalVcpus() pulumi.IntOutput
The total number of vCPUs on the Dedicated Host.
type LookupInstanceArgs ¶
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 map of tags, each pair of which must
// exactly match a pair on the desired Instance.
InstanceTags map[string]string `pulumi:"instanceTags"`
// A map of tags assigned to the Instance.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getInstance.
type LookupInstanceOutputArgs ¶
type LookupInstanceOutputArgs 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 GetInstanceFilterArrayInput `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 pulumi.BoolPtrInput `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 pulumi.BoolPtrInput `pulumi:"getUserData"`
// Specify the exact Instance ID with which to populate the data source.
InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
// A map of tags, each pair of which must
// exactly match a pair on the desired Instance.
InstanceTags pulumi.StringMapInput `pulumi:"instanceTags"`
// A map of tags assigned to the Instance.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getInstance.
func (LookupInstanceOutputArgs) ElementType ¶
func (LookupInstanceOutputArgs) ElementType() reflect.Type
type LookupInstanceResult ¶
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 enclave options of the Instance.
EnclaveOptions []GetInstanceEnclaveOption `pulumi:"enclaveOptions"`
// 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"`
// 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]string `pulumi:"instanceTags"`
// The type of the Instance.
InstanceType string `pulumi:"instanceType"`
// The IPv6 addresses associated to the Instance, if applicable. **NOTE**: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
Ipv6Addresses []string `pulumi:"ipv6Addresses"`
// The key name of the Instance.
KeyName string `pulumi:"keyName"`
// The metadata options of the Instance.
MetadataOptions []GetInstanceMetadataOption `pulumi:"metadataOptions"`
// 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"`
// The Amazon Resource Name (ARN) of the Outpost.
OutpostArn string `pulumi:"outpostArn"`
// 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 number of the partition the instance is in.
PlacementPartitionNumber int `pulumi:"placementPartitionNumber"`
// 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` 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 secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
SecondaryPrivateIps []string `pulumi:"secondaryPrivateIps"`
// 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 map of tags assigned to the Instance.
Tags map[string]string `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. 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupInstance(ctx, &ec2.LookupInstanceArgs{
Filters: []ec2.GetInstanceFilter{
ec2.GetInstanceFilter{
Name: "image-id",
Values: []string{
"ami-xxxxxxxx",
},
},
ec2.GetInstanceFilter{
Name: "tag:Name",
Values: []string{
"instance-name-tag",
},
},
},
InstanceId: pulumi.StringRef("i-instanceid"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupInstanceResultOutput ¶
type LookupInstanceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstance.
func LookupInstanceOutput ¶
func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput
func (LookupInstanceResultOutput) Ami ¶
func (o LookupInstanceResultOutput) Ami() pulumi.StringOutput
The ID of the AMI used to launch the instance.
func (LookupInstanceResultOutput) Arn ¶
func (o LookupInstanceResultOutput) Arn() pulumi.StringOutput
The ARN of the instance.
func (LookupInstanceResultOutput) AssociatePublicIpAddress ¶
func (o LookupInstanceResultOutput) AssociatePublicIpAddress() pulumi.BoolOutput
Whether or not the Instance is associated with a public IP address or not (Boolean).
func (LookupInstanceResultOutput) AvailabilityZone ¶
func (o LookupInstanceResultOutput) AvailabilityZone() pulumi.StringOutput
The availability zone of the Instance.
func (LookupInstanceResultOutput) CreditSpecifications ¶
func (o LookupInstanceResultOutput) CreditSpecifications() GetInstanceCreditSpecificationArrayOutput
The credit specification of the Instance.
func (LookupInstanceResultOutput) DisableApiTermination ¶
func (o LookupInstanceResultOutput) DisableApiTermination() pulumi.BoolOutput
func (LookupInstanceResultOutput) EbsBlockDevices ¶
func (o LookupInstanceResultOutput) EbsBlockDevices() GetInstanceEbsBlockDeviceArrayOutput
The EBS block device mappings of the Instance.
func (LookupInstanceResultOutput) EbsOptimized ¶
func (o LookupInstanceResultOutput) EbsOptimized() pulumi.BoolOutput
Whether the Instance is EBS optimized or not (Boolean).
func (LookupInstanceResultOutput) ElementType ¶
func (LookupInstanceResultOutput) ElementType() reflect.Type
func (LookupInstanceResultOutput) EnclaveOptions ¶
func (o LookupInstanceResultOutput) EnclaveOptions() GetInstanceEnclaveOptionArrayOutput
The enclave options of the Instance.
func (LookupInstanceResultOutput) EphemeralBlockDevices ¶
func (o LookupInstanceResultOutput) EphemeralBlockDevices() GetInstanceEphemeralBlockDeviceArrayOutput
The ephemeral block device mappings of the Instance.
func (LookupInstanceResultOutput) Filters ¶
func (o LookupInstanceResultOutput) Filters() GetInstanceFilterArrayOutput
func (LookupInstanceResultOutput) GetPasswordData ¶
func (o LookupInstanceResultOutput) GetPasswordData() pulumi.BoolPtrOutput
func (LookupInstanceResultOutput) GetUserData ¶
func (o LookupInstanceResultOutput) GetUserData() pulumi.BoolPtrOutput
func (LookupInstanceResultOutput) HostId ¶
func (o LookupInstanceResultOutput) HostId() pulumi.StringOutput
The Id of the dedicated host the instance will be assigned to.
func (LookupInstanceResultOutput) IamInstanceProfile ¶
func (o LookupInstanceResultOutput) IamInstanceProfile() pulumi.StringOutput
The name of the instance profile associated with the Instance.
func (LookupInstanceResultOutput) Id ¶
func (o LookupInstanceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupInstanceResultOutput) InstanceId ¶
func (o LookupInstanceResultOutput) InstanceId() pulumi.StringPtrOutput
func (LookupInstanceResultOutput) InstanceState ¶
func (o LookupInstanceResultOutput) InstanceState() pulumi.StringOutput
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.
func (LookupInstanceResultOutput) InstanceTags ¶
func (o LookupInstanceResultOutput) InstanceTags() pulumi.StringMapOutput
func (LookupInstanceResultOutput) InstanceType ¶
func (o LookupInstanceResultOutput) InstanceType() pulumi.StringOutput
The type of the Instance.
func (LookupInstanceResultOutput) Ipv6Addresses ¶
func (o LookupInstanceResultOutput) Ipv6Addresses() pulumi.StringArrayOutput
The IPv6 addresses associated to the Instance, if applicable. **NOTE**: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
func (LookupInstanceResultOutput) KeyName ¶
func (o LookupInstanceResultOutput) KeyName() pulumi.StringOutput
The key name of the Instance.
func (LookupInstanceResultOutput) MetadataOptions ¶
func (o LookupInstanceResultOutput) MetadataOptions() GetInstanceMetadataOptionArrayOutput
The metadata options of the Instance.
func (LookupInstanceResultOutput) Monitoring ¶
func (o LookupInstanceResultOutput) Monitoring() pulumi.BoolOutput
Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
func (LookupInstanceResultOutput) NetworkInterfaceId ¶
func (o LookupInstanceResultOutput) NetworkInterfaceId() pulumi.StringOutput
The ID of the network interface that was created with the Instance.
func (LookupInstanceResultOutput) OutpostArn ¶
func (o LookupInstanceResultOutput) OutpostArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Outpost.
func (LookupInstanceResultOutput) PasswordData ¶
func (o LookupInstanceResultOutput) PasswordData() pulumi.StringOutput
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.
func (LookupInstanceResultOutput) PlacementGroup ¶
func (o LookupInstanceResultOutput) PlacementGroup() pulumi.StringOutput
The placement group of the Instance.
func (LookupInstanceResultOutput) PlacementPartitionNumber ¶
func (o LookupInstanceResultOutput) PlacementPartitionNumber() pulumi.IntOutput
The number of the partition the instance is in.
func (LookupInstanceResultOutput) PrivateDns ¶
func (o LookupInstanceResultOutput) PrivateDns() pulumi.StringOutput
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.
func (LookupInstanceResultOutput) PrivateIp ¶
func (o LookupInstanceResultOutput) PrivateIp() pulumi.StringOutput
The private IP address assigned to the Instance.
func (LookupInstanceResultOutput) PublicDns ¶
func (o LookupInstanceResultOutput) PublicDns() pulumi.StringOutput
The public DNS name assigned to the Instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC.
func (LookupInstanceResultOutput) PublicIp ¶
func (o LookupInstanceResultOutput) PublicIp() pulumi.StringOutput
The public IP address assigned to the Instance, if applicable. **NOTE**: If you are using an `ec2.Eip` 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.
func (LookupInstanceResultOutput) RootBlockDevices ¶
func (o LookupInstanceResultOutput) RootBlockDevices() GetInstanceRootBlockDeviceArrayOutput
The root block device mappings of the Instance
func (LookupInstanceResultOutput) SecondaryPrivateIps ¶
func (o LookupInstanceResultOutput) SecondaryPrivateIps() pulumi.StringArrayOutput
The secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
func (LookupInstanceResultOutput) SecurityGroups ¶
func (o LookupInstanceResultOutput) SecurityGroups() pulumi.StringArrayOutput
The associated security groups.
func (LookupInstanceResultOutput) SourceDestCheck ¶
func (o LookupInstanceResultOutput) SourceDestCheck() pulumi.BoolOutput
Whether the network interface performs source/destination checking (Boolean).
func (LookupInstanceResultOutput) SubnetId ¶
func (o LookupInstanceResultOutput) SubnetId() pulumi.StringOutput
The VPC subnet ID.
func (LookupInstanceResultOutput) Tags ¶
func (o LookupInstanceResultOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the Instance.
func (LookupInstanceResultOutput) Tenancy ¶
func (o LookupInstanceResultOutput) Tenancy() pulumi.StringOutput
The tenancy of the instance: `dedicated`, `default`, `host`.
func (LookupInstanceResultOutput) ToLookupInstanceResultOutput ¶
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext ¶
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
func (LookupInstanceResultOutput) UserData ¶
func (o LookupInstanceResultOutput) UserData() pulumi.StringOutput
SHA-1 hash of User Data supplied to the Instance.
func (LookupInstanceResultOutput) UserDataBase64 ¶
func (o LookupInstanceResultOutput) UserDataBase64() pulumi.StringOutput
Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if `getUserData` is true.
func (LookupInstanceResultOutput) VpcSecurityGroupIds ¶
func (o LookupInstanceResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
The associated security groups in a non-default VPC.
type LookupInternetGatewayArgs ¶
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 map of tags, each pair of which must exactly match
// a pair on the desired Internet Gateway.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getInternetGateway.
type LookupInternetGatewayOutputArgs ¶
type LookupInternetGatewayOutputArgs struct {
// Custom filter block as described below.
Filters GetInternetGatewayFilterArrayInput `pulumi:"filters"`
// The id of the specific Internet Gateway to retrieve.
InternetGatewayId pulumi.StringPtrInput `pulumi:"internetGatewayId"`
// A map of tags, each pair of which must exactly match
// a pair on the desired Internet Gateway.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getInternetGateway.
func (LookupInternetGatewayOutputArgs) ElementType ¶
func (LookupInternetGatewayOutputArgs) ElementType() reflect.Type
type LookupInternetGatewayResult ¶
type LookupInternetGatewayResult struct {
// The ARN of the Internet Gateway.
Arn string `pulumi:"arn"`
Attachments []GetInternetGatewayAttachmentType `pulumi:"attachments"`
Filters []GetInternetGatewayFilter `pulumi:"filters"`
// 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]string `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.
type LookupInternetGatewayResultOutput ¶
type LookupInternetGatewayResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInternetGateway.
func LookupInternetGatewayOutput ¶
func LookupInternetGatewayOutput(ctx *pulumi.Context, args LookupInternetGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupInternetGatewayResultOutput
func (LookupInternetGatewayResultOutput) Arn ¶
func (o LookupInternetGatewayResultOutput) Arn() pulumi.StringOutput
The ARN of the Internet Gateway.
func (LookupInternetGatewayResultOutput) Attachments ¶
func (o LookupInternetGatewayResultOutput) Attachments() GetInternetGatewayAttachmentTypeArrayOutput
func (LookupInternetGatewayResultOutput) ElementType ¶
func (LookupInternetGatewayResultOutput) ElementType() reflect.Type
func (LookupInternetGatewayResultOutput) Filters ¶
func (o LookupInternetGatewayResultOutput) Filters() GetInternetGatewayFilterArrayOutput
func (LookupInternetGatewayResultOutput) Id ¶
func (o LookupInternetGatewayResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupInternetGatewayResultOutput) InternetGatewayId ¶
func (o LookupInternetGatewayResultOutput) InternetGatewayId() pulumi.StringOutput
func (LookupInternetGatewayResultOutput) OwnerId ¶
func (o LookupInternetGatewayResultOutput) OwnerId() pulumi.StringOutput
The ID of the AWS account that owns the internet gateway.
func (LookupInternetGatewayResultOutput) Tags ¶
func (o LookupInternetGatewayResultOutput) Tags() pulumi.StringMapOutput
func (LookupInternetGatewayResultOutput) ToLookupInternetGatewayResultOutput ¶
func (o LookupInternetGatewayResultOutput) ToLookupInternetGatewayResultOutput() LookupInternetGatewayResultOutput
func (LookupInternetGatewayResultOutput) ToLookupInternetGatewayResultOutputWithContext ¶
func (o LookupInternetGatewayResultOutput) ToLookupInternetGatewayResultOutputWithContext(ctx context.Context) LookupInternetGatewayResultOutput
type LookupKeyPairArgs ¶
type LookupKeyPairArgs struct {
// Custom filter block as described below.
Filters []GetKeyPairFilter `pulumi:"filters"`
// The Key Pair name.
KeyName *string `pulumi:"keyName"`
// The Key Pair ID.
KeyPairId *string `pulumi:"keyPairId"`
// Any tags assigned to the Key Pair.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getKeyPair.
type LookupKeyPairOutputArgs ¶
type LookupKeyPairOutputArgs struct {
// Custom filter block as described below.
Filters GetKeyPairFilterArrayInput `pulumi:"filters"`
// The Key Pair name.
KeyName pulumi.StringPtrInput `pulumi:"keyName"`
// The Key Pair ID.
KeyPairId pulumi.StringPtrInput `pulumi:"keyPairId"`
// Any tags assigned to the Key Pair.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getKeyPair.
func (LookupKeyPairOutputArgs) ElementType ¶
func (LookupKeyPairOutputArgs) ElementType() reflect.Type
type LookupKeyPairResult ¶
type LookupKeyPairResult struct {
// The ARN of the Key Pair.
Arn string `pulumi:"arn"`
Filters []GetKeyPairFilter `pulumi:"filters"`
// The SHA-1 digest of the DER encoded private key.
Fingerprint string `pulumi:"fingerprint"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
KeyName *string `pulumi:"keyName"`
KeyPairId *string `pulumi:"keyPairId"`
// Any tags assigned to the Key Pair.
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getKeyPair.
func LookupKeyPair ¶
func LookupKeyPair(ctx *pulumi.Context, args *LookupKeyPairArgs, opts ...pulumi.InvokeOption) (*LookupKeyPairResult, error)
Use this data source to get information about a specific EC2 Key Pair.
## Example Usage
The following example shows how to get a EC2 Key Pair from its name.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ec2.LookupKeyPair(ctx, &ec2.LookupKeyPairArgs{
KeyName: pulumi.StringRef("test"),
Filters: []ec2.GetKeyPairFilter{
ec2.GetKeyPairFilter{
Name: "tag:Component",
Values: []string{
"web",
},
},
},
}, nil)
if err != nil {
return err
}
ctx.Export("fingerprint", example.Fingerprint)
ctx.Export("name", example.KeyName)
ctx.Export("id", example.Id)
return nil
})
}
```
type LookupKeyPairResultOutput ¶
type LookupKeyPairResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getKeyPair.
func LookupKeyPairOutput ¶
func LookupKeyPairOutput(ctx *pulumi.Context, args LookupKeyPairOutputArgs, opts ...pulumi.InvokeOption) LookupKeyPairResultOutput
func (LookupKeyPairResultOutput) Arn ¶
func (o LookupKeyPairResultOutput) Arn() pulumi.StringOutput
The ARN of the Key Pair.
func (LookupKeyPairResultOutput) ElementType ¶
func (LookupKeyPairResultOutput) ElementType() reflect.Type
func (LookupKeyPairResultOutput) Filters ¶
func (o LookupKeyPairResultOutput) Filters() GetKeyPairFilterArrayOutput
func (LookupKeyPairResultOutput) Fingerprint ¶
func (o LookupKeyPairResultOutput) Fingerprint() pulumi.StringOutput
The SHA-1 digest of the DER encoded private key.
func (LookupKeyPairResultOutput) Id ¶
func (o LookupKeyPairResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupKeyPairResultOutput) KeyName ¶
func (o LookupKeyPairResultOutput) KeyName() pulumi.StringPtrOutput
func (LookupKeyPairResultOutput) KeyPairId ¶
func (o LookupKeyPairResultOutput) KeyPairId() pulumi.StringPtrOutput
func (LookupKeyPairResultOutput) Tags ¶
func (o LookupKeyPairResultOutput) Tags() pulumi.StringMapOutput
Any tags assigned to the Key Pair.
func (LookupKeyPairResultOutput) ToLookupKeyPairResultOutput ¶
func (o LookupKeyPairResultOutput) ToLookupKeyPairResultOutput() LookupKeyPairResultOutput
func (LookupKeyPairResultOutput) ToLookupKeyPairResultOutputWithContext ¶
func (o LookupKeyPairResultOutput) ToLookupKeyPairResultOutputWithContext(ctx context.Context) LookupKeyPairResultOutput
type LookupLaunchConfigurationArgs ¶
type LookupLaunchConfigurationArgs struct {
// The name of the launch configuration.
Name string `pulumi:"name"`
}
A collection of arguments for invoking getLaunchConfiguration.
type LookupLaunchConfigurationOutputArgs ¶
type LookupLaunchConfigurationOutputArgs struct {
// The name of the launch configuration.
Name pulumi.StringInput `pulumi:"name"`
}
A collection of arguments for invoking getLaunchConfiguration.
func (LookupLaunchConfigurationOutputArgs) ElementType ¶
func (LookupLaunchConfigurationOutputArgs) ElementType() reflect.Type
type LookupLaunchConfigurationResult ¶
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"`
// 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 metadata options for the instance.
MetadataOptions []GetLaunchConfigurationMetadataOption `pulumi:"metadataOptions"`
// 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 ¶
func LookupLaunchConfiguration(ctx *pulumi.Context, args *LookupLaunchConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupLaunchConfigurationResult, error)
Provides information about a Launch Configuration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupLaunchConfiguration(ctx, &ec2.LookupLaunchConfigurationArgs{
Name: "test-launch-config",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupLaunchConfigurationResultOutput ¶
type LookupLaunchConfigurationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLaunchConfiguration.
func LookupLaunchConfigurationOutput ¶
func LookupLaunchConfigurationOutput(ctx *pulumi.Context, args LookupLaunchConfigurationOutputArgs, opts ...pulumi.InvokeOption) LookupLaunchConfigurationResultOutput
func (LookupLaunchConfigurationResultOutput) Arn ¶
func (o LookupLaunchConfigurationResultOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of the launch configuration.
func (LookupLaunchConfigurationResultOutput) AssociatePublicIpAddress ¶
func (o LookupLaunchConfigurationResultOutput) AssociatePublicIpAddress() pulumi.BoolOutput
Whether a Public IP address is associated with the instance.
func (LookupLaunchConfigurationResultOutput) EbsBlockDevices ¶
func (o LookupLaunchConfigurationResultOutput) EbsBlockDevices() GetLaunchConfigurationEbsBlockDeviceArrayOutput
The EBS Block Devices attached to the instance.
func (LookupLaunchConfigurationResultOutput) EbsOptimized ¶
func (o LookupLaunchConfigurationResultOutput) EbsOptimized() pulumi.BoolOutput
Whether the launched EC2 instance will be EBS-optimized.
func (LookupLaunchConfigurationResultOutput) ElementType ¶
func (LookupLaunchConfigurationResultOutput) ElementType() reflect.Type
func (LookupLaunchConfigurationResultOutput) EnableMonitoring ¶
func (o LookupLaunchConfigurationResultOutput) EnableMonitoring() pulumi.BoolOutput
Whether Detailed Monitoring is Enabled.
func (LookupLaunchConfigurationResultOutput) EphemeralBlockDevices ¶
func (o LookupLaunchConfigurationResultOutput) EphemeralBlockDevices() GetLaunchConfigurationEphemeralBlockDeviceArrayOutput
The Ephemeral volumes on the instance.
func (LookupLaunchConfigurationResultOutput) IamInstanceProfile ¶
func (o LookupLaunchConfigurationResultOutput) IamInstanceProfile() pulumi.StringOutput
The IAM Instance Profile to associate with launched instances.
func (LookupLaunchConfigurationResultOutput) Id ¶
func (o LookupLaunchConfigurationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupLaunchConfigurationResultOutput) ImageId ¶
func (o LookupLaunchConfigurationResultOutput) ImageId() pulumi.StringOutput
The EC2 Image ID of the instance.
func (LookupLaunchConfigurationResultOutput) InstanceType ¶
func (o LookupLaunchConfigurationResultOutput) InstanceType() pulumi.StringOutput
The Instance Type of the instance to launch.
func (LookupLaunchConfigurationResultOutput) KeyName ¶
func (o LookupLaunchConfigurationResultOutput) KeyName() pulumi.StringOutput
The Key Name that should be used for the instance.
func (LookupLaunchConfigurationResultOutput) MetadataOptions ¶
func (o LookupLaunchConfigurationResultOutput) MetadataOptions() GetLaunchConfigurationMetadataOptionArrayOutput
The metadata options for the instance.
func (LookupLaunchConfigurationResultOutput) Name ¶
func (o LookupLaunchConfigurationResultOutput) Name() pulumi.StringOutput
The Name of the launch configuration.
func (LookupLaunchConfigurationResultOutput) PlacementTenancy ¶
func (o LookupLaunchConfigurationResultOutput) PlacementTenancy() pulumi.StringOutput
The Tenancy of the instance.
func (LookupLaunchConfigurationResultOutput) RootBlockDevices ¶
func (o LookupLaunchConfigurationResultOutput) RootBlockDevices() GetLaunchConfigurationRootBlockDeviceArrayOutput
The Root Block Device of the instance.
func (LookupLaunchConfigurationResultOutput) SecurityGroups ¶
func (o LookupLaunchConfigurationResultOutput) SecurityGroups() pulumi.StringArrayOutput
A list of associated Security Group IDS.
func (LookupLaunchConfigurationResultOutput) SpotPrice ¶
func (o LookupLaunchConfigurationResultOutput) SpotPrice() pulumi.StringOutput
The Price to use for reserving Spot instances.
func (LookupLaunchConfigurationResultOutput) ToLookupLaunchConfigurationResultOutput ¶
func (o LookupLaunchConfigurationResultOutput) ToLookupLaunchConfigurationResultOutput() LookupLaunchConfigurationResultOutput
func (LookupLaunchConfigurationResultOutput) ToLookupLaunchConfigurationResultOutputWithContext ¶
func (o LookupLaunchConfigurationResultOutput) ToLookupLaunchConfigurationResultOutputWithContext(ctx context.Context) LookupLaunchConfigurationResultOutput
func (LookupLaunchConfigurationResultOutput) UserData ¶
func (o LookupLaunchConfigurationResultOutput) UserData() pulumi.StringOutput
The User Data of the instance.
func (LookupLaunchConfigurationResultOutput) VpcClassicLinkId ¶
func (o LookupLaunchConfigurationResultOutput) VpcClassicLinkId() pulumi.StringOutput
The ID of a ClassicLink-enabled VPC.
func (LookupLaunchConfigurationResultOutput) VpcClassicLinkSecurityGroups ¶
func (o LookupLaunchConfigurationResultOutput) VpcClassicLinkSecurityGroups() pulumi.StringArrayOutput
The IDs of one or more Security Groups for the specified ClassicLink-enabled VPC.
type LookupLaunchTemplateArgs ¶
type LookupLaunchTemplateArgs struct {
// Configuration block(s) for filtering. Detailed below.
Filters []GetLaunchTemplateFilter `pulumi:"filters"`
// The ID of the specific launch template to retrieve.
Id *string `pulumi:"id"`
// The name of the filter field. Valid values can be found in the [EC2 DescribeLaunchTemplates API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html).
Name *string `pulumi:"name"`
// A map of tags, each pair of which must exactly match a pair on the desired Launch Template.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getLaunchTemplate.
type LookupLaunchTemplateOutputArgs ¶
type LookupLaunchTemplateOutputArgs struct {
// Configuration block(s) for filtering. Detailed below.
Filters GetLaunchTemplateFilterArrayInput `pulumi:"filters"`
// The ID of the specific launch template to retrieve.
Id pulumi.StringPtrInput `pulumi:"id"`
// The name of the filter field. Valid values can be found in the [EC2 DescribeLaunchTemplates API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html).
Name pulumi.StringPtrInput `pulumi:"name"`
// A map of tags, each pair of which must exactly match a pair on the desired Launch Template.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getLaunchTemplate.
func (LookupLaunchTemplateOutputArgs) ElementType ¶
func (LookupLaunchTemplateOutputArgs) ElementType() reflect.Type
type LookupLaunchTemplateResult ¶
type LookupLaunchTemplateResult struct {
Arn string `pulumi:"arn"`
BlockDeviceMappings []GetLaunchTemplateBlockDeviceMapping `pulumi:"blockDeviceMappings"`
CapacityReservationSpecifications []GetLaunchTemplateCapacityReservationSpecification `pulumi:"capacityReservationSpecifications"`
CpuOptions []GetLaunchTemplateCpuOption `pulumi:"cpuOptions"`
CreditSpecifications []GetLaunchTemplateCreditSpecification `pulumi:"creditSpecifications"`
DefaultVersion int `pulumi:"defaultVersion"`
Description string `pulumi:"description"`
DisableApiTermination bool `pulumi:"disableApiTermination"`
EbsOptimized string `pulumi:"ebsOptimized"`
ElasticGpuSpecifications []GetLaunchTemplateElasticGpuSpecification `pulumi:"elasticGpuSpecifications"`
ElasticInferenceAccelerators []GetLaunchTemplateElasticInferenceAccelerator `pulumi:"elasticInferenceAccelerators"`
EnclaveOptions []GetLaunchTemplateEnclaveOption `pulumi:"enclaveOptions"`
Filters []GetLaunchTemplateFilter `pulumi:"filters"`
HibernationOptions []GetLaunchTemplateHibernationOption `pulumi:"hibernationOptions"`
IamInstanceProfiles []GetLaunchTemplateIamInstanceProfile `pulumi:"iamInstanceProfiles"`
// The ID of the launch template.
Id string `pulumi:"id"`
ImageId string `pulumi:"imageId"`
InstanceInitiatedShutdownBehavior string `pulumi:"instanceInitiatedShutdownBehavior"`
InstanceMarketOptions []GetLaunchTemplateInstanceMarketOption `pulumi:"instanceMarketOptions"`
InstanceType string `pulumi:"instanceType"`
KernelId string `pulumi:"kernelId"`
KeyName string `pulumi:"keyName"`
LatestVersion int `pulumi:"latestVersion"`
LicenseSpecifications []GetLaunchTemplateLicenseSpecification `pulumi:"licenseSpecifications"`
MetadataOptions []GetLaunchTemplateMetadataOption `pulumi:"metadataOptions"`
Monitorings []GetLaunchTemplateMonitoring `pulumi:"monitorings"`
Name string `pulumi:"name"`
NetworkInterfaces []GetLaunchTemplateNetworkInterface `pulumi:"networkInterfaces"`
Placements []GetLaunchTemplatePlacement `pulumi:"placements"`
PrivateDnsNameOptions []GetLaunchTemplatePrivateDnsNameOption `pulumi:"privateDnsNameOptions"`
RamDiskId string `pulumi:"ramDiskId"`
SecurityGroupNames []string `pulumi:"securityGroupNames"`
TagSpecifications []GetLaunchTemplateTagSpecification `pulumi:"tagSpecifications"`
Tags map[string]string `pulumi:"tags"`
UserData string `pulumi:"userData"`
VpcSecurityGroupIds []string `pulumi:"vpcSecurityGroupIds"`
}
A collection of values returned by getLaunchTemplate.
func LookupLaunchTemplate ¶
func LookupLaunchTemplate(ctx *pulumi.Context, args *LookupLaunchTemplateArgs, opts ...pulumi.InvokeOption) (*LookupLaunchTemplateResult, error)
Provides information about a Launch Template.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupLaunchTemplate(ctx, &ec2.LookupLaunchTemplateArgs{
Name: pulumi.StringRef("my-launch-template"),
}, nil)
if err != nil {
return err
}
return nil
})
}
``` ### Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupLaunchTemplate(ctx, &ec2.LookupLaunchTemplateArgs{
Filters: []ec2.GetLaunchTemplateFilter{
ec2.GetLaunchTemplateFilter{
Name: "launch-template-name",
Values: []string{
"some-template",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupLaunchTemplateResultOutput ¶
type LookupLaunchTemplateResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLaunchTemplate.
func LookupLaunchTemplateOutput ¶
func LookupLaunchTemplateOutput(ctx *pulumi.Context, args LookupLaunchTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupLaunchTemplateResultOutput
func (LookupLaunchTemplateResultOutput) Arn ¶
func (o LookupLaunchTemplateResultOutput) Arn() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) BlockDeviceMappings ¶
func (o LookupLaunchTemplateResultOutput) BlockDeviceMappings() GetLaunchTemplateBlockDeviceMappingArrayOutput
func (LookupLaunchTemplateResultOutput) CapacityReservationSpecifications ¶ added in v5.1.0
func (o LookupLaunchTemplateResultOutput) CapacityReservationSpecifications() GetLaunchTemplateCapacityReservationSpecificationArrayOutput
func (LookupLaunchTemplateResultOutput) CpuOptions ¶ added in v5.1.0
func (o LookupLaunchTemplateResultOutput) CpuOptions() GetLaunchTemplateCpuOptionArrayOutput
func (LookupLaunchTemplateResultOutput) CreditSpecifications ¶
func (o LookupLaunchTemplateResultOutput) CreditSpecifications() GetLaunchTemplateCreditSpecificationArrayOutput
func (LookupLaunchTemplateResultOutput) DefaultVersion ¶
func (o LookupLaunchTemplateResultOutput) DefaultVersion() pulumi.IntOutput
func (LookupLaunchTemplateResultOutput) Description ¶
func (o LookupLaunchTemplateResultOutput) Description() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) DisableApiTermination ¶
func (o LookupLaunchTemplateResultOutput) DisableApiTermination() pulumi.BoolOutput
func (LookupLaunchTemplateResultOutput) EbsOptimized ¶
func (o LookupLaunchTemplateResultOutput) EbsOptimized() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) ElasticGpuSpecifications ¶
func (o LookupLaunchTemplateResultOutput) ElasticGpuSpecifications() GetLaunchTemplateElasticGpuSpecificationArrayOutput
func (LookupLaunchTemplateResultOutput) ElasticInferenceAccelerators ¶ added in v5.1.0
func (o LookupLaunchTemplateResultOutput) ElasticInferenceAccelerators() GetLaunchTemplateElasticInferenceAcceleratorArrayOutput
func (LookupLaunchTemplateResultOutput) ElementType ¶
func (LookupLaunchTemplateResultOutput) ElementType() reflect.Type
func (LookupLaunchTemplateResultOutput) EnclaveOptions ¶
func (o LookupLaunchTemplateResultOutput) EnclaveOptions() GetLaunchTemplateEnclaveOptionArrayOutput
func (LookupLaunchTemplateResultOutput) Filters ¶
func (o LookupLaunchTemplateResultOutput) Filters() GetLaunchTemplateFilterArrayOutput
func (LookupLaunchTemplateResultOutput) HibernationOptions ¶
func (o LookupLaunchTemplateResultOutput) HibernationOptions() GetLaunchTemplateHibernationOptionArrayOutput
func (LookupLaunchTemplateResultOutput) IamInstanceProfiles ¶
func (o LookupLaunchTemplateResultOutput) IamInstanceProfiles() GetLaunchTemplateIamInstanceProfileArrayOutput
func (LookupLaunchTemplateResultOutput) Id ¶
func (o LookupLaunchTemplateResultOutput) Id() pulumi.StringOutput
The ID of the launch template.
func (LookupLaunchTemplateResultOutput) ImageId ¶
func (o LookupLaunchTemplateResultOutput) ImageId() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) InstanceInitiatedShutdownBehavior ¶
func (o LookupLaunchTemplateResultOutput) InstanceInitiatedShutdownBehavior() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) InstanceMarketOptions ¶
func (o LookupLaunchTemplateResultOutput) InstanceMarketOptions() GetLaunchTemplateInstanceMarketOptionArrayOutput
func (LookupLaunchTemplateResultOutput) InstanceType ¶
func (o LookupLaunchTemplateResultOutput) InstanceType() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) KernelId ¶
func (o LookupLaunchTemplateResultOutput) KernelId() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) KeyName ¶
func (o LookupLaunchTemplateResultOutput) KeyName() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) LatestVersion ¶
func (o LookupLaunchTemplateResultOutput) LatestVersion() pulumi.IntOutput
func (LookupLaunchTemplateResultOutput) LicenseSpecifications ¶ added in v5.1.0
func (o LookupLaunchTemplateResultOutput) LicenseSpecifications() GetLaunchTemplateLicenseSpecificationArrayOutput
func (LookupLaunchTemplateResultOutput) MetadataOptions ¶
func (o LookupLaunchTemplateResultOutput) MetadataOptions() GetLaunchTemplateMetadataOptionArrayOutput
func (LookupLaunchTemplateResultOutput) Monitorings ¶
func (o LookupLaunchTemplateResultOutput) Monitorings() GetLaunchTemplateMonitoringArrayOutput
func (LookupLaunchTemplateResultOutput) Name ¶
func (o LookupLaunchTemplateResultOutput) Name() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) NetworkInterfaces ¶
func (o LookupLaunchTemplateResultOutput) NetworkInterfaces() GetLaunchTemplateNetworkInterfaceArrayOutput
func (LookupLaunchTemplateResultOutput) Placements ¶
func (o LookupLaunchTemplateResultOutput) Placements() GetLaunchTemplatePlacementArrayOutput
func (LookupLaunchTemplateResultOutput) PrivateDnsNameOptions ¶ added in v5.1.0
func (o LookupLaunchTemplateResultOutput) PrivateDnsNameOptions() GetLaunchTemplatePrivateDnsNameOptionArrayOutput
func (LookupLaunchTemplateResultOutput) RamDiskId ¶
func (o LookupLaunchTemplateResultOutput) RamDiskId() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) SecurityGroupNames ¶
func (o LookupLaunchTemplateResultOutput) SecurityGroupNames() pulumi.StringArrayOutput
func (LookupLaunchTemplateResultOutput) TagSpecifications ¶
func (o LookupLaunchTemplateResultOutput) TagSpecifications() GetLaunchTemplateTagSpecificationArrayOutput
func (LookupLaunchTemplateResultOutput) Tags ¶
func (o LookupLaunchTemplateResultOutput) Tags() pulumi.StringMapOutput
func (LookupLaunchTemplateResultOutput) ToLookupLaunchTemplateResultOutput ¶
func (o LookupLaunchTemplateResultOutput) ToLookupLaunchTemplateResultOutput() LookupLaunchTemplateResultOutput
func (LookupLaunchTemplateResultOutput) ToLookupLaunchTemplateResultOutputWithContext ¶
func (o LookupLaunchTemplateResultOutput) ToLookupLaunchTemplateResultOutputWithContext(ctx context.Context) LookupLaunchTemplateResultOutput
func (LookupLaunchTemplateResultOutput) UserData ¶
func (o LookupLaunchTemplateResultOutput) UserData() pulumi.StringOutput
func (LookupLaunchTemplateResultOutput) VpcSecurityGroupIds ¶
func (o LookupLaunchTemplateResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
type LookupManagedPrefixListArgs ¶
type LookupManagedPrefixListArgs struct {
// Configuration block(s) for filtering. Detailed below.
Filters []GetManagedPrefixListFilter `pulumi:"filters"`
// The ID of the prefix list to select.
Id *string `pulumi:"id"`
// The name of the filter field. Valid values can be found in the EC2 [DescribeManagedPrefixLists](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeManagedPrefixLists.html) API Reference.
Name *string `pulumi:"name"`
// A map of tags assigned to the resource.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getManagedPrefixList.
type LookupManagedPrefixListOutputArgs ¶
type LookupManagedPrefixListOutputArgs struct {
// Configuration block(s) for filtering. Detailed below.
Filters GetManagedPrefixListFilterArrayInput `pulumi:"filters"`
// The ID of the prefix list to select.
Id pulumi.StringPtrInput `pulumi:"id"`
// The name of the filter field. Valid values can be found in the EC2 [DescribeManagedPrefixLists](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeManagedPrefixLists.html) API Reference.
Name pulumi.StringPtrInput `pulumi:"name"`
// A map of tags assigned to the resource.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getManagedPrefixList.
func (LookupManagedPrefixListOutputArgs) ElementType ¶
func (LookupManagedPrefixListOutputArgs) ElementType() reflect.Type
type LookupManagedPrefixListResult ¶
type LookupManagedPrefixListResult struct {
// The address family of the prefix list. Valid values are `IPv4` and `IPv6`.
AddressFamily string `pulumi:"addressFamily"`
// The ARN of the selected prefix list.
Arn string `pulumi:"arn"`
// The set of entries in this prefix list. Each entry is an object with `cidr` and `description`.
Entries []GetManagedPrefixListEntryType `pulumi:"entries"`
Filters []GetManagedPrefixListFilter `pulumi:"filters"`
// The ID of the selected prefix list.
Id string `pulumi:"id"`
// When then prefix list is managed, the maximum number of entries it supports, or null otherwise.
MaxEntries int `pulumi:"maxEntries"`
// The name of the selected prefix list.
Name string `pulumi:"name"`
// The Account ID of the owner of a customer-managed prefix list, or `AWS` otherwise.
OwnerId string `pulumi:"ownerId"`
// A map of tags assigned to the resource.
Tags map[string]string `pulumi:"tags"`
Version int `pulumi:"version"`
}
A collection of values returned by getManagedPrefixList.
func LookupManagedPrefixList ¶
func LookupManagedPrefixList(ctx *pulumi.Context, args *LookupManagedPrefixListArgs, opts ...pulumi.InvokeOption) (*LookupManagedPrefixListResult, error)
`ec2.ManagedPrefixList` provides details about a specific AWS prefix list or customer-managed prefix list in the current region.
## Example Usage ### Find the regional DynamoDB prefix list
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
_, err = ec2.LookupManagedPrefixList(ctx, &ec2.LookupManagedPrefixListArgs{
Name: pulumi.StringRef(fmt.Sprintf("%v%v%v", "com.amazonaws.", current.Name, ".dynamodb")),
}, nil)
if err != nil {
return err
}
return nil
})
}
``` ### Find a managed prefix list using filters
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupManagedPrefixList(ctx, &ec2.LookupManagedPrefixListArgs{
Filters: []ec2.GetManagedPrefixListFilter{
ec2.GetManagedPrefixListFilter{
Name: "prefix-list-name",
Values: []string{
"my-prefix-list",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupManagedPrefixListResultOutput ¶
type LookupManagedPrefixListResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getManagedPrefixList.
func LookupManagedPrefixListOutput ¶
func LookupManagedPrefixListOutput(ctx *pulumi.Context, args LookupManagedPrefixListOutputArgs, opts ...pulumi.InvokeOption) LookupManagedPrefixListResultOutput
func (LookupManagedPrefixListResultOutput) AddressFamily ¶
func (o LookupManagedPrefixListResultOutput) AddressFamily() pulumi.StringOutput
The address family of the prefix list. Valid values are `IPv4` and `IPv6`.
func (LookupManagedPrefixListResultOutput) Arn ¶
func (o LookupManagedPrefixListResultOutput) Arn() pulumi.StringOutput
The ARN of the selected prefix list.
func (LookupManagedPrefixListResultOutput) ElementType ¶
func (LookupManagedPrefixListResultOutput) ElementType() reflect.Type
func (LookupManagedPrefixListResultOutput) Entries ¶
func (o LookupManagedPrefixListResultOutput) Entries() GetManagedPrefixListEntryTypeArrayOutput
The set of entries in this prefix list. Each entry is an object with `cidr` and `description`.
func (LookupManagedPrefixListResultOutput) Filters ¶
func (o LookupManagedPrefixListResultOutput) Filters() GetManagedPrefixListFilterArrayOutput
func (LookupManagedPrefixListResultOutput) Id ¶
func (o LookupManagedPrefixListResultOutput) Id() pulumi.StringOutput
The ID of the selected prefix list.
func (LookupManagedPrefixListResultOutput) MaxEntries ¶
func (o LookupManagedPrefixListResultOutput) MaxEntries() pulumi.IntOutput
When then prefix list is managed, the maximum number of entries it supports, or null otherwise.
func (LookupManagedPrefixListResultOutput) Name ¶
func (o LookupManagedPrefixListResultOutput) Name() pulumi.StringOutput
The name of the selected prefix list.
func (LookupManagedPrefixListResultOutput) OwnerId ¶
func (o LookupManagedPrefixListResultOutput) OwnerId() pulumi.StringOutput
The Account ID of the owner of a customer-managed prefix list, or `AWS` otherwise.
func (LookupManagedPrefixListResultOutput) Tags ¶
func (o LookupManagedPrefixListResultOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the resource.
func (LookupManagedPrefixListResultOutput) ToLookupManagedPrefixListResultOutput ¶
func (o LookupManagedPrefixListResultOutput) ToLookupManagedPrefixListResultOutput() LookupManagedPrefixListResultOutput
func (LookupManagedPrefixListResultOutput) ToLookupManagedPrefixListResultOutputWithContext ¶
func (o LookupManagedPrefixListResultOutput) ToLookupManagedPrefixListResultOutputWithContext(ctx context.Context) LookupManagedPrefixListResultOutput
func (LookupManagedPrefixListResultOutput) Version ¶
func (o LookupManagedPrefixListResultOutput) Version() pulumi.IntOutput
type LookupNatGatewayArgs ¶
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 map of tags, each pair of which must exactly match
// a pair on the desired Nat Gateway.
Tags map[string]string `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 LookupNatGatewayOutputArgs ¶
type LookupNatGatewayOutputArgs struct {
// Custom filter block as described below.
Filters GetNatGatewayFilterArrayInput `pulumi:"filters"`
// The id of the specific Nat Gateway to retrieve.
Id pulumi.StringPtrInput `pulumi:"id"`
// The state of the NAT gateway (pending | failed | available | deleting | deleted ).
State pulumi.StringPtrInput `pulumi:"state"`
// The id of subnet that the Nat Gateway resides in.
SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
// A map of tags, each pair of which must exactly match
// a pair on the desired Nat Gateway.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The id of the VPC that the Nat Gateway resides in.
VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getNatGateway.
func (LookupNatGatewayOutputArgs) ElementType ¶
func (LookupNatGatewayOutputArgs) ElementType() reflect.Type
type LookupNatGatewayResult ¶
type LookupNatGatewayResult struct {
// The Id of the EIP allocated to the selected Nat Gateway.
AllocationId string `pulumi:"allocationId"`
// The connectivity type of the NAT Gateway.
ConnectivityType string `pulumi:"connectivityType"`
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]string `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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
subnetId := cfg.RequireObject("subnetId")
_, err := ec2.LookupNatGateway(ctx, &ec2.LookupNatGatewayArgs{
SubnetId: pulumi.StringRef(aws_subnet.Public.Id),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
Usage with tags:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupNatGateway(ctx, &ec2.LookupNatGatewayArgs{
SubnetId: pulumi.StringRef(aws_subnet.Public.Id),
Tags: map[string]interface{}{
"Name": "gw NAT",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupNatGatewayResultOutput ¶
type LookupNatGatewayResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNatGateway.
func LookupNatGatewayOutput ¶
func LookupNatGatewayOutput(ctx *pulumi.Context, args LookupNatGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupNatGatewayResultOutput
func (LookupNatGatewayResultOutput) AllocationId ¶
func (o LookupNatGatewayResultOutput) AllocationId() pulumi.StringOutput
The Id of the EIP allocated to the selected Nat Gateway.
func (LookupNatGatewayResultOutput) ConnectivityType ¶
func (o LookupNatGatewayResultOutput) ConnectivityType() pulumi.StringOutput
The connectivity type of the NAT Gateway.
func (LookupNatGatewayResultOutput) ElementType ¶
func (LookupNatGatewayResultOutput) ElementType() reflect.Type
func (LookupNatGatewayResultOutput) Filters ¶
func (o LookupNatGatewayResultOutput) Filters() GetNatGatewayFilterArrayOutput
func (LookupNatGatewayResultOutput) Id ¶
func (o LookupNatGatewayResultOutput) Id() pulumi.StringOutput
func (LookupNatGatewayResultOutput) NetworkInterfaceId ¶
func (o LookupNatGatewayResultOutput) NetworkInterfaceId() pulumi.StringOutput
The Id of the ENI allocated to the selected Nat Gateway.
func (LookupNatGatewayResultOutput) PrivateIp ¶
func (o LookupNatGatewayResultOutput) PrivateIp() pulumi.StringOutput
The private Ip address of the selected Nat Gateway.
func (LookupNatGatewayResultOutput) PublicIp ¶
func (o LookupNatGatewayResultOutput) PublicIp() pulumi.StringOutput
The public Ip (EIP) address of the selected Nat Gateway.
func (LookupNatGatewayResultOutput) State ¶
func (o LookupNatGatewayResultOutput) State() pulumi.StringOutput
func (LookupNatGatewayResultOutput) SubnetId ¶
func (o LookupNatGatewayResultOutput) SubnetId() pulumi.StringOutput
func (LookupNatGatewayResultOutput) Tags ¶
func (o LookupNatGatewayResultOutput) Tags() pulumi.StringMapOutput
func (LookupNatGatewayResultOutput) ToLookupNatGatewayResultOutput ¶
func (o LookupNatGatewayResultOutput) ToLookupNatGatewayResultOutput() LookupNatGatewayResultOutput
func (LookupNatGatewayResultOutput) ToLookupNatGatewayResultOutputWithContext ¶
func (o LookupNatGatewayResultOutput) ToLookupNatGatewayResultOutputWithContext(ctx context.Context) LookupNatGatewayResultOutput
func (LookupNatGatewayResultOutput) VpcId ¶
func (o LookupNatGatewayResultOutput) VpcId() pulumi.StringOutput
type LookupNetworkInterfaceArgs ¶
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"`
// Any tags assigned to the network interface.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getNetworkInterface.
type LookupNetworkInterfaceOutputArgs ¶
type LookupNetworkInterfaceOutputArgs 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 GetNetworkInterfaceFilterArrayInput `pulumi:"filters"`
// The identifier for the network interface.
Id pulumi.StringPtrInput `pulumi:"id"`
// Any tags assigned to the network interface.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getNetworkInterface.
func (LookupNetworkInterfaceOutputArgs) ElementType ¶
func (LookupNetworkInterfaceOutputArgs) ElementType() reflect.Type
type LookupNetworkInterfaceResult ¶
type LookupNetworkInterfaceResult struct {
// The ARN of the network interface.
Arn string `pulumi:"arn"`
// 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 Amazon Resource Name (ARN) of the Outpost.
OutpostArn string `pulumi:"outpostArn"`
// 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]string `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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupNetworkInterface(ctx, &ec2.LookupNetworkInterfaceArgs{
Id: pulumi.StringRef("eni-01234567"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupNetworkInterfaceResultOutput ¶
type LookupNetworkInterfaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNetworkInterface.
func LookupNetworkInterfaceOutput ¶
func LookupNetworkInterfaceOutput(ctx *pulumi.Context, args LookupNetworkInterfaceOutputArgs, opts ...pulumi.InvokeOption) LookupNetworkInterfaceResultOutput
func (LookupNetworkInterfaceResultOutput) Arn ¶
func (o LookupNetworkInterfaceResultOutput) Arn() pulumi.StringOutput
The ARN of the network interface.
func (LookupNetworkInterfaceResultOutput) Associations ¶
func (o LookupNetworkInterfaceResultOutput) Associations() GetNetworkInterfaceAssociationArrayOutput
The association information for an Elastic IP address (IPv4) associated with the network interface. See supported fields below.
func (LookupNetworkInterfaceResultOutput) Attachments ¶
func (o LookupNetworkInterfaceResultOutput) Attachments() GetNetworkInterfaceAttachmentTypeArrayOutput
func (LookupNetworkInterfaceResultOutput) AvailabilityZone ¶
func (o LookupNetworkInterfaceResultOutput) AvailabilityZone() pulumi.StringOutput
The Availability Zone.
func (LookupNetworkInterfaceResultOutput) Description ¶
func (o LookupNetworkInterfaceResultOutput) Description() pulumi.StringOutput
Description of the network interface.
func (LookupNetworkInterfaceResultOutput) ElementType ¶
func (LookupNetworkInterfaceResultOutput) ElementType() reflect.Type
func (LookupNetworkInterfaceResultOutput) Filters ¶
func (o LookupNetworkInterfaceResultOutput) Filters() GetNetworkInterfaceFilterArrayOutput
func (LookupNetworkInterfaceResultOutput) Id ¶
func (o LookupNetworkInterfaceResultOutput) Id() pulumi.StringOutput
func (LookupNetworkInterfaceResultOutput) InterfaceType ¶
func (o LookupNetworkInterfaceResultOutput) InterfaceType() pulumi.StringOutput
The type of interface.
func (LookupNetworkInterfaceResultOutput) Ipv6Addresses ¶
func (o LookupNetworkInterfaceResultOutput) Ipv6Addresses() pulumi.StringArrayOutput
List of IPv6 addresses to assign to the ENI.
func (LookupNetworkInterfaceResultOutput) MacAddress ¶
func (o LookupNetworkInterfaceResultOutput) MacAddress() pulumi.StringOutput
The MAC address.
func (LookupNetworkInterfaceResultOutput) OutpostArn ¶
func (o LookupNetworkInterfaceResultOutput) OutpostArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Outpost.
func (LookupNetworkInterfaceResultOutput) OwnerId ¶
func (o LookupNetworkInterfaceResultOutput) OwnerId() pulumi.StringOutput
The AWS account ID of the owner of the network interface.
func (LookupNetworkInterfaceResultOutput) PrivateDnsName ¶
func (o LookupNetworkInterfaceResultOutput) PrivateDnsName() pulumi.StringOutput
The private DNS name.
func (LookupNetworkInterfaceResultOutput) PrivateIp ¶
func (o LookupNetworkInterfaceResultOutput) PrivateIp() pulumi.StringOutput
The private IPv4 address of the network interface within the subnet.
func (LookupNetworkInterfaceResultOutput) PrivateIps ¶
func (o LookupNetworkInterfaceResultOutput) PrivateIps() pulumi.StringArrayOutput
The private IPv4 addresses associated with the network interface.
func (LookupNetworkInterfaceResultOutput) RequesterId ¶
func (o LookupNetworkInterfaceResultOutput) RequesterId() pulumi.StringOutput
The ID of the entity that launched the instance on your behalf.
func (LookupNetworkInterfaceResultOutput) SecurityGroups ¶
func (o LookupNetworkInterfaceResultOutput) SecurityGroups() pulumi.StringArrayOutput
The list of security groups for the network interface.
func (LookupNetworkInterfaceResultOutput) SubnetId ¶
func (o LookupNetworkInterfaceResultOutput) SubnetId() pulumi.StringOutput
The ID of the subnet.
func (LookupNetworkInterfaceResultOutput) Tags ¶
func (o LookupNetworkInterfaceResultOutput) Tags() pulumi.StringMapOutput
Any tags assigned to the network interface.
func (LookupNetworkInterfaceResultOutput) ToLookupNetworkInterfaceResultOutput ¶
func (o LookupNetworkInterfaceResultOutput) ToLookupNetworkInterfaceResultOutput() LookupNetworkInterfaceResultOutput
func (LookupNetworkInterfaceResultOutput) ToLookupNetworkInterfaceResultOutputWithContext ¶
func (o LookupNetworkInterfaceResultOutput) ToLookupNetworkInterfaceResultOutputWithContext(ctx context.Context) LookupNetworkInterfaceResultOutput
func (LookupNetworkInterfaceResultOutput) VpcId ¶
func (o LookupNetworkInterfaceResultOutput) VpcId() pulumi.StringOutput
The ID of the VPC.
type LookupRouteArgs ¶
type LookupRouteArgs struct {
// EC2 Carrier Gateway ID of the Route belonging to the Route Table.
CarrierGatewayId *string `pulumi:"carrierGatewayId"`
// CIDR block of the Route belonging to the Route Table.
DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
// IPv6 CIDR block of the Route belonging to the Route Table.
DestinationIpv6CidrBlock *string `pulumi:"destinationIpv6CidrBlock"`
// The ID of a managed prefix list destination of the Route belonging to the Route Table.
DestinationPrefixListId *string `pulumi:"destinationPrefixListId"`
// Egress Only Gateway ID of the Route belonging to the Route Table.
EgressOnlyGatewayId *string `pulumi:"egressOnlyGatewayId"`
// Gateway ID of the Route belonging to the Route Table.
GatewayId *string `pulumi:"gatewayId"`
// Instance ID of the Route belonging to the Route Table.
InstanceId *string `pulumi:"instanceId"`
// Local Gateway ID of the Route belonging to the Route Table.
LocalGatewayId *string `pulumi:"localGatewayId"`
// NAT Gateway ID of the Route belonging to the Route Table.
NatGatewayId *string `pulumi:"natGatewayId"`
// 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"`
// EC2 Transit Gateway ID of the Route belonging to the Route Table.
TransitGatewayId *string `pulumi:"transitGatewayId"`
// VPC Peering Connection ID of the Route belonging to the Route Table.
VpcPeeringConnectionId *string `pulumi:"vpcPeeringConnectionId"`
}
A collection of arguments for invoking getRoute.
type LookupRouteOutputArgs ¶
type LookupRouteOutputArgs struct {
// EC2 Carrier Gateway ID of the Route belonging to the Route Table.
CarrierGatewayId pulumi.StringPtrInput `pulumi:"carrierGatewayId"`
// CIDR block of the Route belonging to the Route Table.
DestinationCidrBlock pulumi.StringPtrInput `pulumi:"destinationCidrBlock"`
// IPv6 CIDR block of the Route belonging to the Route Table.
DestinationIpv6CidrBlock pulumi.StringPtrInput `pulumi:"destinationIpv6CidrBlock"`
// The ID of a managed prefix list destination of the Route belonging to the Route Table.
DestinationPrefixListId pulumi.StringPtrInput `pulumi:"destinationPrefixListId"`
// Egress Only Gateway ID of the Route belonging to the Route Table.
EgressOnlyGatewayId pulumi.StringPtrInput `pulumi:"egressOnlyGatewayId"`
// Gateway ID of the Route belonging to the Route Table.
GatewayId pulumi.StringPtrInput `pulumi:"gatewayId"`
// Instance ID of the Route belonging to the Route Table.
InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
// Local Gateway ID of the Route belonging to the Route Table.
LocalGatewayId pulumi.StringPtrInput `pulumi:"localGatewayId"`
// NAT Gateway ID of the Route belonging to the Route Table.
NatGatewayId pulumi.StringPtrInput `pulumi:"natGatewayId"`
// Network Interface ID of the Route belonging to the Route Table.
NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"`
// The ID of the specific Route Table containing the Route entry.
RouteTableId pulumi.StringInput `pulumi:"routeTableId"`
// EC2 Transit Gateway ID of the Route belonging to the Route Table.
TransitGatewayId pulumi.StringPtrInput `pulumi:"transitGatewayId"`
// VPC Peering Connection ID of the Route belonging to the Route Table.
VpcPeeringConnectionId pulumi.StringPtrInput `pulumi:"vpcPeeringConnectionId"`
}
A collection of arguments for invoking getRoute.
func (LookupRouteOutputArgs) ElementType ¶
func (LookupRouteOutputArgs) ElementType() reflect.Type
type LookupRouteResult ¶
type LookupRouteResult struct {
CarrierGatewayId string `pulumi:"carrierGatewayId"`
DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
DestinationIpv6CidrBlock string `pulumi:"destinationIpv6CidrBlock"`
DestinationPrefixListId string `pulumi:"destinationPrefixListId"`
EgressOnlyGatewayId string `pulumi:"egressOnlyGatewayId"`
GatewayId string `pulumi:"gatewayId"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
InstanceId string `pulumi:"instanceId"`
LocalGatewayId string `pulumi:"localGatewayId"`
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.
## Example Usage
The following example shows how one might use a CIDR value to find a network interface id and use this to create a data source of that network interface.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
subnetId := cfg.RequireObject("subnetId")
_, err := ec2.LookupRouteTable(ctx, &ec2.LookupRouteTableArgs{
SubnetId: pulumi.StringRef(subnetId),
}, nil)
if err != nil {
return err
}
route, err := ec2.LookupRoute(ctx, &ec2.LookupRouteArgs{
RouteTableId: aws_route_table.Selected.Id,
DestinationCidrBlock: pulumi.StringRef("10.0.1.0/24"),
}, nil)
if err != nil {
return err
}
_, err = ec2.LookupNetworkInterface(ctx, &ec2.LookupNetworkInterfaceArgs{
Id: pulumi.StringRef(route.NetworkInterfaceId),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupRouteResultOutput ¶
type LookupRouteResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRoute.
func LookupRouteOutput ¶
func LookupRouteOutput(ctx *pulumi.Context, args LookupRouteOutputArgs, opts ...pulumi.InvokeOption) LookupRouteResultOutput
func (LookupRouteResultOutput) CarrierGatewayId ¶
func (o LookupRouteResultOutput) CarrierGatewayId() pulumi.StringOutput
func (LookupRouteResultOutput) DestinationCidrBlock ¶
func (o LookupRouteResultOutput) DestinationCidrBlock() pulumi.StringOutput
func (LookupRouteResultOutput) DestinationIpv6CidrBlock ¶
func (o LookupRouteResultOutput) DestinationIpv6CidrBlock() pulumi.StringOutput
func (LookupRouteResultOutput) DestinationPrefixListId ¶
func (o LookupRouteResultOutput) DestinationPrefixListId() pulumi.StringOutput
func (LookupRouteResultOutput) EgressOnlyGatewayId ¶
func (o LookupRouteResultOutput) EgressOnlyGatewayId() pulumi.StringOutput
func (LookupRouteResultOutput) ElementType ¶
func (LookupRouteResultOutput) ElementType() reflect.Type
func (LookupRouteResultOutput) GatewayId ¶
func (o LookupRouteResultOutput) GatewayId() pulumi.StringOutput
func (LookupRouteResultOutput) Id ¶
func (o LookupRouteResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRouteResultOutput) InstanceId ¶
func (o LookupRouteResultOutput) InstanceId() pulumi.StringOutput
func (LookupRouteResultOutput) LocalGatewayId ¶
func (o LookupRouteResultOutput) LocalGatewayId() pulumi.StringOutput
func (LookupRouteResultOutput) NatGatewayId ¶
func (o LookupRouteResultOutput) NatGatewayId() pulumi.StringOutput
func (LookupRouteResultOutput) NetworkInterfaceId ¶
func (o LookupRouteResultOutput) NetworkInterfaceId() pulumi.StringOutput
func (LookupRouteResultOutput) RouteTableId ¶
func (o LookupRouteResultOutput) RouteTableId() pulumi.StringOutput
func (LookupRouteResultOutput) ToLookupRouteResultOutput ¶
func (o LookupRouteResultOutput) ToLookupRouteResultOutput() LookupRouteResultOutput
func (LookupRouteResultOutput) ToLookupRouteResultOutputWithContext ¶
func (o LookupRouteResultOutput) ToLookupRouteResultOutputWithContext(ctx context.Context) LookupRouteResultOutput
func (LookupRouteResultOutput) TransitGatewayId ¶
func (o LookupRouteResultOutput) TransitGatewayId() pulumi.StringOutput
func (LookupRouteResultOutput) VpcPeeringConnectionId ¶
func (o LookupRouteResultOutput) VpcPeeringConnectionId() pulumi.StringOutput
type LookupRouteTableArgs ¶
type LookupRouteTableArgs struct {
// Configuration block. Detailed below.
Filters []GetRouteTableFilter `pulumi:"filters"`
// 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"`
// ID of the specific Route Table to retrieve.
RouteTableId *string `pulumi:"routeTableId"`
// ID of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
SubnetId *string `pulumi:"subnetId"`
// Map of tags, each pair of which must exactly match a pair on the desired Route Table.
Tags map[string]string `pulumi:"tags"`
// ID of the VPC that the desired Route Table belongs to.
VpcId *string `pulumi:"vpcId"`
}
A collection of arguments for invoking getRouteTable.
type LookupRouteTableOutputArgs ¶
type LookupRouteTableOutputArgs struct {
// Configuration block. Detailed below.
Filters GetRouteTableFilterArrayInput `pulumi:"filters"`
// 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.StringPtrInput `pulumi:"gatewayId"`
// ID of the specific Route Table to retrieve.
RouteTableId pulumi.StringPtrInput `pulumi:"routeTableId"`
// ID of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
// Map of tags, each pair of which must exactly match a pair on the desired Route Table.
Tags pulumi.StringMapInput `pulumi:"tags"`
// ID of the VPC that the desired Route Table belongs to.
VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getRouteTable.
func (LookupRouteTableOutputArgs) ElementType ¶
func (LookupRouteTableOutputArgs) ElementType() reflect.Type
type LookupRouteTableResult ¶
type LookupRouteTableResult struct {
// ARN of the route table.
Arn string `pulumi:"arn"`
// List of associations with attributes detailed below.
Associations []GetRouteTableAssociationType `pulumi:"associations"`
Filters []GetRouteTableFilter `pulumi:"filters"`
// Gateway ID. Only set when associated with an Internet Gateway or Virtual Private Gateway.
GatewayId string `pulumi:"gatewayId"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// ID of the AWS account that owns the route table.
OwnerId string `pulumi:"ownerId"`
// Route Table ID.
RouteTableId string `pulumi:"routeTableId"`
// List of routes with attributes detailed below.
Routes []GetRouteTableRoute `pulumi:"routes"`
// Subnet ID. Only set when associated with a subnet.
SubnetId string `pulumi:"subnetId"`
Tags map[string]string `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.
## Example Usage
The following example shows how one might accept a Route Table ID as a variable and use this data source to obtain the data necessary to create a route.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
subnetId := cfg.RequireObject("subnetId")
selected, err := ec2.LookupRouteTable(ctx, &ec2.LookupRouteTableArgs{
SubnetId: pulumi.StringRef(subnetId),
}, nil)
if err != nil {
return err
}
_, err = ec2.NewRoute(ctx, "route", &ec2.RouteArgs{
RouteTableId: pulumi.String(selected.Id),
DestinationCidrBlock: pulumi.String("10.0.1.0/22"),
VpcPeeringConnectionId: pulumi.String("pcx-45ff3dc1"),
})
if err != nil {
return err
}
return nil
})
}
```
type LookupRouteTableResultOutput ¶
type LookupRouteTableResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRouteTable.
func LookupRouteTableOutput ¶
func LookupRouteTableOutput(ctx *pulumi.Context, args LookupRouteTableOutputArgs, opts ...pulumi.InvokeOption) LookupRouteTableResultOutput
func (LookupRouteTableResultOutput) Arn ¶
func (o LookupRouteTableResultOutput) Arn() pulumi.StringOutput
ARN of the route table.
func (LookupRouteTableResultOutput) Associations ¶
func (o LookupRouteTableResultOutput) Associations() GetRouteTableAssociationTypeArrayOutput
List of associations with attributes detailed below.
func (LookupRouteTableResultOutput) ElementType ¶
func (LookupRouteTableResultOutput) ElementType() reflect.Type
func (LookupRouteTableResultOutput) Filters ¶
func (o LookupRouteTableResultOutput) Filters() GetRouteTableFilterArrayOutput
func (LookupRouteTableResultOutput) GatewayId ¶
func (o LookupRouteTableResultOutput) GatewayId() pulumi.StringOutput
Gateway ID. Only set when associated with an Internet Gateway or Virtual Private Gateway.
func (LookupRouteTableResultOutput) Id ¶
func (o LookupRouteTableResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRouteTableResultOutput) OwnerId ¶
func (o LookupRouteTableResultOutput) OwnerId() pulumi.StringOutput
ID of the AWS account that owns the route table.
func (LookupRouteTableResultOutput) RouteTableId ¶
func (o LookupRouteTableResultOutput) RouteTableId() pulumi.StringOutput
Route Table ID.
func (LookupRouteTableResultOutput) Routes ¶
func (o LookupRouteTableResultOutput) Routes() GetRouteTableRouteArrayOutput
List of routes with attributes detailed below.
func (LookupRouteTableResultOutput) SubnetId ¶
func (o LookupRouteTableResultOutput) SubnetId() pulumi.StringOutput
Subnet ID. Only set when associated with a subnet.
func (LookupRouteTableResultOutput) Tags ¶
func (o LookupRouteTableResultOutput) Tags() pulumi.StringMapOutput
func (LookupRouteTableResultOutput) ToLookupRouteTableResultOutput ¶
func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutput() LookupRouteTableResultOutput
func (LookupRouteTableResultOutput) ToLookupRouteTableResultOutputWithContext ¶
func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutputWithContext(ctx context.Context) LookupRouteTableResultOutput
func (LookupRouteTableResultOutput) VpcId ¶
func (o LookupRouteTableResultOutput) VpcId() pulumi.StringOutput
type LookupSecurityGroupArgs ¶
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 map of tags, each pair of which must exactly match
// a pair on the desired security group.
Tags map[string]string `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 LookupSecurityGroupOutputArgs ¶
type LookupSecurityGroupOutputArgs struct {
// Custom filter block as described below.
Filters GetSecurityGroupFilterArrayInput `pulumi:"filters"`
// The id of the specific security group to retrieve.
Id pulumi.StringPtrInput `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 pulumi.StringPtrInput `pulumi:"name"`
// A map of tags, each pair of which must exactly match
// a pair on the desired security group.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The id of the VPC that the desired security group belongs to.
VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getSecurityGroup.
func (LookupSecurityGroupOutputArgs) ElementType ¶
func (LookupSecurityGroupOutputArgs) ElementType() reflect.Type
type LookupSecurityGroupResult ¶
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]string `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.
## Example Usage
The following example shows how one might accept a Security Group id as a variable and use this data source to obtain the data necessary to create a subnet.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
securityGroupId := cfg.RequireObject("securityGroupId")
selected, err := ec2.LookupSecurityGroup(ctx, &ec2.LookupSecurityGroupArgs{
Id: pulumi.StringRef(securityGroupId),
}, nil)
if err != nil {
return err
}
_, err = ec2.NewSubnet(ctx, "subnet", &ec2.SubnetArgs{
VpcId: pulumi.String(selected.VpcId),
CidrBlock: pulumi.String("10.0.1.0/24"),
})
if err != nil {
return err
}
return nil
})
}
```
type LookupSecurityGroupResultOutput ¶
type LookupSecurityGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecurityGroup.
func LookupSecurityGroupOutput ¶
func LookupSecurityGroupOutput(ctx *pulumi.Context, args LookupSecurityGroupOutputArgs, opts ...pulumi.InvokeOption) LookupSecurityGroupResultOutput
func (LookupSecurityGroupResultOutput) Arn ¶
func (o LookupSecurityGroupResultOutput) Arn() pulumi.StringOutput
The computed ARN of the security group.
func (LookupSecurityGroupResultOutput) Description ¶
func (o LookupSecurityGroupResultOutput) Description() pulumi.StringOutput
The description of the security group.
func (LookupSecurityGroupResultOutput) ElementType ¶
func (LookupSecurityGroupResultOutput) ElementType() reflect.Type
func (LookupSecurityGroupResultOutput) Filters ¶
func (o LookupSecurityGroupResultOutput) Filters() GetSecurityGroupFilterArrayOutput
func (LookupSecurityGroupResultOutput) Id ¶
func (o LookupSecurityGroupResultOutput) Id() pulumi.StringOutput
func (LookupSecurityGroupResultOutput) Name ¶
func (o LookupSecurityGroupResultOutput) Name() pulumi.StringOutput
func (LookupSecurityGroupResultOutput) Tags ¶
func (o LookupSecurityGroupResultOutput) Tags() pulumi.StringMapOutput
func (LookupSecurityGroupResultOutput) ToLookupSecurityGroupResultOutput ¶
func (o LookupSecurityGroupResultOutput) ToLookupSecurityGroupResultOutput() LookupSecurityGroupResultOutput
func (LookupSecurityGroupResultOutput) ToLookupSecurityGroupResultOutputWithContext ¶
func (o LookupSecurityGroupResultOutput) ToLookupSecurityGroupResultOutputWithContext(ctx context.Context) LookupSecurityGroupResultOutput
func (LookupSecurityGroupResultOutput) VpcId ¶
func (o LookupSecurityGroupResultOutput) VpcId() pulumi.StringOutput
type LookupSerialConsoleAccessResult ¶ added in v5.1.0
type LookupSerialConsoleAccessResult struct {
// Whether or not serial console access is enabled. Returns as `true` or `false`.
Enabled bool `pulumi:"enabled"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
}
A collection of values returned by getSerialConsoleAccess.
func LookupSerialConsoleAccess ¶ added in v5.1.0
func LookupSerialConsoleAccess(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupSerialConsoleAccessResult, error)
Provides a way to check whether serial console access is enabled for your AWS account in the current AWS region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupSerialConsoleAccess(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupSubnetArgs ¶
type LookupSubnetArgs struct {
// Availability zone where the subnet must reside.
AvailabilityZone *string `pulumi:"availabilityZone"`
// ID of the Availability Zone for the subnet. This argument is not supported in all regions or partitions. If necessary, use `availabilityZone` instead.
AvailabilityZoneId *string `pulumi:"availabilityZoneId"`
// CIDR block of the desired subnet.
CidrBlock *string `pulumi:"cidrBlock"`
// Whether the desired subnet must be the default subnet for its associated availability zone.
DefaultForAz *bool `pulumi:"defaultForAz"`
// Configuration block. Detailed below.
Filters []GetSubnetFilter `pulumi:"filters"`
// ID of the specific subnet to retrieve.
Id *string `pulumi:"id"`
// IPv6 CIDR block of the desired subnet.
Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
// State that the desired subnet must have.
State *string `pulumi:"state"`
// Map of tags, each pair of which must exactly match a pair on the desired subnet.
Tags map[string]string `pulumi:"tags"`
// ID of the VPC that the desired subnet belongs to.
VpcId *string `pulumi:"vpcId"`
}
A collection of arguments for invoking getSubnet.
type LookupSubnetOutputArgs ¶
type LookupSubnetOutputArgs struct {
// Availability zone where the subnet must reside.
AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
// ID of the Availability Zone for the subnet. This argument is not supported in all regions or partitions. If necessary, use `availabilityZone` instead.
AvailabilityZoneId pulumi.StringPtrInput `pulumi:"availabilityZoneId"`
// CIDR block of the desired subnet.
CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
// Whether the desired subnet must be the default subnet for its associated availability zone.
DefaultForAz pulumi.BoolPtrInput `pulumi:"defaultForAz"`
// Configuration block. Detailed below.
Filters GetSubnetFilterArrayInput `pulumi:"filters"`
// ID of the specific subnet to retrieve.
Id pulumi.StringPtrInput `pulumi:"id"`
// IPv6 CIDR block of the desired subnet.
Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"`
// State that the desired subnet must have.
State pulumi.StringPtrInput `pulumi:"state"`
// Map of tags, each pair of which must exactly match a pair on the desired subnet.
Tags pulumi.StringMapInput `pulumi:"tags"`
// ID of the VPC that the desired subnet belongs to.
VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getSubnet.
func (LookupSubnetOutputArgs) ElementType ¶
func (LookupSubnetOutputArgs) ElementType() reflect.Type
type LookupSubnetResult ¶
type LookupSubnetResult struct {
// ARN of the subnet.
Arn string `pulumi:"arn"`
// Whether an IPv6 address is assigned on creation.
AssignIpv6AddressOnCreation bool `pulumi:"assignIpv6AddressOnCreation"`
AvailabilityZone string `pulumi:"availabilityZone"`
AvailabilityZoneId string `pulumi:"availabilityZoneId"`
// Available IP addresses of the subnet.
AvailableIpAddressCount int `pulumi:"availableIpAddressCount"`
CidrBlock string `pulumi:"cidrBlock"`
// Identifier of customer owned IPv4 address pool.
CustomerOwnedIpv4Pool string `pulumi:"customerOwnedIpv4Pool"`
DefaultForAz bool `pulumi:"defaultForAz"`
// Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet return synthetic IPv6 addresses for IPv4-only destinations.
EnableDns64 bool `pulumi:"enableDns64"`
// Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
EnableResourceNameDnsARecordOnLaunch bool `pulumi:"enableResourceNameDnsARecordOnLaunch"`
// Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
EnableResourceNameDnsAaaaRecordOnLaunch bool `pulumi:"enableResourceNameDnsAaaaRecordOnLaunch"`
Filters []GetSubnetFilter `pulumi:"filters"`
Id string `pulumi:"id"`
Ipv6CidrBlock string `pulumi:"ipv6CidrBlock"`
// Association ID of the IPv6 CIDR block.
Ipv6CidrBlockAssociationId string `pulumi:"ipv6CidrBlockAssociationId"`
// Indicates whether this is an IPv6-only subnet.
Ipv6Native bool `pulumi:"ipv6Native"`
// Whether customer owned IP addresses are assigned on network interface creation.
MapCustomerOwnedIpOnLaunch bool `pulumi:"mapCustomerOwnedIpOnLaunch"`
// Whether public IP addresses are assigned on instance launch.
MapPublicIpOnLaunch bool `pulumi:"mapPublicIpOnLaunch"`
// ARN of the Outpost.
OutpostArn string `pulumi:"outpostArn"`
// ID of the AWS account that owns the subnet.
OwnerId string `pulumi:"ownerId"`
// The type of hostnames assigned to instances in the subnet at launch.
PrivateDnsHostnameTypeOnLaunch string `pulumi:"privateDnsHostnameTypeOnLaunch"`
State string `pulumi:"state"`
Tags map[string]string `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.
## Example Usage
The following example shows how one might accept a subnet ID as a variable and use this data source to obtain the data necessary to create a security group that allows connections from hosts in that subnet.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
subnetId := cfg.RequireObject("subnetId")
selected, err := ec2.LookupSubnet(ctx, &ec2.LookupSubnetArgs{
Id: pulumi.StringRef(subnetId),
}, nil)
if err != nil {
return err
}
_, err = ec2.NewSecurityGroup(ctx, "subnet", &ec2.SecurityGroupArgs{
VpcId: pulumi.String(selected.VpcId),
Ingress: ec2.SecurityGroupIngressArray{
&ec2.SecurityGroupIngressArgs{
CidrBlocks: pulumi.StringArray{
pulumi.String(selected.CidrBlock),
},
FromPort: pulumi.Int(80),
ToPort: pulumi.Int(80),
Protocol: pulumi.String("tcp"),
},
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Filter Example
If you want to match against tag `Name`, use:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupSubnet(ctx, &ec2.LookupSubnetArgs{
Filters: []ec2.GetSubnetFilter{
ec2.GetSubnetFilter{
Name: "tag:Name",
Values: []string{
"yakdriver",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupSubnetResultOutput ¶
type LookupSubnetResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubnet.
func LookupSubnetOutput ¶
func LookupSubnetOutput(ctx *pulumi.Context, args LookupSubnetOutputArgs, opts ...pulumi.InvokeOption) LookupSubnetResultOutput
func (LookupSubnetResultOutput) Arn ¶
func (o LookupSubnetResultOutput) Arn() pulumi.StringOutput
ARN of the subnet.
func (LookupSubnetResultOutput) AssignIpv6AddressOnCreation ¶
func (o LookupSubnetResultOutput) AssignIpv6AddressOnCreation() pulumi.BoolOutput
Whether an IPv6 address is assigned on creation.
func (LookupSubnetResultOutput) AvailabilityZone ¶
func (o LookupSubnetResultOutput) AvailabilityZone() pulumi.StringOutput
func (LookupSubnetResultOutput) AvailabilityZoneId ¶
func (o LookupSubnetResultOutput) AvailabilityZoneId() pulumi.StringOutput
func (LookupSubnetResultOutput) AvailableIpAddressCount ¶
func (o LookupSubnetResultOutput) AvailableIpAddressCount() pulumi.IntOutput
Available IP addresses of the subnet.
func (LookupSubnetResultOutput) CidrBlock ¶
func (o LookupSubnetResultOutput) CidrBlock() pulumi.StringOutput
func (LookupSubnetResultOutput) CustomerOwnedIpv4Pool ¶
func (o LookupSubnetResultOutput) CustomerOwnedIpv4Pool() pulumi.StringOutput
Identifier of customer owned IPv4 address pool.
func (LookupSubnetResultOutput) DefaultForAz ¶
func (o LookupSubnetResultOutput) DefaultForAz() pulumi.BoolOutput
func (LookupSubnetResultOutput) ElementType ¶
func (LookupSubnetResultOutput) ElementType() reflect.Type
func (LookupSubnetResultOutput) EnableDns64 ¶
func (o LookupSubnetResultOutput) EnableDns64() pulumi.BoolOutput
Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet return synthetic IPv6 addresses for IPv4-only destinations.
func (LookupSubnetResultOutput) EnableResourceNameDnsARecordOnLaunch ¶
func (o LookupSubnetResultOutput) EnableResourceNameDnsARecordOnLaunch() pulumi.BoolOutput
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
func (LookupSubnetResultOutput) EnableResourceNameDnsAaaaRecordOnLaunch ¶
func (o LookupSubnetResultOutput) EnableResourceNameDnsAaaaRecordOnLaunch() pulumi.BoolOutput
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
func (LookupSubnetResultOutput) Filters ¶
func (o LookupSubnetResultOutput) Filters() GetSubnetFilterArrayOutput
func (LookupSubnetResultOutput) Id ¶
func (o LookupSubnetResultOutput) Id() pulumi.StringOutput
func (LookupSubnetResultOutput) Ipv6CidrBlock ¶
func (o LookupSubnetResultOutput) Ipv6CidrBlock() pulumi.StringOutput
func (LookupSubnetResultOutput) Ipv6CidrBlockAssociationId ¶
func (o LookupSubnetResultOutput) Ipv6CidrBlockAssociationId() pulumi.StringOutput
Association ID of the IPv6 CIDR block.
func (LookupSubnetResultOutput) Ipv6Native ¶
func (o LookupSubnetResultOutput) Ipv6Native() pulumi.BoolOutput
Indicates whether this is an IPv6-only subnet.
func (LookupSubnetResultOutput) MapCustomerOwnedIpOnLaunch ¶
func (o LookupSubnetResultOutput) MapCustomerOwnedIpOnLaunch() pulumi.BoolOutput
Whether customer owned IP addresses are assigned on network interface creation.
func (LookupSubnetResultOutput) MapPublicIpOnLaunch ¶
func (o LookupSubnetResultOutput) MapPublicIpOnLaunch() pulumi.BoolOutput
Whether public IP addresses are assigned on instance launch.
func (LookupSubnetResultOutput) OutpostArn ¶
func (o LookupSubnetResultOutput) OutpostArn() pulumi.StringOutput
ARN of the Outpost.
func (LookupSubnetResultOutput) OwnerId ¶
func (o LookupSubnetResultOutput) OwnerId() pulumi.StringOutput
ID of the AWS account that owns the subnet.
func (LookupSubnetResultOutput) PrivateDnsHostnameTypeOnLaunch ¶
func (o LookupSubnetResultOutput) PrivateDnsHostnameTypeOnLaunch() pulumi.StringOutput
The type of hostnames assigned to instances in the subnet at launch.
func (LookupSubnetResultOutput) State ¶
func (o LookupSubnetResultOutput) State() pulumi.StringOutput
func (LookupSubnetResultOutput) Tags ¶
func (o LookupSubnetResultOutput) Tags() pulumi.StringMapOutput
func (LookupSubnetResultOutput) ToLookupSubnetResultOutput ¶
func (o LookupSubnetResultOutput) ToLookupSubnetResultOutput() LookupSubnetResultOutput
func (LookupSubnetResultOutput) ToLookupSubnetResultOutputWithContext ¶
func (o LookupSubnetResultOutput) ToLookupSubnetResultOutputWithContext(ctx context.Context) LookupSubnetResultOutput
func (LookupSubnetResultOutput) VpcId ¶
func (o LookupSubnetResultOutput) VpcId() pulumi.StringOutput
type LookupVpcArgs ¶
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 map of tags, each pair of which must exactly match
// a pair on the desired VPC.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getVpc.
type LookupVpcDhcpOptionsArgs ¶
type LookupVpcDhcpOptionsArgs struct {
// The EC2 DHCP Options ID.
DhcpOptionsId *string `pulumi:"dhcpOptionsId"`
// List of custom filters as described below.
Filters []GetVpcDhcpOptionsFilter `pulumi:"filters"`
// A map of tags assigned to the resource.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getVpcDhcpOptions.
type LookupVpcDhcpOptionsOutputArgs ¶
type LookupVpcDhcpOptionsOutputArgs struct {
// The EC2 DHCP Options ID.
DhcpOptionsId pulumi.StringPtrInput `pulumi:"dhcpOptionsId"`
// List of custom filters as described below.
Filters GetVpcDhcpOptionsFilterArrayInput `pulumi:"filters"`
// A map of tags assigned to the resource.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getVpcDhcpOptions.
func (LookupVpcDhcpOptionsOutputArgs) ElementType ¶
func (LookupVpcDhcpOptionsOutputArgs) ElementType() reflect.Type
type LookupVpcDhcpOptionsResult ¶
type LookupVpcDhcpOptionsResult struct {
// The ARN of the DHCP Options Set.
Arn string `pulumi:"arn"`
// EC2 DHCP Options ID
DhcpOptionsId string `pulumi:"dhcpOptionsId"`
// The suffix domain name to used when resolving non Fully Qualified Domain NamesE.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"`
// 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 map of tags assigned to the resource.
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getVpcDhcpOptions.
func LookupVpcDhcpOptions ¶
func LookupVpcDhcpOptions(ctx *pulumi.Context, args *LookupVpcDhcpOptionsArgs, opts ...pulumi.InvokeOption) (*LookupVpcDhcpOptionsResult, error)
Retrieve information about an EC2 DHCP Options configuration.
## Example Usage ### Lookup by DHCP Options ID
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupVpcDhcpOptions(ctx, &ec2.LookupVpcDhcpOptionsArgs{
DhcpOptionsId: pulumi.StringRef("dopts-12345678"),
}, nil)
if err != nil {
return err
}
return nil
})
}
``` ### Lookup by Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupVpcDhcpOptions(ctx, &ec2.LookupVpcDhcpOptionsArgs{
Filters: []ec2.GetVpcDhcpOptionsFilter{
ec2.GetVpcDhcpOptionsFilter{
Name: "key",
Values: []string{
"domain-name",
},
},
ec2.GetVpcDhcpOptionsFilter{
Name: "value",
Values: []string{
"example.com",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupVpcDhcpOptionsResultOutput ¶
type LookupVpcDhcpOptionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcDhcpOptions.
func LookupVpcDhcpOptionsOutput ¶
func LookupVpcDhcpOptionsOutput(ctx *pulumi.Context, args LookupVpcDhcpOptionsOutputArgs, opts ...pulumi.InvokeOption) LookupVpcDhcpOptionsResultOutput
func (LookupVpcDhcpOptionsResultOutput) Arn ¶
func (o LookupVpcDhcpOptionsResultOutput) Arn() pulumi.StringOutput
The ARN of the DHCP Options Set.
func (LookupVpcDhcpOptionsResultOutput) DhcpOptionsId ¶
func (o LookupVpcDhcpOptionsResultOutput) DhcpOptionsId() pulumi.StringOutput
EC2 DHCP Options ID
func (LookupVpcDhcpOptionsResultOutput) DomainName ¶
func (o LookupVpcDhcpOptionsResultOutput) DomainName() pulumi.StringOutput
The suffix domain name to used when resolving non Fully Qualified Domain NamesE.g., the `search` value in the `/etc/resolv.conf` file.
func (LookupVpcDhcpOptionsResultOutput) DomainNameServers ¶
func (o LookupVpcDhcpOptionsResultOutput) DomainNameServers() pulumi.StringArrayOutput
List of name servers.
func (LookupVpcDhcpOptionsResultOutput) ElementType ¶
func (LookupVpcDhcpOptionsResultOutput) ElementType() reflect.Type
func (LookupVpcDhcpOptionsResultOutput) Filters ¶
func (o LookupVpcDhcpOptionsResultOutput) Filters() GetVpcDhcpOptionsFilterArrayOutput
func (LookupVpcDhcpOptionsResultOutput) Id ¶
func (o LookupVpcDhcpOptionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupVpcDhcpOptionsResultOutput) NetbiosNameServers ¶
func (o LookupVpcDhcpOptionsResultOutput) NetbiosNameServers() pulumi.StringArrayOutput
List of NETBIOS name servers.
func (LookupVpcDhcpOptionsResultOutput) NetbiosNodeType ¶
func (o LookupVpcDhcpOptionsResultOutput) NetbiosNodeType() pulumi.StringOutput
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).
func (LookupVpcDhcpOptionsResultOutput) NtpServers ¶
func (o LookupVpcDhcpOptionsResultOutput) NtpServers() pulumi.StringArrayOutput
List of NTP servers.
func (LookupVpcDhcpOptionsResultOutput) OwnerId ¶
func (o LookupVpcDhcpOptionsResultOutput) OwnerId() pulumi.StringOutput
The ID of the AWS account that owns the DHCP options set.
func (LookupVpcDhcpOptionsResultOutput) Tags ¶
func (o LookupVpcDhcpOptionsResultOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the resource.
func (LookupVpcDhcpOptionsResultOutput) ToLookupVpcDhcpOptionsResultOutput ¶
func (o LookupVpcDhcpOptionsResultOutput) ToLookupVpcDhcpOptionsResultOutput() LookupVpcDhcpOptionsResultOutput
func (LookupVpcDhcpOptionsResultOutput) ToLookupVpcDhcpOptionsResultOutputWithContext ¶
func (o LookupVpcDhcpOptionsResultOutput) ToLookupVpcDhcpOptionsResultOutputWithContext(ctx context.Context) LookupVpcDhcpOptionsResultOutput
type LookupVpcEndpointArgs ¶
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 service name of the specific VPC Endpoint to retrieve. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
ServiceName *string `pulumi:"serviceName"`
// The state of the specific VPC Endpoint to retrieve.
State *string `pulumi:"state"`
// A map of tags, each pair of which must exactly match
// a pair on the specific VPC Endpoint to retrieve.
Tags map[string]string `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 LookupVpcEndpointOutputArgs ¶
type LookupVpcEndpointOutputArgs struct {
// Custom filter block as described below.
Filters GetVpcEndpointFilterArrayInput `pulumi:"filters"`
// The ID of the specific VPC Endpoint to retrieve.
Id pulumi.StringPtrInput `pulumi:"id"`
// The service name of the specific VPC Endpoint to retrieve. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
// The state of the specific VPC Endpoint to retrieve.
State pulumi.StringPtrInput `pulumi:"state"`
// A map of tags, each pair of which must exactly match
// a pair on the specific VPC Endpoint to retrieve.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The ID of the VPC in which the specific VPC Endpoint is used.
VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getVpcEndpoint.
func (LookupVpcEndpointOutputArgs) ElementType ¶
func (LookupVpcEndpointOutputArgs) ElementType() reflect.Type
type LookupVpcEndpointResult ¶
type LookupVpcEndpointResult struct {
// The Amazon Resource Name (ARN) of the VPC endpoint.
Arn string `pulumi:"arn"`
// 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]string `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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
s3, err := ec2.LookupVpcEndpoint(ctx, &ec2.LookupVpcEndpointArgs{
VpcId: pulumi.StringRef(aws_vpc.Foo.Id),
ServiceName: pulumi.StringRef("com.amazonaws.us-west-2.s3"),
}, nil)
if err != nil {
return err
}
_, err = ec2.NewVpcEndpointRouteTableAssociation(ctx, "privateS3", &ec2.VpcEndpointRouteTableAssociationArgs{
VpcEndpointId: pulumi.String(s3.Id),
RouteTableId: pulumi.Any(aws_route_table.Private.Id),
})
if err != nil {
return err
}
return nil
})
}
```
type LookupVpcEndpointResultOutput ¶
type LookupVpcEndpointResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcEndpoint.
func LookupVpcEndpointOutput ¶
func LookupVpcEndpointOutput(ctx *pulumi.Context, args LookupVpcEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupVpcEndpointResultOutput
func (LookupVpcEndpointResultOutput) Arn ¶
func (o LookupVpcEndpointResultOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the VPC endpoint.
func (LookupVpcEndpointResultOutput) CidrBlocks ¶
func (o LookupVpcEndpointResultOutput) CidrBlocks() pulumi.StringArrayOutput
The list of CIDR blocks for the exposed AWS service. Applicable for endpoints of type `Gateway`.
func (LookupVpcEndpointResultOutput) DnsEntries ¶
func (o LookupVpcEndpointResultOutput) DnsEntries() GetVpcEndpointDnsEntryArrayOutput
The DNS entries for the VPC Endpoint. Applicable for endpoints of type `Interface`. DNS blocks are documented below.
func (LookupVpcEndpointResultOutput) ElementType ¶
func (LookupVpcEndpointResultOutput) ElementType() reflect.Type
func (LookupVpcEndpointResultOutput) Filters ¶
func (o LookupVpcEndpointResultOutput) Filters() GetVpcEndpointFilterArrayOutput
func (LookupVpcEndpointResultOutput) Id ¶
func (o LookupVpcEndpointResultOutput) Id() pulumi.StringOutput
func (LookupVpcEndpointResultOutput) NetworkInterfaceIds ¶
func (o LookupVpcEndpointResultOutput) NetworkInterfaceIds() pulumi.StringArrayOutput
One or more network interfaces for the VPC Endpoint. Applicable for endpoints of type `Interface`.
func (LookupVpcEndpointResultOutput) OwnerId ¶
func (o LookupVpcEndpointResultOutput) OwnerId() pulumi.StringOutput
The ID of the AWS account that owns the VPC endpoint.
func (LookupVpcEndpointResultOutput) Policy ¶
func (o LookupVpcEndpointResultOutput) Policy() pulumi.StringOutput
The policy document associated with the VPC Endpoint. Applicable for endpoints of type `Gateway`.
func (LookupVpcEndpointResultOutput) PrefixListId ¶
func (o LookupVpcEndpointResultOutput) PrefixListId() pulumi.StringOutput
The prefix list ID of the exposed AWS service. Applicable for endpoints of type `Gateway`.
func (LookupVpcEndpointResultOutput) PrivateDnsEnabled ¶
func (o LookupVpcEndpointResultOutput) PrivateDnsEnabled() pulumi.BoolOutput
Whether or not the VPC is associated with a private hosted zone - `true` or `false`. Applicable for endpoints of type `Interface`.
func (LookupVpcEndpointResultOutput) RequesterManaged ¶
func (o LookupVpcEndpointResultOutput) RequesterManaged() pulumi.BoolOutput
Whether or not the VPC Endpoint is being managed by its service - `true` or `false`.
func (LookupVpcEndpointResultOutput) RouteTableIds ¶
func (o LookupVpcEndpointResultOutput) RouteTableIds() pulumi.StringArrayOutput
One or more route tables associated with the VPC Endpoint. Applicable for endpoints of type `Gateway`.
func (LookupVpcEndpointResultOutput) SecurityGroupIds ¶
func (o LookupVpcEndpointResultOutput) SecurityGroupIds() pulumi.StringArrayOutput
One or more security groups associated with the network interfaces. Applicable for endpoints of type `Interface`.
func (LookupVpcEndpointResultOutput) ServiceName ¶
func (o LookupVpcEndpointResultOutput) ServiceName() pulumi.StringOutput
func (LookupVpcEndpointResultOutput) State ¶
func (o LookupVpcEndpointResultOutput) State() pulumi.StringOutput
func (LookupVpcEndpointResultOutput) SubnetIds ¶
func (o LookupVpcEndpointResultOutput) SubnetIds() pulumi.StringArrayOutput
One or more subnets in which the VPC Endpoint is located. Applicable for endpoints of type `Interface`.
func (LookupVpcEndpointResultOutput) Tags ¶
func (o LookupVpcEndpointResultOutput) Tags() pulumi.StringMapOutput
func (LookupVpcEndpointResultOutput) ToLookupVpcEndpointResultOutput ¶
func (o LookupVpcEndpointResultOutput) ToLookupVpcEndpointResultOutput() LookupVpcEndpointResultOutput
func (LookupVpcEndpointResultOutput) ToLookupVpcEndpointResultOutputWithContext ¶
func (o LookupVpcEndpointResultOutput) ToLookupVpcEndpointResultOutputWithContext(ctx context.Context) LookupVpcEndpointResultOutput
func (LookupVpcEndpointResultOutput) VpcEndpointType ¶
func (o LookupVpcEndpointResultOutput) VpcEndpointType() pulumi.StringOutput
The VPC Endpoint type, `Gateway` or `Interface`.
func (LookupVpcEndpointResultOutput) VpcId ¶
func (o LookupVpcEndpointResultOutput) VpcId() pulumi.StringOutput
type LookupVpcEndpointServiceArgs ¶
type LookupVpcEndpointServiceArgs struct {
// Configuration block(s) for filtering. Detailed below.
Filters []GetVpcEndpointServiceFilter `pulumi:"filters"`
// The common name of an AWS service (e.g., `s3`).
Service *string `pulumi:"service"`
// The service name that is specified when creating a VPC endpoint. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
ServiceName *string `pulumi:"serviceName"`
// The service type, `Gateway` or `Interface`.
ServiceType *string `pulumi:"serviceType"`
// A map of tags, each pair of which must exactly match a pair on the desired VPC Endpoint Service.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getVpcEndpointService.
type LookupVpcEndpointServiceOutputArgs ¶
type LookupVpcEndpointServiceOutputArgs struct {
// Configuration block(s) for filtering. Detailed below.
Filters GetVpcEndpointServiceFilterArrayInput `pulumi:"filters"`
// The common name of an AWS service (e.g., `s3`).
Service pulumi.StringPtrInput `pulumi:"service"`
// The service name that is specified when creating a VPC endpoint. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
// The service type, `Gateway` or `Interface`.
ServiceType pulumi.StringPtrInput `pulumi:"serviceType"`
// A map of tags, each pair of which must exactly match a pair on the desired VPC Endpoint Service.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getVpcEndpointService.
func (LookupVpcEndpointServiceOutputArgs) ElementType ¶
func (LookupVpcEndpointServiceOutputArgs) ElementType() reflect.Type
type LookupVpcEndpointServiceResult ¶
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 Amazon Resource Name (ARN) of the VPC endpoint service.
Arn string `pulumi:"arn"`
// The Availability Zones in which the service is available.
AvailabilityZones []string `pulumi:"availabilityZones"`
// The DNS names for the service.
BaseEndpointDnsNames []string `pulumi:"baseEndpointDnsNames"`
Filters []GetVpcEndpointServiceFilter `pulumi:"filters"`
// 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"`
ServiceType string `pulumi:"serviceType"`
// A map of tags assigned to the resource.
Tags map[string]string `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.
## Example Usage ### AWS Service
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
s3, err := ec2.LookupVpcEndpointService(ctx, &ec2.LookupVpcEndpointServiceArgs{
Service: pulumi.StringRef("s3"),
ServiceType: pulumi.StringRef("Gateway"),
}, nil)
if err != nil {
return err
}
foo, err := ec2.NewVpc(ctx, "foo", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewVpcEndpoint(ctx, "ep", &ec2.VpcEndpointArgs{
VpcId: foo.ID(),
ServiceName: pulumi.String(s3.ServiceName),
})
if err != nil {
return err
}
return nil
})
}
``` ### Non-AWS Service
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupVpcEndpointService(ctx, &ec2.LookupVpcEndpointServiceArgs{
ServiceName: pulumi.StringRef("com.amazonaws.vpce.us-west-2.vpce-svc-0e87519c997c63cd8"),
}, nil)
if err != nil {
return err
}
return nil
})
}
``` ### Filter
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupVpcEndpointService(ctx, &ec2.LookupVpcEndpointServiceArgs{
Filters: []ec2.GetVpcEndpointServiceFilter{
ec2.GetVpcEndpointServiceFilter{
Name: "service-name",
Values: []string{
"some-service",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupVpcEndpointServiceResultOutput ¶
type LookupVpcEndpointServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcEndpointService.
func LookupVpcEndpointServiceOutput ¶
func LookupVpcEndpointServiceOutput(ctx *pulumi.Context, args LookupVpcEndpointServiceOutputArgs, opts ...pulumi.InvokeOption) LookupVpcEndpointServiceResultOutput
func (LookupVpcEndpointServiceResultOutput) AcceptanceRequired ¶
func (o LookupVpcEndpointServiceResultOutput) AcceptanceRequired() pulumi.BoolOutput
Whether or not VPC endpoint connection requests to the service must be accepted by the service owner - `true` or `false`.
func (LookupVpcEndpointServiceResultOutput) Arn ¶
func (o LookupVpcEndpointServiceResultOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the VPC endpoint service.
func (LookupVpcEndpointServiceResultOutput) AvailabilityZones ¶
func (o LookupVpcEndpointServiceResultOutput) AvailabilityZones() pulumi.StringArrayOutput
The Availability Zones in which the service is available.
func (LookupVpcEndpointServiceResultOutput) BaseEndpointDnsNames ¶
func (o LookupVpcEndpointServiceResultOutput) BaseEndpointDnsNames() pulumi.StringArrayOutput
The DNS names for the service.
func (LookupVpcEndpointServiceResultOutput) ElementType ¶
func (LookupVpcEndpointServiceResultOutput) ElementType() reflect.Type
func (LookupVpcEndpointServiceResultOutput) Filters ¶
func (o LookupVpcEndpointServiceResultOutput) Filters() GetVpcEndpointServiceFilterArrayOutput
func (LookupVpcEndpointServiceResultOutput) Id ¶
func (o LookupVpcEndpointServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupVpcEndpointServiceResultOutput) ManagesVpcEndpoints ¶
func (o LookupVpcEndpointServiceResultOutput) ManagesVpcEndpoints() pulumi.BoolOutput
Whether or not the service manages its VPC endpoints - `true` or `false`.
func (LookupVpcEndpointServiceResultOutput) Owner ¶
func (o LookupVpcEndpointServiceResultOutput) Owner() pulumi.StringOutput
The AWS account ID of the service owner or `amazon`.
func (LookupVpcEndpointServiceResultOutput) PrivateDnsName ¶
func (o LookupVpcEndpointServiceResultOutput) PrivateDnsName() pulumi.StringOutput
The private DNS name for the service.
func (LookupVpcEndpointServiceResultOutput) Service ¶
func (o LookupVpcEndpointServiceResultOutput) Service() pulumi.StringPtrOutput
func (LookupVpcEndpointServiceResultOutput) ServiceId ¶
func (o LookupVpcEndpointServiceResultOutput) ServiceId() pulumi.StringOutput
The ID of the endpoint service.
func (LookupVpcEndpointServiceResultOutput) ServiceName ¶
func (o LookupVpcEndpointServiceResultOutput) ServiceName() pulumi.StringOutput
func (LookupVpcEndpointServiceResultOutput) ServiceType ¶
func (o LookupVpcEndpointServiceResultOutput) ServiceType() pulumi.StringOutput
func (LookupVpcEndpointServiceResultOutput) Tags ¶
func (o LookupVpcEndpointServiceResultOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the resource.
func (LookupVpcEndpointServiceResultOutput) ToLookupVpcEndpointServiceResultOutput ¶
func (o LookupVpcEndpointServiceResultOutput) ToLookupVpcEndpointServiceResultOutput() LookupVpcEndpointServiceResultOutput
func (LookupVpcEndpointServiceResultOutput) ToLookupVpcEndpointServiceResultOutputWithContext ¶
func (o LookupVpcEndpointServiceResultOutput) ToLookupVpcEndpointServiceResultOutputWithContext(ctx context.Context) LookupVpcEndpointServiceResultOutput
func (LookupVpcEndpointServiceResultOutput) VpcEndpointPolicySupported ¶
func (o LookupVpcEndpointServiceResultOutput) VpcEndpointPolicySupported() pulumi.BoolOutput
Whether or not the service supports endpoint policies - `true` or `false`.
type LookupVpcOutputArgs ¶
type LookupVpcOutputArgs struct {
// The cidr block of the desired VPC.
CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
// Boolean constraint on whether the desired VPC is
// the default VPC for the region.
Default pulumi.BoolPtrInput `pulumi:"default"`
// The DHCP options id of the desired VPC.
DhcpOptionsId pulumi.StringPtrInput `pulumi:"dhcpOptionsId"`
// Custom filter block as described below.
Filters GetVpcFilterArrayInput `pulumi:"filters"`
// The id of the specific VPC to retrieve.
Id pulumi.StringPtrInput `pulumi:"id"`
// The current state of the desired VPC.
// Can be either `"pending"` or `"available"`.
State pulumi.StringPtrInput `pulumi:"state"`
// A map of tags, each pair of which must exactly match
// a pair on the desired VPC.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getVpc.
func (LookupVpcOutputArgs) ElementType ¶
func (LookupVpcOutputArgs) ElementType() reflect.Type
type LookupVpcPeeringConnectionArgs ¶
type LookupVpcPeeringConnectionArgs struct {
// The primary 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 primary 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 map of tags, each pair of which must exactly match
// a pair on the desired VPC Peering Connection.
Tags map[string]string `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 LookupVpcPeeringConnectionOutputArgs ¶
type LookupVpcPeeringConnectionOutputArgs struct {
// The primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
// Custom filter block as described below.
Filters GetVpcPeeringConnectionFilterArrayInput `pulumi:"filters"`
// The ID of the specific VPC Peering Connection to retrieve.
Id pulumi.StringPtrInput `pulumi:"id"`
// The AWS account ID of the owner of the requester VPC of the specific VPC Peering Connection to retrieve.
OwnerId pulumi.StringPtrInput `pulumi:"ownerId"`
// The primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retrieve.
PeerCidrBlock pulumi.StringPtrInput `pulumi:"peerCidrBlock"`
// The AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connection to retrieve.
PeerOwnerId pulumi.StringPtrInput `pulumi:"peerOwnerId"`
// The region of the accepter VPC of the specific VPC Peering Connection to retrieve.
PeerRegion pulumi.StringPtrInput `pulumi:"peerRegion"`
// The ID of the accepter VPC of the specific VPC Peering Connection to retrieve.
PeerVpcId pulumi.StringPtrInput `pulumi:"peerVpcId"`
// The region of the requester VPC of the specific VPC Peering Connection to retrieve.
Region pulumi.StringPtrInput `pulumi:"region"`
// The status of the specific VPC Peering Connection to retrieve.
Status pulumi.StringPtrInput `pulumi:"status"`
// A map of tags, each pair of which must exactly match
// a pair on the desired VPC Peering Connection.
Tags pulumi.StringMapInput `pulumi:"tags"`
// The ID of the requester VPC of the specific VPC Peering Connection to retrieve.
VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}
A collection of arguments for invoking getVpcPeeringConnection.
func (LookupVpcPeeringConnectionOutputArgs) ElementType ¶
func (LookupVpcPeeringConnectionOutputArgs) ElementType() reflect.Type
type LookupVpcPeeringConnectionResult ¶
type LookupVpcPeeringConnectionResult struct {
// A configuration block that describes [VPC Peering Connection]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the accepter VPC.
Accepter map[string]bool `pulumi:"accepter"`
// A CIDR block associated to the VPC of the specific VPC Peering Connection.
CidrBlock string `pulumi:"cidrBlock"`
// List of objects with CIDR blocks of the requester VPC.
CidrBlockSets []GetVpcPeeringConnectionCidrBlockSet `pulumi:"cidrBlockSets"`
Filters []GetVpcPeeringConnectionFilter `pulumi:"filters"`
Id string `pulumi:"id"`
OwnerId string `pulumi:"ownerId"`
PeerCidrBlock string `pulumi:"peerCidrBlock"`
// List of objects with CIDR blocks of the accepter VPC.
PeerCidrBlockSets []GetVpcPeeringConnectionPeerCidrBlockSet `pulumi:"peerCidrBlockSets"`
PeerOwnerId string `pulumi:"peerOwnerId"`
PeerRegion string `pulumi:"peerRegion"`
PeerVpcId string `pulumi:"peerVpcId"`
Region string `pulumi:"region"`
// A configuration block that describes [VPC Peering Connection]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
Requester map[string]bool `pulumi:"requester"`
Status string `pulumi:"status"`
Tags map[string]string `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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
pc, err := ec2.LookupVpcPeeringConnection(ctx, &ec2.LookupVpcPeeringConnectionArgs{
VpcId: pulumi.StringRef(aws_vpc.Foo.Id),
PeerCidrBlock: pulumi.StringRef("10.0.1.0/22"),
}, nil)
if err != nil {
return err
}
rt, err := ec2.NewRouteTable(ctx, "rt", &ec2.RouteTableArgs{
VpcId: pulumi.Any(aws_vpc.Foo.Id),
})
if err != nil {
return err
}
_, err = ec2.NewRoute(ctx, "route", &ec2.RouteArgs{
RouteTableId: rt.ID(),
DestinationCidrBlock: pulumi.String(pc.PeerCidrBlock),
VpcPeeringConnectionId: pulumi.String(pc.Id),
})
if err != nil {
return err
}
return nil
})
}
```
type LookupVpcPeeringConnectionResultOutput ¶
type LookupVpcPeeringConnectionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpcPeeringConnection.
func LookupVpcPeeringConnectionOutput ¶
func LookupVpcPeeringConnectionOutput(ctx *pulumi.Context, args LookupVpcPeeringConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupVpcPeeringConnectionResultOutput
func (LookupVpcPeeringConnectionResultOutput) Accepter ¶
func (o LookupVpcPeeringConnectionResultOutput) Accepter() pulumi.BoolMapOutput
A configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the accepter VPC.
func (LookupVpcPeeringConnectionResultOutput) CidrBlock ¶
func (o LookupVpcPeeringConnectionResultOutput) CidrBlock() pulumi.StringOutput
A CIDR block associated to the VPC of the specific VPC Peering Connection.
func (LookupVpcPeeringConnectionResultOutput) CidrBlockSets ¶
func (o LookupVpcPeeringConnectionResultOutput) CidrBlockSets() GetVpcPeeringConnectionCidrBlockSetArrayOutput
List of objects with CIDR blocks of the requester VPC.
func (LookupVpcPeeringConnectionResultOutput) ElementType ¶
func (LookupVpcPeeringConnectionResultOutput) ElementType() reflect.Type
func (LookupVpcPeeringConnectionResultOutput) Filters ¶
func (o LookupVpcPeeringConnectionResultOutput) Filters() GetVpcPeeringConnectionFilterArrayOutput
func (LookupVpcPeeringConnectionResultOutput) Id ¶
func (o LookupVpcPeeringConnectionResultOutput) Id() pulumi.StringOutput
func (LookupVpcPeeringConnectionResultOutput) OwnerId ¶
func (o LookupVpcPeeringConnectionResultOutput) OwnerId() pulumi.StringOutput
func (LookupVpcPeeringConnectionResultOutput) PeerCidrBlock ¶
func (o LookupVpcPeeringConnectionResultOutput) PeerCidrBlock() pulumi.StringOutput
func (LookupVpcPeeringConnectionResultOutput) PeerCidrBlockSets ¶
func (o LookupVpcPeeringConnectionResultOutput) PeerCidrBlockSets() GetVpcPeeringConnectionPeerCidrBlockSetArrayOutput
List of objects with CIDR blocks of the accepter VPC.
func (LookupVpcPeeringConnectionResultOutput) PeerOwnerId ¶
func (o LookupVpcPeeringConnectionResultOutput) PeerOwnerId() pulumi.StringOutput
func (LookupVpcPeeringConnectionResultOutput) PeerRegion ¶
func (o LookupVpcPeeringConnectionResultOutput) PeerRegion() pulumi.StringOutput
func (LookupVpcPeeringConnectionResultOutput) PeerVpcId ¶
func (o LookupVpcPeeringConnectionResultOutput) PeerVpcId() pulumi.StringOutput
func (LookupVpcPeeringConnectionResultOutput) Region ¶
func (o LookupVpcPeeringConnectionResultOutput) Region() pulumi.StringOutput
func (LookupVpcPeeringConnectionResultOutput) Requester ¶
func (o LookupVpcPeeringConnectionResultOutput) Requester() pulumi.BoolMapOutput
A configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
func (LookupVpcPeeringConnectionResultOutput) Status ¶
func (o LookupVpcPeeringConnectionResultOutput) Status() pulumi.StringOutput
func (LookupVpcPeeringConnectionResultOutput) Tags ¶
func (o LookupVpcPeeringConnectionResultOutput) Tags() pulumi.StringMapOutput
func (LookupVpcPeeringConnectionResultOutput) ToLookupVpcPeeringConnectionResultOutput ¶
func (o LookupVpcPeeringConnectionResultOutput) ToLookupVpcPeeringConnectionResultOutput() LookupVpcPeeringConnectionResultOutput
func (LookupVpcPeeringConnectionResultOutput) ToLookupVpcPeeringConnectionResultOutputWithContext ¶
func (o LookupVpcPeeringConnectionResultOutput) ToLookupVpcPeeringConnectionResultOutputWithContext(ctx context.Context) LookupVpcPeeringConnectionResultOutput
func (LookupVpcPeeringConnectionResultOutput) VpcId ¶
func (o LookupVpcPeeringConnectionResultOutput) VpcId() pulumi.StringOutput
type LookupVpcResult ¶
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]string `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.
type LookupVpcResultOutput ¶
type LookupVpcResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpc.
func LookupVpcOutput ¶
func LookupVpcOutput(ctx *pulumi.Context, args LookupVpcOutputArgs, opts ...pulumi.InvokeOption) LookupVpcResultOutput
func (LookupVpcResultOutput) Arn ¶
func (o LookupVpcResultOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of VPC
func (LookupVpcResultOutput) CidrBlock ¶
func (o LookupVpcResultOutput) CidrBlock() pulumi.StringOutput
The CIDR block for the association.
func (LookupVpcResultOutput) CidrBlockAssociations ¶
func (o LookupVpcResultOutput) CidrBlockAssociations() GetVpcCidrBlockAssociationArrayOutput
func (LookupVpcResultOutput) Default ¶
func (o LookupVpcResultOutput) Default() pulumi.BoolOutput
func (LookupVpcResultOutput) DhcpOptionsId ¶
func (o LookupVpcResultOutput) DhcpOptionsId() pulumi.StringOutput
func (LookupVpcResultOutput) ElementType ¶
func (LookupVpcResultOutput) ElementType() reflect.Type
func (LookupVpcResultOutput) EnableDnsHostnames ¶
func (o LookupVpcResultOutput) EnableDnsHostnames() pulumi.BoolOutput
Whether or not the VPC has DNS hostname support
func (LookupVpcResultOutput) EnableDnsSupport ¶
func (o LookupVpcResultOutput) EnableDnsSupport() pulumi.BoolOutput
Whether or not the VPC has DNS support
func (LookupVpcResultOutput) Filters ¶
func (o LookupVpcResultOutput) Filters() GetVpcFilterArrayOutput
func (LookupVpcResultOutput) Id ¶
func (o LookupVpcResultOutput) Id() pulumi.StringOutput
func (LookupVpcResultOutput) InstanceTenancy ¶
func (o LookupVpcResultOutput) InstanceTenancy() pulumi.StringOutput
The allowed tenancy of instances launched into the selected VPC. May be any of `"default"`, `"dedicated"`, or `"host"`.
func (LookupVpcResultOutput) Ipv6AssociationId ¶
func (o LookupVpcResultOutput) Ipv6AssociationId() pulumi.StringOutput
The association ID for the IPv6 CIDR block.
func (LookupVpcResultOutput) Ipv6CidrBlock ¶
func (o LookupVpcResultOutput) Ipv6CidrBlock() pulumi.StringOutput
The IPv6 CIDR block.
func (LookupVpcResultOutput) MainRouteTableId ¶
func (o LookupVpcResultOutput) MainRouteTableId() pulumi.StringOutput
The ID of the main route table associated with this VPC.
func (LookupVpcResultOutput) OwnerId ¶
func (o LookupVpcResultOutput) OwnerId() pulumi.StringOutput
The ID of the AWS account that owns the VPC.
func (LookupVpcResultOutput) State ¶
func (o LookupVpcResultOutput) State() pulumi.StringOutput
The State of the association.
func (LookupVpcResultOutput) Tags ¶
func (o LookupVpcResultOutput) Tags() pulumi.StringMapOutput
func (LookupVpcResultOutput) ToLookupVpcResultOutput ¶
func (o LookupVpcResultOutput) ToLookupVpcResultOutput() LookupVpcResultOutput
func (LookupVpcResultOutput) ToLookupVpcResultOutputWithContext ¶
func (o LookupVpcResultOutput) ToLookupVpcResultOutputWithContext(ctx context.Context) LookupVpcResultOutput
type LookupVpnGatewayArgs ¶
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 map of tags, each pair of which must exactly match
// a pair on the desired VPN Gateway.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getVpnGateway.
type LookupVpnGatewayOutputArgs ¶
type LookupVpnGatewayOutputArgs struct {
// The Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to retrieve.
AmazonSideAsn pulumi.StringPtrInput `pulumi:"amazonSideAsn"`
// The ID of a VPC attached to the specific VPN Gateway to retrieve.
AttachedVpcId pulumi.StringPtrInput `pulumi:"attachedVpcId"`
// The Availability Zone of the specific VPN Gateway to retrieve.
AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
// Custom filter block as described below.
Filters GetVpnGatewayFilterArrayInput `pulumi:"filters"`
// The ID of the specific VPN Gateway to retrieve.
Id pulumi.StringPtrInput `pulumi:"id"`
// The state of the specific VPN Gateway to retrieve.
State pulumi.StringPtrInput `pulumi:"state"`
// A map of tags, each pair of which must exactly match
// a pair on the desired VPN Gateway.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getVpnGateway.
func (LookupVpnGatewayOutputArgs) ElementType ¶
func (LookupVpnGatewayOutputArgs) ElementType() reflect.Type
type LookupVpnGatewayResult ¶
type LookupVpnGatewayResult struct {
AmazonSideAsn string `pulumi:"amazonSideAsn"`
Arn string `pulumi:"arn"`
AttachedVpcId string `pulumi:"attachedVpcId"`
AvailabilityZone string `pulumi:"availabilityZone"`
Filters []GetVpnGatewayFilter `pulumi:"filters"`
Id string `pulumi:"id"`
State string `pulumi:"state"`
Tags map[string]string `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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
selected, err := ec2.LookupVpnGateway(ctx, &ec2.LookupVpnGatewayArgs{
Filters: []ec2.GetVpnGatewayFilter{
ec2.GetVpnGatewayFilter{
Name: "tag:Name",
Values: []string{
"vpn-gw",
},
},
},
}, nil)
if err != nil {
return err
}
ctx.Export("vpnGatewayId", selected.Id)
return nil
})
}
```
type LookupVpnGatewayResultOutput ¶
type LookupVpnGatewayResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVpnGateway.
func LookupVpnGatewayOutput ¶
func LookupVpnGatewayOutput(ctx *pulumi.Context, args LookupVpnGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupVpnGatewayResultOutput
func (LookupVpnGatewayResultOutput) AmazonSideAsn ¶
func (o LookupVpnGatewayResultOutput) AmazonSideAsn() pulumi.StringOutput
func (LookupVpnGatewayResultOutput) Arn ¶
func (o LookupVpnGatewayResultOutput) Arn() pulumi.StringOutput
func (LookupVpnGatewayResultOutput) AttachedVpcId ¶
func (o LookupVpnGatewayResultOutput) AttachedVpcId() pulumi.StringOutput
func (LookupVpnGatewayResultOutput) AvailabilityZone ¶
func (o LookupVpnGatewayResultOutput) AvailabilityZone() pulumi.StringOutput
func (LookupVpnGatewayResultOutput) ElementType ¶
func (LookupVpnGatewayResultOutput) ElementType() reflect.Type
func (LookupVpnGatewayResultOutput) Filters ¶
func (o LookupVpnGatewayResultOutput) Filters() GetVpnGatewayFilterArrayOutput
func (LookupVpnGatewayResultOutput) Id ¶
func (o LookupVpnGatewayResultOutput) Id() pulumi.StringOutput
func (LookupVpnGatewayResultOutput) State ¶
func (o LookupVpnGatewayResultOutput) State() pulumi.StringOutput
func (LookupVpnGatewayResultOutput) Tags ¶
func (o LookupVpnGatewayResultOutput) Tags() pulumi.StringMapOutput
func (LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutput ¶
func (o LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutput() LookupVpnGatewayResultOutput
func (LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutputWithContext ¶
func (o LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutputWithContext(ctx context.Context) LookupVpnGatewayResultOutput
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"`
}
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewMainRouteTableAssociation(ctx, "mainRouteTableAssociation", &ec2.MainRouteTableAssociationArgs{
VpcId: pulumi.Any(aws_vpc.Foo.Id),
RouteTableId: pulumi.Any(aws_route_table.Bar.Id),
})
if err != nil {
return err
}
return nil
})
}
``` ## 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.
[aws-route-tables]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Route_Tables.html#Route_Replacing_Main_Table [tf-route-tables]: /docs/providers/aws/r/route_table.html [tf-default-route-table]: /docs/providers/aws/r/default_route_table.html
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.
func (*MainRouteTableAssociation) ElementType ¶
func (*MainRouteTableAssociation) ElementType() reflect.Type
func (*MainRouteTableAssociation) ToMainRouteTableAssociationOutput ¶
func (i *MainRouteTableAssociation) ToMainRouteTableAssociationOutput() MainRouteTableAssociationOutput
func (*MainRouteTableAssociation) ToMainRouteTableAssociationOutputWithContext ¶
func (i *MainRouteTableAssociation) ToMainRouteTableAssociationOutputWithContext(ctx context.Context) MainRouteTableAssociationOutput
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 ¶
func (MainRouteTableAssociationArgs) ElementType() reflect.Type
type MainRouteTableAssociationArray ¶
type MainRouteTableAssociationArray []MainRouteTableAssociationInput
func (MainRouteTableAssociationArray) ElementType ¶
func (MainRouteTableAssociationArray) ElementType() reflect.Type
func (MainRouteTableAssociationArray) ToMainRouteTableAssociationArrayOutput ¶
func (i MainRouteTableAssociationArray) ToMainRouteTableAssociationArrayOutput() MainRouteTableAssociationArrayOutput
func (MainRouteTableAssociationArray) ToMainRouteTableAssociationArrayOutputWithContext ¶
func (i MainRouteTableAssociationArray) ToMainRouteTableAssociationArrayOutputWithContext(ctx context.Context) MainRouteTableAssociationArrayOutput
type MainRouteTableAssociationArrayInput ¶
type MainRouteTableAssociationArrayInput interface {
pulumi.Input
ToMainRouteTableAssociationArrayOutput() MainRouteTableAssociationArrayOutput
ToMainRouteTableAssociationArrayOutputWithContext(context.Context) MainRouteTableAssociationArrayOutput
}
MainRouteTableAssociationArrayInput is an input type that accepts MainRouteTableAssociationArray and MainRouteTableAssociationArrayOutput values. You can construct a concrete instance of `MainRouteTableAssociationArrayInput` via:
MainRouteTableAssociationArray{ MainRouteTableAssociationArgs{...} }
type MainRouteTableAssociationArrayOutput ¶
type MainRouteTableAssociationArrayOutput struct{ *pulumi.OutputState }
func (MainRouteTableAssociationArrayOutput) ElementType ¶
func (MainRouteTableAssociationArrayOutput) ElementType() reflect.Type
func (MainRouteTableAssociationArrayOutput) Index ¶
func (o MainRouteTableAssociationArrayOutput) Index(i pulumi.IntInput) MainRouteTableAssociationOutput
func (MainRouteTableAssociationArrayOutput) ToMainRouteTableAssociationArrayOutput ¶
func (o MainRouteTableAssociationArrayOutput) ToMainRouteTableAssociationArrayOutput() MainRouteTableAssociationArrayOutput
func (MainRouteTableAssociationArrayOutput) ToMainRouteTableAssociationArrayOutputWithContext ¶
func (o MainRouteTableAssociationArrayOutput) ToMainRouteTableAssociationArrayOutputWithContext(ctx context.Context) MainRouteTableAssociationArrayOutput
type MainRouteTableAssociationInput ¶
type MainRouteTableAssociationInput interface {
pulumi.Input
ToMainRouteTableAssociationOutput() MainRouteTableAssociationOutput
ToMainRouteTableAssociationOutputWithContext(ctx context.Context) MainRouteTableAssociationOutput
}
type MainRouteTableAssociationMap ¶
type MainRouteTableAssociationMap map[string]MainRouteTableAssociationInput
func (MainRouteTableAssociationMap) ElementType ¶
func (MainRouteTableAssociationMap) ElementType() reflect.Type
func (MainRouteTableAssociationMap) ToMainRouteTableAssociationMapOutput ¶
func (i MainRouteTableAssociationMap) ToMainRouteTableAssociationMapOutput() MainRouteTableAssociationMapOutput
func (MainRouteTableAssociationMap) ToMainRouteTableAssociationMapOutputWithContext ¶
func (i MainRouteTableAssociationMap) ToMainRouteTableAssociationMapOutputWithContext(ctx context.Context) MainRouteTableAssociationMapOutput
type MainRouteTableAssociationMapInput ¶
type MainRouteTableAssociationMapInput interface {
pulumi.Input
ToMainRouteTableAssociationMapOutput() MainRouteTableAssociationMapOutput
ToMainRouteTableAssociationMapOutputWithContext(context.Context) MainRouteTableAssociationMapOutput
}
MainRouteTableAssociationMapInput is an input type that accepts MainRouteTableAssociationMap and MainRouteTableAssociationMapOutput values. You can construct a concrete instance of `MainRouteTableAssociationMapInput` via:
MainRouteTableAssociationMap{ "key": MainRouteTableAssociationArgs{...} }
type MainRouteTableAssociationMapOutput ¶
type MainRouteTableAssociationMapOutput struct{ *pulumi.OutputState }
func (MainRouteTableAssociationMapOutput) ElementType ¶
func (MainRouteTableAssociationMapOutput) ElementType() reflect.Type
func (MainRouteTableAssociationMapOutput) MapIndex ¶
func (o MainRouteTableAssociationMapOutput) MapIndex(k pulumi.StringInput) MainRouteTableAssociationOutput
func (MainRouteTableAssociationMapOutput) ToMainRouteTableAssociationMapOutput ¶
func (o MainRouteTableAssociationMapOutput) ToMainRouteTableAssociationMapOutput() MainRouteTableAssociationMapOutput
func (MainRouteTableAssociationMapOutput) ToMainRouteTableAssociationMapOutputWithContext ¶
func (o MainRouteTableAssociationMapOutput) ToMainRouteTableAssociationMapOutputWithContext(ctx context.Context) MainRouteTableAssociationMapOutput
type MainRouteTableAssociationOutput ¶
type MainRouteTableAssociationOutput struct{ *pulumi.OutputState }
func (MainRouteTableAssociationOutput) ElementType ¶
func (MainRouteTableAssociationOutput) ElementType() reflect.Type
func (MainRouteTableAssociationOutput) ToMainRouteTableAssociationOutput ¶
func (o MainRouteTableAssociationOutput) ToMainRouteTableAssociationOutput() MainRouteTableAssociationOutput
func (MainRouteTableAssociationOutput) ToMainRouteTableAssociationOutputWithContext ¶
func (o MainRouteTableAssociationOutput) ToMainRouteTableAssociationOutputWithContext(ctx context.Context) MainRouteTableAssociationOutput
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 ¶
func (MainRouteTableAssociationState) ElementType() reflect.Type
type ManagedPrefixList ¶
type ManagedPrefixList struct {
pulumi.CustomResourceState
// Address family (`IPv4` or `IPv6`) of this prefix list.
AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
// ARN of the prefix list.
Arn pulumi.StringOutput `pulumi:"arn"`
// Configuration block for prefix list entry. Detailed below. Different entries may have overlapping CIDR blocks, but a particular CIDR should not be duplicated.
Entries ManagedPrefixListEntryTypeArrayOutput `pulumi:"entries"`
// Maximum number of entries that this prefix list can contain.
MaxEntries pulumi.IntOutput `pulumi:"maxEntries"`
// Name of this resource. The name must not start with `com.amazonaws`.
Name pulumi.StringOutput `pulumi:"name"`
// ID of the AWS account that owns this prefix list.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// Latest version of this prefix list.
Version pulumi.IntOutput `pulumi:"version"`
}
## Example Usage
Basic usage ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewManagedPrefixList(ctx, "example", &ec2.ManagedPrefixListArgs{
AddressFamily: pulumi.String("IPv4"),
MaxEntries: pulumi.Int(5),
Entries: ec2.ManagedPrefixListEntryArray{
&ec2.ManagedPrefixListEntryArgs{
Cidr: pulumi.Any(aws_vpc.Example.Cidr_block),
Description: pulumi.String("Primary"),
},
&ec2.ManagedPrefixListEntryArgs{
Cidr: pulumi.Any(aws_vpc_ipv4_cidr_block_association.Example.Cidr_block),
Description: pulumi.String("Secondary"),
},
},
Tags: pulumi.StringMap{
"Env": pulumi.String("live"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Prefix Lists can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/managedPrefixList:ManagedPrefixList default pl-0570a1d2d725c16be
```
func GetManagedPrefixList ¶
func GetManagedPrefixList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagedPrefixListState, opts ...pulumi.ResourceOption) (*ManagedPrefixList, error)
GetManagedPrefixList gets an existing ManagedPrefixList 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 NewManagedPrefixList ¶
func NewManagedPrefixList(ctx *pulumi.Context, name string, args *ManagedPrefixListArgs, opts ...pulumi.ResourceOption) (*ManagedPrefixList, error)
NewManagedPrefixList registers a new resource with the given unique name, arguments, and options.
func (*ManagedPrefixList) ElementType ¶
func (*ManagedPrefixList) ElementType() reflect.Type
func (*ManagedPrefixList) ToManagedPrefixListOutput ¶
func (i *ManagedPrefixList) ToManagedPrefixListOutput() ManagedPrefixListOutput
func (*ManagedPrefixList) ToManagedPrefixListOutputWithContext ¶
func (i *ManagedPrefixList) ToManagedPrefixListOutputWithContext(ctx context.Context) ManagedPrefixListOutput
type ManagedPrefixListArgs ¶
type ManagedPrefixListArgs struct {
// Address family (`IPv4` or `IPv6`) of this prefix list.
AddressFamily pulumi.StringInput
// Configuration block for prefix list entry. Detailed below. Different entries may have overlapping CIDR blocks, but a particular CIDR should not be duplicated.
Entries ManagedPrefixListEntryTypeArrayInput
// Maximum number of entries that this prefix list can contain.
MaxEntries pulumi.IntInput
// Name of this resource. The name must not start with `com.amazonaws`.
Name pulumi.StringPtrInput
// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a ManagedPrefixList resource.
func (ManagedPrefixListArgs) ElementType ¶
func (ManagedPrefixListArgs) ElementType() reflect.Type
type ManagedPrefixListArray ¶
type ManagedPrefixListArray []ManagedPrefixListInput
func (ManagedPrefixListArray) ElementType ¶
func (ManagedPrefixListArray) ElementType() reflect.Type
func (ManagedPrefixListArray) ToManagedPrefixListArrayOutput ¶
func (i ManagedPrefixListArray) ToManagedPrefixListArrayOutput() ManagedPrefixListArrayOutput
func (ManagedPrefixListArray) ToManagedPrefixListArrayOutputWithContext ¶
func (i ManagedPrefixListArray) ToManagedPrefixListArrayOutputWithContext(ctx context.Context) ManagedPrefixListArrayOutput
type ManagedPrefixListArrayInput ¶
type ManagedPrefixListArrayInput interface {
pulumi.Input
ToManagedPrefixListArrayOutput() ManagedPrefixListArrayOutput
ToManagedPrefixListArrayOutputWithContext(context.Context) ManagedPrefixListArrayOutput
}
ManagedPrefixListArrayInput is an input type that accepts ManagedPrefixListArray and ManagedPrefixListArrayOutput values. You can construct a concrete instance of `ManagedPrefixListArrayInput` via:
ManagedPrefixListArray{ ManagedPrefixListArgs{...} }
type ManagedPrefixListArrayOutput ¶
type ManagedPrefixListArrayOutput struct{ *pulumi.OutputState }
func (ManagedPrefixListArrayOutput) ElementType ¶
func (ManagedPrefixListArrayOutput) ElementType() reflect.Type
func (ManagedPrefixListArrayOutput) Index ¶
func (o ManagedPrefixListArrayOutput) Index(i pulumi.IntInput) ManagedPrefixListOutput
func (ManagedPrefixListArrayOutput) ToManagedPrefixListArrayOutput ¶
func (o ManagedPrefixListArrayOutput) ToManagedPrefixListArrayOutput() ManagedPrefixListArrayOutput
func (ManagedPrefixListArrayOutput) ToManagedPrefixListArrayOutputWithContext ¶
func (o ManagedPrefixListArrayOutput) ToManagedPrefixListArrayOutputWithContext(ctx context.Context) ManagedPrefixListArrayOutput
type ManagedPrefixListEntry ¶
type ManagedPrefixListEntry struct {
pulumi.CustomResourceState
// CIDR block of this entry.
Cidr pulumi.StringOutput `pulumi:"cidr"`
// Description of this entry. Due to API limitations, updating only the description of an entry requires recreating the entry.
Description pulumi.StringPtrOutput `pulumi:"description"`
// CIDR block of this entry.
PrefixListId pulumi.StringOutput `pulumi:"prefixListId"`
}
## Example Usage
Basic usage ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewManagedPrefixList(ctx, "example", &ec2.ManagedPrefixListArgs{
AddressFamily: pulumi.String("IPv4"),
MaxEntries: pulumi.Int(5),
Tags: pulumi.StringMap{
"Env": pulumi.String("live"),
},
})
if err != nil {
return err
}
_, err = ec2.NewManagedPrefixListEntry(ctx, "entry1", &ec2.ManagedPrefixListEntryArgs{
Cidr: pulumi.Any(aws_vpc.Example.Cidr_block),
Description: pulumi.String("Primary"),
PrefixListId: pulumi.Any(aws_ec2_managed_prefix_list.Entry.Id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Prefix List Entries can be imported using the `prefix_list_id` and `cidr` separated by a `,`, e.g.,
```sh
$ pulumi import aws:ec2/managedPrefixListEntry:ManagedPrefixListEntry default pl-0570a1d2d725c16be,10.0.3.0/24
```
func GetManagedPrefixListEntry ¶
func GetManagedPrefixListEntry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagedPrefixListEntryState, opts ...pulumi.ResourceOption) (*ManagedPrefixListEntry, error)
GetManagedPrefixListEntry gets an existing ManagedPrefixListEntry 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 NewManagedPrefixListEntry ¶
func NewManagedPrefixListEntry(ctx *pulumi.Context, name string, args *ManagedPrefixListEntryArgs, opts ...pulumi.ResourceOption) (*ManagedPrefixListEntry, error)
NewManagedPrefixListEntry registers a new resource with the given unique name, arguments, and options.
func (*ManagedPrefixListEntry) ElementType ¶
func (*ManagedPrefixListEntry) ElementType() reflect.Type
func (*ManagedPrefixListEntry) ToManagedPrefixListEntryOutput ¶
func (i *ManagedPrefixListEntry) ToManagedPrefixListEntryOutput() ManagedPrefixListEntryOutput
func (*ManagedPrefixListEntry) ToManagedPrefixListEntryOutputWithContext ¶
func (i *ManagedPrefixListEntry) ToManagedPrefixListEntryOutputWithContext(ctx context.Context) ManagedPrefixListEntryOutput
type ManagedPrefixListEntryArgs ¶
type ManagedPrefixListEntryArgs struct {
// CIDR block of this entry.
Cidr pulumi.StringInput
// Description of this entry. Due to API limitations, updating only the description of an entry requires recreating the entry.
Description pulumi.StringPtrInput
// CIDR block of this entry.
PrefixListId pulumi.StringInput
}
The set of arguments for constructing a ManagedPrefixListEntry resource.
func (ManagedPrefixListEntryArgs) ElementType ¶
func (ManagedPrefixListEntryArgs) ElementType() reflect.Type
type ManagedPrefixListEntryArray ¶
type ManagedPrefixListEntryArray []ManagedPrefixListEntryInput
func (ManagedPrefixListEntryArray) ElementType ¶
func (ManagedPrefixListEntryArray) ElementType() reflect.Type
func (ManagedPrefixListEntryArray) ToManagedPrefixListEntryArrayOutput ¶
func (i ManagedPrefixListEntryArray) ToManagedPrefixListEntryArrayOutput() ManagedPrefixListEntryArrayOutput
func (ManagedPrefixListEntryArray) ToManagedPrefixListEntryArrayOutputWithContext ¶
func (i ManagedPrefixListEntryArray) ToManagedPrefixListEntryArrayOutputWithContext(ctx context.Context) ManagedPrefixListEntryArrayOutput
type ManagedPrefixListEntryArrayInput ¶
type ManagedPrefixListEntryArrayInput interface {
pulumi.Input
ToManagedPrefixListEntryArrayOutput() ManagedPrefixListEntryArrayOutput
ToManagedPrefixListEntryArrayOutputWithContext(context.Context) ManagedPrefixListEntryArrayOutput
}
ManagedPrefixListEntryArrayInput is an input type that accepts ManagedPrefixListEntryArray and ManagedPrefixListEntryArrayOutput values. You can construct a concrete instance of `ManagedPrefixListEntryArrayInput` via:
ManagedPrefixListEntryArray{ ManagedPrefixListEntryArgs{...} }
type ManagedPrefixListEntryArrayOutput ¶
type ManagedPrefixListEntryArrayOutput struct{ *pulumi.OutputState }
func (ManagedPrefixListEntryArrayOutput) ElementType ¶
func (ManagedPrefixListEntryArrayOutput) ElementType() reflect.Type
func (ManagedPrefixListEntryArrayOutput) Index ¶
func (o ManagedPrefixListEntryArrayOutput) Index(i pulumi.IntInput) ManagedPrefixListEntryOutput
func (ManagedPrefixListEntryArrayOutput) ToManagedPrefixListEntryArrayOutput ¶
func (o ManagedPrefixListEntryArrayOutput) ToManagedPrefixListEntryArrayOutput() ManagedPrefixListEntryArrayOutput
func (ManagedPrefixListEntryArrayOutput) ToManagedPrefixListEntryArrayOutputWithContext ¶
func (o ManagedPrefixListEntryArrayOutput) ToManagedPrefixListEntryArrayOutputWithContext(ctx context.Context) ManagedPrefixListEntryArrayOutput
type ManagedPrefixListEntryInput ¶
type ManagedPrefixListEntryInput interface {
pulumi.Input
ToManagedPrefixListEntryOutput() ManagedPrefixListEntryOutput
ToManagedPrefixListEntryOutputWithContext(ctx context.Context) ManagedPrefixListEntryOutput
}
type ManagedPrefixListEntryMap ¶
type ManagedPrefixListEntryMap map[string]ManagedPrefixListEntryInput
func (ManagedPrefixListEntryMap) ElementType ¶
func (ManagedPrefixListEntryMap) ElementType() reflect.Type
func (ManagedPrefixListEntryMap) ToManagedPrefixListEntryMapOutput ¶
func (i ManagedPrefixListEntryMap) ToManagedPrefixListEntryMapOutput() ManagedPrefixListEntryMapOutput
func (ManagedPrefixListEntryMap) ToManagedPrefixListEntryMapOutputWithContext ¶
func (i ManagedPrefixListEntryMap) ToManagedPrefixListEntryMapOutputWithContext(ctx context.Context) ManagedPrefixListEntryMapOutput
type ManagedPrefixListEntryMapInput ¶
type ManagedPrefixListEntryMapInput interface {
pulumi.Input
ToManagedPrefixListEntryMapOutput() ManagedPrefixListEntryMapOutput
ToManagedPrefixListEntryMapOutputWithContext(context.Context) ManagedPrefixListEntryMapOutput
}
ManagedPrefixListEntryMapInput is an input type that accepts ManagedPrefixListEntryMap and ManagedPrefixListEntryMapOutput values. You can construct a concrete instance of `ManagedPrefixListEntryMapInput` via:
ManagedPrefixListEntryMap{ "key": ManagedPrefixListEntryArgs{...} }
type ManagedPrefixListEntryMapOutput ¶
type ManagedPrefixListEntryMapOutput struct{ *pulumi.OutputState }
func (ManagedPrefixListEntryMapOutput) ElementType ¶
func (ManagedPrefixListEntryMapOutput) ElementType() reflect.Type
func (ManagedPrefixListEntryMapOutput) MapIndex ¶
func (o ManagedPrefixListEntryMapOutput) MapIndex(k pulumi.StringInput) ManagedPrefixListEntryOutput
func (ManagedPrefixListEntryMapOutput) ToManagedPrefixListEntryMapOutput ¶
func (o ManagedPrefixListEntryMapOutput) ToManagedPrefixListEntryMapOutput() ManagedPrefixListEntryMapOutput
func (ManagedPrefixListEntryMapOutput) ToManagedPrefixListEntryMapOutputWithContext ¶
func (o ManagedPrefixListEntryMapOutput) ToManagedPrefixListEntryMapOutputWithContext(ctx context.Context) ManagedPrefixListEntryMapOutput
type ManagedPrefixListEntryOutput ¶
type ManagedPrefixListEntryOutput struct{ *pulumi.OutputState }
func (ManagedPrefixListEntryOutput) ElementType ¶
func (ManagedPrefixListEntryOutput) ElementType() reflect.Type
func (ManagedPrefixListEntryOutput) ToManagedPrefixListEntryOutput ¶
func (o ManagedPrefixListEntryOutput) ToManagedPrefixListEntryOutput() ManagedPrefixListEntryOutput
func (ManagedPrefixListEntryOutput) ToManagedPrefixListEntryOutputWithContext ¶
func (o ManagedPrefixListEntryOutput) ToManagedPrefixListEntryOutputWithContext(ctx context.Context) ManagedPrefixListEntryOutput
type ManagedPrefixListEntryState ¶
type ManagedPrefixListEntryState struct {
// CIDR block of this entry.
Cidr pulumi.StringPtrInput
// Description of this entry. Due to API limitations, updating only the description of an entry requires recreating the entry.
Description pulumi.StringPtrInput
// CIDR block of this entry.
PrefixListId pulumi.StringPtrInput
}
func (ManagedPrefixListEntryState) ElementType ¶
func (ManagedPrefixListEntryState) ElementType() reflect.Type
type ManagedPrefixListEntryType ¶
type ManagedPrefixListEntryType struct {
// CIDR block of this entry.
Cidr string `pulumi:"cidr"`
// Description of this entry. Due to API limitations, updating only the description of an existing entry requires temporarily removing and re-adding the entry.
Description *string `pulumi:"description"`
}
type ManagedPrefixListEntryTypeArgs ¶
type ManagedPrefixListEntryTypeArgs struct {
// CIDR block of this entry.
Cidr pulumi.StringInput `pulumi:"cidr"`
// Description of this entry. Due to API limitations, updating only the description of an existing entry requires temporarily removing and re-adding the entry.
Description pulumi.StringPtrInput `pulumi:"description"`
}
func (ManagedPrefixListEntryTypeArgs) ElementType ¶
func (ManagedPrefixListEntryTypeArgs) ElementType() reflect.Type
func (ManagedPrefixListEntryTypeArgs) ToManagedPrefixListEntryTypeOutput ¶
func (i ManagedPrefixListEntryTypeArgs) ToManagedPrefixListEntryTypeOutput() ManagedPrefixListEntryTypeOutput
func (ManagedPrefixListEntryTypeArgs) ToManagedPrefixListEntryTypeOutputWithContext ¶
func (i ManagedPrefixListEntryTypeArgs) ToManagedPrefixListEntryTypeOutputWithContext(ctx context.Context) ManagedPrefixListEntryTypeOutput
type ManagedPrefixListEntryTypeArray ¶
type ManagedPrefixListEntryTypeArray []ManagedPrefixListEntryTypeInput
func (ManagedPrefixListEntryTypeArray) ElementType ¶
func (ManagedPrefixListEntryTypeArray) ElementType() reflect.Type
func (ManagedPrefixListEntryTypeArray) ToManagedPrefixListEntryTypeArrayOutput ¶
func (i ManagedPrefixListEntryTypeArray) ToManagedPrefixListEntryTypeArrayOutput() ManagedPrefixListEntryTypeArrayOutput
func (ManagedPrefixListEntryTypeArray) ToManagedPrefixListEntryTypeArrayOutputWithContext ¶
func (i ManagedPrefixListEntryTypeArray) ToManagedPrefixListEntryTypeArrayOutputWithContext(ctx context.Context) ManagedPrefixListEntryTypeArrayOutput
type ManagedPrefixListEntryTypeArrayInput ¶
type ManagedPrefixListEntryTypeArrayInput interface {
pulumi.Input
ToManagedPrefixListEntryTypeArrayOutput() ManagedPrefixListEntryTypeArrayOutput
ToManagedPrefixListEntryTypeArrayOutputWithContext(context.Context) ManagedPrefixListEntryTypeArrayOutput
}
ManagedPrefixListEntryTypeArrayInput is an input type that accepts ManagedPrefixListEntryTypeArray and ManagedPrefixListEntryTypeArrayOutput values. You can construct a concrete instance of `ManagedPrefixListEntryTypeArrayInput` via:
ManagedPrefixListEntryTypeArray{ ManagedPrefixListEntryTypeArgs{...} }
type ManagedPrefixListEntryTypeArrayOutput ¶
type ManagedPrefixListEntryTypeArrayOutput struct{ *pulumi.OutputState }
func (ManagedPrefixListEntryTypeArrayOutput) ElementType ¶
func (ManagedPrefixListEntryTypeArrayOutput) ElementType() reflect.Type
func (ManagedPrefixListEntryTypeArrayOutput) Index ¶
func (o ManagedPrefixListEntryTypeArrayOutput) Index(i pulumi.IntInput) ManagedPrefixListEntryTypeOutput
func (ManagedPrefixListEntryTypeArrayOutput) ToManagedPrefixListEntryTypeArrayOutput ¶
func (o ManagedPrefixListEntryTypeArrayOutput) ToManagedPrefixListEntryTypeArrayOutput() ManagedPrefixListEntryTypeArrayOutput
func (ManagedPrefixListEntryTypeArrayOutput) ToManagedPrefixListEntryTypeArrayOutputWithContext ¶
func (o ManagedPrefixListEntryTypeArrayOutput) ToManagedPrefixListEntryTypeArrayOutputWithContext(ctx context.Context) ManagedPrefixListEntryTypeArrayOutput
type ManagedPrefixListEntryTypeInput ¶
type ManagedPrefixListEntryTypeInput interface {
pulumi.Input
ToManagedPrefixListEntryTypeOutput() ManagedPrefixListEntryTypeOutput
ToManagedPrefixListEntryTypeOutputWithContext(context.Context) ManagedPrefixListEntryTypeOutput
}
ManagedPrefixListEntryTypeInput is an input type that accepts ManagedPrefixListEntryTypeArgs and ManagedPrefixListEntryTypeOutput values. You can construct a concrete instance of `ManagedPrefixListEntryTypeInput` via:
ManagedPrefixListEntryTypeArgs{...}
type ManagedPrefixListEntryTypeOutput ¶
type ManagedPrefixListEntryTypeOutput struct{ *pulumi.OutputState }
func (ManagedPrefixListEntryTypeOutput) Cidr ¶
func (o ManagedPrefixListEntryTypeOutput) Cidr() pulumi.StringOutput
CIDR block of this entry.
func (ManagedPrefixListEntryTypeOutput) Description ¶
func (o ManagedPrefixListEntryTypeOutput) Description() pulumi.StringPtrOutput
Description of this entry. Due to API limitations, updating only the description of an existing entry requires temporarily removing and re-adding the entry.
func (ManagedPrefixListEntryTypeOutput) ElementType ¶
func (ManagedPrefixListEntryTypeOutput) ElementType() reflect.Type
func (ManagedPrefixListEntryTypeOutput) ToManagedPrefixListEntryTypeOutput ¶
func (o ManagedPrefixListEntryTypeOutput) ToManagedPrefixListEntryTypeOutput() ManagedPrefixListEntryTypeOutput
func (ManagedPrefixListEntryTypeOutput) ToManagedPrefixListEntryTypeOutputWithContext ¶
func (o ManagedPrefixListEntryTypeOutput) ToManagedPrefixListEntryTypeOutputWithContext(ctx context.Context) ManagedPrefixListEntryTypeOutput
type ManagedPrefixListInput ¶
type ManagedPrefixListInput interface {
pulumi.Input
ToManagedPrefixListOutput() ManagedPrefixListOutput
ToManagedPrefixListOutputWithContext(ctx context.Context) ManagedPrefixListOutput
}
type ManagedPrefixListMap ¶
type ManagedPrefixListMap map[string]ManagedPrefixListInput
func (ManagedPrefixListMap) ElementType ¶
func (ManagedPrefixListMap) ElementType() reflect.Type
func (ManagedPrefixListMap) ToManagedPrefixListMapOutput ¶
func (i ManagedPrefixListMap) ToManagedPrefixListMapOutput() ManagedPrefixListMapOutput
func (ManagedPrefixListMap) ToManagedPrefixListMapOutputWithContext ¶
func (i ManagedPrefixListMap) ToManagedPrefixListMapOutputWithContext(ctx context.Context) ManagedPrefixListMapOutput
type ManagedPrefixListMapInput ¶
type ManagedPrefixListMapInput interface {
pulumi.Input
ToManagedPrefixListMapOutput() ManagedPrefixListMapOutput
ToManagedPrefixListMapOutputWithContext(context.Context) ManagedPrefixListMapOutput
}
ManagedPrefixListMapInput is an input type that accepts ManagedPrefixListMap and ManagedPrefixListMapOutput values. You can construct a concrete instance of `ManagedPrefixListMapInput` via:
ManagedPrefixListMap{ "key": ManagedPrefixListArgs{...} }
type ManagedPrefixListMapOutput ¶
type ManagedPrefixListMapOutput struct{ *pulumi.OutputState }
func (ManagedPrefixListMapOutput) ElementType ¶
func (ManagedPrefixListMapOutput) ElementType() reflect.Type
func (ManagedPrefixListMapOutput) MapIndex ¶
func (o ManagedPrefixListMapOutput) MapIndex(k pulumi.StringInput) ManagedPrefixListOutput
func (ManagedPrefixListMapOutput) ToManagedPrefixListMapOutput ¶
func (o ManagedPrefixListMapOutput) ToManagedPrefixListMapOutput() ManagedPrefixListMapOutput
func (ManagedPrefixListMapOutput) ToManagedPrefixListMapOutputWithContext ¶
func (o ManagedPrefixListMapOutput) ToManagedPrefixListMapOutputWithContext(ctx context.Context) ManagedPrefixListMapOutput
type ManagedPrefixListOutput ¶
type ManagedPrefixListOutput struct{ *pulumi.OutputState }
func (ManagedPrefixListOutput) ElementType ¶
func (ManagedPrefixListOutput) ElementType() reflect.Type
func (ManagedPrefixListOutput) ToManagedPrefixListOutput ¶
func (o ManagedPrefixListOutput) ToManagedPrefixListOutput() ManagedPrefixListOutput
func (ManagedPrefixListOutput) ToManagedPrefixListOutputWithContext ¶
func (o ManagedPrefixListOutput) ToManagedPrefixListOutputWithContext(ctx context.Context) ManagedPrefixListOutput
type ManagedPrefixListState ¶
type ManagedPrefixListState struct {
// Address family (`IPv4` or `IPv6`) of this prefix list.
AddressFamily pulumi.StringPtrInput
// ARN of the prefix list.
Arn pulumi.StringPtrInput
// Configuration block for prefix list entry. Detailed below. Different entries may have overlapping CIDR blocks, but a particular CIDR should not be duplicated.
Entries ManagedPrefixListEntryTypeArrayInput
// Maximum number of entries that this prefix list can contain.
MaxEntries pulumi.IntPtrInput
// Name of this resource. The name must not start with `com.amazonaws`.
Name pulumi.StringPtrInput
// ID of the AWS account that owns this prefix list.
OwnerId pulumi.StringPtrInput
// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
TagsAll pulumi.StringMapInput
// Latest version of this prefix list.
Version pulumi.IntPtrInput
}
func (ManagedPrefixListState) ElementType ¶
func (ManagedPrefixListState) ElementType() reflect.Type
type NatGateway ¶
type NatGateway struct {
pulumi.CustomResourceState
// The Allocation ID of the Elastic IP address for the gateway. Required for `connectivityType` of `public`.
AllocationId pulumi.StringPtrOutput `pulumi:"allocationId"`
// Connectivity type for the gateway. Valid values are `private` and `public`. Defaults to `public`.
ConnectivityType pulumi.StringPtrOutput `pulumi:"connectivityType"`
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides a resource to create a VPC NAT Gateway.
## Example Usage ### Public NAT
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewNatGateway(ctx, "example", &ec2.NatGatewayArgs{
AllocationId: pulumi.Any(aws_eip.Example.Id),
SubnetId: pulumi.Any(aws_subnet.Example.Id),
Tags: pulumi.StringMap{
"Name": pulumi.String("gw NAT"),
},
}, pulumi.DependsOn([]pulumi.Resource{
aws_internet_gateway.Example,
}))
if err != nil {
return err
}
return nil
})
}
``` ### Private NAT
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewNatGateway(ctx, "example", &ec2.NatGatewayArgs{
ConnectivityType: pulumi.String("private"),
SubnetId: pulumi.Any(aws_subnet.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
NAT Gateways can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/natGateway:NatGateway private_gw nat-05dba92075d71c408
```
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.
func (*NatGateway) ElementType ¶
func (*NatGateway) ElementType() reflect.Type
func (*NatGateway) ToNatGatewayOutput ¶
func (i *NatGateway) ToNatGatewayOutput() NatGatewayOutput
func (*NatGateway) ToNatGatewayOutputWithContext ¶
func (i *NatGateway) ToNatGatewayOutputWithContext(ctx context.Context) NatGatewayOutput
type NatGatewayArgs ¶
type NatGatewayArgs struct {
// The Allocation ID of the Elastic IP address for the gateway. Required for `connectivityType` of `public`.
AllocationId pulumi.StringPtrInput
// Connectivity type for the gateway. Valid values are `private` and `public`. Defaults to `public`.
ConnectivityType pulumi.StringPtrInput
// The Subnet ID of the subnet in which to place the gateway.
SubnetId pulumi.StringInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a NatGateway resource.
func (NatGatewayArgs) ElementType ¶
func (NatGatewayArgs) ElementType() reflect.Type
type NatGatewayArray ¶
type NatGatewayArray []NatGatewayInput
func (NatGatewayArray) ElementType ¶
func (NatGatewayArray) ElementType() reflect.Type
func (NatGatewayArray) ToNatGatewayArrayOutput ¶
func (i NatGatewayArray) ToNatGatewayArrayOutput() NatGatewayArrayOutput
func (NatGatewayArray) ToNatGatewayArrayOutputWithContext ¶
func (i NatGatewayArray) ToNatGatewayArrayOutputWithContext(ctx context.Context) NatGatewayArrayOutput
type NatGatewayArrayInput ¶
type NatGatewayArrayInput interface {
pulumi.Input
ToNatGatewayArrayOutput() NatGatewayArrayOutput
ToNatGatewayArrayOutputWithContext(context.Context) NatGatewayArrayOutput
}
NatGatewayArrayInput is an input type that accepts NatGatewayArray and NatGatewayArrayOutput values. You can construct a concrete instance of `NatGatewayArrayInput` via:
NatGatewayArray{ NatGatewayArgs{...} }
type NatGatewayArrayOutput ¶
type NatGatewayArrayOutput struct{ *pulumi.OutputState }
func (NatGatewayArrayOutput) ElementType ¶
func (NatGatewayArrayOutput) ElementType() reflect.Type
func (NatGatewayArrayOutput) Index ¶
func (o NatGatewayArrayOutput) Index(i pulumi.IntInput) NatGatewayOutput
func (NatGatewayArrayOutput) ToNatGatewayArrayOutput ¶
func (o NatGatewayArrayOutput) ToNatGatewayArrayOutput() NatGatewayArrayOutput
func (NatGatewayArrayOutput) ToNatGatewayArrayOutputWithContext ¶
func (o NatGatewayArrayOutput) ToNatGatewayArrayOutputWithContext(ctx context.Context) NatGatewayArrayOutput
type NatGatewayInput ¶
type NatGatewayInput interface {
pulumi.Input
ToNatGatewayOutput() NatGatewayOutput
ToNatGatewayOutputWithContext(ctx context.Context) NatGatewayOutput
}
type NatGatewayMap ¶
type NatGatewayMap map[string]NatGatewayInput
func (NatGatewayMap) ElementType ¶
func (NatGatewayMap) ElementType() reflect.Type
func (NatGatewayMap) ToNatGatewayMapOutput ¶
func (i NatGatewayMap) ToNatGatewayMapOutput() NatGatewayMapOutput
func (NatGatewayMap) ToNatGatewayMapOutputWithContext ¶
func (i NatGatewayMap) ToNatGatewayMapOutputWithContext(ctx context.Context) NatGatewayMapOutput
type NatGatewayMapInput ¶
type NatGatewayMapInput interface {
pulumi.Input
ToNatGatewayMapOutput() NatGatewayMapOutput
ToNatGatewayMapOutputWithContext(context.Context) NatGatewayMapOutput
}
NatGatewayMapInput is an input type that accepts NatGatewayMap and NatGatewayMapOutput values. You can construct a concrete instance of `NatGatewayMapInput` via:
NatGatewayMap{ "key": NatGatewayArgs{...} }
type NatGatewayMapOutput ¶
type NatGatewayMapOutput struct{ *pulumi.OutputState }
func (NatGatewayMapOutput) ElementType ¶
func (NatGatewayMapOutput) ElementType() reflect.Type
func (NatGatewayMapOutput) MapIndex ¶
func (o NatGatewayMapOutput) MapIndex(k pulumi.StringInput) NatGatewayOutput
func (NatGatewayMapOutput) ToNatGatewayMapOutput ¶
func (o NatGatewayMapOutput) ToNatGatewayMapOutput() NatGatewayMapOutput
func (NatGatewayMapOutput) ToNatGatewayMapOutputWithContext ¶
func (o NatGatewayMapOutput) ToNatGatewayMapOutputWithContext(ctx context.Context) NatGatewayMapOutput
type NatGatewayOutput ¶
type NatGatewayOutput struct{ *pulumi.OutputState }
func (NatGatewayOutput) ElementType ¶
func (NatGatewayOutput) ElementType() reflect.Type
func (NatGatewayOutput) ToNatGatewayOutput ¶
func (o NatGatewayOutput) ToNatGatewayOutput() NatGatewayOutput
func (NatGatewayOutput) ToNatGatewayOutputWithContext ¶
func (o NatGatewayOutput) ToNatGatewayOutputWithContext(ctx context.Context) NatGatewayOutput
type NatGatewayState ¶
type NatGatewayState struct {
// The Allocation ID of the Elastic IP address for the gateway. Required for `connectivityType` of `public`.
AllocationId pulumi.StringPtrInput
// Connectivity type for the gateway. Valid values are `private` and `public`. Defaults to `public`.
ConnectivityType 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
}
func (NatGatewayState) ElementType ¶
func (NatGatewayState) ElementType() reflect.Type
type NetworkAcl ¶
type NetworkAcl struct {
pulumi.CustomResourceState
// The ARN of the network ACL
Arn pulumi.StringOutput `pulumi:"arn"`
// Specifies an egress rule. Parameters defined below.
Egress NetworkAclEgressArrayOutput `pulumi:"egress"`
// Specifies an ingress rule. Parameters defined below.
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.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The ID of the associated VPC.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewNetworkAcl(ctx, "main", &ec2.NetworkAclArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
Egress: ec2.NetworkAclEgressArray{
&ec2.NetworkAclEgressArgs{
Protocol: pulumi.String("tcp"),
RuleNo: pulumi.Int(200),
Action: pulumi.String("allow"),
CidrBlock: pulumi.String("10.3.0.0/18"),
FromPort: pulumi.Int(443),
ToPort: pulumi.Int(443),
},
},
Ingress: ec2.NetworkAclIngressArray{
&ec2.NetworkAclIngressArgs{
Protocol: pulumi.String("tcp"),
RuleNo: pulumi.Int(100),
Action: pulumi.String("allow"),
CidrBlock: pulumi.String("10.3.0.0/18"),
FromPort: pulumi.Int(80),
ToPort: pulumi.Int(80),
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("main"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Network ACLs can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/networkAcl:NetworkAcl main acl-7aaabd18
```
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.
func (*NetworkAcl) ElementType ¶
func (*NetworkAcl) ElementType() reflect.Type
func (*NetworkAcl) ToNetworkAclOutput ¶
func (i *NetworkAcl) ToNetworkAclOutput() NetworkAclOutput
func (*NetworkAcl) ToNetworkAclOutputWithContext ¶
func (i *NetworkAcl) ToNetworkAclOutputWithContext(ctx context.Context) NetworkAclOutput
type NetworkAclArgs ¶
type NetworkAclArgs struct {
// Specifies an egress rule. Parameters defined below.
Egress NetworkAclEgressArrayInput
// Specifies an ingress rule. Parameters defined below.
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.StringMapInput
// The ID of the associated VPC.
VpcId pulumi.StringInput
}
The set of arguments for constructing a NetworkAcl resource.
func (NetworkAclArgs) ElementType ¶
func (NetworkAclArgs) ElementType() reflect.Type
type NetworkAclArray ¶
type NetworkAclArray []NetworkAclInput
func (NetworkAclArray) ElementType ¶
func (NetworkAclArray) ElementType() reflect.Type
func (NetworkAclArray) ToNetworkAclArrayOutput ¶
func (i NetworkAclArray) ToNetworkAclArrayOutput() NetworkAclArrayOutput
func (NetworkAclArray) ToNetworkAclArrayOutputWithContext ¶
func (i NetworkAclArray) ToNetworkAclArrayOutputWithContext(ctx context.Context) NetworkAclArrayOutput
type NetworkAclArrayInput ¶
type NetworkAclArrayInput interface {
pulumi.Input
ToNetworkAclArrayOutput() NetworkAclArrayOutput
ToNetworkAclArrayOutputWithContext(context.Context) NetworkAclArrayOutput
}
NetworkAclArrayInput is an input type that accepts NetworkAclArray and NetworkAclArrayOutput values. You can construct a concrete instance of `NetworkAclArrayInput` via:
NetworkAclArray{ NetworkAclArgs{...} }
type NetworkAclArrayOutput ¶
type NetworkAclArrayOutput struct{ *pulumi.OutputState }
func (NetworkAclArrayOutput) ElementType ¶
func (NetworkAclArrayOutput) ElementType() reflect.Type
func (NetworkAclArrayOutput) Index ¶
func (o NetworkAclArrayOutput) Index(i pulumi.IntInput) NetworkAclOutput
func (NetworkAclArrayOutput) ToNetworkAclArrayOutput ¶
func (o NetworkAclArrayOutput) ToNetworkAclArrayOutput() NetworkAclArrayOutput
func (NetworkAclArrayOutput) ToNetworkAclArrayOutputWithContext ¶
func (o NetworkAclArrayOutput) ToNetworkAclArrayOutputWithContext(ctx context.Context) NetworkAclArrayOutput
type NetworkAclAssociation ¶
type NetworkAclAssociation struct {
pulumi.CustomResourceState
// The ID of the network ACL.
NetworkAclId pulumi.StringOutput `pulumi:"networkAclId"`
// The ID of the associated Subnet.
SubnetId pulumi.StringOutput `pulumi:"subnetId"`
}
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewNetworkAclAssociation(ctx, "main", &ec2.NetworkAclAssociationArgs{
NetworkAclId: pulumi.Any(aws_network_acl.Main.Id),
SubnetId: pulumi.Any(aws_subnet.Main.Id),
})
if err != nil {
return err
}
return nil
})
}
```
func GetNetworkAclAssociation ¶
func GetNetworkAclAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkAclAssociationState, opts ...pulumi.ResourceOption) (*NetworkAclAssociation, error)
GetNetworkAclAssociation gets an existing NetworkAclAssociation 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 NewNetworkAclAssociation ¶
func NewNetworkAclAssociation(ctx *pulumi.Context, name string, args *NetworkAclAssociationArgs, opts ...pulumi.ResourceOption) (*NetworkAclAssociation, error)
NewNetworkAclAssociation registers a new resource with the given unique name, arguments, and options.
func (*NetworkAclAssociation) ElementType ¶
func (*NetworkAclAssociation) ElementType() reflect.Type
func (*NetworkAclAssociation) ToNetworkAclAssociationOutput ¶
func (i *NetworkAclAssociation) ToNetworkAclAssociationOutput() NetworkAclAssociationOutput
func (*NetworkAclAssociation) ToNetworkAclAssociationOutputWithContext ¶
func (i *NetworkAclAssociation) ToNetworkAclAssociationOutputWithContext(ctx context.Context) NetworkAclAssociationOutput
type NetworkAclAssociationArgs ¶
type NetworkAclAssociationArgs struct {
// The ID of the network ACL.
NetworkAclId pulumi.StringInput
// The ID of the associated Subnet.
SubnetId pulumi.StringInput
}
The set of arguments for constructing a NetworkAclAssociation resource.
func (NetworkAclAssociationArgs) ElementType ¶
func (NetworkAclAssociationArgs) ElementType() reflect.Type
type NetworkAclAssociationArray ¶
type NetworkAclAssociationArray []NetworkAclAssociationInput
func (NetworkAclAssociationArray) ElementType ¶
func (NetworkAclAssociationArray) ElementType() reflect.Type
func (NetworkAclAssociationArray) ToNetworkAclAssociationArrayOutput ¶
func (i NetworkAclAssociationArray) ToNetworkAclAssociationArrayOutput() NetworkAclAssociationArrayOutput
func (NetworkAclAssociationArray) ToNetworkAclAssociationArrayOutputWithContext ¶
func (i NetworkAclAssociationArray) ToNetworkAclAssociationArrayOutputWithContext(ctx context.Context) NetworkAclAssociationArrayOutput
type NetworkAclAssociationArrayInput ¶
type NetworkAclAssociationArrayInput interface {
pulumi.Input
ToNetworkAclAssociationArrayOutput() NetworkAclAssociationArrayOutput
ToNetworkAclAssociationArrayOutputWithContext(context.Context) NetworkAclAssociationArrayOutput
}
NetworkAclAssociationArrayInput is an input type that accepts NetworkAclAssociationArray and NetworkAclAssociationArrayOutput values. You can construct a concrete instance of `NetworkAclAssociationArrayInput` via:
NetworkAclAssociationArray{ NetworkAclAssociationArgs{...} }
type NetworkAclAssociationArrayOutput ¶
type NetworkAclAssociationArrayOutput struct{ *pulumi.OutputState }
func (NetworkAclAssociationArrayOutput) ElementType ¶
func (NetworkAclAssociationArrayOutput) ElementType() reflect.Type
func (NetworkAclAssociationArrayOutput) Index ¶
func (o NetworkAclAssociationArrayOutput) Index(i pulumi.IntInput) NetworkAclAssociationOutput
func (NetworkAclAssociationArrayOutput) ToNetworkAclAssociationArrayOutput ¶
func (o NetworkAclAssociationArrayOutput) ToNetworkAclAssociationArrayOutput() NetworkAclAssociationArrayOutput
func (NetworkAclAssociationArrayOutput) ToNetworkAclAssociationArrayOutputWithContext ¶
func (o NetworkAclAssociationArrayOutput) ToNetworkAclAssociationArrayOutputWithContext(ctx context.Context) NetworkAclAssociationArrayOutput
type NetworkAclAssociationInput ¶
type NetworkAclAssociationInput interface {
pulumi.Input
ToNetworkAclAssociationOutput() NetworkAclAssociationOutput
ToNetworkAclAssociationOutputWithContext(ctx context.Context) NetworkAclAssociationOutput
}
type NetworkAclAssociationMap ¶
type NetworkAclAssociationMap map[string]NetworkAclAssociationInput
func (NetworkAclAssociationMap) ElementType ¶
func (NetworkAclAssociationMap) ElementType() reflect.Type
func (NetworkAclAssociationMap) ToNetworkAclAssociationMapOutput ¶
func (i NetworkAclAssociationMap) ToNetworkAclAssociationMapOutput() NetworkAclAssociationMapOutput
func (NetworkAclAssociationMap) ToNetworkAclAssociationMapOutputWithContext ¶
func (i NetworkAclAssociationMap) ToNetworkAclAssociationMapOutputWithContext(ctx context.Context) NetworkAclAssociationMapOutput
type NetworkAclAssociationMapInput ¶
type NetworkAclAssociationMapInput interface {
pulumi.Input
ToNetworkAclAssociationMapOutput() NetworkAclAssociationMapOutput
ToNetworkAclAssociationMapOutputWithContext(context.Context) NetworkAclAssociationMapOutput
}
NetworkAclAssociationMapInput is an input type that accepts NetworkAclAssociationMap and NetworkAclAssociationMapOutput values. You can construct a concrete instance of `NetworkAclAssociationMapInput` via:
NetworkAclAssociationMap{ "key": NetworkAclAssociationArgs{...} }
type NetworkAclAssociationMapOutput ¶
type NetworkAclAssociationMapOutput struct{ *pulumi.OutputState }
func (NetworkAclAssociationMapOutput) ElementType ¶
func (NetworkAclAssociationMapOutput) ElementType() reflect.Type
func (NetworkAclAssociationMapOutput) MapIndex ¶
func (o NetworkAclAssociationMapOutput) MapIndex(k pulumi.StringInput) NetworkAclAssociationOutput
func (NetworkAclAssociationMapOutput) ToNetworkAclAssociationMapOutput ¶
func (o NetworkAclAssociationMapOutput) ToNetworkAclAssociationMapOutput() NetworkAclAssociationMapOutput
func (NetworkAclAssociationMapOutput) ToNetworkAclAssociationMapOutputWithContext ¶
func (o NetworkAclAssociationMapOutput) ToNetworkAclAssociationMapOutputWithContext(ctx context.Context) NetworkAclAssociationMapOutput
type NetworkAclAssociationOutput ¶
type NetworkAclAssociationOutput struct{ *pulumi.OutputState }
func (NetworkAclAssociationOutput) ElementType ¶
func (NetworkAclAssociationOutput) ElementType() reflect.Type
func (NetworkAclAssociationOutput) ToNetworkAclAssociationOutput ¶
func (o NetworkAclAssociationOutput) ToNetworkAclAssociationOutput() NetworkAclAssociationOutput
func (NetworkAclAssociationOutput) ToNetworkAclAssociationOutputWithContext ¶
func (o NetworkAclAssociationOutput) ToNetworkAclAssociationOutputWithContext(ctx context.Context) NetworkAclAssociationOutput
type NetworkAclAssociationState ¶
type NetworkAclAssociationState struct {
// The ID of the network ACL.
NetworkAclId pulumi.StringPtrInput
// The ID of the associated Subnet.
SubnetId pulumi.StringPtrInput
}
func (NetworkAclAssociationState) ElementType ¶
func (NetworkAclAssociationState) ElementType() reflect.Type
type NetworkAclEgress ¶
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 ¶
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 ¶
func (NetworkAclEgressArgs) ElementType() reflect.Type
func (NetworkAclEgressArgs) ToNetworkAclEgressOutput ¶
func (i NetworkAclEgressArgs) ToNetworkAclEgressOutput() NetworkAclEgressOutput
func (NetworkAclEgressArgs) ToNetworkAclEgressOutputWithContext ¶
func (i NetworkAclEgressArgs) ToNetworkAclEgressOutputWithContext(ctx context.Context) NetworkAclEgressOutput
type NetworkAclEgressArray ¶
type NetworkAclEgressArray []NetworkAclEgressInput
func (NetworkAclEgressArray) ElementType ¶
func (NetworkAclEgressArray) ElementType() reflect.Type
func (NetworkAclEgressArray) ToNetworkAclEgressArrayOutput ¶
func (i NetworkAclEgressArray) ToNetworkAclEgressArrayOutput() NetworkAclEgressArrayOutput
func (NetworkAclEgressArray) ToNetworkAclEgressArrayOutputWithContext ¶
func (i NetworkAclEgressArray) ToNetworkAclEgressArrayOutputWithContext(ctx context.Context) NetworkAclEgressArrayOutput
type NetworkAclEgressArrayInput ¶
type NetworkAclEgressArrayInput interface {
pulumi.Input
ToNetworkAclEgressArrayOutput() NetworkAclEgressArrayOutput
ToNetworkAclEgressArrayOutputWithContext(context.Context) NetworkAclEgressArrayOutput
}
NetworkAclEgressArrayInput is an input type that accepts NetworkAclEgressArray and NetworkAclEgressArrayOutput values. You can construct a concrete instance of `NetworkAclEgressArrayInput` via:
NetworkAclEgressArray{ NetworkAclEgressArgs{...} }
type NetworkAclEgressArrayOutput ¶
type NetworkAclEgressArrayOutput struct{ *pulumi.OutputState }
func (NetworkAclEgressArrayOutput) ElementType ¶
func (NetworkAclEgressArrayOutput) ElementType() reflect.Type
func (NetworkAclEgressArrayOutput) Index ¶
func (o NetworkAclEgressArrayOutput) Index(i pulumi.IntInput) NetworkAclEgressOutput
func (NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutput ¶
func (o NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutput() NetworkAclEgressArrayOutput
func (NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutputWithContext ¶
func (o NetworkAclEgressArrayOutput) ToNetworkAclEgressArrayOutputWithContext(ctx context.Context) NetworkAclEgressArrayOutput
type NetworkAclEgressInput ¶
type NetworkAclEgressInput interface {
pulumi.Input
ToNetworkAclEgressOutput() NetworkAclEgressOutput
ToNetworkAclEgressOutputWithContext(context.Context) NetworkAclEgressOutput
}
NetworkAclEgressInput is an input type that accepts NetworkAclEgressArgs and NetworkAclEgressOutput values. You can construct a concrete instance of `NetworkAclEgressInput` via:
NetworkAclEgressArgs{...}
type NetworkAclEgressOutput ¶
type NetworkAclEgressOutput struct{ *pulumi.OutputState }
func (NetworkAclEgressOutput) Action ¶
func (o NetworkAclEgressOutput) Action() pulumi.StringOutput
The action to take.
func (NetworkAclEgressOutput) CidrBlock ¶
func (o NetworkAclEgressOutput) CidrBlock() pulumi.StringPtrOutput
The CIDR block to match. This must be a valid network mask.
func (NetworkAclEgressOutput) ElementType ¶
func (NetworkAclEgressOutput) ElementType() reflect.Type
func (NetworkAclEgressOutput) FromPort ¶
func (o NetworkAclEgressOutput) FromPort() pulumi.IntOutput
The from port to match.
func (NetworkAclEgressOutput) IcmpCode ¶
func (o NetworkAclEgressOutput) IcmpCode() pulumi.IntPtrOutput
The ICMP type code to be used. Default 0.
func (NetworkAclEgressOutput) IcmpType ¶
func (o NetworkAclEgressOutput) IcmpType() pulumi.IntPtrOutput
The ICMP type to be used. Default 0.
func (NetworkAclEgressOutput) Ipv6CidrBlock ¶
func (o NetworkAclEgressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
The IPv6 CIDR block.
func (NetworkAclEgressOutput) Protocol ¶
func (o NetworkAclEgressOutput) Protocol() pulumi.StringOutput
The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.
func (NetworkAclEgressOutput) RuleNo ¶
func (o NetworkAclEgressOutput) RuleNo() pulumi.IntOutput
The rule number. Used for ordering.
func (NetworkAclEgressOutput) ToNetworkAclEgressOutput ¶
func (o NetworkAclEgressOutput) ToNetworkAclEgressOutput() NetworkAclEgressOutput
func (NetworkAclEgressOutput) ToNetworkAclEgressOutputWithContext ¶
func (o NetworkAclEgressOutput) ToNetworkAclEgressOutputWithContext(ctx context.Context) NetworkAclEgressOutput
func (NetworkAclEgressOutput) ToPort ¶
func (o NetworkAclEgressOutput) ToPort() pulumi.IntOutput
The to port to match.
type NetworkAclIngress ¶
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 ¶
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 ¶
func (NetworkAclIngressArgs) ElementType() reflect.Type
func (NetworkAclIngressArgs) ToNetworkAclIngressOutput ¶
func (i NetworkAclIngressArgs) ToNetworkAclIngressOutput() NetworkAclIngressOutput
func (NetworkAclIngressArgs) ToNetworkAclIngressOutputWithContext ¶
func (i NetworkAclIngressArgs) ToNetworkAclIngressOutputWithContext(ctx context.Context) NetworkAclIngressOutput
type NetworkAclIngressArray ¶
type NetworkAclIngressArray []NetworkAclIngressInput
func (NetworkAclIngressArray) ElementType ¶
func (NetworkAclIngressArray) ElementType() reflect.Type
func (NetworkAclIngressArray) ToNetworkAclIngressArrayOutput ¶
func (i NetworkAclIngressArray) ToNetworkAclIngressArrayOutput() NetworkAclIngressArrayOutput
func (NetworkAclIngressArray) ToNetworkAclIngressArrayOutputWithContext ¶
func (i NetworkAclIngressArray) ToNetworkAclIngressArrayOutputWithContext(ctx context.Context) NetworkAclIngressArrayOutput
type NetworkAclIngressArrayInput ¶
type NetworkAclIngressArrayInput interface {
pulumi.Input
ToNetworkAclIngressArrayOutput() NetworkAclIngressArrayOutput
ToNetworkAclIngressArrayOutputWithContext(context.Context) NetworkAclIngressArrayOutput
}
NetworkAclIngressArrayInput is an input type that accepts NetworkAclIngressArray and NetworkAclIngressArrayOutput values. You can construct a concrete instance of `NetworkAclIngressArrayInput` via:
NetworkAclIngressArray{ NetworkAclIngressArgs{...} }
type NetworkAclIngressArrayOutput ¶
type NetworkAclIngressArrayOutput struct{ *pulumi.OutputState }
func (NetworkAclIngressArrayOutput) ElementType ¶
func (NetworkAclIngressArrayOutput) ElementType() reflect.Type
func (NetworkAclIngressArrayOutput) Index ¶
func (o NetworkAclIngressArrayOutput) Index(i pulumi.IntInput) NetworkAclIngressOutput
func (NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutput ¶
func (o NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutput() NetworkAclIngressArrayOutput
func (NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutputWithContext ¶
func (o NetworkAclIngressArrayOutput) ToNetworkAclIngressArrayOutputWithContext(ctx context.Context) NetworkAclIngressArrayOutput
type NetworkAclIngressInput ¶
type NetworkAclIngressInput interface {
pulumi.Input
ToNetworkAclIngressOutput() NetworkAclIngressOutput
ToNetworkAclIngressOutputWithContext(context.Context) NetworkAclIngressOutput
}
NetworkAclIngressInput is an input type that accepts NetworkAclIngressArgs and NetworkAclIngressOutput values. You can construct a concrete instance of `NetworkAclIngressInput` via:
NetworkAclIngressArgs{...}
type NetworkAclIngressOutput ¶
type NetworkAclIngressOutput struct{ *pulumi.OutputState }
func (NetworkAclIngressOutput) Action ¶
func (o NetworkAclIngressOutput) Action() pulumi.StringOutput
The action to take.
func (NetworkAclIngressOutput) CidrBlock ¶
func (o NetworkAclIngressOutput) CidrBlock() pulumi.StringPtrOutput
The CIDR block to match. This must be a valid network mask.
func (NetworkAclIngressOutput) ElementType ¶
func (NetworkAclIngressOutput) ElementType() reflect.Type
func (NetworkAclIngressOutput) FromPort ¶
func (o NetworkAclIngressOutput) FromPort() pulumi.IntOutput
The from port to match.
func (NetworkAclIngressOutput) IcmpCode ¶
func (o NetworkAclIngressOutput) IcmpCode() pulumi.IntPtrOutput
The ICMP type code to be used. Default 0.
func (NetworkAclIngressOutput) IcmpType ¶
func (o NetworkAclIngressOutput) IcmpType() pulumi.IntPtrOutput
The ICMP type to be used. Default 0.
func (NetworkAclIngressOutput) Ipv6CidrBlock ¶
func (o NetworkAclIngressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
The IPv6 CIDR block.
func (NetworkAclIngressOutput) Protocol ¶
func (o NetworkAclIngressOutput) Protocol() pulumi.StringOutput
The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0.
func (NetworkAclIngressOutput) RuleNo ¶
func (o NetworkAclIngressOutput) RuleNo() pulumi.IntOutput
The rule number. Used for ordering.
func (NetworkAclIngressOutput) ToNetworkAclIngressOutput ¶
func (o NetworkAclIngressOutput) ToNetworkAclIngressOutput() NetworkAclIngressOutput
func (NetworkAclIngressOutput) ToNetworkAclIngressOutputWithContext ¶
func (o NetworkAclIngressOutput) ToNetworkAclIngressOutputWithContext(ctx context.Context) NetworkAclIngressOutput
func (NetworkAclIngressOutput) ToPort ¶
func (o NetworkAclIngressOutput) ToPort() pulumi.IntOutput
The to port to match.
type NetworkAclInput ¶
type NetworkAclInput interface {
pulumi.Input
ToNetworkAclOutput() NetworkAclOutput
ToNetworkAclOutputWithContext(ctx context.Context) NetworkAclOutput
}
type NetworkAclMap ¶
type NetworkAclMap map[string]NetworkAclInput
func (NetworkAclMap) ElementType ¶
func (NetworkAclMap) ElementType() reflect.Type
func (NetworkAclMap) ToNetworkAclMapOutput ¶
func (i NetworkAclMap) ToNetworkAclMapOutput() NetworkAclMapOutput
func (NetworkAclMap) ToNetworkAclMapOutputWithContext ¶
func (i NetworkAclMap) ToNetworkAclMapOutputWithContext(ctx context.Context) NetworkAclMapOutput
type NetworkAclMapInput ¶
type NetworkAclMapInput interface {
pulumi.Input
ToNetworkAclMapOutput() NetworkAclMapOutput
ToNetworkAclMapOutputWithContext(context.Context) NetworkAclMapOutput
}
NetworkAclMapInput is an input type that accepts NetworkAclMap and NetworkAclMapOutput values. You can construct a concrete instance of `NetworkAclMapInput` via:
NetworkAclMap{ "key": NetworkAclArgs{...} }
type NetworkAclMapOutput ¶
type NetworkAclMapOutput struct{ *pulumi.OutputState }
func (NetworkAclMapOutput) ElementType ¶
func (NetworkAclMapOutput) ElementType() reflect.Type
func (NetworkAclMapOutput) MapIndex ¶
func (o NetworkAclMapOutput) MapIndex(k pulumi.StringInput) NetworkAclOutput
func (NetworkAclMapOutput) ToNetworkAclMapOutput ¶
func (o NetworkAclMapOutput) ToNetworkAclMapOutput() NetworkAclMapOutput
func (NetworkAclMapOutput) ToNetworkAclMapOutputWithContext ¶
func (o NetworkAclMapOutput) ToNetworkAclMapOutputWithContext(ctx context.Context) NetworkAclMapOutput
type NetworkAclOutput ¶
type NetworkAclOutput struct{ *pulumi.OutputState }
func (NetworkAclOutput) ElementType ¶
func (NetworkAclOutput) ElementType() reflect.Type
func (NetworkAclOutput) ToNetworkAclOutput ¶
func (o NetworkAclOutput) ToNetworkAclOutput() NetworkAclOutput
func (NetworkAclOutput) ToNetworkAclOutputWithContext ¶
func (o NetworkAclOutput) ToNetworkAclOutputWithContext(ctx context.Context) NetworkAclOutput
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 protocolE.g., -1
IcmpCode pulumi.IntPtrOutput `pulumi:"icmpCode"`
// ICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1
IcmpType pulumi.IntPtrOutput `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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
barNetworkAcl, err := ec2.NewNetworkAcl(ctx, "barNetworkAcl", &ec2.NetworkAclArgs{
VpcId: pulumi.Any(aws_vpc.Foo.Id),
})
if err != nil {
return err
}
_, err = ec2.NewNetworkAclRule(ctx, "barNetworkAclRule", &ec2.NetworkAclRuleArgs{
NetworkAclId: barNetworkAcl.ID(),
RuleNumber: pulumi.Int(200),
Egress: pulumi.Bool(false),
Protocol: pulumi.String("tcp"),
RuleAction: pulumi.String("allow"),
CidrBlock: pulumi.Any(aws_vpc.Foo.Cidr_block),
FromPort: pulumi.Int(22),
ToPort: pulumi.Int(22),
})
if err != nil {
return err
}
return nil
})
}
```
> **Note:** One of either `cidrBlock` or `ipv6CidrBlock` is required.
## Import
Individual rules can be imported using `NETWORK_ACL_ID:RULE_NUMBER:PROTOCOL:EGRESS`, where `PROTOCOL` can be a decimal (e.g. 6) or string (e.g. tcp) value. If importing a rule previously provisioned by the provider, the `PROTOCOL` must be the input value used at creation time. For more information on protocol numbers and keywords, see herehttps://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml For example, import a network ACL Rule with an argument like thisconsole
```sh
$ pulumi import aws:ec2/networkAclRule:NetworkAclRule my_rule acl-7aaabd18:100:tcp:false
```
Or by the procotol's decimal valueconsole
```sh
$ pulumi import aws:ec2/networkAclRule:NetworkAclRule my_rule acl-7aaabd18:100:6:false
```
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.
func (*NetworkAclRule) ElementType ¶
func (*NetworkAclRule) ElementType() reflect.Type
func (*NetworkAclRule) ToNetworkAclRuleOutput ¶
func (i *NetworkAclRule) ToNetworkAclRuleOutput() NetworkAclRuleOutput
func (*NetworkAclRule) ToNetworkAclRuleOutputWithContext ¶
func (i *NetworkAclRule) ToNetworkAclRuleOutputWithContext(ctx context.Context) NetworkAclRuleOutput
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 protocolE.g., -1
IcmpCode pulumi.IntPtrInput
// ICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1
IcmpType pulumi.IntPtrInput
// 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 ¶
func (NetworkAclRuleArgs) ElementType() reflect.Type
type NetworkAclRuleArray ¶
type NetworkAclRuleArray []NetworkAclRuleInput
func (NetworkAclRuleArray) ElementType ¶
func (NetworkAclRuleArray) ElementType() reflect.Type
func (NetworkAclRuleArray) ToNetworkAclRuleArrayOutput ¶
func (i NetworkAclRuleArray) ToNetworkAclRuleArrayOutput() NetworkAclRuleArrayOutput
func (NetworkAclRuleArray) ToNetworkAclRuleArrayOutputWithContext ¶
func (i NetworkAclRuleArray) ToNetworkAclRuleArrayOutputWithContext(ctx context.Context) NetworkAclRuleArrayOutput
type NetworkAclRuleArrayInput ¶
type NetworkAclRuleArrayInput interface {
pulumi.Input
ToNetworkAclRuleArrayOutput() NetworkAclRuleArrayOutput
ToNetworkAclRuleArrayOutputWithContext(context.Context) NetworkAclRuleArrayOutput
}
NetworkAclRuleArrayInput is an input type that accepts NetworkAclRuleArray and NetworkAclRuleArrayOutput values. You can construct a concrete instance of `NetworkAclRuleArrayInput` via:
NetworkAclRuleArray{ NetworkAclRuleArgs{...} }
type NetworkAclRuleArrayOutput ¶
type NetworkAclRuleArrayOutput struct{ *pulumi.OutputState }
func (NetworkAclRuleArrayOutput) ElementType ¶
func (NetworkAclRuleArrayOutput) ElementType() reflect.Type
func (NetworkAclRuleArrayOutput) Index ¶
func (o NetworkAclRuleArrayOutput) Index(i pulumi.IntInput) NetworkAclRuleOutput
func (NetworkAclRuleArrayOutput) ToNetworkAclRuleArrayOutput ¶
func (o NetworkAclRuleArrayOutput) ToNetworkAclRuleArrayOutput() NetworkAclRuleArrayOutput
func (NetworkAclRuleArrayOutput) ToNetworkAclRuleArrayOutputWithContext ¶
func (o NetworkAclRuleArrayOutput) ToNetworkAclRuleArrayOutputWithContext(ctx context.Context) NetworkAclRuleArrayOutput
type NetworkAclRuleInput ¶
type NetworkAclRuleInput interface {
pulumi.Input
ToNetworkAclRuleOutput() NetworkAclRuleOutput
ToNetworkAclRuleOutputWithContext(ctx context.Context) NetworkAclRuleOutput
}
type NetworkAclRuleMap ¶
type NetworkAclRuleMap map[string]NetworkAclRuleInput
func (NetworkAclRuleMap) ElementType ¶
func (NetworkAclRuleMap) ElementType() reflect.Type
func (NetworkAclRuleMap) ToNetworkAclRuleMapOutput ¶
func (i NetworkAclRuleMap) ToNetworkAclRuleMapOutput() NetworkAclRuleMapOutput
func (NetworkAclRuleMap) ToNetworkAclRuleMapOutputWithContext ¶
func (i NetworkAclRuleMap) ToNetworkAclRuleMapOutputWithContext(ctx context.Context) NetworkAclRuleMapOutput
type NetworkAclRuleMapInput ¶
type NetworkAclRuleMapInput interface {
pulumi.Input
ToNetworkAclRuleMapOutput() NetworkAclRuleMapOutput
ToNetworkAclRuleMapOutputWithContext(context.Context) NetworkAclRuleMapOutput
}
NetworkAclRuleMapInput is an input type that accepts NetworkAclRuleMap and NetworkAclRuleMapOutput values. You can construct a concrete instance of `NetworkAclRuleMapInput` via:
NetworkAclRuleMap{ "key": NetworkAclRuleArgs{...} }
type NetworkAclRuleMapOutput ¶
type NetworkAclRuleMapOutput struct{ *pulumi.OutputState }
func (NetworkAclRuleMapOutput) ElementType ¶
func (NetworkAclRuleMapOutput) ElementType() reflect.Type
func (NetworkAclRuleMapOutput) MapIndex ¶
func (o NetworkAclRuleMapOutput) MapIndex(k pulumi.StringInput) NetworkAclRuleOutput
func (NetworkAclRuleMapOutput) ToNetworkAclRuleMapOutput ¶
func (o NetworkAclRuleMapOutput) ToNetworkAclRuleMapOutput() NetworkAclRuleMapOutput
func (NetworkAclRuleMapOutput) ToNetworkAclRuleMapOutputWithContext ¶
func (o NetworkAclRuleMapOutput) ToNetworkAclRuleMapOutputWithContext(ctx context.Context) NetworkAclRuleMapOutput
type NetworkAclRuleOutput ¶
type NetworkAclRuleOutput struct{ *pulumi.OutputState }
func (NetworkAclRuleOutput) ElementType ¶
func (NetworkAclRuleOutput) ElementType() reflect.Type
func (NetworkAclRuleOutput) ToNetworkAclRuleOutput ¶
func (o NetworkAclRuleOutput) ToNetworkAclRuleOutput() NetworkAclRuleOutput
func (NetworkAclRuleOutput) ToNetworkAclRuleOutputWithContext ¶
func (o NetworkAclRuleOutput) ToNetworkAclRuleOutputWithContext(ctx context.Context) NetworkAclRuleOutput
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 protocolE.g., -1
IcmpCode pulumi.IntPtrInput
// ICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1
IcmpType pulumi.IntPtrInput
// 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 ¶
func (NetworkAclRuleState) ElementType() reflect.Type
type NetworkAclState ¶
type NetworkAclState struct {
// The ARN of the network ACL
Arn pulumi.StringPtrInput
// Specifies an egress rule. Parameters defined below.
Egress NetworkAclEgressArrayInput
// Specifies an ingress rule. Parameters defined below.
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.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider.
TagsAll pulumi.StringMapInput
// The ID of the associated VPC.
VpcId pulumi.StringPtrInput
}
func (NetworkAclState) ElementType ¶
func (NetworkAclState) ElementType() reflect.Type
type NetworkInsightsPath ¶ added in v5.1.0
type NetworkInsightsPath struct {
pulumi.CustomResourceState
// ARN of the Network Insights Path.
Arn pulumi.StringOutput `pulumi:"arn"`
// ID of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway.
Destination pulumi.StringOutput `pulumi:"destination"`
// IP address of the destination resource.
DestinationIp pulumi.StringPtrOutput `pulumi:"destinationIp"`
// Destination port to analyze access to.
DestinationPort pulumi.IntPtrOutput `pulumi:"destinationPort"`
// Protocol to use for analysis. Valid options are `tcp` or `udp`.
Protocol pulumi.StringOutput `pulumi:"protocol"`
// ID of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway.
Source pulumi.StringOutput `pulumi:"source"`
// IP address of the source resource.
SourceIp pulumi.StringPtrOutput `pulumi:"sourceIp"`
// Map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// Map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides a Network Insights Path resource. Part of the "Reachability Analyzer" service in the AWS VPC console.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewNetworkInsightsPath(ctx, "test", &ec2.NetworkInsightsPathArgs{
Source: pulumi.Any(aws_network_interface.Source.Id),
Destination: pulumi.Any(aws_network_interface.Destination.Id),
Protocol: pulumi.String("tcp"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Network Insights Paths can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/networkInsightsPath:NetworkInsightsPath test nip-00edfba169923aefd
```
func GetNetworkInsightsPath ¶ added in v5.1.0
func GetNetworkInsightsPath(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkInsightsPathState, opts ...pulumi.ResourceOption) (*NetworkInsightsPath, error)
GetNetworkInsightsPath gets an existing NetworkInsightsPath 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 NewNetworkInsightsPath ¶ added in v5.1.0
func NewNetworkInsightsPath(ctx *pulumi.Context, name string, args *NetworkInsightsPathArgs, opts ...pulumi.ResourceOption) (*NetworkInsightsPath, error)
NewNetworkInsightsPath registers a new resource with the given unique name, arguments, and options.
func (*NetworkInsightsPath) ElementType ¶ added in v5.1.0
func (*NetworkInsightsPath) ElementType() reflect.Type
func (*NetworkInsightsPath) ToNetworkInsightsPathOutput ¶ added in v5.1.0
func (i *NetworkInsightsPath) ToNetworkInsightsPathOutput() NetworkInsightsPathOutput
func (*NetworkInsightsPath) ToNetworkInsightsPathOutputWithContext ¶ added in v5.1.0
func (i *NetworkInsightsPath) ToNetworkInsightsPathOutputWithContext(ctx context.Context) NetworkInsightsPathOutput
type NetworkInsightsPathArgs ¶ added in v5.1.0
type NetworkInsightsPathArgs struct {
// ID of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway.
Destination pulumi.StringInput
// IP address of the destination resource.
DestinationIp pulumi.StringPtrInput
// Destination port to analyze access to.
DestinationPort pulumi.IntPtrInput
// Protocol to use for analysis. Valid options are `tcp` or `udp`.
Protocol pulumi.StringInput
// ID of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway.
Source pulumi.StringInput
// IP address of the source resource.
SourceIp pulumi.StringPtrInput
// Map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
TagsAll pulumi.StringMapInput
}
The set of arguments for constructing a NetworkInsightsPath resource.
func (NetworkInsightsPathArgs) ElementType ¶ added in v5.1.0
func (NetworkInsightsPathArgs) ElementType() reflect.Type
type NetworkInsightsPathArray ¶ added in v5.1.0
type NetworkInsightsPathArray []NetworkInsightsPathInput
func (NetworkInsightsPathArray) ElementType ¶ added in v5.1.0
func (NetworkInsightsPathArray) ElementType() reflect.Type
func (NetworkInsightsPathArray) ToNetworkInsightsPathArrayOutput ¶ added in v5.1.0
func (i NetworkInsightsPathArray) ToNetworkInsightsPathArrayOutput() NetworkInsightsPathArrayOutput
func (NetworkInsightsPathArray) ToNetworkInsightsPathArrayOutputWithContext ¶ added in v5.1.0
func (i NetworkInsightsPathArray) ToNetworkInsightsPathArrayOutputWithContext(ctx context.Context) NetworkInsightsPathArrayOutput
type NetworkInsightsPathArrayInput ¶ added in v5.1.0
type NetworkInsightsPathArrayInput interface {
pulumi.Input
ToNetworkInsightsPathArrayOutput() NetworkInsightsPathArrayOutput
ToNetworkInsightsPathArrayOutputWithContext(context.Context) NetworkInsightsPathArrayOutput
}
NetworkInsightsPathArrayInput is an input type that accepts NetworkInsightsPathArray and NetworkInsightsPathArrayOutput values. You can construct a concrete instance of `NetworkInsightsPathArrayInput` via:
NetworkInsightsPathArray{ NetworkInsightsPathArgs{...} }
type NetworkInsightsPathArrayOutput ¶ added in v5.1.0
type NetworkInsightsPathArrayOutput struct{ *pulumi.OutputState }
func (NetworkInsightsPathArrayOutput) ElementType ¶ added in v5.1.0
func (NetworkInsightsPathArrayOutput) ElementType() reflect.Type
func (NetworkInsightsPathArrayOutput) Index ¶ added in v5.1.0
func (o NetworkInsightsPathArrayOutput) Index(i pulumi.IntInput) NetworkInsightsPathOutput
func (NetworkInsightsPathArrayOutput) ToNetworkInsightsPathArrayOutput ¶ added in v5.1.0
func (o NetworkInsightsPathArrayOutput) ToNetworkInsightsPathArrayOutput() NetworkInsightsPathArrayOutput
func (NetworkInsightsPathArrayOutput) ToNetworkInsightsPathArrayOutputWithContext ¶ added in v5.1.0
func (o NetworkInsightsPathArrayOutput) ToNetworkInsightsPathArrayOutputWithContext(ctx context.Context) NetworkInsightsPathArrayOutput
type NetworkInsightsPathInput ¶ added in v5.1.0
type NetworkInsightsPathInput interface {
pulumi.Input
ToNetworkInsightsPathOutput() NetworkInsightsPathOutput
ToNetworkInsightsPathOutputWithContext(ctx context.Context) NetworkInsightsPathOutput
}
type NetworkInsightsPathMap ¶ added in v5.1.0
type NetworkInsightsPathMap map[string]NetworkInsightsPathInput
func (NetworkInsightsPathMap) ElementType ¶ added in v5.1.0
func (NetworkInsightsPathMap) ElementType() reflect.Type
func (NetworkInsightsPathMap) ToNetworkInsightsPathMapOutput ¶ added in v5.1.0
func (i NetworkInsightsPathMap) ToNetworkInsightsPathMapOutput() NetworkInsightsPathMapOutput
func (NetworkInsightsPathMap) ToNetworkInsightsPathMapOutputWithContext ¶ added in v5.1.0
func (i NetworkInsightsPathMap) ToNetworkInsightsPathMapOutputWithContext(ctx context.Context) NetworkInsightsPathMapOutput
type NetworkInsightsPathMapInput ¶ added in v5.1.0
type NetworkInsightsPathMapInput interface {
pulumi.Input
ToNetworkInsightsPathMapOutput() NetworkInsightsPathMapOutput
ToNetworkInsightsPathMapOutputWithContext(context.Context) NetworkInsightsPathMapOutput
}
NetworkInsightsPathMapInput is an input type that accepts NetworkInsightsPathMap and NetworkInsightsPathMapOutput values. You can construct a concrete instance of `NetworkInsightsPathMapInput` via:
NetworkInsightsPathMap{ "key": NetworkInsightsPathArgs{...} }
type NetworkInsightsPathMapOutput ¶ added in v5.1.0
type NetworkInsightsPathMapOutput struct{ *pulumi.OutputState }
func (NetworkInsightsPathMapOutput) ElementType ¶ added in v5.1.0
func (NetworkInsightsPathMapOutput) ElementType() reflect.Type
func (NetworkInsightsPathMapOutput) MapIndex ¶ added in v5.1.0
func (o NetworkInsightsPathMapOutput) MapIndex(k pulumi.StringInput) NetworkInsightsPathOutput
func (NetworkInsightsPathMapOutput) ToNetworkInsightsPathMapOutput ¶ added in v5.1.0
func (o NetworkInsightsPathMapOutput) ToNetworkInsightsPathMapOutput() NetworkInsightsPathMapOutput
func (NetworkInsightsPathMapOutput) ToNetworkInsightsPathMapOutputWithContext ¶ added in v5.1.0
func (o NetworkInsightsPathMapOutput) ToNetworkInsightsPathMapOutputWithContext(ctx context.Context) NetworkInsightsPathMapOutput
type NetworkInsightsPathOutput ¶ added in v5.1.0
type NetworkInsightsPathOutput struct{ *pulumi.OutputState }
func (NetworkInsightsPathOutput) ElementType ¶ added in v5.1.0
func (NetworkInsightsPathOutput) ElementType() reflect.Type
func (NetworkInsightsPathOutput) ToNetworkInsightsPathOutput ¶ added in v5.1.0
func (o NetworkInsightsPathOutput) ToNetworkInsightsPathOutput() NetworkInsightsPathOutput
func (NetworkInsightsPathOutput) ToNetworkInsightsPathOutputWithContext ¶ added in v5.1.0
func (o NetworkInsightsPathOutput) ToNetworkInsightsPathOutputWithContext(ctx context.Context) NetworkInsightsPathOutput
type NetworkInsightsPathState ¶ added in v5.1.0
type NetworkInsightsPathState struct {
// ARN of the Network Insights Path.
Arn pulumi.StringPtrInput
// ID of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway.
Destination pulumi.StringPtrInput
// IP address of the destination resource.
DestinationIp pulumi.StringPtrInput
// Destination port to analyze access to.
DestinationPort pulumi.IntPtrInput
// Protocol to use for analysis. Valid options are `tcp` or `udp`.
Protocol pulumi.StringPtrInput
// ID of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway.
Source pulumi.StringPtrInput
// IP address of the source resource.
SourceIp pulumi.StringPtrInput
// Map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
TagsAll pulumi.StringMapInput
}
func (NetworkInsightsPathState) ElementType ¶ added in v5.1.0
func (NetworkInsightsPathState) ElementType() reflect.Type
type NetworkInterface ¶
type NetworkInterface struct {
pulumi.CustomResourceState
// ARN of the network interface.
Arn pulumi.StringOutput `pulumi:"arn"`
// Configuration block to define the attachment of the ENI. See Attachment below for more details!
Attachments NetworkInterfaceAttachmentTypeArrayOutput `pulumi:"attachments"`
// Description for the network interface.
Description pulumi.StringPtrOutput `pulumi:"description"`
// Type of network interface to create. Set to `efa` for Elastic Fabric Adapter. Changing `interfaceType` will cause the resource to be destroyed and re-created.
InterfaceType pulumi.StringOutput `pulumi:"interfaceType"`
// Number of IPv4 prefixes that AWS automatically assigns to the network interface.
Ipv4PrefixCount pulumi.IntOutput `pulumi:"ipv4PrefixCount"`
// One or more IPv4 prefixes assigned to the network interface.
Ipv4Prefixes pulumi.StringArrayOutput `pulumi:"ipv4Prefixes"`
// Number of IPv6 addresses to assign to a network interface. You can't use this option if specifying specific `ipv6Addresses`. If your subnet has the AssignIpv6AddressOnCreation attribute set to `true`, you can specify `0` to override this setting.
Ipv6AddressCount pulumi.IntOutput `pulumi:"ipv6AddressCount"`
Ipv6AddressListEnabled pulumi.BoolPtrOutput `pulumi:"ipv6AddressListEnabled"`
// List of private IPs to assign to the ENI in sequential order.
Ipv6AddressLists pulumi.StringArrayOutput `pulumi:"ipv6AddressLists"`
// One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Addresses are assigned without regard to order. You can't use this option if you're specifying `ipv6AddressCount`.
Ipv6Addresses pulumi.StringArrayOutput `pulumi:"ipv6Addresses"`
// Number of IPv6 prefixes that AWS automatically assigns to the network interface.
Ipv6PrefixCount pulumi.IntOutput `pulumi:"ipv6PrefixCount"`
// One or more IPv6 prefixes assigned to the network interface.
Ipv6Prefixes pulumi.StringArrayOutput `pulumi:"ipv6Prefixes"`
// MAC address of the network interface.
MacAddress pulumi.StringOutput `pulumi:"macAddress"`
OutpostArn pulumi.StringOutput `pulumi:"outpostArn"`
// AWS account ID of the owner of the network interface.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// Private DNS name of the network interface (IPv4).
PrivateDnsName pulumi.StringOutput `pulumi:"privateDnsName"`
PrivateIp pulumi.StringOutput `pulumi:"privateIp"`
PrivateIpListEnabled pulumi.BoolPtrOutput `pulumi:"privateIpListEnabled"`
// List of private IPs to assign to the ENI in sequential order. Requires setting `privateIpListEnable` to `true`.
PrivateIpLists pulumi.StringArrayOutput `pulumi:"privateIpLists"`
// List of private IPs to assign to the ENI without regard to order.
PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"`
// Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + `privateIpsCount`, 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"`
// Map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// Map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides an Elastic network interface (ENI) resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewNetworkInterface(ctx, "test", &ec2.NetworkInterfaceArgs{
SubnetId: pulumi.Any(aws_subnet.Public_a.Id),
PrivateIps: pulumi.StringArray{
pulumi.String("10.0.0.50"),
},
SecurityGroups: pulumi.StringArray{
pulumi.Any(aws_security_group.Web.Id),
},
Attachments: ec2.NetworkInterfaceAttachmentArray{
&ec2.NetworkInterfaceAttachmentArgs{
Instance: pulumi.Any(aws_instance.Test.Id),
DeviceIndex: pulumi.Int(1),
},
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Example of Managing Multiple IPs on a Network Interface
By default, private IPs are managed through the `privateIps` and `privateIpsCount` arguments which manage IPs as a set of IPs that are configured without regard to order. For a new network interface, the same primary IP address is consistently selected from a given set of addresses, regardless of the order provided. However, modifications of the set of addresses of an existing interface will not alter the current primary IP address unless it has been removed from the set.
In order to manage the private IPs as a sequentially ordered list, configure `privateIpListEnabled` to `true` and use `privateIpList` to manage the IPs. This will disable the `privateIps` and `privateIpsCount` settings, which must be removed from the config file but are still exported. Note that changing the first address of `privateIpList`, which is the primary, always requires a new interface.
If you are managing a specific set or list of IPs, instead of just using `privateIpsCount`, this is a potential workflow for also leveraging `privateIpsCount` to have AWS automatically assign additional IP addresses:
1. Comment out `privateIps`, `privateIpList`, `privateIpListEnabled` in your configuration 2. Set the desired `privateIpsCount` (count of the number of secondaries, the primary is not included) 3. Apply to assign the extra IPs 4. Remove `privateIpsCount` and restore your settings from the first step 5. Add the new IPs to your current settings 6. Apply again to update the stored state
This process can also be used to remove IP addresses in addition to the option of manually removing them. Adding IP addresses in a manually is more difficult because it requires knowledge of which addresses are available.
## Import
Network Interfaces can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/networkInterface:NetworkInterface test eni-e5aa89a3
```
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.
func (*NetworkInterface) ElementType ¶
func (*NetworkInterface) ElementType() reflect.Type
func (*NetworkInterface) ToNetworkInterfaceOutput ¶
func (i *NetworkInterface) ToNetworkInterfaceOutput() NetworkInterfaceOutput
func (*NetworkInterface) ToNetworkInterfaceOutputWithContext ¶
func (i *NetworkInterface) ToNetworkInterfaceOutputWithContext(ctx context.Context) NetworkInterfaceOutput
type NetworkInterfaceArgs ¶
type NetworkInterfaceArgs struct {
// Configuration block to define the attachment of the ENI. See Attachment below for more details!
Attachments NetworkInterfaceAttachmentTypeArrayInput
// Description for the network interface.
Description pulumi.StringPtrInput
// Type of network interface to create. Set to `efa` for Elastic Fabric Adapter. Changing `interfaceType` will cause the resource to be destroyed and re-created.
InterfaceType pulumi.StringPtrInput
// Number of IPv4 prefixes that AWS automatically assigns to the network interface.
Ipv4PrefixCount pulumi.IntPtrInput
// One or more IPv4 prefixes assigned to the network interface.
Ipv4Prefixes pulumi.StringArrayInput
// Number of IPv6 addresses to assign to a network interface. You can't use this option if specifying specific `ipv6Addresses`. If your subnet has the AssignIpv6AddressOnCreation attribute set to `true`, you can specify `0` to override this setting.
Ipv6AddressCount pulumi.IntPtrInput
Ipv6AddressListEnabled pulumi.BoolPtrInput
// List of private IPs to assign to the ENI in sequential order.
Ipv6AddressLists pulumi.StringArrayInput
// One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Addresses are assigned without regard to order. You can't use this option if you're specifying `ipv6AddressCount`.
Ipv6Addresses pulumi.StringArrayInput
// Number of IPv6 prefixes that AWS automatically assigns to the network interface.
Ipv6PrefixCount pulumi.IntPtrInput
// One or more IPv6 prefixes assigned to the network interface.
Ipv6Prefixes pulumi.StringArrayInput
PrivateIp pulumi.StringPtrInput
PrivateIpListEnabled pulumi.BoolPtrInput
// List of private IPs to assign to the ENI in sequential order. Requires setting `privateIpListEnable` to `true`.
PrivateIpLists pulumi.StringArrayInput
// List of private IPs to assign to the ENI without regard to order.
PrivateIps pulumi.StringArrayInput
// Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + `privateIpsCount`, 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
// Map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a NetworkInterface resource.
func (NetworkInterfaceArgs) ElementType ¶
func (NetworkInterfaceArgs) ElementType() reflect.Type
type NetworkInterfaceArray ¶
type NetworkInterfaceArray []NetworkInterfaceInput
func (NetworkInterfaceArray) ElementType ¶
func (NetworkInterfaceArray) ElementType() reflect.Type
func (NetworkInterfaceArray) ToNetworkInterfaceArrayOutput ¶
func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutput() NetworkInterfaceArrayOutput
func (NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext ¶
func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext(ctx context.Context) NetworkInterfaceArrayOutput
type NetworkInterfaceArrayInput ¶
type NetworkInterfaceArrayInput interface {
pulumi.Input
ToNetworkInterfaceArrayOutput() NetworkInterfaceArrayOutput
ToNetworkInterfaceArrayOutputWithContext(context.Context) NetworkInterfaceArrayOutput
}
NetworkInterfaceArrayInput is an input type that accepts NetworkInterfaceArray and NetworkInterfaceArrayOutput values. You can construct a concrete instance of `NetworkInterfaceArrayInput` via:
NetworkInterfaceArray{ NetworkInterfaceArgs{...} }
type NetworkInterfaceArrayOutput ¶
type NetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceArrayOutput) ElementType ¶
func (NetworkInterfaceArrayOutput) ElementType() reflect.Type
func (NetworkInterfaceArrayOutput) Index ¶
func (o NetworkInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceOutput
func (NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutput ¶
func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutput() NetworkInterfaceArrayOutput
func (NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext ¶
func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ctx context.Context) NetworkInterfaceArrayOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewNetworkInterfaceAttachment(ctx, "test", &ec2.NetworkInterfaceAttachmentArgs{
InstanceId: pulumi.Any(aws_instance.Test.Id),
NetworkInterfaceId: pulumi.Any(aws_network_interface.Test.Id),
DeviceIndex: pulumi.Int(0),
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*NetworkInterfaceAttachment) ElementType ¶
func (*NetworkInterfaceAttachment) ElementType() reflect.Type
func (*NetworkInterfaceAttachment) ToNetworkInterfaceAttachmentOutput ¶
func (i *NetworkInterfaceAttachment) ToNetworkInterfaceAttachmentOutput() NetworkInterfaceAttachmentOutput
func (*NetworkInterfaceAttachment) ToNetworkInterfaceAttachmentOutputWithContext ¶
func (i *NetworkInterfaceAttachment) ToNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentOutput
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 ¶
func (NetworkInterfaceAttachmentArgs) ElementType() reflect.Type
type NetworkInterfaceAttachmentArray ¶
type NetworkInterfaceAttachmentArray []NetworkInterfaceAttachmentInput
func (NetworkInterfaceAttachmentArray) ElementType ¶
func (NetworkInterfaceAttachmentArray) ElementType() reflect.Type
func (NetworkInterfaceAttachmentArray) ToNetworkInterfaceAttachmentArrayOutput ¶
func (i NetworkInterfaceAttachmentArray) ToNetworkInterfaceAttachmentArrayOutput() NetworkInterfaceAttachmentArrayOutput
func (NetworkInterfaceAttachmentArray) ToNetworkInterfaceAttachmentArrayOutputWithContext ¶
func (i NetworkInterfaceAttachmentArray) ToNetworkInterfaceAttachmentArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentArrayOutput
type NetworkInterfaceAttachmentArrayInput ¶
type NetworkInterfaceAttachmentArrayInput interface {
pulumi.Input
ToNetworkInterfaceAttachmentArrayOutput() NetworkInterfaceAttachmentArrayOutput
ToNetworkInterfaceAttachmentArrayOutputWithContext(context.Context) NetworkInterfaceAttachmentArrayOutput
}
NetworkInterfaceAttachmentArrayInput is an input type that accepts NetworkInterfaceAttachmentArray and NetworkInterfaceAttachmentArrayOutput values. You can construct a concrete instance of `NetworkInterfaceAttachmentArrayInput` via:
NetworkInterfaceAttachmentArray{ NetworkInterfaceAttachmentArgs{...} }
type NetworkInterfaceAttachmentArrayOutput ¶
type NetworkInterfaceAttachmentArrayOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceAttachmentArrayOutput) ElementType ¶
func (NetworkInterfaceAttachmentArrayOutput) ElementType() reflect.Type
func (NetworkInterfaceAttachmentArrayOutput) Index ¶
func (o NetworkInterfaceAttachmentArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceAttachmentOutput
func (NetworkInterfaceAttachmentArrayOutput) ToNetworkInterfaceAttachmentArrayOutput ¶
func (o NetworkInterfaceAttachmentArrayOutput) ToNetworkInterfaceAttachmentArrayOutput() NetworkInterfaceAttachmentArrayOutput
func (NetworkInterfaceAttachmentArrayOutput) ToNetworkInterfaceAttachmentArrayOutputWithContext ¶
func (o NetworkInterfaceAttachmentArrayOutput) ToNetworkInterfaceAttachmentArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentArrayOutput
type NetworkInterfaceAttachmentInput ¶
type NetworkInterfaceAttachmentInput interface {
pulumi.Input
ToNetworkInterfaceAttachmentOutput() NetworkInterfaceAttachmentOutput
ToNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentOutput
}
type NetworkInterfaceAttachmentMap ¶
type NetworkInterfaceAttachmentMap map[string]NetworkInterfaceAttachmentInput
func (NetworkInterfaceAttachmentMap) ElementType ¶
func (NetworkInterfaceAttachmentMap) ElementType() reflect.Type
func (NetworkInterfaceAttachmentMap) ToNetworkInterfaceAttachmentMapOutput ¶
func (i NetworkInterfaceAttachmentMap) ToNetworkInterfaceAttachmentMapOutput() NetworkInterfaceAttachmentMapOutput
func (NetworkInterfaceAttachmentMap) ToNetworkInterfaceAttachmentMapOutputWithContext ¶
func (i NetworkInterfaceAttachmentMap) ToNetworkInterfaceAttachmentMapOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentMapOutput
type NetworkInterfaceAttachmentMapInput ¶
type NetworkInterfaceAttachmentMapInput interface {
pulumi.Input
ToNetworkInterfaceAttachmentMapOutput() NetworkInterfaceAttachmentMapOutput
ToNetworkInterfaceAttachmentMapOutputWithContext(context.Context) NetworkInterfaceAttachmentMapOutput
}
NetworkInterfaceAttachmentMapInput is an input type that accepts NetworkInterfaceAttachmentMap and NetworkInterfaceAttachmentMapOutput values. You can construct a concrete instance of `NetworkInterfaceAttachmentMapInput` via:
NetworkInterfaceAttachmentMap{ "key": NetworkInterfaceAttachmentArgs{...} }
type NetworkInterfaceAttachmentMapOutput ¶
type NetworkInterfaceAttachmentMapOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceAttachmentMapOutput) ElementType ¶
func (NetworkInterfaceAttachmentMapOutput) ElementType() reflect.Type
func (NetworkInterfaceAttachmentMapOutput) MapIndex ¶
func (o NetworkInterfaceAttachmentMapOutput) MapIndex(k pulumi.StringInput) NetworkInterfaceAttachmentOutput
func (NetworkInterfaceAttachmentMapOutput) ToNetworkInterfaceAttachmentMapOutput ¶
func (o NetworkInterfaceAttachmentMapOutput) ToNetworkInterfaceAttachmentMapOutput() NetworkInterfaceAttachmentMapOutput
func (NetworkInterfaceAttachmentMapOutput) ToNetworkInterfaceAttachmentMapOutputWithContext ¶
func (o NetworkInterfaceAttachmentMapOutput) ToNetworkInterfaceAttachmentMapOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentMapOutput
type NetworkInterfaceAttachmentOutput ¶
type NetworkInterfaceAttachmentOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceAttachmentOutput) ElementType ¶
func (NetworkInterfaceAttachmentOutput) ElementType() reflect.Type
func (NetworkInterfaceAttachmentOutput) ToNetworkInterfaceAttachmentOutput ¶
func (o NetworkInterfaceAttachmentOutput) ToNetworkInterfaceAttachmentOutput() NetworkInterfaceAttachmentOutput
func (NetworkInterfaceAttachmentOutput) ToNetworkInterfaceAttachmentOutputWithContext ¶
func (o NetworkInterfaceAttachmentOutput) ToNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentOutput
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 ¶
func (NetworkInterfaceAttachmentState) ElementType() reflect.Type
type NetworkInterfaceAttachmentTypeArgs ¶
type NetworkInterfaceAttachmentTypeArgs struct {
AttachmentId pulumi.StringPtrInput `pulumi:"attachmentId"`
// Integer to define the devices index.
DeviceIndex pulumi.IntInput `pulumi:"deviceIndex"`
// ID of the instance to attach to.
Instance pulumi.StringInput `pulumi:"instance"`
}
func (NetworkInterfaceAttachmentTypeArgs) ElementType ¶
func (NetworkInterfaceAttachmentTypeArgs) ElementType() reflect.Type
func (NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutput ¶
func (i NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutput() NetworkInterfaceAttachmentTypeOutput
func (NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutputWithContext ¶
func (i NetworkInterfaceAttachmentTypeArgs) ToNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeOutput
type NetworkInterfaceAttachmentTypeArray ¶
type NetworkInterfaceAttachmentTypeArray []NetworkInterfaceAttachmentTypeInput
func (NetworkInterfaceAttachmentTypeArray) ElementType ¶
func (NetworkInterfaceAttachmentTypeArray) ElementType() reflect.Type
func (NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutput ¶
func (i NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutput() NetworkInterfaceAttachmentTypeArrayOutput
func (NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext ¶
func (i NetworkInterfaceAttachmentTypeArray) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeArrayOutput
type NetworkInterfaceAttachmentTypeArrayInput ¶
type NetworkInterfaceAttachmentTypeArrayInput interface {
pulumi.Input
ToNetworkInterfaceAttachmentTypeArrayOutput() NetworkInterfaceAttachmentTypeArrayOutput
ToNetworkInterfaceAttachmentTypeArrayOutputWithContext(context.Context) NetworkInterfaceAttachmentTypeArrayOutput
}
NetworkInterfaceAttachmentTypeArrayInput is an input type that accepts NetworkInterfaceAttachmentTypeArray and NetworkInterfaceAttachmentTypeArrayOutput values. You can construct a concrete instance of `NetworkInterfaceAttachmentTypeArrayInput` via:
NetworkInterfaceAttachmentTypeArray{ NetworkInterfaceAttachmentTypeArgs{...} }
type NetworkInterfaceAttachmentTypeArrayOutput ¶
type NetworkInterfaceAttachmentTypeArrayOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceAttachmentTypeArrayOutput) ElementType ¶
func (NetworkInterfaceAttachmentTypeArrayOutput) ElementType() reflect.Type
func (NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutput ¶
func (o NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutput() NetworkInterfaceAttachmentTypeArrayOutput
func (NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext ¶
func (o NetworkInterfaceAttachmentTypeArrayOutput) ToNetworkInterfaceAttachmentTypeArrayOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeArrayOutput
type NetworkInterfaceAttachmentTypeInput ¶
type NetworkInterfaceAttachmentTypeInput interface {
pulumi.Input
ToNetworkInterfaceAttachmentTypeOutput() NetworkInterfaceAttachmentTypeOutput
ToNetworkInterfaceAttachmentTypeOutputWithContext(context.Context) NetworkInterfaceAttachmentTypeOutput
}
NetworkInterfaceAttachmentTypeInput is an input type that accepts NetworkInterfaceAttachmentTypeArgs and NetworkInterfaceAttachmentTypeOutput values. You can construct a concrete instance of `NetworkInterfaceAttachmentTypeInput` via:
NetworkInterfaceAttachmentTypeArgs{...}
type NetworkInterfaceAttachmentTypeOutput ¶
type NetworkInterfaceAttachmentTypeOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceAttachmentTypeOutput) AttachmentId ¶
func (o NetworkInterfaceAttachmentTypeOutput) AttachmentId() pulumi.StringPtrOutput
func (NetworkInterfaceAttachmentTypeOutput) DeviceIndex ¶
func (o NetworkInterfaceAttachmentTypeOutput) DeviceIndex() pulumi.IntOutput
Integer to define the devices index.
func (NetworkInterfaceAttachmentTypeOutput) ElementType ¶
func (NetworkInterfaceAttachmentTypeOutput) ElementType() reflect.Type
func (NetworkInterfaceAttachmentTypeOutput) Instance ¶
func (o NetworkInterfaceAttachmentTypeOutput) Instance() pulumi.StringOutput
ID of the instance to attach to.
func (NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutput ¶
func (o NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutput() NetworkInterfaceAttachmentTypeOutput
func (NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutputWithContext ¶
func (o NetworkInterfaceAttachmentTypeOutput) ToNetworkInterfaceAttachmentTypeOutputWithContext(ctx context.Context) NetworkInterfaceAttachmentTypeOutput
type NetworkInterfaceInput ¶
type NetworkInterfaceInput interface {
pulumi.Input
ToNetworkInterfaceOutput() NetworkInterfaceOutput
ToNetworkInterfaceOutputWithContext(ctx context.Context) NetworkInterfaceOutput
}
type NetworkInterfaceMap ¶
type NetworkInterfaceMap map[string]NetworkInterfaceInput
func (NetworkInterfaceMap) ElementType ¶
func (NetworkInterfaceMap) ElementType() reflect.Type
func (NetworkInterfaceMap) ToNetworkInterfaceMapOutput ¶
func (i NetworkInterfaceMap) ToNetworkInterfaceMapOutput() NetworkInterfaceMapOutput
func (NetworkInterfaceMap) ToNetworkInterfaceMapOutputWithContext ¶
func (i NetworkInterfaceMap) ToNetworkInterfaceMapOutputWithContext(ctx context.Context) NetworkInterfaceMapOutput
type NetworkInterfaceMapInput ¶
type NetworkInterfaceMapInput interface {
pulumi.Input
ToNetworkInterfaceMapOutput() NetworkInterfaceMapOutput
ToNetworkInterfaceMapOutputWithContext(context.Context) NetworkInterfaceMapOutput
}
NetworkInterfaceMapInput is an input type that accepts NetworkInterfaceMap and NetworkInterfaceMapOutput values. You can construct a concrete instance of `NetworkInterfaceMapInput` via:
NetworkInterfaceMap{ "key": NetworkInterfaceArgs{...} }
type NetworkInterfaceMapOutput ¶
type NetworkInterfaceMapOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceMapOutput) ElementType ¶
func (NetworkInterfaceMapOutput) ElementType() reflect.Type
func (NetworkInterfaceMapOutput) MapIndex ¶
func (o NetworkInterfaceMapOutput) MapIndex(k pulumi.StringInput) NetworkInterfaceOutput
func (NetworkInterfaceMapOutput) ToNetworkInterfaceMapOutput ¶
func (o NetworkInterfaceMapOutput) ToNetworkInterfaceMapOutput() NetworkInterfaceMapOutput
func (NetworkInterfaceMapOutput) ToNetworkInterfaceMapOutputWithContext ¶
func (o NetworkInterfaceMapOutput) ToNetworkInterfaceMapOutputWithContext(ctx context.Context) NetworkInterfaceMapOutput
type NetworkInterfaceOutput ¶
type NetworkInterfaceOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceOutput) ElementType ¶
func (NetworkInterfaceOutput) ElementType() reflect.Type
func (NetworkInterfaceOutput) ToNetworkInterfaceOutput ¶
func (o NetworkInterfaceOutput) ToNetworkInterfaceOutput() NetworkInterfaceOutput
func (NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext ¶
func (o NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext(ctx context.Context) NetworkInterfaceOutput
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` and the `ec2.NetworkInterface` 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.
## Example Usage
The following provides a very basic example of setting up an instance (provided by `instance`) in the default security group, creating a security group (provided by `sg`) and then attaching the security group to the instance's primary network interface via the `ec2.NetworkInterfaceSecurityGroupAttachment` resource, named `sgAttachment`:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ami, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
MostRecent: pulumi.BoolRef(true),
Filters: []ec2.GetAmiFilter{
ec2.GetAmiFilter{
Name: "name",
Values: []string{
"amzn-ami-hvm-*",
},
},
},
Owners: []string{
"amazon",
},
}, nil)
if err != nil {
return err
}
instance, err := ec2.NewInstance(ctx, "instance", &ec2.InstanceArgs{
InstanceType: pulumi.String("t2.micro"),
Ami: pulumi.String(ami.Id),
Tags: pulumi.StringMap{
"type": pulumi.String("test-instance"),
},
})
if err != nil {
return err
}
sg, err := ec2.NewSecurityGroup(ctx, "sg", &ec2.SecurityGroupArgs{
Tags: pulumi.StringMap{
"type": pulumi.String("test-security-group"),
},
})
if err != nil {
return err
}
_, err = ec2.NewNetworkInterfaceSecurityGroupAttachment(ctx, "sgAttachment", &ec2.NetworkInterfaceSecurityGroupAttachmentArgs{
SecurityGroupId: sg.ID(),
NetworkInterfaceId: instance.PrimaryNetworkInterfaceId,
})
if err != nil {
return err
}
return nil
})
}
```
In this example, `instance` is provided by the `ec2.Instance` data source, fetching an external instance, possibly not managed by this provider. `sgAttachment` then attaches to the output instance's `networkInterfaceId`:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
instance, err := ec2.LookupInstance(ctx, &ec2.LookupInstanceArgs{
InstanceId: pulumi.StringRef("i-1234567890abcdef0"),
}, nil)
if err != nil {
return err
}
sg, err := ec2.NewSecurityGroup(ctx, "sg", &ec2.SecurityGroupArgs{
Tags: pulumi.StringMap{
"type": pulumi.String("test-security-group"),
},
})
if err != nil {
return err
}
_, err = ec2.NewNetworkInterfaceSecurityGroupAttachment(ctx, "sgAttachment", &ec2.NetworkInterfaceSecurityGroupAttachmentArgs{
SecurityGroupId: sg.ID(),
NetworkInterfaceId: pulumi.String(instance.NetworkInterfaceId),
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*NetworkInterfaceSecurityGroupAttachment) ElementType ¶
func (*NetworkInterfaceSecurityGroupAttachment) ElementType() reflect.Type
func (*NetworkInterfaceSecurityGroupAttachment) ToNetworkInterfaceSecurityGroupAttachmentOutput ¶
func (i *NetworkInterfaceSecurityGroupAttachment) ToNetworkInterfaceSecurityGroupAttachmentOutput() NetworkInterfaceSecurityGroupAttachmentOutput
func (*NetworkInterfaceSecurityGroupAttachment) ToNetworkInterfaceSecurityGroupAttachmentOutputWithContext ¶
func (i *NetworkInterfaceSecurityGroupAttachment) ToNetworkInterfaceSecurityGroupAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentOutput
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 ¶
func (NetworkInterfaceSecurityGroupAttachmentArgs) ElementType() reflect.Type
type NetworkInterfaceSecurityGroupAttachmentArray ¶
type NetworkInterfaceSecurityGroupAttachmentArray []NetworkInterfaceSecurityGroupAttachmentInput
func (NetworkInterfaceSecurityGroupAttachmentArray) ElementType ¶
func (NetworkInterfaceSecurityGroupAttachmentArray) ElementType() reflect.Type
func (NetworkInterfaceSecurityGroupAttachmentArray) ToNetworkInterfaceSecurityGroupAttachmentArrayOutput ¶
func (i NetworkInterfaceSecurityGroupAttachmentArray) ToNetworkInterfaceSecurityGroupAttachmentArrayOutput() NetworkInterfaceSecurityGroupAttachmentArrayOutput
func (NetworkInterfaceSecurityGroupAttachmentArray) ToNetworkInterfaceSecurityGroupAttachmentArrayOutputWithContext ¶
func (i NetworkInterfaceSecurityGroupAttachmentArray) ToNetworkInterfaceSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentArrayOutput
type NetworkInterfaceSecurityGroupAttachmentArrayInput ¶
type NetworkInterfaceSecurityGroupAttachmentArrayInput interface {
pulumi.Input
ToNetworkInterfaceSecurityGroupAttachmentArrayOutput() NetworkInterfaceSecurityGroupAttachmentArrayOutput
ToNetworkInterfaceSecurityGroupAttachmentArrayOutputWithContext(context.Context) NetworkInterfaceSecurityGroupAttachmentArrayOutput
}
NetworkInterfaceSecurityGroupAttachmentArrayInput is an input type that accepts NetworkInterfaceSecurityGroupAttachmentArray and NetworkInterfaceSecurityGroupAttachmentArrayOutput values. You can construct a concrete instance of `NetworkInterfaceSecurityGroupAttachmentArrayInput` via:
NetworkInterfaceSecurityGroupAttachmentArray{ NetworkInterfaceSecurityGroupAttachmentArgs{...} }
type NetworkInterfaceSecurityGroupAttachmentArrayOutput ¶
type NetworkInterfaceSecurityGroupAttachmentArrayOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceSecurityGroupAttachmentArrayOutput) ElementType ¶
func (NetworkInterfaceSecurityGroupAttachmentArrayOutput) ElementType() reflect.Type
func (NetworkInterfaceSecurityGroupAttachmentArrayOutput) ToNetworkInterfaceSecurityGroupAttachmentArrayOutput ¶
func (o NetworkInterfaceSecurityGroupAttachmentArrayOutput) ToNetworkInterfaceSecurityGroupAttachmentArrayOutput() NetworkInterfaceSecurityGroupAttachmentArrayOutput
func (NetworkInterfaceSecurityGroupAttachmentArrayOutput) ToNetworkInterfaceSecurityGroupAttachmentArrayOutputWithContext ¶
func (o NetworkInterfaceSecurityGroupAttachmentArrayOutput) ToNetworkInterfaceSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentArrayOutput
type NetworkInterfaceSecurityGroupAttachmentInput ¶
type NetworkInterfaceSecurityGroupAttachmentInput interface {
pulumi.Input
ToNetworkInterfaceSecurityGroupAttachmentOutput() NetworkInterfaceSecurityGroupAttachmentOutput
ToNetworkInterfaceSecurityGroupAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentOutput
}
type NetworkInterfaceSecurityGroupAttachmentMap ¶
type NetworkInterfaceSecurityGroupAttachmentMap map[string]NetworkInterfaceSecurityGroupAttachmentInput
func (NetworkInterfaceSecurityGroupAttachmentMap) ElementType ¶
func (NetworkInterfaceSecurityGroupAttachmentMap) ElementType() reflect.Type
func (NetworkInterfaceSecurityGroupAttachmentMap) ToNetworkInterfaceSecurityGroupAttachmentMapOutput ¶
func (i NetworkInterfaceSecurityGroupAttachmentMap) ToNetworkInterfaceSecurityGroupAttachmentMapOutput() NetworkInterfaceSecurityGroupAttachmentMapOutput
func (NetworkInterfaceSecurityGroupAttachmentMap) ToNetworkInterfaceSecurityGroupAttachmentMapOutputWithContext ¶
func (i NetworkInterfaceSecurityGroupAttachmentMap) ToNetworkInterfaceSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentMapOutput
type NetworkInterfaceSecurityGroupAttachmentMapInput ¶
type NetworkInterfaceSecurityGroupAttachmentMapInput interface {
pulumi.Input
ToNetworkInterfaceSecurityGroupAttachmentMapOutput() NetworkInterfaceSecurityGroupAttachmentMapOutput
ToNetworkInterfaceSecurityGroupAttachmentMapOutputWithContext(context.Context) NetworkInterfaceSecurityGroupAttachmentMapOutput
}
NetworkInterfaceSecurityGroupAttachmentMapInput is an input type that accepts NetworkInterfaceSecurityGroupAttachmentMap and NetworkInterfaceSecurityGroupAttachmentMapOutput values. You can construct a concrete instance of `NetworkInterfaceSecurityGroupAttachmentMapInput` via:
NetworkInterfaceSecurityGroupAttachmentMap{ "key": NetworkInterfaceSecurityGroupAttachmentArgs{...} }
type NetworkInterfaceSecurityGroupAttachmentMapOutput ¶
type NetworkInterfaceSecurityGroupAttachmentMapOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceSecurityGroupAttachmentMapOutput) ElementType ¶
func (NetworkInterfaceSecurityGroupAttachmentMapOutput) ElementType() reflect.Type
func (NetworkInterfaceSecurityGroupAttachmentMapOutput) ToNetworkInterfaceSecurityGroupAttachmentMapOutput ¶
func (o NetworkInterfaceSecurityGroupAttachmentMapOutput) ToNetworkInterfaceSecurityGroupAttachmentMapOutput() NetworkInterfaceSecurityGroupAttachmentMapOutput
func (NetworkInterfaceSecurityGroupAttachmentMapOutput) ToNetworkInterfaceSecurityGroupAttachmentMapOutputWithContext ¶
func (o NetworkInterfaceSecurityGroupAttachmentMapOutput) ToNetworkInterfaceSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentMapOutput
type NetworkInterfaceSecurityGroupAttachmentOutput ¶
type NetworkInterfaceSecurityGroupAttachmentOutput struct{ *pulumi.OutputState }
func (NetworkInterfaceSecurityGroupAttachmentOutput) ElementType ¶
func (NetworkInterfaceSecurityGroupAttachmentOutput) ElementType() reflect.Type
func (NetworkInterfaceSecurityGroupAttachmentOutput) ToNetworkInterfaceSecurityGroupAttachmentOutput ¶
func (o NetworkInterfaceSecurityGroupAttachmentOutput) ToNetworkInterfaceSecurityGroupAttachmentOutput() NetworkInterfaceSecurityGroupAttachmentOutput
func (NetworkInterfaceSecurityGroupAttachmentOutput) ToNetworkInterfaceSecurityGroupAttachmentOutputWithContext ¶
func (o NetworkInterfaceSecurityGroupAttachmentOutput) ToNetworkInterfaceSecurityGroupAttachmentOutputWithContext(ctx context.Context) NetworkInterfaceSecurityGroupAttachmentOutput
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 ¶
func (NetworkInterfaceSecurityGroupAttachmentState) ElementType() reflect.Type
type NetworkInterfaceState ¶
type NetworkInterfaceState struct {
// ARN of the network interface.
Arn pulumi.StringPtrInput
// Configuration block to define the attachment of the ENI. See Attachment below for more details!
Attachments NetworkInterfaceAttachmentTypeArrayInput
// Description for the network interface.
Description pulumi.StringPtrInput
// Type of network interface to create. Set to `efa` for Elastic Fabric Adapter. Changing `interfaceType` will cause the resource to be destroyed and re-created.
InterfaceType pulumi.StringPtrInput
// Number of IPv4 prefixes that AWS automatically assigns to the network interface.
Ipv4PrefixCount pulumi.IntPtrInput
// One or more IPv4 prefixes assigned to the network interface.
Ipv4Prefixes pulumi.StringArrayInput
// Number of IPv6 addresses to assign to a network interface. You can't use this option if specifying specific `ipv6Addresses`. If your subnet has the AssignIpv6AddressOnCreation attribute set to `true`, you can specify `0` to override this setting.
Ipv6AddressCount pulumi.IntPtrInput
Ipv6AddressListEnabled pulumi.BoolPtrInput
// List of private IPs to assign to the ENI in sequential order.
Ipv6AddressLists pulumi.StringArrayInput
// One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Addresses are assigned without regard to order. You can't use this option if you're specifying `ipv6AddressCount`.
Ipv6Addresses pulumi.StringArrayInput
// Number of IPv6 prefixes that AWS automatically assigns to the network interface.
Ipv6PrefixCount pulumi.IntPtrInput
// One or more IPv6 prefixes assigned to the network interface.
Ipv6Prefixes pulumi.StringArrayInput
// MAC address of the network interface.
MacAddress pulumi.StringPtrInput
OutpostArn pulumi.StringPtrInput
// AWS account ID of the owner of the network interface.
OwnerId pulumi.StringPtrInput
// Private DNS name of the network interface (IPv4).
PrivateDnsName pulumi.StringPtrInput
PrivateIp pulumi.StringPtrInput
PrivateIpListEnabled pulumi.BoolPtrInput
// List of private IPs to assign to the ENI in sequential order. Requires setting `privateIpListEnable` to `true`.
PrivateIpLists pulumi.StringArrayInput
// List of private IPs to assign to the ENI without regard to order.
PrivateIps pulumi.StringArrayInput
// Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + `privateIpsCount`, 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
// Map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
TagsAll pulumi.StringMapInput
}
func (NetworkInterfaceState) ElementType ¶
func (NetworkInterfaceState) ElementType() reflect.Type
type PeeringConnectionOptions ¶
type PeeringConnectionOptions struct {
pulumi.CustomResourceState
// An optional configuration block that allows for [VPC Peering Connection]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooVpc, err := ec2.NewVpc(ctx, "fooVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
bar, err := ec2.NewVpc(ctx, "bar", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
fooVpcPeeringConnection, err := ec2.NewVpcPeeringConnection(ctx, "fooVpcPeeringConnection", &ec2.VpcPeeringConnectionArgs{
VpcId: fooVpc.ID(),
PeerVpcId: bar.ID(),
AutoAccept: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = ec2.NewPeeringConnectionOptions(ctx, "fooPeeringConnectionOptions", &ec2.PeeringConnectionOptionsArgs{
VpcPeeringConnectionId: fooVpcPeeringConnection.ID(),
Accepter: &ec2.PeeringConnectionOptionsAccepterArgs{
AllowRemoteVpcDnsResolution: pulumi.Bool(true),
},
Requester: &ec2.PeeringConnectionOptionsRequesterArgs{
AllowVpcToRemoteClassicLink: pulumi.Bool(true),
AllowClassicLinkToRemoteVpc: pulumi.Bool(true),
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Cross-Account Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/providers" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := providers.Newaws(ctx, "requester", nil)
if err != nil {
return err
}
_, err = providers.Newaws(ctx, "accepter", nil)
if err != nil {
return err
}
main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
EnableDnsSupport: pulumi.Bool(true),
EnableDnsHostnames: pulumi.Bool(true),
}, pulumi.Provider(aws.Requester))
if err != nil {
return err
}
peerVpc, err := ec2.NewVpc(ctx, "peerVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
EnableDnsSupport: pulumi.Bool(true),
EnableDnsHostnames: pulumi.Bool(true),
}, pulumi.Provider(aws.Accepter))
if err != nil {
return err
}
peerCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
if err != nil {
return err
}
peerVpcPeeringConnection, err := ec2.NewVpcPeeringConnection(ctx, "peerVpcPeeringConnection", &ec2.VpcPeeringConnectionArgs{
VpcId: main.ID(),
PeerVpcId: peerVpc.ID(),
PeerOwnerId: pulumi.String(peerCallerIdentity.AccountId),
AutoAccept: pulumi.Bool(false),
Tags: pulumi.StringMap{
"Side": pulumi.String("Requester"),
},
}, pulumi.Provider(aws.Requester))
if err != nil {
return err
}
peerVpcPeeringConnectionAccepter, err := ec2.NewVpcPeeringConnectionAccepter(ctx, "peerVpcPeeringConnectionAccepter", &ec2.VpcPeeringConnectionAccepterArgs{
VpcPeeringConnectionId: peerVpcPeeringConnection.ID(),
AutoAccept: pulumi.Bool(true),
Tags: pulumi.StringMap{
"Side": pulumi.String("Accepter"),
},
}, pulumi.Provider(aws.Accepter))
if err != nil {
return err
}
_, err = ec2.NewPeeringConnectionOptions(ctx, "requesterPeeringConnectionOptions", &ec2.PeeringConnectionOptionsArgs{
VpcPeeringConnectionId: peerVpcPeeringConnectionAccepter.ID(),
Requester: &ec2.PeeringConnectionOptionsRequesterArgs{
AllowRemoteVpcDnsResolution: pulumi.Bool(true),
},
}, pulumi.Provider(aws.Requester))
if err != nil {
return err
}
_, err = ec2.NewPeeringConnectionOptions(ctx, "accepterPeeringConnectionOptions", &ec2.PeeringConnectionOptionsArgs{
VpcPeeringConnectionId: peerVpcPeeringConnectionAccepter.ID(),
Accepter: &ec2.PeeringConnectionOptionsAccepterArgs{
AllowRemoteVpcDnsResolution: pulumi.Bool(true),
},
}, pulumi.Provider(aws.Accepter))
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Peering Connection Options can be imported using the `vpc peering id`, e.g.,
```sh
$ pulumi import aws:ec2/peeringConnectionOptions:PeeringConnectionOptions foo pcx-111aaa111
```
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.
func (*PeeringConnectionOptions) ElementType ¶
func (*PeeringConnectionOptions) ElementType() reflect.Type
func (*PeeringConnectionOptions) ToPeeringConnectionOptionsOutput ¶
func (i *PeeringConnectionOptions) ToPeeringConnectionOptionsOutput() PeeringConnectionOptionsOutput
func (*PeeringConnectionOptions) ToPeeringConnectionOptionsOutputWithContext ¶
func (i *PeeringConnectionOptions) ToPeeringConnectionOptionsOutputWithContext(ctx context.Context) PeeringConnectionOptionsOutput
type PeeringConnectionOptionsAccepter ¶
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 ¶
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 ¶
func (PeeringConnectionOptionsAccepterArgs) ElementType() reflect.Type
func (PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutput ¶
func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutput() PeeringConnectionOptionsAccepterOutput
func (PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutputWithContext ¶
func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterOutput
func (PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutput ¶
func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput
func (PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutputWithContext ¶
func (i PeeringConnectionOptionsAccepterArgs) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput
type PeeringConnectionOptionsAccepterInput ¶
type PeeringConnectionOptionsAccepterInput interface {
pulumi.Input
ToPeeringConnectionOptionsAccepterOutput() PeeringConnectionOptionsAccepterOutput
ToPeeringConnectionOptionsAccepterOutputWithContext(context.Context) PeeringConnectionOptionsAccepterOutput
}
PeeringConnectionOptionsAccepterInput is an input type that accepts PeeringConnectionOptionsAccepterArgs and PeeringConnectionOptionsAccepterOutput values. You can construct a concrete instance of `PeeringConnectionOptionsAccepterInput` via:
PeeringConnectionOptionsAccepterArgs{...}
type PeeringConnectionOptionsAccepterOutput ¶
type PeeringConnectionOptionsAccepterOutput struct{ *pulumi.OutputState }
func (PeeringConnectionOptionsAccepterOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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 (PeeringConnectionOptionsAccepterOutput) AllowVpcToRemoteClassicLink ¶
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 ¶
func (PeeringConnectionOptionsAccepterOutput) ElementType() reflect.Type
func (PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutput ¶
func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutput() PeeringConnectionOptionsAccepterOutput
func (PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutputWithContext ¶
func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterOutput
func (PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutput ¶
func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput
func (PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext ¶
func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput
type PeeringConnectionOptionsAccepterPtrInput ¶
type PeeringConnectionOptionsAccepterPtrInput interface {
pulumi.Input
ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput
ToPeeringConnectionOptionsAccepterPtrOutputWithContext(context.Context) PeeringConnectionOptionsAccepterPtrOutput
}
PeeringConnectionOptionsAccepterPtrInput is an input type that accepts PeeringConnectionOptionsAccepterArgs, PeeringConnectionOptionsAccepterPtr and PeeringConnectionOptionsAccepterPtrOutput values. You can construct a concrete instance of `PeeringConnectionOptionsAccepterPtrInput` via:
PeeringConnectionOptionsAccepterArgs{...}
or:
nil
func PeeringConnectionOptionsAccepterPtr ¶
func PeeringConnectionOptionsAccepterPtr(v *PeeringConnectionOptionsAccepterArgs) PeeringConnectionOptionsAccepterPtrInput
type PeeringConnectionOptionsAccepterPtrOutput ¶
type PeeringConnectionOptionsAccepterPtrOutput struct{ *pulumi.OutputState }
func (PeeringConnectionOptionsAccepterPtrOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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 (PeeringConnectionOptionsAccepterPtrOutput) AllowVpcToRemoteClassicLink ¶
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) ElementType ¶
func (PeeringConnectionOptionsAccepterPtrOutput) ElementType() reflect.Type
func (PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutput ¶
func (o PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutput() PeeringConnectionOptionsAccepterPtrOutput
func (PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext ¶
func (o PeeringConnectionOptionsAccepterPtrOutput) ToPeeringConnectionOptionsAccepterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsAccepterPtrOutput
type PeeringConnectionOptionsArgs ¶
type PeeringConnectionOptionsArgs struct {
// An optional configuration block that allows for [VPC Peering Connection]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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 ¶
func (PeeringConnectionOptionsArgs) ElementType() reflect.Type
type PeeringConnectionOptionsArray ¶
type PeeringConnectionOptionsArray []PeeringConnectionOptionsInput
func (PeeringConnectionOptionsArray) ElementType ¶
func (PeeringConnectionOptionsArray) ElementType() reflect.Type
func (PeeringConnectionOptionsArray) ToPeeringConnectionOptionsArrayOutput ¶
func (i PeeringConnectionOptionsArray) ToPeeringConnectionOptionsArrayOutput() PeeringConnectionOptionsArrayOutput
func (PeeringConnectionOptionsArray) ToPeeringConnectionOptionsArrayOutputWithContext ¶
func (i PeeringConnectionOptionsArray) ToPeeringConnectionOptionsArrayOutputWithContext(ctx context.Context) PeeringConnectionOptionsArrayOutput
type PeeringConnectionOptionsArrayInput ¶
type PeeringConnectionOptionsArrayInput interface {
pulumi.Input
ToPeeringConnectionOptionsArrayOutput() PeeringConnectionOptionsArrayOutput
ToPeeringConnectionOptionsArrayOutputWithContext(context.Context) PeeringConnectionOptionsArrayOutput
}
PeeringConnectionOptionsArrayInput is an input type that accepts PeeringConnectionOptionsArray and PeeringConnectionOptionsArrayOutput values. You can construct a concrete instance of `PeeringConnectionOptionsArrayInput` via:
PeeringConnectionOptionsArray{ PeeringConnectionOptionsArgs{...} }
type PeeringConnectionOptionsArrayOutput ¶
type PeeringConnectionOptionsArrayOutput struct{ *pulumi.OutputState }
func (PeeringConnectionOptionsArrayOutput) ElementType ¶
func (PeeringConnectionOptionsArrayOutput) ElementType() reflect.Type
func (PeeringConnectionOptionsArrayOutput) Index ¶
func (o PeeringConnectionOptionsArrayOutput) Index(i pulumi.IntInput) PeeringConnectionOptionsOutput
func (PeeringConnectionOptionsArrayOutput) ToPeeringConnectionOptionsArrayOutput ¶
func (o PeeringConnectionOptionsArrayOutput) ToPeeringConnectionOptionsArrayOutput() PeeringConnectionOptionsArrayOutput
func (PeeringConnectionOptionsArrayOutput) ToPeeringConnectionOptionsArrayOutputWithContext ¶
func (o PeeringConnectionOptionsArrayOutput) ToPeeringConnectionOptionsArrayOutputWithContext(ctx context.Context) PeeringConnectionOptionsArrayOutput
type PeeringConnectionOptionsInput ¶
type PeeringConnectionOptionsInput interface {
pulumi.Input
ToPeeringConnectionOptionsOutput() PeeringConnectionOptionsOutput
ToPeeringConnectionOptionsOutputWithContext(ctx context.Context) PeeringConnectionOptionsOutput
}
type PeeringConnectionOptionsMap ¶
type PeeringConnectionOptionsMap map[string]PeeringConnectionOptionsInput
func (PeeringConnectionOptionsMap) ElementType ¶
func (PeeringConnectionOptionsMap) ElementType() reflect.Type
func (PeeringConnectionOptionsMap) ToPeeringConnectionOptionsMapOutput ¶
func (i PeeringConnectionOptionsMap) ToPeeringConnectionOptionsMapOutput() PeeringConnectionOptionsMapOutput
func (PeeringConnectionOptionsMap) ToPeeringConnectionOptionsMapOutputWithContext ¶
func (i PeeringConnectionOptionsMap) ToPeeringConnectionOptionsMapOutputWithContext(ctx context.Context) PeeringConnectionOptionsMapOutput
type PeeringConnectionOptionsMapInput ¶
type PeeringConnectionOptionsMapInput interface {
pulumi.Input
ToPeeringConnectionOptionsMapOutput() PeeringConnectionOptionsMapOutput
ToPeeringConnectionOptionsMapOutputWithContext(context.Context) PeeringConnectionOptionsMapOutput
}
PeeringConnectionOptionsMapInput is an input type that accepts PeeringConnectionOptionsMap and PeeringConnectionOptionsMapOutput values. You can construct a concrete instance of `PeeringConnectionOptionsMapInput` via:
PeeringConnectionOptionsMap{ "key": PeeringConnectionOptionsArgs{...} }
type PeeringConnectionOptionsMapOutput ¶
type PeeringConnectionOptionsMapOutput struct{ *pulumi.OutputState }
func (PeeringConnectionOptionsMapOutput) ElementType ¶
func (PeeringConnectionOptionsMapOutput) ElementType() reflect.Type
func (PeeringConnectionOptionsMapOutput) MapIndex ¶
func (o PeeringConnectionOptionsMapOutput) MapIndex(k pulumi.StringInput) PeeringConnectionOptionsOutput
func (PeeringConnectionOptionsMapOutput) ToPeeringConnectionOptionsMapOutput ¶
func (o PeeringConnectionOptionsMapOutput) ToPeeringConnectionOptionsMapOutput() PeeringConnectionOptionsMapOutput
func (PeeringConnectionOptionsMapOutput) ToPeeringConnectionOptionsMapOutputWithContext ¶
func (o PeeringConnectionOptionsMapOutput) ToPeeringConnectionOptionsMapOutputWithContext(ctx context.Context) PeeringConnectionOptionsMapOutput
type PeeringConnectionOptionsOutput ¶
type PeeringConnectionOptionsOutput struct{ *pulumi.OutputState }
func (PeeringConnectionOptionsOutput) ElementType ¶
func (PeeringConnectionOptionsOutput) ElementType() reflect.Type
func (PeeringConnectionOptionsOutput) ToPeeringConnectionOptionsOutput ¶
func (o PeeringConnectionOptionsOutput) ToPeeringConnectionOptionsOutput() PeeringConnectionOptionsOutput
func (PeeringConnectionOptionsOutput) ToPeeringConnectionOptionsOutputWithContext ¶
func (o PeeringConnectionOptionsOutput) ToPeeringConnectionOptionsOutputWithContext(ctx context.Context) PeeringConnectionOptionsOutput
type PeeringConnectionOptionsRequester ¶
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 ¶
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 ¶
func (PeeringConnectionOptionsRequesterArgs) ElementType() reflect.Type
func (PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutput ¶
func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutput() PeeringConnectionOptionsRequesterOutput
func (PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutputWithContext ¶
func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterOutput
func (PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutput ¶
func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput
func (PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutputWithContext ¶
func (i PeeringConnectionOptionsRequesterArgs) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput
type PeeringConnectionOptionsRequesterInput ¶
type PeeringConnectionOptionsRequesterInput interface {
pulumi.Input
ToPeeringConnectionOptionsRequesterOutput() PeeringConnectionOptionsRequesterOutput
ToPeeringConnectionOptionsRequesterOutputWithContext(context.Context) PeeringConnectionOptionsRequesterOutput
}
PeeringConnectionOptionsRequesterInput is an input type that accepts PeeringConnectionOptionsRequesterArgs and PeeringConnectionOptionsRequesterOutput values. You can construct a concrete instance of `PeeringConnectionOptionsRequesterInput` via:
PeeringConnectionOptionsRequesterArgs{...}
type PeeringConnectionOptionsRequesterOutput ¶
type PeeringConnectionOptionsRequesterOutput struct{ *pulumi.OutputState }
func (PeeringConnectionOptionsRequesterOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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 (PeeringConnectionOptionsRequesterOutput) AllowVpcToRemoteClassicLink ¶
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 ¶
func (PeeringConnectionOptionsRequesterOutput) ElementType() reflect.Type
func (PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutput ¶
func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutput() PeeringConnectionOptionsRequesterOutput
func (PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutputWithContext ¶
func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterOutput
func (PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutput ¶
func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput
func (PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext ¶
func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput
type PeeringConnectionOptionsRequesterPtrInput ¶
type PeeringConnectionOptionsRequesterPtrInput interface {
pulumi.Input
ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput
ToPeeringConnectionOptionsRequesterPtrOutputWithContext(context.Context) PeeringConnectionOptionsRequesterPtrOutput
}
PeeringConnectionOptionsRequesterPtrInput is an input type that accepts PeeringConnectionOptionsRequesterArgs, PeeringConnectionOptionsRequesterPtr and PeeringConnectionOptionsRequesterPtrOutput values. You can construct a concrete instance of `PeeringConnectionOptionsRequesterPtrInput` via:
PeeringConnectionOptionsRequesterArgs{...}
or:
nil
func PeeringConnectionOptionsRequesterPtr ¶
func PeeringConnectionOptionsRequesterPtr(v *PeeringConnectionOptionsRequesterArgs) PeeringConnectionOptionsRequesterPtrInput
type PeeringConnectionOptionsRequesterPtrOutput ¶
type PeeringConnectionOptionsRequesterPtrOutput struct{ *pulumi.OutputState }
func (PeeringConnectionOptionsRequesterPtrOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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 (PeeringConnectionOptionsRequesterPtrOutput) AllowVpcToRemoteClassicLink ¶
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) ElementType ¶
func (PeeringConnectionOptionsRequesterPtrOutput) ElementType() reflect.Type
func (PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutput ¶
func (o PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutput() PeeringConnectionOptionsRequesterPtrOutput
func (PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext ¶
func (o PeeringConnectionOptionsRequesterPtrOutput) ToPeeringConnectionOptionsRequesterPtrOutputWithContext(ctx context.Context) PeeringConnectionOptionsRequesterPtrOutput
type PeeringConnectionOptionsState ¶
type PeeringConnectionOptionsState struct {
// An optional configuration block that allows for [VPC Peering Connection]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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 ¶
func (PeeringConnectionOptionsState) ElementType() reflect.Type
type PlacementGroup ¶
type PlacementGroup struct {
pulumi.CustomResourceState
// Amazon Resource Name (ARN) of the placement group.
Arn pulumi.StringOutput `pulumi:"arn"`
// The name of the placement group.
Name pulumi.StringOutput `pulumi:"name"`
// The number of partitions to create in the
// placement group. Can only be specified when the `strategy` is set to
// `"partition"`. Valid values are 1 - 7 (default is `2`).
PartitionCount pulumi.IntOutput `pulumi:"partitionCount"`
// The ID of the placement group.
PlacementGroupId pulumi.StringOutput `pulumi:"placementGroupId"`
// The placement strategy. Can be `"cluster"`, `"partition"` or `"spread"`.
Strategy pulumi.StringOutput `pulumi:"strategy"`
// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides an EC2 placement group. Read more about placement groups in [AWS Docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewPlacementGroup(ctx, "web", &ec2.PlacementGroupArgs{
Strategy: pulumi.String("cluster"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Placement groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:ec2/placementGroup:PlacementGroup prod_pg production-placement-group
```
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.
func (*PlacementGroup) ElementType ¶
func (*PlacementGroup) ElementType() reflect.Type
func (*PlacementGroup) ToPlacementGroupOutput ¶
func (i *PlacementGroup) ToPlacementGroupOutput() PlacementGroupOutput
func (*PlacementGroup) ToPlacementGroupOutputWithContext ¶
func (i *PlacementGroup) ToPlacementGroupOutputWithContext(ctx context.Context) PlacementGroupOutput
type PlacementGroupArgs ¶
type PlacementGroupArgs struct {
// The name of the placement group.
Name pulumi.StringPtrInput
// The number of partitions to create in the
// placement group. Can only be specified when the `strategy` is set to
// `"partition"`. Valid values are 1 - 7 (default is `2`).
PartitionCount pulumi.IntPtrInput
// The placement strategy. Can be `"cluster"`, `"partition"` or `"spread"`.
Strategy pulumi.StringInput
// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a PlacementGroup resource.
func (PlacementGroupArgs) ElementType ¶
func (PlacementGroupArgs) ElementType() reflect.Type
type PlacementGroupArray ¶
type PlacementGroupArray []PlacementGroupInput
func (PlacementGroupArray) ElementType ¶
func (PlacementGroupArray) ElementType() reflect.Type
func (PlacementGroupArray) ToPlacementGroupArrayOutput ¶
func (i PlacementGroupArray) ToPlacementGroupArrayOutput() PlacementGroupArrayOutput
func (PlacementGroupArray) ToPlacementGroupArrayOutputWithContext ¶
func (i PlacementGroupArray) ToPlacementGroupArrayOutputWithContext(ctx context.Context) PlacementGroupArrayOutput
type PlacementGroupArrayInput ¶
type PlacementGroupArrayInput interface {
pulumi.Input
ToPlacementGroupArrayOutput() PlacementGroupArrayOutput
ToPlacementGroupArrayOutputWithContext(context.Context) PlacementGroupArrayOutput
}
PlacementGroupArrayInput is an input type that accepts PlacementGroupArray and PlacementGroupArrayOutput values. You can construct a concrete instance of `PlacementGroupArrayInput` via:
PlacementGroupArray{ PlacementGroupArgs{...} }
type PlacementGroupArrayOutput ¶
type PlacementGroupArrayOutput struct{ *pulumi.OutputState }
func (PlacementGroupArrayOutput) ElementType ¶
func (PlacementGroupArrayOutput) ElementType() reflect.Type
func (PlacementGroupArrayOutput) Index ¶
func (o PlacementGroupArrayOutput) Index(i pulumi.IntInput) PlacementGroupOutput
func (PlacementGroupArrayOutput) ToPlacementGroupArrayOutput ¶
func (o PlacementGroupArrayOutput) ToPlacementGroupArrayOutput() PlacementGroupArrayOutput
func (PlacementGroupArrayOutput) ToPlacementGroupArrayOutputWithContext ¶
func (o PlacementGroupArrayOutput) ToPlacementGroupArrayOutputWithContext(ctx context.Context) PlacementGroupArrayOutput
type PlacementGroupInput ¶
type PlacementGroupInput interface {
pulumi.Input
ToPlacementGroupOutput() PlacementGroupOutput
ToPlacementGroupOutputWithContext(ctx context.Context) PlacementGroupOutput
}
type PlacementGroupMap ¶
type PlacementGroupMap map[string]PlacementGroupInput
func (PlacementGroupMap) ElementType ¶
func (PlacementGroupMap) ElementType() reflect.Type
func (PlacementGroupMap) ToPlacementGroupMapOutput ¶
func (i PlacementGroupMap) ToPlacementGroupMapOutput() PlacementGroupMapOutput
func (PlacementGroupMap) ToPlacementGroupMapOutputWithContext ¶
func (i PlacementGroupMap) ToPlacementGroupMapOutputWithContext(ctx context.Context) PlacementGroupMapOutput
type PlacementGroupMapInput ¶
type PlacementGroupMapInput interface {
pulumi.Input
ToPlacementGroupMapOutput() PlacementGroupMapOutput
ToPlacementGroupMapOutputWithContext(context.Context) PlacementGroupMapOutput
}
PlacementGroupMapInput is an input type that accepts PlacementGroupMap and PlacementGroupMapOutput values. You can construct a concrete instance of `PlacementGroupMapInput` via:
PlacementGroupMap{ "key": PlacementGroupArgs{...} }
type PlacementGroupMapOutput ¶
type PlacementGroupMapOutput struct{ *pulumi.OutputState }
func (PlacementGroupMapOutput) ElementType ¶
func (PlacementGroupMapOutput) ElementType() reflect.Type
func (PlacementGroupMapOutput) MapIndex ¶
func (o PlacementGroupMapOutput) MapIndex(k pulumi.StringInput) PlacementGroupOutput
func (PlacementGroupMapOutput) ToPlacementGroupMapOutput ¶
func (o PlacementGroupMapOutput) ToPlacementGroupMapOutput() PlacementGroupMapOutput
func (PlacementGroupMapOutput) ToPlacementGroupMapOutputWithContext ¶
func (o PlacementGroupMapOutput) ToPlacementGroupMapOutputWithContext(ctx context.Context) PlacementGroupMapOutput
type PlacementGroupOutput ¶
type PlacementGroupOutput struct{ *pulumi.OutputState }
func (PlacementGroupOutput) ElementType ¶
func (PlacementGroupOutput) ElementType() reflect.Type
func (PlacementGroupOutput) ToPlacementGroupOutput ¶
func (o PlacementGroupOutput) ToPlacementGroupOutput() PlacementGroupOutput
func (PlacementGroupOutput) ToPlacementGroupOutputWithContext ¶
func (o PlacementGroupOutput) ToPlacementGroupOutputWithContext(ctx context.Context) PlacementGroupOutput
type PlacementGroupState ¶
type PlacementGroupState struct {
// Amazon Resource Name (ARN) of the placement group.
Arn pulumi.StringPtrInput
// The name of the placement group.
Name pulumi.StringPtrInput
// The number of partitions to create in the
// placement group. Can only be specified when the `strategy` is set to
// `"partition"`. Valid values are 1 - 7 (default is `2`).
PartitionCount pulumi.IntPtrInput
// The ID of the placement group.
PlacementGroupId pulumi.StringPtrInput
// The placement strategy. Can be `"cluster"`, `"partition"` or `"spread"`.
Strategy pulumi.StringPtrInput
// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
}
func (PlacementGroupState) ElementType ¶
func (PlacementGroupState) ElementType() reflect.Type
type PlacementStrategy ¶
type PlacementStrategy string
The strategy of the placement group determines how the instances are organized within the group. See https://docs.aws.amazon.com/cli/latest/reference/ec2/create-placement-group.html
func (PlacementStrategy) ElementType ¶
func (PlacementStrategy) ElementType() reflect.Type
func (PlacementStrategy) ToPlacementStrategyOutput ¶
func (e PlacementStrategy) ToPlacementStrategyOutput() PlacementStrategyOutput
func (PlacementStrategy) ToPlacementStrategyOutputWithContext ¶
func (e PlacementStrategy) ToPlacementStrategyOutputWithContext(ctx context.Context) PlacementStrategyOutput
func (PlacementStrategy) ToPlacementStrategyPtrOutput ¶
func (e PlacementStrategy) ToPlacementStrategyPtrOutput() PlacementStrategyPtrOutput
func (PlacementStrategy) ToPlacementStrategyPtrOutputWithContext ¶
func (e PlacementStrategy) ToPlacementStrategyPtrOutputWithContext(ctx context.Context) PlacementStrategyPtrOutput
func (PlacementStrategy) ToStringOutput ¶
func (e PlacementStrategy) ToStringOutput() pulumi.StringOutput
func (PlacementStrategy) ToStringOutputWithContext ¶
func (e PlacementStrategy) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (PlacementStrategy) ToStringPtrOutput ¶
func (e PlacementStrategy) ToStringPtrOutput() pulumi.StringPtrOutput
func (PlacementStrategy) ToStringPtrOutputWithContext ¶
func (e PlacementStrategy) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type PlacementStrategyInput ¶
type PlacementStrategyInput interface {
pulumi.Input
ToPlacementStrategyOutput() PlacementStrategyOutput
ToPlacementStrategyOutputWithContext(context.Context) PlacementStrategyOutput
}
PlacementStrategyInput is an input type that accepts PlacementStrategyArgs and PlacementStrategyOutput values. You can construct a concrete instance of `PlacementStrategyInput` via:
PlacementStrategyArgs{...}
type PlacementStrategyOutput ¶
type PlacementStrategyOutput struct{ *pulumi.OutputState }
func (PlacementStrategyOutput) ElementType ¶
func (PlacementStrategyOutput) ElementType() reflect.Type
func (PlacementStrategyOutput) ToPlacementStrategyOutput ¶
func (o PlacementStrategyOutput) ToPlacementStrategyOutput() PlacementStrategyOutput
func (PlacementStrategyOutput) ToPlacementStrategyOutputWithContext ¶
func (o PlacementStrategyOutput) ToPlacementStrategyOutputWithContext(ctx context.Context) PlacementStrategyOutput
func (PlacementStrategyOutput) ToPlacementStrategyPtrOutput ¶
func (o PlacementStrategyOutput) ToPlacementStrategyPtrOutput() PlacementStrategyPtrOutput
func (PlacementStrategyOutput) ToPlacementStrategyPtrOutputWithContext ¶
func (o PlacementStrategyOutput) ToPlacementStrategyPtrOutputWithContext(ctx context.Context) PlacementStrategyPtrOutput
func (PlacementStrategyOutput) ToStringOutput ¶
func (o PlacementStrategyOutput) ToStringOutput() pulumi.StringOutput
func (PlacementStrategyOutput) ToStringOutputWithContext ¶
func (o PlacementStrategyOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (PlacementStrategyOutput) ToStringPtrOutput ¶
func (o PlacementStrategyOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (PlacementStrategyOutput) ToStringPtrOutputWithContext ¶
func (o PlacementStrategyOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type PlacementStrategyPtrInput ¶
type PlacementStrategyPtrInput interface {
pulumi.Input
ToPlacementStrategyPtrOutput() PlacementStrategyPtrOutput
ToPlacementStrategyPtrOutputWithContext(context.Context) PlacementStrategyPtrOutput
}
func PlacementStrategyPtr ¶
func PlacementStrategyPtr(v string) PlacementStrategyPtrInput
type PlacementStrategyPtrOutput ¶
type PlacementStrategyPtrOutput struct{ *pulumi.OutputState }
func (PlacementStrategyPtrOutput) Elem ¶
func (o PlacementStrategyPtrOutput) Elem() PlacementStrategyOutput
func (PlacementStrategyPtrOutput) ElementType ¶
func (PlacementStrategyPtrOutput) ElementType() reflect.Type
func (PlacementStrategyPtrOutput) ToPlacementStrategyPtrOutput ¶
func (o PlacementStrategyPtrOutput) ToPlacementStrategyPtrOutput() PlacementStrategyPtrOutput
func (PlacementStrategyPtrOutput) ToPlacementStrategyPtrOutputWithContext ¶
func (o PlacementStrategyPtrOutput) ToPlacementStrategyPtrOutputWithContext(ctx context.Context) PlacementStrategyPtrOutput
func (PlacementStrategyPtrOutput) ToStringPtrOutput ¶
func (o PlacementStrategyPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (PlacementStrategyPtrOutput) ToStringPtrOutputWithContext ¶
func (o PlacementStrategyPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ProtocolType ¶
type ProtocolType string
func (ProtocolType) ElementType ¶
func (ProtocolType) ElementType() reflect.Type
func (ProtocolType) ToProtocolTypeOutput ¶
func (e ProtocolType) ToProtocolTypeOutput() ProtocolTypeOutput
func (ProtocolType) ToProtocolTypeOutputWithContext ¶
func (e ProtocolType) ToProtocolTypeOutputWithContext(ctx context.Context) ProtocolTypeOutput
func (ProtocolType) ToProtocolTypePtrOutput ¶
func (e ProtocolType) ToProtocolTypePtrOutput() ProtocolTypePtrOutput
func (ProtocolType) ToProtocolTypePtrOutputWithContext ¶
func (e ProtocolType) ToProtocolTypePtrOutputWithContext(ctx context.Context) ProtocolTypePtrOutput
func (ProtocolType) ToStringOutput ¶
func (e ProtocolType) ToStringOutput() pulumi.StringOutput
func (ProtocolType) ToStringOutputWithContext ¶
func (e ProtocolType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (ProtocolType) ToStringPtrOutput ¶
func (e ProtocolType) ToStringPtrOutput() pulumi.StringPtrOutput
func (ProtocolType) ToStringPtrOutputWithContext ¶
func (e ProtocolType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ProtocolTypeInput ¶
type ProtocolTypeInput interface {
pulumi.Input
ToProtocolTypeOutput() ProtocolTypeOutput
ToProtocolTypeOutputWithContext(context.Context) ProtocolTypeOutput
}
ProtocolTypeInput is an input type that accepts ProtocolTypeArgs and ProtocolTypeOutput values. You can construct a concrete instance of `ProtocolTypeInput` via:
ProtocolTypeArgs{...}
type ProtocolTypeOutput ¶
type ProtocolTypeOutput struct{ *pulumi.OutputState }
func (ProtocolTypeOutput) ElementType ¶
func (ProtocolTypeOutput) ElementType() reflect.Type
func (ProtocolTypeOutput) ToProtocolTypeOutput ¶
func (o ProtocolTypeOutput) ToProtocolTypeOutput() ProtocolTypeOutput
func (ProtocolTypeOutput) ToProtocolTypeOutputWithContext ¶
func (o ProtocolTypeOutput) ToProtocolTypeOutputWithContext(ctx context.Context) ProtocolTypeOutput
func (ProtocolTypeOutput) ToProtocolTypePtrOutput ¶
func (o ProtocolTypeOutput) ToProtocolTypePtrOutput() ProtocolTypePtrOutput
func (ProtocolTypeOutput) ToProtocolTypePtrOutputWithContext ¶
func (o ProtocolTypeOutput) ToProtocolTypePtrOutputWithContext(ctx context.Context) ProtocolTypePtrOutput
func (ProtocolTypeOutput) ToStringOutput ¶
func (o ProtocolTypeOutput) ToStringOutput() pulumi.StringOutput
func (ProtocolTypeOutput) ToStringOutputWithContext ¶
func (o ProtocolTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (ProtocolTypeOutput) ToStringPtrOutput ¶
func (o ProtocolTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (ProtocolTypeOutput) ToStringPtrOutputWithContext ¶
func (o ProtocolTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ProtocolTypePtrInput ¶
type ProtocolTypePtrInput interface {
pulumi.Input
ToProtocolTypePtrOutput() ProtocolTypePtrOutput
ToProtocolTypePtrOutputWithContext(context.Context) ProtocolTypePtrOutput
}
func ProtocolTypePtr ¶
func ProtocolTypePtr(v string) ProtocolTypePtrInput
type ProtocolTypePtrOutput ¶
type ProtocolTypePtrOutput struct{ *pulumi.OutputState }
func (ProtocolTypePtrOutput) Elem ¶
func (o ProtocolTypePtrOutput) Elem() ProtocolTypeOutput
func (ProtocolTypePtrOutput) ElementType ¶
func (ProtocolTypePtrOutput) ElementType() reflect.Type
func (ProtocolTypePtrOutput) ToProtocolTypePtrOutput ¶
func (o ProtocolTypePtrOutput) ToProtocolTypePtrOutput() ProtocolTypePtrOutput
func (ProtocolTypePtrOutput) ToProtocolTypePtrOutputWithContext ¶
func (o ProtocolTypePtrOutput) ToProtocolTypePtrOutputWithContext(ctx context.Context) ProtocolTypePtrOutput
func (ProtocolTypePtrOutput) ToStringPtrOutput ¶
func (o ProtocolTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (ProtocolTypePtrOutput) ToStringPtrOutputWithContext ¶
func (o ProtocolTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/elb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
lb, err := elb.NewLoadBalancer(ctx, "lb", &elb.LoadBalancerArgs{
AvailabilityZones: pulumi.StringArray{
pulumi.String("us-east-1a"),
},
Listeners: elb.LoadBalancerListenerArray{
&elb.LoadBalancerListenerArgs{
InstancePort: pulumi.Int(25),
InstanceProtocol: pulumi.String("tcp"),
LbPort: pulumi.Int(25),
LbProtocol: pulumi.String("tcp"),
},
&elb.LoadBalancerListenerArgs{
InstancePort: pulumi.Int(587),
InstanceProtocol: pulumi.String("tcp"),
LbPort: pulumi.Int(587),
LbProtocol: pulumi.String("tcp"),
},
},
})
if err != nil {
return err
}
_, err = ec2.NewProxyProtocolPolicy(ctx, "smtp", &ec2.ProxyProtocolPolicyArgs{
LoadBalancer: lb.Name,
InstancePorts: pulumi.StringArray{
pulumi.String("25"),
pulumi.String("587"),
},
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*ProxyProtocolPolicy) ElementType ¶
func (*ProxyProtocolPolicy) ElementType() reflect.Type
func (*ProxyProtocolPolicy) ToProxyProtocolPolicyOutput ¶
func (i *ProxyProtocolPolicy) ToProxyProtocolPolicyOutput() ProxyProtocolPolicyOutput
func (*ProxyProtocolPolicy) ToProxyProtocolPolicyOutputWithContext ¶
func (i *ProxyProtocolPolicy) ToProxyProtocolPolicyOutputWithContext(ctx context.Context) ProxyProtocolPolicyOutput
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 ¶
func (ProxyProtocolPolicyArgs) ElementType() reflect.Type
type ProxyProtocolPolicyArray ¶
type ProxyProtocolPolicyArray []ProxyProtocolPolicyInput
func (ProxyProtocolPolicyArray) ElementType ¶
func (ProxyProtocolPolicyArray) ElementType() reflect.Type
func (ProxyProtocolPolicyArray) ToProxyProtocolPolicyArrayOutput ¶
func (i ProxyProtocolPolicyArray) ToProxyProtocolPolicyArrayOutput() ProxyProtocolPolicyArrayOutput
func (ProxyProtocolPolicyArray) ToProxyProtocolPolicyArrayOutputWithContext ¶
func (i ProxyProtocolPolicyArray) ToProxyProtocolPolicyArrayOutputWithContext(ctx context.Context) ProxyProtocolPolicyArrayOutput
type ProxyProtocolPolicyArrayInput ¶
type ProxyProtocolPolicyArrayInput interface {
pulumi.Input
ToProxyProtocolPolicyArrayOutput() ProxyProtocolPolicyArrayOutput
ToProxyProtocolPolicyArrayOutputWithContext(context.Context) ProxyProtocolPolicyArrayOutput
}
ProxyProtocolPolicyArrayInput is an input type that accepts ProxyProtocolPolicyArray and ProxyProtocolPolicyArrayOutput values. You can construct a concrete instance of `ProxyProtocolPolicyArrayInput` via:
ProxyProtocolPolicyArray{ ProxyProtocolPolicyArgs{...} }
type ProxyProtocolPolicyArrayOutput ¶
type ProxyProtocolPolicyArrayOutput struct{ *pulumi.OutputState }
func (ProxyProtocolPolicyArrayOutput) ElementType ¶
func (ProxyProtocolPolicyArrayOutput) ElementType() reflect.Type
func (ProxyProtocolPolicyArrayOutput) Index ¶
func (o ProxyProtocolPolicyArrayOutput) Index(i pulumi.IntInput) ProxyProtocolPolicyOutput
func (ProxyProtocolPolicyArrayOutput) ToProxyProtocolPolicyArrayOutput ¶
func (o ProxyProtocolPolicyArrayOutput) ToProxyProtocolPolicyArrayOutput() ProxyProtocolPolicyArrayOutput
func (ProxyProtocolPolicyArrayOutput) ToProxyProtocolPolicyArrayOutputWithContext ¶
func (o ProxyProtocolPolicyArrayOutput) ToProxyProtocolPolicyArrayOutputWithContext(ctx context.Context) ProxyProtocolPolicyArrayOutput
type ProxyProtocolPolicyInput ¶
type ProxyProtocolPolicyInput interface {
pulumi.Input
ToProxyProtocolPolicyOutput() ProxyProtocolPolicyOutput
ToProxyProtocolPolicyOutputWithContext(ctx context.Context) ProxyProtocolPolicyOutput
}
type ProxyProtocolPolicyMap ¶
type ProxyProtocolPolicyMap map[string]ProxyProtocolPolicyInput
func (ProxyProtocolPolicyMap) ElementType ¶
func (ProxyProtocolPolicyMap) ElementType() reflect.Type
func (ProxyProtocolPolicyMap) ToProxyProtocolPolicyMapOutput ¶
func (i ProxyProtocolPolicyMap) ToProxyProtocolPolicyMapOutput() ProxyProtocolPolicyMapOutput
func (ProxyProtocolPolicyMap) ToProxyProtocolPolicyMapOutputWithContext ¶
func (i ProxyProtocolPolicyMap) ToProxyProtocolPolicyMapOutputWithContext(ctx context.Context) ProxyProtocolPolicyMapOutput
type ProxyProtocolPolicyMapInput ¶
type ProxyProtocolPolicyMapInput interface {
pulumi.Input
ToProxyProtocolPolicyMapOutput() ProxyProtocolPolicyMapOutput
ToProxyProtocolPolicyMapOutputWithContext(context.Context) ProxyProtocolPolicyMapOutput
}
ProxyProtocolPolicyMapInput is an input type that accepts ProxyProtocolPolicyMap and ProxyProtocolPolicyMapOutput values. You can construct a concrete instance of `ProxyProtocolPolicyMapInput` via:
ProxyProtocolPolicyMap{ "key": ProxyProtocolPolicyArgs{...} }
type ProxyProtocolPolicyMapOutput ¶
type ProxyProtocolPolicyMapOutput struct{ *pulumi.OutputState }
func (ProxyProtocolPolicyMapOutput) ElementType ¶
func (ProxyProtocolPolicyMapOutput) ElementType() reflect.Type
func (ProxyProtocolPolicyMapOutput) MapIndex ¶
func (o ProxyProtocolPolicyMapOutput) MapIndex(k pulumi.StringInput) ProxyProtocolPolicyOutput
func (ProxyProtocolPolicyMapOutput) ToProxyProtocolPolicyMapOutput ¶
func (o ProxyProtocolPolicyMapOutput) ToProxyProtocolPolicyMapOutput() ProxyProtocolPolicyMapOutput
func (ProxyProtocolPolicyMapOutput) ToProxyProtocolPolicyMapOutputWithContext ¶
func (o ProxyProtocolPolicyMapOutput) ToProxyProtocolPolicyMapOutputWithContext(ctx context.Context) ProxyProtocolPolicyMapOutput
type ProxyProtocolPolicyOutput ¶
type ProxyProtocolPolicyOutput struct{ *pulumi.OutputState }
func (ProxyProtocolPolicyOutput) ElementType ¶
func (ProxyProtocolPolicyOutput) ElementType() reflect.Type
func (ProxyProtocolPolicyOutput) ToProxyProtocolPolicyOutput ¶
func (o ProxyProtocolPolicyOutput) ToProxyProtocolPolicyOutput() ProxyProtocolPolicyOutput
func (ProxyProtocolPolicyOutput) ToProxyProtocolPolicyOutputWithContext ¶
func (o ProxyProtocolPolicyOutput) ToProxyProtocolPolicyOutputWithContext(ctx context.Context) ProxyProtocolPolicyOutput
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 ¶
func (ProxyProtocolPolicyState) ElementType() reflect.Type
type Route ¶
type Route struct {
pulumi.CustomResourceState
// Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
CarrierGatewayId pulumi.StringPtrOutput `pulumi:"carrierGatewayId"`
// The destination CIDR block.
DestinationCidrBlock pulumi.StringPtrOutput `pulumi:"destinationCidrBlock"`
// The destination IPv6 CIDR block.
DestinationIpv6CidrBlock pulumi.StringPtrOutput `pulumi:"destinationIpv6CidrBlock"`
// The ID of a managed prefix list destination.
DestinationPrefixListId pulumi.StringPtrOutput `pulumi:"destinationPrefixListId"`
// Identifier of a VPC Egress Only Internet Gateway.
EgressOnlyGatewayId pulumi.StringPtrOutput `pulumi:"egressOnlyGatewayId"`
// Identifier of a VPC internet gateway or a virtual private gateway.
GatewayId pulumi.StringPtrOutput `pulumi:"gatewayId"`
// Identifier of an EC2 instance.
//
// Deprecated: Use network_interface_id instead
InstanceId pulumi.StringOutput `pulumi:"instanceId"`
// The AWS account ID of the owner of the EC2 instance.
InstanceOwnerId pulumi.StringOutput `pulumi:"instanceOwnerId"`
// Identifier of a Outpost local gateway.
LocalGatewayId pulumi.StringPtrOutput `pulumi:"localGatewayId"`
// Identifier of a VPC NAT gateway.
NatGatewayId pulumi.StringPtrOutput `pulumi:"natGatewayId"`
// Identifier of an EC2 network interface.
NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
// How the route was created - `CreateRouteTable`, `CreateRoute` or `EnableVgwRoutePropagation`.
Origin pulumi.StringOutput `pulumi:"origin"`
// The ID of the routing table.
RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
// The state of the route - `active` or `blackhole`.
State pulumi.StringOutput `pulumi:"state"`
// Identifier of an EC2 Transit Gateway.
TransitGatewayId pulumi.StringPtrOutput `pulumi:"transitGatewayId"`
// Identifier of a VPC Endpoint.
VpcEndpointId pulumi.StringPtrOutput `pulumi:"vpcEndpointId"`
// Identifier of a VPC peering connection.
VpcPeeringConnectionId pulumi.StringPtrOutput `pulumi:"vpcPeeringConnectionId"`
}
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewRoute(ctx, "route", &ec2.RouteArgs{
RouteTableId: pulumi.String("rtb-4fbb3ac4"),
DestinationCidrBlock: pulumi.String("10.0.1.0/22"),
VpcPeeringConnectionId: pulumi.String("pcx-45ff3dc1"),
}, pulumi.DependsOn([]pulumi.Resource{
aws_route_table.Testing,
}))
if err != nil {
return err
}
return nil
})
}
``` ## Example IPv6 Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc, err := ec2.NewVpc(ctx, "vpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
AssignGeneratedIpv6CidrBlock: pulumi.Bool(true),
})
if err != nil {
return err
}
egress, err := ec2.NewEgressOnlyInternetGateway(ctx, "egress", &ec2.EgressOnlyInternetGatewayArgs{
VpcId: vpc.ID(),
})
if err != nil {
return err
}
_, err = ec2.NewRoute(ctx, "route", &ec2.RouteArgs{
RouteTableId: pulumi.String("rtb-4fbb3ac4"),
DestinationIpv6CidrBlock: pulumi.String("::/0"),
EgressOnlyGatewayId: egress.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Individual routes can be imported using `ROUTETABLEID_DESTINATION`. For example, import a route in route table `rtb-656C65616E6F72` with an IPv4 destination CIDR of `10.42.0.0/16` like thisconsole
```sh
$ pulumi import aws:ec2/route:Route my_route rtb-656C65616E6F72_10.42.0.0/16
```
Import a route in route table `rtb-656C65616E6F72` with an IPv6 destination CIDR of `2620:0:2d0:200::8/125` similarlyconsole
```sh
$ pulumi import aws:ec2/route:Route my_route rtb-656C65616E6F72_2620:0:2d0:200::8/125
```
Import a route in route table `rtb-656C65616E6F72` with a managed prefix list destination of `pl-0570a1d2d725c16be` similarlyconsole
```sh
$ pulumi import aws:ec2/route:Route my_route rtb-656C65616E6F72_pl-0570a1d2d725c16be
```
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.
func (*Route) ElementType ¶
func (*Route) ToRouteOutput ¶
func (i *Route) ToRouteOutput() RouteOutput
func (*Route) ToRouteOutputWithContext ¶
func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput
type RouteArgs ¶
type RouteArgs struct {
// Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
CarrierGatewayId pulumi.StringPtrInput
// The destination CIDR block.
DestinationCidrBlock pulumi.StringPtrInput
// The destination IPv6 CIDR block.
DestinationIpv6CidrBlock pulumi.StringPtrInput
// The ID of a managed prefix list destination.
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.
//
// Deprecated: Use network_interface_id instead
InstanceId pulumi.StringPtrInput
// Identifier of a Outpost local gateway.
LocalGatewayId 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 Endpoint.
VpcEndpointId pulumi.StringPtrInput
// Identifier of a VPC peering connection.
VpcPeeringConnectionId pulumi.StringPtrInput
}
The set of arguments for constructing a Route resource.
func (RouteArgs) ElementType ¶
type RouteArray ¶
type RouteArray []RouteInput
func (RouteArray) ElementType ¶
func (RouteArray) ElementType() reflect.Type
func (RouteArray) ToRouteArrayOutput ¶
func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput
func (RouteArray) ToRouteArrayOutputWithContext ¶
func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput
type RouteArrayInput ¶
type RouteArrayInput interface {
pulumi.Input
ToRouteArrayOutput() RouteArrayOutput
ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput
}
RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. You can construct a concrete instance of `RouteArrayInput` via:
RouteArray{ RouteArgs{...} }
type RouteArrayOutput ¶
type RouteArrayOutput struct{ *pulumi.OutputState }
func (RouteArrayOutput) ElementType ¶
func (RouteArrayOutput) ElementType() reflect.Type
func (RouteArrayOutput) Index ¶
func (o RouteArrayOutput) Index(i pulumi.IntInput) RouteOutput
func (RouteArrayOutput) ToRouteArrayOutput ¶
func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput
func (RouteArrayOutput) ToRouteArrayOutputWithContext ¶
func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput
type RouteInput ¶
type RouteInput interface {
pulumi.Input
ToRouteOutput() RouteOutput
ToRouteOutputWithContext(ctx context.Context) RouteOutput
}
type RouteMap ¶
type RouteMap map[string]RouteInput
func (RouteMap) ElementType ¶
func (RouteMap) ToRouteMapOutput ¶
func (i RouteMap) ToRouteMapOutput() RouteMapOutput
func (RouteMap) ToRouteMapOutputWithContext ¶
func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput
type RouteMapInput ¶
type RouteMapInput interface {
pulumi.Input
ToRouteMapOutput() RouteMapOutput
ToRouteMapOutputWithContext(context.Context) RouteMapOutput
}
RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. You can construct a concrete instance of `RouteMapInput` via:
RouteMap{ "key": RouteArgs{...} }
type RouteMapOutput ¶
type RouteMapOutput struct{ *pulumi.OutputState }
func (RouteMapOutput) ElementType ¶
func (RouteMapOutput) ElementType() reflect.Type
func (RouteMapOutput) MapIndex ¶
func (o RouteMapOutput) MapIndex(k pulumi.StringInput) RouteOutput
func (RouteMapOutput) ToRouteMapOutput ¶
func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput
func (RouteMapOutput) ToRouteMapOutputWithContext ¶
func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput
type RouteOutput ¶
type RouteOutput struct{ *pulumi.OutputState }
func (RouteOutput) ElementType ¶
func (RouteOutput) ElementType() reflect.Type
func (RouteOutput) ToRouteOutput ¶
func (o RouteOutput) ToRouteOutput() RouteOutput
func (RouteOutput) ToRouteOutputWithContext ¶
func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput
type RouteState ¶
type RouteState struct {
// Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
CarrierGatewayId pulumi.StringPtrInput
// The destination CIDR block.
DestinationCidrBlock pulumi.StringPtrInput
// The destination IPv6 CIDR block.
DestinationIpv6CidrBlock pulumi.StringPtrInput
// The ID of a managed prefix list destination.
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.
//
// Deprecated: Use network_interface_id instead
InstanceId pulumi.StringPtrInput
// The AWS account ID of the owner of the EC2 instance.
InstanceOwnerId pulumi.StringPtrInput
// Identifier of a Outpost local gateway.
LocalGatewayId pulumi.StringPtrInput
// Identifier of a VPC NAT gateway.
NatGatewayId pulumi.StringPtrInput
// Identifier of an EC2 network interface.
NetworkInterfaceId pulumi.StringPtrInput
// How the route was created - `CreateRouteTable`, `CreateRoute` or `EnableVgwRoutePropagation`.
Origin pulumi.StringPtrInput
// The ID of the routing table.
RouteTableId pulumi.StringPtrInput
// The state of the route - `active` or `blackhole`.
State pulumi.StringPtrInput
// Identifier of an EC2 Transit Gateway.
TransitGatewayId pulumi.StringPtrInput
// Identifier of a VPC Endpoint.
VpcEndpointId pulumi.StringPtrInput
// Identifier of a VPC peering connection.
VpcPeeringConnectionId pulumi.StringPtrInput
}
func (RouteState) ElementType ¶
func (RouteState) ElementType() reflect.Type
type RouteTable ¶
type RouteTable struct {
pulumi.CustomResourceState
// The ARN of the route table.
Arn pulumi.StringOutput `pulumi:"arn"`
// 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.
Routes RouteTableRouteArrayOutput `pulumi:"routes"`
// A map of tags to assign to the resource.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewRouteTable(ctx, "example", &ec2.RouteTableArgs{
VpcId: pulumi.Any(aws_vpc.Example.Id),
Routes: ec2.RouteTableRouteArray{
&ec2.RouteTableRouteArgs{
CidrBlock: pulumi.String("10.0.1.0/24"),
GatewayId: pulumi.Any(aws_internet_gateway.Example.Id),
},
&ec2.RouteTableRouteArgs{
Ipv6CidrBlock: pulumi.String("::/0"),
EgressOnlyGatewayId: pulumi.Any(aws_egress_only_internet_gateway.Example.Id),
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
```
To subsequently remove all managed routes:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewRouteTable(ctx, "example", &ec2.RouteTableArgs{
VpcId: pulumi.Any(aws_vpc.Example.Id),
Routes: ec2.RouteTableRouteArray{},
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Route Tables can be imported using the route table `id`. For example, to import route table `rtb-4e616f6d69`, use this command
```sh
$ pulumi import aws:ec2/routeTable:RouteTable public_rt rtb-4e616f6d69
```
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.
func (*RouteTable) ElementType ¶
func (*RouteTable) ElementType() reflect.Type
func (*RouteTable) ToRouteTableOutput ¶
func (i *RouteTable) ToRouteTableOutput() RouteTableOutput
func (*RouteTable) ToRouteTableOutputWithContext ¶
func (i *RouteTable) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
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.
Routes RouteTableRouteArrayInput
// A map of tags to assign to the resource.
Tags pulumi.StringMapInput
// The VPC ID.
VpcId pulumi.StringInput
}
The set of arguments for constructing a RouteTable resource.
func (RouteTableArgs) ElementType ¶
func (RouteTableArgs) ElementType() reflect.Type
type RouteTableArray ¶
type RouteTableArray []RouteTableInput
func (RouteTableArray) ElementType ¶
func (RouteTableArray) ElementType() reflect.Type
func (RouteTableArray) ToRouteTableArrayOutput ¶
func (i RouteTableArray) ToRouteTableArrayOutput() RouteTableArrayOutput
func (RouteTableArray) ToRouteTableArrayOutputWithContext ¶
func (i RouteTableArray) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput
type RouteTableArrayInput ¶
type RouteTableArrayInput interface {
pulumi.Input
ToRouteTableArrayOutput() RouteTableArrayOutput
ToRouteTableArrayOutputWithContext(context.Context) RouteTableArrayOutput
}
RouteTableArrayInput is an input type that accepts RouteTableArray and RouteTableArrayOutput values. You can construct a concrete instance of `RouteTableArrayInput` via:
RouteTableArray{ RouteTableArgs{...} }
type RouteTableArrayOutput ¶
type RouteTableArrayOutput struct{ *pulumi.OutputState }
func (RouteTableArrayOutput) ElementType ¶
func (RouteTableArrayOutput) ElementType() reflect.Type
func (RouteTableArrayOutput) Index ¶
func (o RouteTableArrayOutput) Index(i pulumi.IntInput) RouteTableOutput
func (RouteTableArrayOutput) ToRouteTableArrayOutput ¶
func (o RouteTableArrayOutput) ToRouteTableArrayOutput() RouteTableArrayOutput
func (RouteTableArrayOutput) ToRouteTableArrayOutputWithContext ¶
func (o RouteTableArrayOutput) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewRouteTableAssociation(ctx, "routeTableAssociation", &ec2.RouteTableAssociationArgs{
SubnetId: pulumi.Any(aws_subnet.Foo.Id),
RouteTableId: pulumi.Any(aws_route_table.Bar.Id),
})
if err != nil {
return err
}
return nil
})
}
```
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewRouteTableAssociation(ctx, "routeTableAssociation", &ec2.RouteTableAssociationArgs{
GatewayId: pulumi.Any(aws_internet_gateway.Foo.Id),
RouteTableId: pulumi.Any(aws_route_table.Bar.Id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
is already associated, will result in an error (e.g., `Resource.AlreadyAssociatedthe specified association for route table rtb-4176657279 conflicts with an existing association`) unless you first import the original association. EC2 Route Table Associations can be imported using the associated resource ID and Route Table ID separated by a forward slash (`/`). For example with EC2 Subnets
```sh
$ pulumi import aws:ec2/routeTableAssociation:RouteTableAssociation assoc subnet-6777656e646f6c796e/rtb-656c65616e6f72
```
For example with EC2 Internet Gateways
```sh
$ pulumi import aws:ec2/routeTableAssociation:RouteTableAssociation assoc igw-01b3a60780f8d034a/rtb-656c65616e6f72
```
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.
func (*RouteTableAssociation) ElementType ¶
func (*RouteTableAssociation) ElementType() reflect.Type
func (*RouteTableAssociation) ToRouteTableAssociationOutput ¶
func (i *RouteTableAssociation) ToRouteTableAssociationOutput() RouteTableAssociationOutput
func (*RouteTableAssociation) ToRouteTableAssociationOutputWithContext ¶
func (i *RouteTableAssociation) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
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 ¶
func (RouteTableAssociationArgs) ElementType() reflect.Type
type RouteTableAssociationArray ¶
type RouteTableAssociationArray []RouteTableAssociationInput
func (RouteTableAssociationArray) ElementType ¶
func (RouteTableAssociationArray) ElementType() reflect.Type
func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutput ¶
func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext ¶
func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput
type RouteTableAssociationArrayInput ¶
type RouteTableAssociationArrayInput interface {
pulumi.Input
ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
ToRouteTableAssociationArrayOutputWithContext(context.Context) RouteTableAssociationArrayOutput
}
RouteTableAssociationArrayInput is an input type that accepts RouteTableAssociationArray and RouteTableAssociationArrayOutput values. You can construct a concrete instance of `RouteTableAssociationArrayInput` via:
RouteTableAssociationArray{ RouteTableAssociationArgs{...} }
type RouteTableAssociationArrayOutput ¶
type RouteTableAssociationArrayOutput struct{ *pulumi.OutputState }
func (RouteTableAssociationArrayOutput) ElementType ¶
func (RouteTableAssociationArrayOutput) ElementType() reflect.Type
func (RouteTableAssociationArrayOutput) Index ¶
func (o RouteTableAssociationArrayOutput) Index(i pulumi.IntInput) RouteTableAssociationOutput
func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput ¶
func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext ¶
func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput
type RouteTableAssociationInput ¶
type RouteTableAssociationInput interface {
pulumi.Input
ToRouteTableAssociationOutput() RouteTableAssociationOutput
ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
}
type RouteTableAssociationMap ¶
type RouteTableAssociationMap map[string]RouteTableAssociationInput
func (RouteTableAssociationMap) ElementType ¶
func (RouteTableAssociationMap) ElementType() reflect.Type
func (RouteTableAssociationMap) ToRouteTableAssociationMapOutput ¶
func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
func (RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext ¶
func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput
type RouteTableAssociationMapInput ¶
type RouteTableAssociationMapInput interface {
pulumi.Input
ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
ToRouteTableAssociationMapOutputWithContext(context.Context) RouteTableAssociationMapOutput
}
RouteTableAssociationMapInput is an input type that accepts RouteTableAssociationMap and RouteTableAssociationMapOutput values. You can construct a concrete instance of `RouteTableAssociationMapInput` via:
RouteTableAssociationMap{ "key": RouteTableAssociationArgs{...} }
type RouteTableAssociationMapOutput ¶
type RouteTableAssociationMapOutput struct{ *pulumi.OutputState }
func (RouteTableAssociationMapOutput) ElementType ¶
func (RouteTableAssociationMapOutput) ElementType() reflect.Type
func (RouteTableAssociationMapOutput) MapIndex ¶
func (o RouteTableAssociationMapOutput) MapIndex(k pulumi.StringInput) RouteTableAssociationOutput
func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput ¶
func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext ¶
func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput
type RouteTableAssociationOutput ¶
type RouteTableAssociationOutput struct{ *pulumi.OutputState }
func (RouteTableAssociationOutput) ElementType ¶
func (RouteTableAssociationOutput) ElementType() reflect.Type
func (RouteTableAssociationOutput) ToRouteTableAssociationOutput ¶
func (o RouteTableAssociationOutput) ToRouteTableAssociationOutput() RouteTableAssociationOutput
func (RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext ¶
func (o RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
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 ¶
func (RouteTableAssociationState) ElementType() reflect.Type
type RouteTableInput ¶
type RouteTableInput interface {
pulumi.Input
ToRouteTableOutput() RouteTableOutput
ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
}
type RouteTableMap ¶
type RouteTableMap map[string]RouteTableInput
func (RouteTableMap) ElementType ¶
func (RouteTableMap) ElementType() reflect.Type
func (RouteTableMap) ToRouteTableMapOutput ¶
func (i RouteTableMap) ToRouteTableMapOutput() RouteTableMapOutput
func (RouteTableMap) ToRouteTableMapOutputWithContext ¶
func (i RouteTableMap) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput
type RouteTableMapInput ¶
type RouteTableMapInput interface {
pulumi.Input
ToRouteTableMapOutput() RouteTableMapOutput
ToRouteTableMapOutputWithContext(context.Context) RouteTableMapOutput
}
RouteTableMapInput is an input type that accepts RouteTableMap and RouteTableMapOutput values. You can construct a concrete instance of `RouteTableMapInput` via:
RouteTableMap{ "key": RouteTableArgs{...} }
type RouteTableMapOutput ¶
type RouteTableMapOutput struct{ *pulumi.OutputState }
func (RouteTableMapOutput) ElementType ¶
func (RouteTableMapOutput) ElementType() reflect.Type
func (RouteTableMapOutput) MapIndex ¶
func (o RouteTableMapOutput) MapIndex(k pulumi.StringInput) RouteTableOutput
func (RouteTableMapOutput) ToRouteTableMapOutput ¶
func (o RouteTableMapOutput) ToRouteTableMapOutput() RouteTableMapOutput
func (RouteTableMapOutput) ToRouteTableMapOutputWithContext ¶
func (o RouteTableMapOutput) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput
type RouteTableOutput ¶
type RouteTableOutput struct{ *pulumi.OutputState }
func (RouteTableOutput) ElementType ¶
func (RouteTableOutput) ElementType() reflect.Type
func (RouteTableOutput) ToRouteTableOutput ¶
func (o RouteTableOutput) ToRouteTableOutput() RouteTableOutput
func (RouteTableOutput) ToRouteTableOutputWithContext ¶
func (o RouteTableOutput) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
type RouteTableRoute ¶
type RouteTableRoute struct {
// Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
CarrierGatewayId *string `pulumi:"carrierGatewayId"`
// The CIDR block of the route.
CidrBlock *string `pulumi:"cidrBlock"`
// The ID of a managed prefix list destination of the route.
DestinationPrefixListId *string `pulumi:"destinationPrefixListId"`
// 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.
//
// Deprecated: Use network_interface_id instead
InstanceId *string `pulumi:"instanceId"`
// The Ipv6 CIDR block of the route.
Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"`
// Identifier of a Outpost local gateway.
LocalGatewayId *string `pulumi:"localGatewayId"`
// 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 Endpoint.
VpcEndpointId *string `pulumi:"vpcEndpointId"`
// Identifier of a VPC peering connection.
VpcPeeringConnectionId *string `pulumi:"vpcPeeringConnectionId"`
}
type RouteTableRouteArgs ¶
type RouteTableRouteArgs struct {
// Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
CarrierGatewayId pulumi.StringPtrInput `pulumi:"carrierGatewayId"`
// The CIDR block of the route.
CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
// The ID of a managed prefix list destination of the route.
DestinationPrefixListId pulumi.StringPtrInput `pulumi:"destinationPrefixListId"`
// 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.
//
// Deprecated: Use network_interface_id instead
InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
// The Ipv6 CIDR block of the route.
Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"`
// Identifier of a Outpost local gateway.
LocalGatewayId pulumi.StringPtrInput `pulumi:"localGatewayId"`
// 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 Endpoint.
VpcEndpointId pulumi.StringPtrInput `pulumi:"vpcEndpointId"`
// Identifier of a VPC peering connection.
VpcPeeringConnectionId pulumi.StringPtrInput `pulumi:"vpcPeeringConnectionId"`
}
func (RouteTableRouteArgs) ElementType ¶
func (RouteTableRouteArgs) ElementType() reflect.Type
func (RouteTableRouteArgs) ToRouteTableRouteOutput ¶
func (i RouteTableRouteArgs) ToRouteTableRouteOutput() RouteTableRouteOutput
func (RouteTableRouteArgs) ToRouteTableRouteOutputWithContext ¶
func (i RouteTableRouteArgs) ToRouteTableRouteOutputWithContext(ctx context.Context) RouteTableRouteOutput
type RouteTableRouteArray ¶
type RouteTableRouteArray []RouteTableRouteInput
func (RouteTableRouteArray) ElementType ¶
func (RouteTableRouteArray) ElementType() reflect.Type
func (RouteTableRouteArray) ToRouteTableRouteArrayOutput ¶
func (i RouteTableRouteArray) ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput
func (RouteTableRouteArray) ToRouteTableRouteArrayOutputWithContext ¶
func (i RouteTableRouteArray) ToRouteTableRouteArrayOutputWithContext(ctx context.Context) RouteTableRouteArrayOutput
type RouteTableRouteArrayInput ¶
type RouteTableRouteArrayInput interface {
pulumi.Input
ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput
ToRouteTableRouteArrayOutputWithContext(context.Context) RouteTableRouteArrayOutput
}
RouteTableRouteArrayInput is an input type that accepts RouteTableRouteArray and RouteTableRouteArrayOutput values. You can construct a concrete instance of `RouteTableRouteArrayInput` via:
RouteTableRouteArray{ RouteTableRouteArgs{...} }
type RouteTableRouteArrayOutput ¶
type RouteTableRouteArrayOutput struct{ *pulumi.OutputState }
func (RouteTableRouteArrayOutput) ElementType ¶
func (RouteTableRouteArrayOutput) ElementType() reflect.Type
func (RouteTableRouteArrayOutput) Index ¶
func (o RouteTableRouteArrayOutput) Index(i pulumi.IntInput) RouteTableRouteOutput
func (RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutput ¶
func (o RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput
func (RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutputWithContext ¶
func (o RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutputWithContext(ctx context.Context) RouteTableRouteArrayOutput
type RouteTableRouteInput ¶
type RouteTableRouteInput interface {
pulumi.Input
ToRouteTableRouteOutput() RouteTableRouteOutput
ToRouteTableRouteOutputWithContext(context.Context) RouteTableRouteOutput
}
RouteTableRouteInput is an input type that accepts RouteTableRouteArgs and RouteTableRouteOutput values. You can construct a concrete instance of `RouteTableRouteInput` via:
RouteTableRouteArgs{...}
type RouteTableRouteOutput ¶
type RouteTableRouteOutput struct{ *pulumi.OutputState }
func (RouteTableRouteOutput) CarrierGatewayId ¶
func (o RouteTableRouteOutput) CarrierGatewayId() pulumi.StringPtrOutput
Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.
func (RouteTableRouteOutput) CidrBlock ¶
func (o RouteTableRouteOutput) CidrBlock() pulumi.StringPtrOutput
The CIDR block of the route.
func (RouteTableRouteOutput) DestinationPrefixListId ¶
func (o RouteTableRouteOutput) DestinationPrefixListId() pulumi.StringPtrOutput
The ID of a managed prefix list destination of the route.
func (RouteTableRouteOutput) EgressOnlyGatewayId ¶
func (o RouteTableRouteOutput) EgressOnlyGatewayId() pulumi.StringPtrOutput
Identifier of a VPC Egress Only Internet Gateway.
func (RouteTableRouteOutput) ElementType ¶
func (RouteTableRouteOutput) ElementType() reflect.Type
func (RouteTableRouteOutput) GatewayId ¶
func (o RouteTableRouteOutput) GatewayId() pulumi.StringPtrOutput
Identifier of a VPC internet gateway or a virtual private gateway.
func (RouteTableRouteOutput) InstanceId
deprecated
func (o RouteTableRouteOutput) InstanceId() pulumi.StringPtrOutput
Identifier of an EC2 instance.
Deprecated: Use network_interface_id instead
func (RouteTableRouteOutput) Ipv6CidrBlock ¶
func (o RouteTableRouteOutput) Ipv6CidrBlock() pulumi.StringPtrOutput
The Ipv6 CIDR block of the route.
func (RouteTableRouteOutput) LocalGatewayId ¶
func (o RouteTableRouteOutput) LocalGatewayId() pulumi.StringPtrOutput
Identifier of a Outpost local gateway.
func (RouteTableRouteOutput) NatGatewayId ¶
func (o RouteTableRouteOutput) NatGatewayId() pulumi.StringPtrOutput
Identifier of a VPC NAT gateway.
func (RouteTableRouteOutput) NetworkInterfaceId ¶
func (o RouteTableRouteOutput) NetworkInterfaceId() pulumi.StringPtrOutput
Identifier of an EC2 network interface.
func (RouteTableRouteOutput) ToRouteTableRouteOutput ¶
func (o RouteTableRouteOutput) ToRouteTableRouteOutput() RouteTableRouteOutput
func (RouteTableRouteOutput) ToRouteTableRouteOutputWithContext ¶
func (o RouteTableRouteOutput) ToRouteTableRouteOutputWithContext(ctx context.Context) RouteTableRouteOutput
func (RouteTableRouteOutput) TransitGatewayId ¶
func (o RouteTableRouteOutput) TransitGatewayId() pulumi.StringPtrOutput
Identifier of an EC2 Transit Gateway.
func (RouteTableRouteOutput) VpcEndpointId ¶
func (o RouteTableRouteOutput) VpcEndpointId() pulumi.StringPtrOutput
Identifier of a VPC Endpoint.
func (RouteTableRouteOutput) VpcPeeringConnectionId ¶
func (o RouteTableRouteOutput) VpcPeeringConnectionId() pulumi.StringPtrOutput
Identifier of a VPC peering connection.
type RouteTableState ¶
type RouteTableState struct {
// The ARN of the route table.
Arn 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.
Routes RouteTableRouteArrayInput
// A map of tags to assign to the resource.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The VPC ID.
VpcId pulumi.StringPtrInput
}
func (RouteTableState) ElementType ¶
func (RouteTableState) ElementType() reflect.Type
type SecurityGroup ¶
type SecurityGroup struct {
pulumi.CustomResourceState
// ARN of the security group.
Arn pulumi.StringOutput `pulumi:"arn"`
// Description of this egress rule.
Description pulumi.StringOutput `pulumi:"description"`
// Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below.
Egress SecurityGroupEgressArrayOutput `pulumi:"egress"`
// Configuration block for egress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below.
Ingress SecurityGroupIngressArrayOutput `pulumi:"ingress"`
// 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.StringOutput `pulumi:"namePrefix"`
// 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"`
// Map of tags to assign to the resource.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// VPC ID.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides a security group resource.
> **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:** 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).
> **NOTE:** Due to [AWS Lambda improved VPC networking changes that began deploying in September 2019](https://aws.amazon.com/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/), security groups associated with Lambda Functions can take up to 45 minutes to successfully delete.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSecurityGroup(ctx, "allowTls", &ec2.SecurityGroupArgs{
Description: pulumi.String("Allow TLS inbound traffic"),
VpcId: pulumi.Any(aws_vpc.Main.Id),
Ingress: ec2.SecurityGroupIngressArray{
&ec2.SecurityGroupIngressArgs{
Description: pulumi.String("TLS from VPC"),
FromPort: pulumi.Int(443),
ToPort: pulumi.Int(443),
Protocol: pulumi.String("tcp"),
CidrBlocks: pulumi.StringArray{
pulumi.Any(aws_vpc.Main.Cidr_block),
},
Ipv6CidrBlocks: pulumi.StringArray{
pulumi.Any(aws_vpc.Main.Ipv6_cidr_block),
},
},
},
Egress: ec2.SecurityGroupEgressArray{
&ec2.SecurityGroupEgressArgs{
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(0),
Protocol: pulumi.String("-1"),
CidrBlocks: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
Ipv6CidrBlocks: pulumi.StringArray{
pulumi.String("::/0"),
},
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("allow_tls"),
},
})
if err != nil {
return err
}
return nil
})
}
```
> **NOTE on Egress rules:** By default, AWS creates an `ALLOW ALL` egress rule when creating a new Security Group inside of a VPC. When creating a new Security Group inside a VPC, **this provider will remove this default rule**, and require you specifically re-create it if you desire that rule. We feel this leads to fewer surprises in terms of controlling your egress rules. If you desire this rule to be in place, you can use this `egress` block:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSecurityGroup(ctx, "example", &ec2.SecurityGroupArgs{
Egress: ec2.SecurityGroupEgressArray{
&ec2.SecurityGroupEgressArgs{
CidrBlocks: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
FromPort: pulumi.Int(0),
Ipv6CidrBlocks: pulumi.StringArray{
pulumi.String("::/0"),
},
Protocol: pulumi.String("-1"),
ToPort: pulumi.Int(0),
},
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Usage With Prefix List IDs
Prefix Lists are either managed by AWS internally, or created by the customer using a Prefix List resource. Prefix Lists provided by AWS are associated with a prefix list name, or service name, that is linked to a specific region. Prefix list IDs are exported on VPC Endpoints, so you can use this format:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myEndpoint, err := ec2.NewVpcEndpoint(ctx, "myEndpoint", nil)
if err != nil {
return err
}
_, err = ec2.NewSecurityGroup(ctx, "example", &ec2.SecurityGroupArgs{
Egress: ec2.SecurityGroupEgressArray{
&ec2.SecurityGroupEgressArgs{
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(0),
Protocol: pulumi.String("-1"),
PrefixListIds: pulumi.StringArray{
myEndpoint.PrefixListId,
},
},
},
})
if err != nil {
return err
}
return nil
})
}
```
You can also find a specific Prefix List using the `ec2.getPrefixList` data source.
## Import
Security Groups can be imported using the `security group id`, e.g.,
```sh
$ pulumi import aws:ec2/securityGroup:SecurityGroup elb_sg sg-903004f8
```
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.
func (*SecurityGroup) ElementType ¶
func (*SecurityGroup) ElementType() reflect.Type
func (*SecurityGroup) ToSecurityGroupOutput ¶
func (i *SecurityGroup) ToSecurityGroupOutput() SecurityGroupOutput
func (*SecurityGroup) ToSecurityGroupOutputWithContext ¶
func (i *SecurityGroup) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
type SecurityGroupArgs ¶
type SecurityGroupArgs struct {
// Description of this egress rule.
Description pulumi.StringPtrInput
// Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below.
Egress SecurityGroupEgressArrayInput
// Configuration block for egress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below.
Ingress SecurityGroupIngressArrayInput
// 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
// Map of tags to assign to the resource.
Tags pulumi.StringMapInput
// VPC ID.
VpcId pulumi.StringPtrInput
}
The set of arguments for constructing a SecurityGroup resource.
func (SecurityGroupArgs) ElementType ¶
func (SecurityGroupArgs) ElementType() reflect.Type
type SecurityGroupArray ¶
type SecurityGroupArray []SecurityGroupInput
func (SecurityGroupArray) ElementType ¶
func (SecurityGroupArray) ElementType() reflect.Type
func (SecurityGroupArray) ToSecurityGroupArrayOutput ¶
func (i SecurityGroupArray) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
func (SecurityGroupArray) ToSecurityGroupArrayOutputWithContext ¶
func (i SecurityGroupArray) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
type SecurityGroupArrayInput ¶
type SecurityGroupArrayInput interface {
pulumi.Input
ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
ToSecurityGroupArrayOutputWithContext(context.Context) SecurityGroupArrayOutput
}
SecurityGroupArrayInput is an input type that accepts SecurityGroupArray and SecurityGroupArrayOutput values. You can construct a concrete instance of `SecurityGroupArrayInput` via:
SecurityGroupArray{ SecurityGroupArgs{...} }
type SecurityGroupArrayOutput ¶
type SecurityGroupArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupArrayOutput) ElementType ¶
func (SecurityGroupArrayOutput) ElementType() reflect.Type
func (SecurityGroupArrayOutput) Index ¶
func (o SecurityGroupArrayOutput) Index(i pulumi.IntInput) SecurityGroupOutput
func (SecurityGroupArrayOutput) ToSecurityGroupArrayOutput ¶
func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
func (SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext ¶
func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
type SecurityGroupAssociation ¶ added in v5.1.0
type SecurityGroupAssociation struct {
pulumi.CustomResourceState
// Whether this association should replace the association with the VPC's default security group that is created when no security groups are specified during VPC endpoint creation. At most 1 association per-VPC endpoint should be configured with `replaceDefaultAssociation = true`.
ReplaceDefaultAssociation pulumi.BoolPtrOutput `pulumi:"replaceDefaultAssociation"`
// The ID of the security group to be associated with the VPC endpoint.
SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
// The ID of the VPC endpoint with which the security group will be associated.
VpcEndpointId pulumi.StringOutput `pulumi:"vpcEndpointId"`
}
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSecurityGroupAssociation(ctx, "sgEc2", &ec2.SecurityGroupAssociationArgs{
VpcEndpointId: pulumi.Any(aws_vpc_endpoint.Ec2.Id),
SecurityGroupId: pulumi.Any(aws_security_group.Sg.Id),
})
if err != nil {
return err
}
return nil
})
}
```
func GetSecurityGroupAssociation ¶ added in v5.1.0
func GetSecurityGroupAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityGroupAssociationState, opts ...pulumi.ResourceOption) (*SecurityGroupAssociation, error)
GetSecurityGroupAssociation gets an existing SecurityGroupAssociation 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 NewSecurityGroupAssociation ¶ added in v5.1.0
func NewSecurityGroupAssociation(ctx *pulumi.Context, name string, args *SecurityGroupAssociationArgs, opts ...pulumi.ResourceOption) (*SecurityGroupAssociation, error)
NewSecurityGroupAssociation registers a new resource with the given unique name, arguments, and options.
func (*SecurityGroupAssociation) ElementType ¶ added in v5.1.0
func (*SecurityGroupAssociation) ElementType() reflect.Type
func (*SecurityGroupAssociation) ToSecurityGroupAssociationOutput ¶ added in v5.1.0
func (i *SecurityGroupAssociation) ToSecurityGroupAssociationOutput() SecurityGroupAssociationOutput
func (*SecurityGroupAssociation) ToSecurityGroupAssociationOutputWithContext ¶ added in v5.1.0
func (i *SecurityGroupAssociation) ToSecurityGroupAssociationOutputWithContext(ctx context.Context) SecurityGroupAssociationOutput
type SecurityGroupAssociationArgs ¶ added in v5.1.0
type SecurityGroupAssociationArgs struct {
// Whether this association should replace the association with the VPC's default security group that is created when no security groups are specified during VPC endpoint creation. At most 1 association per-VPC endpoint should be configured with `replaceDefaultAssociation = true`.
ReplaceDefaultAssociation pulumi.BoolPtrInput
// The ID of the security group to be associated with the VPC endpoint.
SecurityGroupId pulumi.StringInput
// The ID of the VPC endpoint with which the security group will be associated.
VpcEndpointId pulumi.StringInput
}
The set of arguments for constructing a SecurityGroupAssociation resource.
func (SecurityGroupAssociationArgs) ElementType ¶ added in v5.1.0
func (SecurityGroupAssociationArgs) ElementType() reflect.Type
type SecurityGroupAssociationArray ¶ added in v5.1.0
type SecurityGroupAssociationArray []SecurityGroupAssociationInput
func (SecurityGroupAssociationArray) ElementType ¶ added in v5.1.0
func (SecurityGroupAssociationArray) ElementType() reflect.Type
func (SecurityGroupAssociationArray) ToSecurityGroupAssociationArrayOutput ¶ added in v5.1.0
func (i SecurityGroupAssociationArray) ToSecurityGroupAssociationArrayOutput() SecurityGroupAssociationArrayOutput
func (SecurityGroupAssociationArray) ToSecurityGroupAssociationArrayOutputWithContext ¶ added in v5.1.0
func (i SecurityGroupAssociationArray) ToSecurityGroupAssociationArrayOutputWithContext(ctx context.Context) SecurityGroupAssociationArrayOutput
type SecurityGroupAssociationArrayInput ¶ added in v5.1.0
type SecurityGroupAssociationArrayInput interface {
pulumi.Input
ToSecurityGroupAssociationArrayOutput() SecurityGroupAssociationArrayOutput
ToSecurityGroupAssociationArrayOutputWithContext(context.Context) SecurityGroupAssociationArrayOutput
}
SecurityGroupAssociationArrayInput is an input type that accepts SecurityGroupAssociationArray and SecurityGroupAssociationArrayOutput values. You can construct a concrete instance of `SecurityGroupAssociationArrayInput` via:
SecurityGroupAssociationArray{ SecurityGroupAssociationArgs{...} }
type SecurityGroupAssociationArrayOutput ¶ added in v5.1.0
type SecurityGroupAssociationArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupAssociationArrayOutput) ElementType ¶ added in v5.1.0
func (SecurityGroupAssociationArrayOutput) ElementType() reflect.Type
func (SecurityGroupAssociationArrayOutput) Index ¶ added in v5.1.0
func (o SecurityGroupAssociationArrayOutput) Index(i pulumi.IntInput) SecurityGroupAssociationOutput
func (SecurityGroupAssociationArrayOutput) ToSecurityGroupAssociationArrayOutput ¶ added in v5.1.0
func (o SecurityGroupAssociationArrayOutput) ToSecurityGroupAssociationArrayOutput() SecurityGroupAssociationArrayOutput
func (SecurityGroupAssociationArrayOutput) ToSecurityGroupAssociationArrayOutputWithContext ¶ added in v5.1.0
func (o SecurityGroupAssociationArrayOutput) ToSecurityGroupAssociationArrayOutputWithContext(ctx context.Context) SecurityGroupAssociationArrayOutput
type SecurityGroupAssociationInput ¶ added in v5.1.0
type SecurityGroupAssociationInput interface {
pulumi.Input
ToSecurityGroupAssociationOutput() SecurityGroupAssociationOutput
ToSecurityGroupAssociationOutputWithContext(ctx context.Context) SecurityGroupAssociationOutput
}
type SecurityGroupAssociationMap ¶ added in v5.1.0
type SecurityGroupAssociationMap map[string]SecurityGroupAssociationInput
func (SecurityGroupAssociationMap) ElementType ¶ added in v5.1.0
func (SecurityGroupAssociationMap) ElementType() reflect.Type
func (SecurityGroupAssociationMap) ToSecurityGroupAssociationMapOutput ¶ added in v5.1.0
func (i SecurityGroupAssociationMap) ToSecurityGroupAssociationMapOutput() SecurityGroupAssociationMapOutput
func (SecurityGroupAssociationMap) ToSecurityGroupAssociationMapOutputWithContext ¶ added in v5.1.0
func (i SecurityGroupAssociationMap) ToSecurityGroupAssociationMapOutputWithContext(ctx context.Context) SecurityGroupAssociationMapOutput
type SecurityGroupAssociationMapInput ¶ added in v5.1.0
type SecurityGroupAssociationMapInput interface {
pulumi.Input
ToSecurityGroupAssociationMapOutput() SecurityGroupAssociationMapOutput
ToSecurityGroupAssociationMapOutputWithContext(context.Context) SecurityGroupAssociationMapOutput
}
SecurityGroupAssociationMapInput is an input type that accepts SecurityGroupAssociationMap and SecurityGroupAssociationMapOutput values. You can construct a concrete instance of `SecurityGroupAssociationMapInput` via:
SecurityGroupAssociationMap{ "key": SecurityGroupAssociationArgs{...} }
type SecurityGroupAssociationMapOutput ¶ added in v5.1.0
type SecurityGroupAssociationMapOutput struct{ *pulumi.OutputState }
func (SecurityGroupAssociationMapOutput) ElementType ¶ added in v5.1.0
func (SecurityGroupAssociationMapOutput) ElementType() reflect.Type
func (SecurityGroupAssociationMapOutput) MapIndex ¶ added in v5.1.0
func (o SecurityGroupAssociationMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupAssociationOutput
func (SecurityGroupAssociationMapOutput) ToSecurityGroupAssociationMapOutput ¶ added in v5.1.0
func (o SecurityGroupAssociationMapOutput) ToSecurityGroupAssociationMapOutput() SecurityGroupAssociationMapOutput
func (SecurityGroupAssociationMapOutput) ToSecurityGroupAssociationMapOutputWithContext ¶ added in v5.1.0
func (o SecurityGroupAssociationMapOutput) ToSecurityGroupAssociationMapOutputWithContext(ctx context.Context) SecurityGroupAssociationMapOutput
type SecurityGroupAssociationOutput ¶ added in v5.1.0
type SecurityGroupAssociationOutput struct{ *pulumi.OutputState }
func (SecurityGroupAssociationOutput) ElementType ¶ added in v5.1.0
func (SecurityGroupAssociationOutput) ElementType() reflect.Type
func (SecurityGroupAssociationOutput) ToSecurityGroupAssociationOutput ¶ added in v5.1.0
func (o SecurityGroupAssociationOutput) ToSecurityGroupAssociationOutput() SecurityGroupAssociationOutput
func (SecurityGroupAssociationOutput) ToSecurityGroupAssociationOutputWithContext ¶ added in v5.1.0
func (o SecurityGroupAssociationOutput) ToSecurityGroupAssociationOutputWithContext(ctx context.Context) SecurityGroupAssociationOutput
type SecurityGroupAssociationState ¶ added in v5.1.0
type SecurityGroupAssociationState struct {
// Whether this association should replace the association with the VPC's default security group that is created when no security groups are specified during VPC endpoint creation. At most 1 association per-VPC endpoint should be configured with `replaceDefaultAssociation = true`.
ReplaceDefaultAssociation pulumi.BoolPtrInput
// The ID of the security group to be associated with the VPC endpoint.
SecurityGroupId pulumi.StringPtrInput
// The ID of the VPC endpoint with which the security group will be associated.
VpcEndpointId pulumi.StringPtrInput
}
func (SecurityGroupAssociationState) ElementType ¶ added in v5.1.0
func (SecurityGroupAssociationState) ElementType() reflect.Type
type SecurityGroupEgress ¶
type SecurityGroupEgress struct {
// List of CIDR blocks.
CidrBlocks []string `pulumi:"cidrBlocks"`
// Description of this egress rule.
Description *string `pulumi:"description"`
// Start port (or ICMP type number if protocol is `icmp`)
FromPort int `pulumi:"fromPort"`
// List of IPv6 CIDR blocks.
Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"`
// List of Prefix List IDs.
PrefixListIds []string `pulumi:"prefixListIds"`
// Protocol. If you select a protocol of `-1` (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to 0. The supported values are defined in the `IpProtocol` argument in the [IpPermission](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IpPermission.html) API reference. This argument is normalized to a lowercase value.
Protocol string `pulumi:"protocol"`
// List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
SecurityGroups []string `pulumi:"securityGroups"`
// Whether the security group itself will be added as a source to this egress rule.
Self *bool `pulumi:"self"`
// End range port (or ICMP code if protocol is `icmp`).
ToPort int `pulumi:"toPort"`
}
type SecurityGroupEgressArgs ¶
type SecurityGroupEgressArgs struct {
// List of CIDR blocks.
CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
// Description of this egress rule.
Description pulumi.StringPtrInput `pulumi:"description"`
// Start port (or ICMP type number if protocol is `icmp`)
FromPort pulumi.IntInput `pulumi:"fromPort"`
// List of IPv6 CIDR blocks.
Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"`
// List of Prefix List IDs.
PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"`
// Protocol. If you select a protocol of `-1` (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to 0. The supported values are defined in the `IpProtocol` argument in the [IpPermission](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IpPermission.html) API reference. This argument is normalized to a lowercase value.
Protocol pulumi.StringInput `pulumi:"protocol"`
// List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
// Whether the security group itself will be added as a source to this egress rule.
Self pulumi.BoolPtrInput `pulumi:"self"`
// End range port (or ICMP code if protocol is `icmp`).
ToPort pulumi.IntInput `pulumi:"toPort"`
}
func (SecurityGroupEgressArgs) ElementType ¶
func (SecurityGroupEgressArgs) ElementType() reflect.Type
func (SecurityGroupEgressArgs) ToSecurityGroupEgressOutput ¶
func (i SecurityGroupEgressArgs) ToSecurityGroupEgressOutput() SecurityGroupEgressOutput
func (SecurityGroupEgressArgs) ToSecurityGroupEgressOutputWithContext ¶
func (i SecurityGroupEgressArgs) ToSecurityGroupEgressOutputWithContext(ctx context.Context) SecurityGroupEgressOutput
type SecurityGroupEgressArray ¶
type SecurityGroupEgressArray []SecurityGroupEgressInput
func (SecurityGroupEgressArray) ElementType ¶
func (SecurityGroupEgressArray) ElementType() reflect.Type
func (SecurityGroupEgressArray) ToSecurityGroupEgressArrayOutput ¶
func (i SecurityGroupEgressArray) ToSecurityGroupEgressArrayOutput() SecurityGroupEgressArrayOutput
func (SecurityGroupEgressArray) ToSecurityGroupEgressArrayOutputWithContext ¶
func (i SecurityGroupEgressArray) ToSecurityGroupEgressArrayOutputWithContext(ctx context.Context) SecurityGroupEgressArrayOutput
type SecurityGroupEgressArrayInput ¶
type SecurityGroupEgressArrayInput interface {
pulumi.Input
ToSecurityGroupEgressArrayOutput() SecurityGroupEgressArrayOutput
ToSecurityGroupEgressArrayOutputWithContext(context.Context) SecurityGroupEgressArrayOutput
}
SecurityGroupEgressArrayInput is an input type that accepts SecurityGroupEgressArray and SecurityGroupEgressArrayOutput values. You can construct a concrete instance of `SecurityGroupEgressArrayInput` via:
SecurityGroupEgressArray{ SecurityGroupEgressArgs{...} }
type SecurityGroupEgressArrayOutput ¶
type SecurityGroupEgressArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupEgressArrayOutput) ElementType ¶
func (SecurityGroupEgressArrayOutput) ElementType() reflect.Type
func (SecurityGroupEgressArrayOutput) Index ¶
func (o SecurityGroupEgressArrayOutput) Index(i pulumi.IntInput) SecurityGroupEgressOutput
func (SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutput ¶
func (o SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutput() SecurityGroupEgressArrayOutput
func (SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutputWithContext ¶
func (o SecurityGroupEgressArrayOutput) ToSecurityGroupEgressArrayOutputWithContext(ctx context.Context) SecurityGroupEgressArrayOutput
type SecurityGroupEgressInput ¶
type SecurityGroupEgressInput interface {
pulumi.Input
ToSecurityGroupEgressOutput() SecurityGroupEgressOutput
ToSecurityGroupEgressOutputWithContext(context.Context) SecurityGroupEgressOutput
}
SecurityGroupEgressInput is an input type that accepts SecurityGroupEgressArgs and SecurityGroupEgressOutput values. You can construct a concrete instance of `SecurityGroupEgressInput` via:
SecurityGroupEgressArgs{...}
type SecurityGroupEgressOutput ¶
type SecurityGroupEgressOutput struct{ *pulumi.OutputState }
func (SecurityGroupEgressOutput) CidrBlocks ¶
func (o SecurityGroupEgressOutput) CidrBlocks() pulumi.StringArrayOutput
List of CIDR blocks.
func (SecurityGroupEgressOutput) Description ¶
func (o SecurityGroupEgressOutput) Description() pulumi.StringPtrOutput
Description of this egress rule.
func (SecurityGroupEgressOutput) ElementType ¶
func (SecurityGroupEgressOutput) ElementType() reflect.Type
func (SecurityGroupEgressOutput) FromPort ¶
func (o SecurityGroupEgressOutput) FromPort() pulumi.IntOutput
Start port (or ICMP type number if protocol is `icmp`)
func (SecurityGroupEgressOutput) Ipv6CidrBlocks ¶
func (o SecurityGroupEgressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput
List of IPv6 CIDR blocks.
func (SecurityGroupEgressOutput) PrefixListIds ¶
func (o SecurityGroupEgressOutput) PrefixListIds() pulumi.StringArrayOutput
List of Prefix List IDs.
func (SecurityGroupEgressOutput) Protocol ¶
func (o SecurityGroupEgressOutput) Protocol() pulumi.StringOutput
Protocol. If you select a protocol of `-1` (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to 0. The supported values are defined in the `IpProtocol` argument in the [IpPermission](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IpPermission.html) API reference. This argument is normalized to a lowercase value.
func (SecurityGroupEgressOutput) SecurityGroups ¶
func (o SecurityGroupEgressOutput) SecurityGroups() pulumi.StringArrayOutput
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
func (SecurityGroupEgressOutput) Self ¶
func (o SecurityGroupEgressOutput) Self() pulumi.BoolPtrOutput
Whether the security group itself will be added as a source to this egress rule.
func (SecurityGroupEgressOutput) ToPort ¶
func (o SecurityGroupEgressOutput) ToPort() pulumi.IntOutput
End range port (or ICMP code if protocol is `icmp`).
func (SecurityGroupEgressOutput) ToSecurityGroupEgressOutput ¶
func (o SecurityGroupEgressOutput) ToSecurityGroupEgressOutput() SecurityGroupEgressOutput
func (SecurityGroupEgressOutput) ToSecurityGroupEgressOutputWithContext ¶
func (o SecurityGroupEgressOutput) ToSecurityGroupEgressOutputWithContext(ctx context.Context) SecurityGroupEgressOutput
type SecurityGroupIngress ¶
type SecurityGroupIngress struct {
// List of CIDR blocks.
CidrBlocks []string `pulumi:"cidrBlocks"`
// Description of this egress rule.
Description *string `pulumi:"description"`
// Start port (or ICMP type number if protocol is `icmp`)
FromPort int `pulumi:"fromPort"`
// List of IPv6 CIDR blocks.
Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"`
// List of Prefix List IDs.
PrefixListIds []string `pulumi:"prefixListIds"`
// Protocol. If you select a protocol of `-1` (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to 0. The supported values are defined in the `IpProtocol` argument in the [IpPermission](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IpPermission.html) API reference. This argument is normalized to a lowercase value.
Protocol string `pulumi:"protocol"`
// List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
SecurityGroups []string `pulumi:"securityGroups"`
// Whether the security group itself will be added as a source to this egress rule.
Self *bool `pulumi:"self"`
// End range port (or ICMP code if protocol is `icmp`).
ToPort int `pulumi:"toPort"`
}
type SecurityGroupIngressArgs ¶
type SecurityGroupIngressArgs struct {
// List of CIDR blocks.
CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"`
// Description of this egress rule.
Description pulumi.StringPtrInput `pulumi:"description"`
// Start port (or ICMP type number if protocol is `icmp`)
FromPort pulumi.IntInput `pulumi:"fromPort"`
// List of IPv6 CIDR blocks.
Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"`
// List of Prefix List IDs.
PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"`
// Protocol. If you select a protocol of `-1` (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to 0. The supported values are defined in the `IpProtocol` argument in the [IpPermission](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IpPermission.html) API reference. This argument is normalized to a lowercase value.
Protocol pulumi.StringInput `pulumi:"protocol"`
// List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
// Whether the security group itself will be added as a source to this egress rule.
Self pulumi.BoolPtrInput `pulumi:"self"`
// End range port (or ICMP code if protocol is `icmp`).
ToPort pulumi.IntInput `pulumi:"toPort"`
}
func (SecurityGroupIngressArgs) ElementType ¶
func (SecurityGroupIngressArgs) ElementType() reflect.Type
func (SecurityGroupIngressArgs) ToSecurityGroupIngressOutput ¶
func (i SecurityGroupIngressArgs) ToSecurityGroupIngressOutput() SecurityGroupIngressOutput
func (SecurityGroupIngressArgs) ToSecurityGroupIngressOutputWithContext ¶
func (i SecurityGroupIngressArgs) ToSecurityGroupIngressOutputWithContext(ctx context.Context) SecurityGroupIngressOutput
type SecurityGroupIngressArray ¶
type SecurityGroupIngressArray []SecurityGroupIngressInput
func (SecurityGroupIngressArray) ElementType ¶
func (SecurityGroupIngressArray) ElementType() reflect.Type
func (SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutput ¶
func (i SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput
func (SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutputWithContext ¶
func (i SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutputWithContext(ctx context.Context) SecurityGroupIngressArrayOutput
type SecurityGroupIngressArrayInput ¶
type SecurityGroupIngressArrayInput interface {
pulumi.Input
ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput
ToSecurityGroupIngressArrayOutputWithContext(context.Context) SecurityGroupIngressArrayOutput
}
SecurityGroupIngressArrayInput is an input type that accepts SecurityGroupIngressArray and SecurityGroupIngressArrayOutput values. You can construct a concrete instance of `SecurityGroupIngressArrayInput` via:
SecurityGroupIngressArray{ SecurityGroupIngressArgs{...} }
type SecurityGroupIngressArrayOutput ¶
type SecurityGroupIngressArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupIngressArrayOutput) ElementType ¶
func (SecurityGroupIngressArrayOutput) ElementType() reflect.Type
func (SecurityGroupIngressArrayOutput) Index ¶
func (o SecurityGroupIngressArrayOutput) Index(i pulumi.IntInput) SecurityGroupIngressOutput
func (SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutput ¶
func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput
func (SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutputWithContext ¶
func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutputWithContext(ctx context.Context) SecurityGroupIngressArrayOutput
type SecurityGroupIngressInput ¶
type SecurityGroupIngressInput interface {
pulumi.Input
ToSecurityGroupIngressOutput() SecurityGroupIngressOutput
ToSecurityGroupIngressOutputWithContext(context.Context) SecurityGroupIngressOutput
}
SecurityGroupIngressInput is an input type that accepts SecurityGroupIngressArgs and SecurityGroupIngressOutput values. You can construct a concrete instance of `SecurityGroupIngressInput` via:
SecurityGroupIngressArgs{...}
type SecurityGroupIngressOutput ¶
type SecurityGroupIngressOutput struct{ *pulumi.OutputState }
func (SecurityGroupIngressOutput) CidrBlocks ¶
func (o SecurityGroupIngressOutput) CidrBlocks() pulumi.StringArrayOutput
List of CIDR blocks.
func (SecurityGroupIngressOutput) Description ¶
func (o SecurityGroupIngressOutput) Description() pulumi.StringPtrOutput
Description of this egress rule.
func (SecurityGroupIngressOutput) ElementType ¶
func (SecurityGroupIngressOutput) ElementType() reflect.Type
func (SecurityGroupIngressOutput) FromPort ¶
func (o SecurityGroupIngressOutput) FromPort() pulumi.IntOutput
Start port (or ICMP type number if protocol is `icmp`)
func (SecurityGroupIngressOutput) Ipv6CidrBlocks ¶
func (o SecurityGroupIngressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput
List of IPv6 CIDR blocks.
func (SecurityGroupIngressOutput) PrefixListIds ¶
func (o SecurityGroupIngressOutput) PrefixListIds() pulumi.StringArrayOutput
List of Prefix List IDs.
func (SecurityGroupIngressOutput) Protocol ¶
func (o SecurityGroupIngressOutput) Protocol() pulumi.StringOutput
Protocol. If you select a protocol of `-1` (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to 0. The supported values are defined in the `IpProtocol` argument in the [IpPermission](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IpPermission.html) API reference. This argument is normalized to a lowercase value.
func (SecurityGroupIngressOutput) SecurityGroups ¶
func (o SecurityGroupIngressOutput) SecurityGroups() pulumi.StringArrayOutput
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
func (SecurityGroupIngressOutput) Self ¶
func (o SecurityGroupIngressOutput) Self() pulumi.BoolPtrOutput
Whether the security group itself will be added as a source to this egress rule.
func (SecurityGroupIngressOutput) ToPort ¶
func (o SecurityGroupIngressOutput) ToPort() pulumi.IntOutput
End range port (or ICMP code if protocol is `icmp`).
func (SecurityGroupIngressOutput) ToSecurityGroupIngressOutput ¶
func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutput() SecurityGroupIngressOutput
func (SecurityGroupIngressOutput) ToSecurityGroupIngressOutputWithContext ¶
func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutputWithContext(ctx context.Context) SecurityGroupIngressOutput
type SecurityGroupInput ¶
type SecurityGroupInput interface {
pulumi.Input
ToSecurityGroupOutput() SecurityGroupOutput
ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
}
type SecurityGroupMap ¶
type SecurityGroupMap map[string]SecurityGroupInput
func (SecurityGroupMap) ElementType ¶
func (SecurityGroupMap) ElementType() reflect.Type
func (SecurityGroupMap) ToSecurityGroupMapOutput ¶
func (i SecurityGroupMap) ToSecurityGroupMapOutput() SecurityGroupMapOutput
func (SecurityGroupMap) ToSecurityGroupMapOutputWithContext ¶
func (i SecurityGroupMap) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
type SecurityGroupMapInput ¶
type SecurityGroupMapInput interface {
pulumi.Input
ToSecurityGroupMapOutput() SecurityGroupMapOutput
ToSecurityGroupMapOutputWithContext(context.Context) SecurityGroupMapOutput
}
SecurityGroupMapInput is an input type that accepts SecurityGroupMap and SecurityGroupMapOutput values. You can construct a concrete instance of `SecurityGroupMapInput` via:
SecurityGroupMap{ "key": SecurityGroupArgs{...} }
type SecurityGroupMapOutput ¶
type SecurityGroupMapOutput struct{ *pulumi.OutputState }
func (SecurityGroupMapOutput) ElementType ¶
func (SecurityGroupMapOutput) ElementType() reflect.Type
func (SecurityGroupMapOutput) MapIndex ¶
func (o SecurityGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupOutput
func (SecurityGroupMapOutput) ToSecurityGroupMapOutput ¶
func (o SecurityGroupMapOutput) ToSecurityGroupMapOutput() SecurityGroupMapOutput
func (SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext ¶
func (o SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
type SecurityGroupOutput ¶
type SecurityGroupOutput struct{ *pulumi.OutputState }
func (SecurityGroupOutput) ElementType ¶
func (SecurityGroupOutput) ElementType() reflect.Type
func (SecurityGroupOutput) ToSecurityGroupOutput ¶
func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput
func (SecurityGroupOutput) ToSecurityGroupOutputWithContext ¶
func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
type SecurityGroupRule ¶
type SecurityGroupRule struct {
pulumi.CustomResourceState
// List of CIDR blocks. Cannot be specified with `sourceSecurityGroupId` or `self`.
CidrBlocks pulumi.StringArrayOutput `pulumi:"cidrBlocks"`
// Description of the rule.
Description pulumi.StringPtrOutput `pulumi:"description"`
// Start port (or ICMP type number if protocol is "icmp" or "icmpv6").
FromPort pulumi.IntOutput `pulumi:"fromPort"`
// List of IPv6 CIDR blocks. Cannot be specified with `sourceSecurityGroupId` or `self`.
Ipv6CidrBlocks pulumi.StringArrayOutput `pulumi:"ipv6CidrBlocks"`
// List of Prefix List IDs.
PrefixListIds pulumi.StringArrayOutput `pulumi:"prefixListIds"`
// 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"`
// Security group to apply this rule to.
SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
// Whether the security group itself will be added as a source to this ingress rule. Cannot be specified with `cidrBlocks`, `ipv6CidrBlocks`, or `sourceSecurityGroupId`.
Self pulumi.BoolPtrOutput `pulumi:"self"`
// Security group id to allow access to/from, depending on the `type`. Cannot be specified with `cidrBlocks`, `ipv6CidrBlocks`, or `self`.
SourceSecurityGroupId pulumi.StringOutput `pulumi:"sourceSecurityGroupId"`
// End port (or ICMP code if protocol is "icmp").
ToPort pulumi.IntOutput `pulumi:"toPort"`
// 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).
## Example Usage
Basic usage ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSecurityGroupRule(ctx, "example", &ec2.SecurityGroupRuleArgs{
Type: pulumi.String("ingress"),
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(65535),
Protocol: pulumi.String("tcp"),
CidrBlocks: pulumi.StringArray{
pulumi.Any(aws_vpc.Example.Cidr_block),
},
Ipv6CidrBlocks: pulumi.StringArray{
pulumi.Any(aws_vpc.Example.Ipv6_cidr_block),
},
SecurityGroupId: pulumi.String("sg-123456"),
})
if err != nil {
return err
}
return nil
})
}
``` ### Usage With Prefix List IDs
Prefix Lists are either managed by AWS internally, or created by the customer using a Managed Prefix List resource. Prefix Lists provided by AWS are associated with a prefix list name, or service name, that is linked to a specific region.
Prefix list IDs are exported on VPC Endpoints, so you can use this format:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myEndpoint, err := ec2.NewVpcEndpoint(ctx, "myEndpoint", nil)
if err != nil {
return err
}
_, err = ec2.NewSecurityGroupRule(ctx, "allowAll", &ec2.SecurityGroupRuleArgs{
Type: pulumi.String("egress"),
ToPort: pulumi.Int(0),
Protocol: pulumi.String("-1"),
PrefixListIds: pulumi.StringArray{
myEndpoint.PrefixListId,
},
FromPort: pulumi.Int(0),
SecurityGroupId: pulumi.String("sg-123456"),
})
if err != nil {
return err
}
return nil
})
}
```
You can also find a specific Prefix List using the [`ec2.getPrefixList`](https://www.terraform.io/docs/providers/aws/d/prefix_list.html) or [`ec2ManagedPrefixList`](https://www.terraform.io/docs/providers/aws/d/ec2_managed_prefix_list.html) data sources:
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
s3, err := ec2.GetPrefixList(ctx, &ec2.GetPrefixListArgs{
Name: pulumi.StringRef(fmt.Sprintf("%v%v%v", "com.amazonaws.", current.Name, ".s3")),
}, nil)
if err != nil {
return err
}
_, err = ec2.NewSecurityGroupRule(ctx, "s3GatewayEgress", &ec2.SecurityGroupRuleArgs{
Description: pulumi.String("S3 Gateway Egress"),
Type: pulumi.String("egress"),
SecurityGroupId: pulumi.String("sg-123456"),
FromPort: pulumi.Int(443),
ToPort: pulumi.Int(443),
Protocol: pulumi.String("tcp"),
PrefixListIds: pulumi.StringArray{
pulumi.String(s3.Id),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Security Group Rules can be imported using the `security_group_id`, `type`, `protocol`, `from_port`, `to_port`, and source(s)/destination(s) (e.g., `cidr_block`) separated by underscores (`_`). All parts are required. Not all rule permissions (e.g., not all of a rule's CIDR blocks) need to be imported for this provider to manage rule permissions. However, importing some of a rule's permissions but not others, and then making changes to the rule will result in the creation of an additional rule to capture the updated permissions. Rule permissions that were not imported are left intact in the original rule. Import an ingress rule in security group `sg-6e616f6d69` for TCP port 8000 with an IPv4 destination CIDR of `10.0.3.0/24`console
```sh
$ pulumi import aws:ec2/securityGroupRule:SecurityGroupRule ingress sg-6e616f6d69_ingress_tcp_8000_8000_10.0.3.0/24
```
Import a rule with various IPv4 and IPv6 source CIDR blocksconsole
```sh
$ pulumi import aws:ec2/securityGroupRule:SecurityGroupRule ingress sg-4973616163_ingress_tcp_100_121_10.1.0.0/16_2001:db8::/48_10.2.0.0/16_2002:db8::/48
```
Import a rule, applicable to all ports, with a protocol other than TCP/UDP/ICMP/ICMPV6/ALL, e.g., Multicast Transport Protocol (MTP), using the IANA protocol number, e.g., 92. console
```sh
$ pulumi import aws:ec2/securityGroupRule:SecurityGroupRule ingress sg-6777656e646f6c796e_ingress_92_0_65536_10.0.3.0/24_10.0.4.0/24
```
Import a default any/any egress rule to 0.0.0.0/0console
```sh
$ pulumi import aws:ec2/securityGroupRule:SecurityGroupRule default_egress sg-6777656e646f6c796e_egress_all_0_0_0.0.0.0/0
```
Import an egress rule with a prefix list ID destinationconsole
```sh
$ pulumi import aws:ec2/securityGroupRule:SecurityGroupRule egress sg-62726f6479_egress_tcp_8000_8000_pl-6469726b
```
Import a rule applicable to all protocols and ports with a security group sourceconsole
```sh
$ pulumi import aws:ec2/securityGroupRule:SecurityGroupRule ingress_rule sg-7472697374616e_ingress_all_0_65536_sg-6176657279
```
Import a rule that has itself and an IPv6 CIDR block as sourcesconsole
```sh
$ pulumi import aws:ec2/securityGroupRule:SecurityGroupRule rule_name sg-656c65616e6f72_ingress_tcp_80_80_self_2001:db8::/48
```
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.
func (*SecurityGroupRule) ElementType ¶
func (*SecurityGroupRule) ElementType() reflect.Type
func (*SecurityGroupRule) ToSecurityGroupRuleOutput ¶
func (i *SecurityGroupRule) ToSecurityGroupRuleOutput() SecurityGroupRuleOutput
func (*SecurityGroupRule) ToSecurityGroupRuleOutputWithContext ¶
func (i *SecurityGroupRule) ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput
type SecurityGroupRuleArgs ¶
type SecurityGroupRuleArgs struct {
// List of CIDR blocks. Cannot be specified with `sourceSecurityGroupId` or `self`.
CidrBlocks pulumi.StringArrayInput
// Description of the rule.
Description pulumi.StringPtrInput
// Start port (or ICMP type number if protocol is "icmp" or "icmpv6").
FromPort pulumi.IntInput
// List of IPv6 CIDR blocks. Cannot be specified with `sourceSecurityGroupId` or `self`.
Ipv6CidrBlocks pulumi.StringArrayInput
// List of Prefix List IDs.
PrefixListIds pulumi.StringArrayInput
// 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
// Security group to apply this rule to.
SecurityGroupId pulumi.StringInput
// Whether the security group itself will be added as a source to this ingress rule. Cannot be specified with `cidrBlocks`, `ipv6CidrBlocks`, or `sourceSecurityGroupId`.
Self pulumi.BoolPtrInput
// Security group id to allow access to/from, depending on the `type`. Cannot be specified with `cidrBlocks`, `ipv6CidrBlocks`, or `self`.
SourceSecurityGroupId pulumi.StringPtrInput
// End port (or ICMP code if protocol is "icmp").
ToPort pulumi.IntInput
// 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 ¶
func (SecurityGroupRuleArgs) ElementType() reflect.Type
type SecurityGroupRuleArray ¶
type SecurityGroupRuleArray []SecurityGroupRuleInput
func (SecurityGroupRuleArray) ElementType ¶
func (SecurityGroupRuleArray) ElementType() reflect.Type
func (SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutput ¶
func (i SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput
func (SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutputWithContext ¶
func (i SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput
type SecurityGroupRuleArrayInput ¶
type SecurityGroupRuleArrayInput interface {
pulumi.Input
ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput
ToSecurityGroupRuleArrayOutputWithContext(context.Context) SecurityGroupRuleArrayOutput
}
SecurityGroupRuleArrayInput is an input type that accepts SecurityGroupRuleArray and SecurityGroupRuleArrayOutput values. You can construct a concrete instance of `SecurityGroupRuleArrayInput` via:
SecurityGroupRuleArray{ SecurityGroupRuleArgs{...} }
type SecurityGroupRuleArrayOutput ¶
type SecurityGroupRuleArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupRuleArrayOutput) ElementType ¶
func (SecurityGroupRuleArrayOutput) ElementType() reflect.Type
func (SecurityGroupRuleArrayOutput) Index ¶
func (o SecurityGroupRuleArrayOutput) Index(i pulumi.IntInput) SecurityGroupRuleOutput
func (SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput ¶
func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput
func (SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext ¶
func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput
type SecurityGroupRuleInput ¶
type SecurityGroupRuleInput interface {
pulumi.Input
ToSecurityGroupRuleOutput() SecurityGroupRuleOutput
ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput
}
type SecurityGroupRuleMap ¶
type SecurityGroupRuleMap map[string]SecurityGroupRuleInput
func (SecurityGroupRuleMap) ElementType ¶
func (SecurityGroupRuleMap) ElementType() reflect.Type
func (SecurityGroupRuleMap) ToSecurityGroupRuleMapOutput ¶
func (i SecurityGroupRuleMap) ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput
func (SecurityGroupRuleMap) ToSecurityGroupRuleMapOutputWithContext ¶
func (i SecurityGroupRuleMap) ToSecurityGroupRuleMapOutputWithContext(ctx context.Context) SecurityGroupRuleMapOutput
type SecurityGroupRuleMapInput ¶
type SecurityGroupRuleMapInput interface {
pulumi.Input
ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput
ToSecurityGroupRuleMapOutputWithContext(context.Context) SecurityGroupRuleMapOutput
}
SecurityGroupRuleMapInput is an input type that accepts SecurityGroupRuleMap and SecurityGroupRuleMapOutput values. You can construct a concrete instance of `SecurityGroupRuleMapInput` via:
SecurityGroupRuleMap{ "key": SecurityGroupRuleArgs{...} }
type SecurityGroupRuleMapOutput ¶
type SecurityGroupRuleMapOutput struct{ *pulumi.OutputState }
func (SecurityGroupRuleMapOutput) ElementType ¶
func (SecurityGroupRuleMapOutput) ElementType() reflect.Type
func (SecurityGroupRuleMapOutput) MapIndex ¶
func (o SecurityGroupRuleMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupRuleOutput
func (SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutput ¶
func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput
func (SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutputWithContext ¶
func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutputWithContext(ctx context.Context) SecurityGroupRuleMapOutput
type SecurityGroupRuleOutput ¶
type SecurityGroupRuleOutput struct{ *pulumi.OutputState }
func (SecurityGroupRuleOutput) ElementType ¶
func (SecurityGroupRuleOutput) ElementType() reflect.Type
func (SecurityGroupRuleOutput) ToSecurityGroupRuleOutput ¶
func (o SecurityGroupRuleOutput) ToSecurityGroupRuleOutput() SecurityGroupRuleOutput
func (SecurityGroupRuleOutput) ToSecurityGroupRuleOutputWithContext ¶
func (o SecurityGroupRuleOutput) ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput
type SecurityGroupRuleState ¶
type SecurityGroupRuleState struct {
// List of CIDR blocks. Cannot be specified with `sourceSecurityGroupId` or `self`.
CidrBlocks pulumi.StringArrayInput
// Description of the rule.
Description pulumi.StringPtrInput
// Start port (or ICMP type number if protocol is "icmp" or "icmpv6").
FromPort pulumi.IntPtrInput
// List of IPv6 CIDR blocks. Cannot be specified with `sourceSecurityGroupId` or `self`.
Ipv6CidrBlocks pulumi.StringArrayInput
// List of Prefix List IDs.
PrefixListIds pulumi.StringArrayInput
// 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
// Security group to apply this rule to.
SecurityGroupId pulumi.StringPtrInput
// Whether the security group itself will be added as a source to this ingress rule. Cannot be specified with `cidrBlocks`, `ipv6CidrBlocks`, or `sourceSecurityGroupId`.
Self pulumi.BoolPtrInput
// Security group id to allow access to/from, depending on the `type`. Cannot be specified with `cidrBlocks`, `ipv6CidrBlocks`, or `self`.
SourceSecurityGroupId pulumi.StringPtrInput
// End port (or ICMP code if protocol is "icmp").
ToPort pulumi.IntPtrInput
// Type of rule being created. Valid options are `ingress` (inbound)
// or `egress` (outbound).
Type pulumi.StringPtrInput
}
func (SecurityGroupRuleState) ElementType ¶
func (SecurityGroupRuleState) ElementType() reflect.Type
type SecurityGroupState ¶
type SecurityGroupState struct {
// ARN of the security group.
Arn pulumi.StringPtrInput
// Description of this egress rule.
Description pulumi.StringPtrInput
// Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below.
Egress SecurityGroupEgressArrayInput
// Configuration block for egress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below.
Ingress SecurityGroupIngressArrayInput
// 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
// 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
// Map of tags to assign to the resource.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// VPC ID.
VpcId pulumi.StringPtrInput
}
func (SecurityGroupState) ElementType ¶
func (SecurityGroupState) ElementType() reflect.Type
type SerialConsoleAccess ¶ added in v5.1.0
type SerialConsoleAccess struct {
pulumi.CustomResourceState
// Whether or not serial console access is enabled. Valid values are `true` or `false`. Defaults to `true`.
Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
}
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSerialConsoleAccess(ctx, "example", &ec2.SerialConsoleAccessArgs{
Enabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Serial console access state can be imported, e.g.,
```sh
$ pulumi import aws:ec2/serialConsoleAccess:SerialConsoleAccess example default
```
func GetSerialConsoleAccess ¶ added in v5.1.0
func GetSerialConsoleAccess(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SerialConsoleAccessState, opts ...pulumi.ResourceOption) (*SerialConsoleAccess, error)
GetSerialConsoleAccess gets an existing SerialConsoleAccess 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 NewSerialConsoleAccess ¶ added in v5.1.0
func NewSerialConsoleAccess(ctx *pulumi.Context, name string, args *SerialConsoleAccessArgs, opts ...pulumi.ResourceOption) (*SerialConsoleAccess, error)
NewSerialConsoleAccess registers a new resource with the given unique name, arguments, and options.
func (*SerialConsoleAccess) ElementType ¶ added in v5.1.0
func (*SerialConsoleAccess) ElementType() reflect.Type
func (*SerialConsoleAccess) ToSerialConsoleAccessOutput ¶ added in v5.1.0
func (i *SerialConsoleAccess) ToSerialConsoleAccessOutput() SerialConsoleAccessOutput
func (*SerialConsoleAccess) ToSerialConsoleAccessOutputWithContext ¶ added in v5.1.0
func (i *SerialConsoleAccess) ToSerialConsoleAccessOutputWithContext(ctx context.Context) SerialConsoleAccessOutput
type SerialConsoleAccessArgs ¶ added in v5.1.0
type SerialConsoleAccessArgs struct {
// Whether or not serial console access is enabled. Valid values are `true` or `false`. Defaults to `true`.
Enabled pulumi.BoolPtrInput
}
The set of arguments for constructing a SerialConsoleAccess resource.
func (SerialConsoleAccessArgs) ElementType ¶ added in v5.1.0
func (SerialConsoleAccessArgs) ElementType() reflect.Type
type SerialConsoleAccessArray ¶ added in v5.1.0
type SerialConsoleAccessArray []SerialConsoleAccessInput
func (SerialConsoleAccessArray) ElementType ¶ added in v5.1.0
func (SerialConsoleAccessArray) ElementType() reflect.Type
func (SerialConsoleAccessArray) ToSerialConsoleAccessArrayOutput ¶ added in v5.1.0
func (i SerialConsoleAccessArray) ToSerialConsoleAccessArrayOutput() SerialConsoleAccessArrayOutput
func (SerialConsoleAccessArray) ToSerialConsoleAccessArrayOutputWithContext ¶ added in v5.1.0
func (i SerialConsoleAccessArray) ToSerialConsoleAccessArrayOutputWithContext(ctx context.Context) SerialConsoleAccessArrayOutput
type SerialConsoleAccessArrayInput ¶ added in v5.1.0
type SerialConsoleAccessArrayInput interface {
pulumi.Input
ToSerialConsoleAccessArrayOutput() SerialConsoleAccessArrayOutput
ToSerialConsoleAccessArrayOutputWithContext(context.Context) SerialConsoleAccessArrayOutput
}
SerialConsoleAccessArrayInput is an input type that accepts SerialConsoleAccessArray and SerialConsoleAccessArrayOutput values. You can construct a concrete instance of `SerialConsoleAccessArrayInput` via:
SerialConsoleAccessArray{ SerialConsoleAccessArgs{...} }
type SerialConsoleAccessArrayOutput ¶ added in v5.1.0
type SerialConsoleAccessArrayOutput struct{ *pulumi.OutputState }
func (SerialConsoleAccessArrayOutput) ElementType ¶ added in v5.1.0
func (SerialConsoleAccessArrayOutput) ElementType() reflect.Type
func (SerialConsoleAccessArrayOutput) Index ¶ added in v5.1.0
func (o SerialConsoleAccessArrayOutput) Index(i pulumi.IntInput) SerialConsoleAccessOutput
func (SerialConsoleAccessArrayOutput) ToSerialConsoleAccessArrayOutput ¶ added in v5.1.0
func (o SerialConsoleAccessArrayOutput) ToSerialConsoleAccessArrayOutput() SerialConsoleAccessArrayOutput
func (SerialConsoleAccessArrayOutput) ToSerialConsoleAccessArrayOutputWithContext ¶ added in v5.1.0
func (o SerialConsoleAccessArrayOutput) ToSerialConsoleAccessArrayOutputWithContext(ctx context.Context) SerialConsoleAccessArrayOutput
type SerialConsoleAccessInput ¶ added in v5.1.0
type SerialConsoleAccessInput interface {
pulumi.Input
ToSerialConsoleAccessOutput() SerialConsoleAccessOutput
ToSerialConsoleAccessOutputWithContext(ctx context.Context) SerialConsoleAccessOutput
}
type SerialConsoleAccessMap ¶ added in v5.1.0
type SerialConsoleAccessMap map[string]SerialConsoleAccessInput
func (SerialConsoleAccessMap) ElementType ¶ added in v5.1.0
func (SerialConsoleAccessMap) ElementType() reflect.Type
func (SerialConsoleAccessMap) ToSerialConsoleAccessMapOutput ¶ added in v5.1.0
func (i SerialConsoleAccessMap) ToSerialConsoleAccessMapOutput() SerialConsoleAccessMapOutput
func (SerialConsoleAccessMap) ToSerialConsoleAccessMapOutputWithContext ¶ added in v5.1.0
func (i SerialConsoleAccessMap) ToSerialConsoleAccessMapOutputWithContext(ctx context.Context) SerialConsoleAccessMapOutput
type SerialConsoleAccessMapInput ¶ added in v5.1.0
type SerialConsoleAccessMapInput interface {
pulumi.Input
ToSerialConsoleAccessMapOutput() SerialConsoleAccessMapOutput
ToSerialConsoleAccessMapOutputWithContext(context.Context) SerialConsoleAccessMapOutput
}
SerialConsoleAccessMapInput is an input type that accepts SerialConsoleAccessMap and SerialConsoleAccessMapOutput values. You can construct a concrete instance of `SerialConsoleAccessMapInput` via:
SerialConsoleAccessMap{ "key": SerialConsoleAccessArgs{...} }
type SerialConsoleAccessMapOutput ¶ added in v5.1.0
type SerialConsoleAccessMapOutput struct{ *pulumi.OutputState }
func (SerialConsoleAccessMapOutput) ElementType ¶ added in v5.1.0
func (SerialConsoleAccessMapOutput) ElementType() reflect.Type
func (SerialConsoleAccessMapOutput) MapIndex ¶ added in v5.1.0
func (o SerialConsoleAccessMapOutput) MapIndex(k pulumi.StringInput) SerialConsoleAccessOutput
func (SerialConsoleAccessMapOutput) ToSerialConsoleAccessMapOutput ¶ added in v5.1.0
func (o SerialConsoleAccessMapOutput) ToSerialConsoleAccessMapOutput() SerialConsoleAccessMapOutput
func (SerialConsoleAccessMapOutput) ToSerialConsoleAccessMapOutputWithContext ¶ added in v5.1.0
func (o SerialConsoleAccessMapOutput) ToSerialConsoleAccessMapOutputWithContext(ctx context.Context) SerialConsoleAccessMapOutput
type SerialConsoleAccessOutput ¶ added in v5.1.0
type SerialConsoleAccessOutput struct{ *pulumi.OutputState }
func (SerialConsoleAccessOutput) ElementType ¶ added in v5.1.0
func (SerialConsoleAccessOutput) ElementType() reflect.Type
func (SerialConsoleAccessOutput) ToSerialConsoleAccessOutput ¶ added in v5.1.0
func (o SerialConsoleAccessOutput) ToSerialConsoleAccessOutput() SerialConsoleAccessOutput
func (SerialConsoleAccessOutput) ToSerialConsoleAccessOutputWithContext ¶ added in v5.1.0
func (o SerialConsoleAccessOutput) ToSerialConsoleAccessOutputWithContext(ctx context.Context) SerialConsoleAccessOutput
type SerialConsoleAccessState ¶ added in v5.1.0
type SerialConsoleAccessState struct {
// Whether or not serial console access is enabled. Valid values are `true` or `false`. Defaults to `true`.
Enabled pulumi.BoolPtrInput
}
func (SerialConsoleAccessState) ElementType ¶ added in v5.1.0
func (SerialConsoleAccessState) 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ebs" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ebs.NewVolume(ctx, "example", &ebs.VolumeArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
Size: pulumi.Int(40),
})
if err != nil {
return err
}
exampleSnapshot, err := ebs.NewSnapshot(ctx, "exampleSnapshot", &ebs.SnapshotArgs{
VolumeId: example.ID(),
})
if err != nil {
return err
}
_, err = ec2.NewSnapshotCreateVolumePermission(ctx, "examplePerm", &ec2.SnapshotCreateVolumePermissionArgs{
SnapshotId: exampleSnapshot.ID(),
AccountId: pulumi.String("12345678"),
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*SnapshotCreateVolumePermission) ElementType ¶
func (*SnapshotCreateVolumePermission) ElementType() reflect.Type
func (*SnapshotCreateVolumePermission) ToSnapshotCreateVolumePermissionOutput ¶
func (i *SnapshotCreateVolumePermission) ToSnapshotCreateVolumePermissionOutput() SnapshotCreateVolumePermissionOutput
func (*SnapshotCreateVolumePermission) ToSnapshotCreateVolumePermissionOutputWithContext ¶
func (i *SnapshotCreateVolumePermission) ToSnapshotCreateVolumePermissionOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionOutput
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 ¶
func (SnapshotCreateVolumePermissionArgs) ElementType() reflect.Type
type SnapshotCreateVolumePermissionArray ¶
type SnapshotCreateVolumePermissionArray []SnapshotCreateVolumePermissionInput
func (SnapshotCreateVolumePermissionArray) ElementType ¶
func (SnapshotCreateVolumePermissionArray) ElementType() reflect.Type
func (SnapshotCreateVolumePermissionArray) ToSnapshotCreateVolumePermissionArrayOutput ¶
func (i SnapshotCreateVolumePermissionArray) ToSnapshotCreateVolumePermissionArrayOutput() SnapshotCreateVolumePermissionArrayOutput
func (SnapshotCreateVolumePermissionArray) ToSnapshotCreateVolumePermissionArrayOutputWithContext ¶
func (i SnapshotCreateVolumePermissionArray) ToSnapshotCreateVolumePermissionArrayOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionArrayOutput
type SnapshotCreateVolumePermissionArrayInput ¶
type SnapshotCreateVolumePermissionArrayInput interface {
pulumi.Input
ToSnapshotCreateVolumePermissionArrayOutput() SnapshotCreateVolumePermissionArrayOutput
ToSnapshotCreateVolumePermissionArrayOutputWithContext(context.Context) SnapshotCreateVolumePermissionArrayOutput
}
SnapshotCreateVolumePermissionArrayInput is an input type that accepts SnapshotCreateVolumePermissionArray and SnapshotCreateVolumePermissionArrayOutput values. You can construct a concrete instance of `SnapshotCreateVolumePermissionArrayInput` via:
SnapshotCreateVolumePermissionArray{ SnapshotCreateVolumePermissionArgs{...} }
type SnapshotCreateVolumePermissionArrayOutput ¶
type SnapshotCreateVolumePermissionArrayOutput struct{ *pulumi.OutputState }
func (SnapshotCreateVolumePermissionArrayOutput) ElementType ¶
func (SnapshotCreateVolumePermissionArrayOutput) ElementType() reflect.Type
func (SnapshotCreateVolumePermissionArrayOutput) ToSnapshotCreateVolumePermissionArrayOutput ¶
func (o SnapshotCreateVolumePermissionArrayOutput) ToSnapshotCreateVolumePermissionArrayOutput() SnapshotCreateVolumePermissionArrayOutput
func (SnapshotCreateVolumePermissionArrayOutput) ToSnapshotCreateVolumePermissionArrayOutputWithContext ¶
func (o SnapshotCreateVolumePermissionArrayOutput) ToSnapshotCreateVolumePermissionArrayOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionArrayOutput
type SnapshotCreateVolumePermissionInput ¶
type SnapshotCreateVolumePermissionInput interface {
pulumi.Input
ToSnapshotCreateVolumePermissionOutput() SnapshotCreateVolumePermissionOutput
ToSnapshotCreateVolumePermissionOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionOutput
}
type SnapshotCreateVolumePermissionMap ¶
type SnapshotCreateVolumePermissionMap map[string]SnapshotCreateVolumePermissionInput
func (SnapshotCreateVolumePermissionMap) ElementType ¶
func (SnapshotCreateVolumePermissionMap) ElementType() reflect.Type
func (SnapshotCreateVolumePermissionMap) ToSnapshotCreateVolumePermissionMapOutput ¶
func (i SnapshotCreateVolumePermissionMap) ToSnapshotCreateVolumePermissionMapOutput() SnapshotCreateVolumePermissionMapOutput
func (SnapshotCreateVolumePermissionMap) ToSnapshotCreateVolumePermissionMapOutputWithContext ¶
func (i SnapshotCreateVolumePermissionMap) ToSnapshotCreateVolumePermissionMapOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionMapOutput
type SnapshotCreateVolumePermissionMapInput ¶
type SnapshotCreateVolumePermissionMapInput interface {
pulumi.Input
ToSnapshotCreateVolumePermissionMapOutput() SnapshotCreateVolumePermissionMapOutput
ToSnapshotCreateVolumePermissionMapOutputWithContext(context.Context) SnapshotCreateVolumePermissionMapOutput
}
SnapshotCreateVolumePermissionMapInput is an input type that accepts SnapshotCreateVolumePermissionMap and SnapshotCreateVolumePermissionMapOutput values. You can construct a concrete instance of `SnapshotCreateVolumePermissionMapInput` via:
SnapshotCreateVolumePermissionMap{ "key": SnapshotCreateVolumePermissionArgs{...} }
type SnapshotCreateVolumePermissionMapOutput ¶
type SnapshotCreateVolumePermissionMapOutput struct{ *pulumi.OutputState }
func (SnapshotCreateVolumePermissionMapOutput) ElementType ¶
func (SnapshotCreateVolumePermissionMapOutput) ElementType() reflect.Type
func (SnapshotCreateVolumePermissionMapOutput) MapIndex ¶
func (o SnapshotCreateVolumePermissionMapOutput) MapIndex(k pulumi.StringInput) SnapshotCreateVolumePermissionOutput
func (SnapshotCreateVolumePermissionMapOutput) ToSnapshotCreateVolumePermissionMapOutput ¶
func (o SnapshotCreateVolumePermissionMapOutput) ToSnapshotCreateVolumePermissionMapOutput() SnapshotCreateVolumePermissionMapOutput
func (SnapshotCreateVolumePermissionMapOutput) ToSnapshotCreateVolumePermissionMapOutputWithContext ¶
func (o SnapshotCreateVolumePermissionMapOutput) ToSnapshotCreateVolumePermissionMapOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionMapOutput
type SnapshotCreateVolumePermissionOutput ¶
type SnapshotCreateVolumePermissionOutput struct{ *pulumi.OutputState }
func (SnapshotCreateVolumePermissionOutput) ElementType ¶
func (SnapshotCreateVolumePermissionOutput) ElementType() reflect.Type
func (SnapshotCreateVolumePermissionOutput) ToSnapshotCreateVolumePermissionOutput ¶
func (o SnapshotCreateVolumePermissionOutput) ToSnapshotCreateVolumePermissionOutput() SnapshotCreateVolumePermissionOutput
func (SnapshotCreateVolumePermissionOutput) ToSnapshotCreateVolumePermissionOutputWithContext ¶
func (o SnapshotCreateVolumePermissionOutput) ToSnapshotCreateVolumePermissionOutputWithContext(ctx context.Context) SnapshotCreateVolumePermissionOutput
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 ¶
func (SnapshotCreateVolumePermissionState) ElementType() reflect.Type
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
defaultBucketV2, err := s3.NewBucketV2(ctx, "defaultBucketV2", nil)
if err != nil {
return err
}
_, err = ec2.NewSpotDatafeedSubscription(ctx, "defaultSpotDatafeedSubscription", &ec2.SpotDatafeedSubscriptionArgs{
Bucket: defaultBucketV2.Bucket,
Prefix: pulumi.String("my_subdirectory"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
A Spot Datafeed Subscription can be imported using the word `spot-datafeed-subscription`, e.g.,
```sh
$ pulumi import aws:ec2/spotDatafeedSubscription:SpotDatafeedSubscription mysubscription spot-datafeed-subscription
```
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.
func (*SpotDatafeedSubscription) ElementType ¶
func (*SpotDatafeedSubscription) ElementType() reflect.Type
func (*SpotDatafeedSubscription) ToSpotDatafeedSubscriptionOutput ¶
func (i *SpotDatafeedSubscription) ToSpotDatafeedSubscriptionOutput() SpotDatafeedSubscriptionOutput
func (*SpotDatafeedSubscription) ToSpotDatafeedSubscriptionOutputWithContext ¶
func (i *SpotDatafeedSubscription) ToSpotDatafeedSubscriptionOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionOutput
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 ¶
func (SpotDatafeedSubscriptionArgs) ElementType() reflect.Type
type SpotDatafeedSubscriptionArray ¶
type SpotDatafeedSubscriptionArray []SpotDatafeedSubscriptionInput
func (SpotDatafeedSubscriptionArray) ElementType ¶
func (SpotDatafeedSubscriptionArray) ElementType() reflect.Type
func (SpotDatafeedSubscriptionArray) ToSpotDatafeedSubscriptionArrayOutput ¶
func (i SpotDatafeedSubscriptionArray) ToSpotDatafeedSubscriptionArrayOutput() SpotDatafeedSubscriptionArrayOutput
func (SpotDatafeedSubscriptionArray) ToSpotDatafeedSubscriptionArrayOutputWithContext ¶
func (i SpotDatafeedSubscriptionArray) ToSpotDatafeedSubscriptionArrayOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionArrayOutput
type SpotDatafeedSubscriptionArrayInput ¶
type SpotDatafeedSubscriptionArrayInput interface {
pulumi.Input
ToSpotDatafeedSubscriptionArrayOutput() SpotDatafeedSubscriptionArrayOutput
ToSpotDatafeedSubscriptionArrayOutputWithContext(context.Context) SpotDatafeedSubscriptionArrayOutput
}
SpotDatafeedSubscriptionArrayInput is an input type that accepts SpotDatafeedSubscriptionArray and SpotDatafeedSubscriptionArrayOutput values. You can construct a concrete instance of `SpotDatafeedSubscriptionArrayInput` via:
SpotDatafeedSubscriptionArray{ SpotDatafeedSubscriptionArgs{...} }
type SpotDatafeedSubscriptionArrayOutput ¶
type SpotDatafeedSubscriptionArrayOutput struct{ *pulumi.OutputState }
func (SpotDatafeedSubscriptionArrayOutput) ElementType ¶
func (SpotDatafeedSubscriptionArrayOutput) ElementType() reflect.Type
func (SpotDatafeedSubscriptionArrayOutput) Index ¶
func (o SpotDatafeedSubscriptionArrayOutput) Index(i pulumi.IntInput) SpotDatafeedSubscriptionOutput
func (SpotDatafeedSubscriptionArrayOutput) ToSpotDatafeedSubscriptionArrayOutput ¶
func (o SpotDatafeedSubscriptionArrayOutput) ToSpotDatafeedSubscriptionArrayOutput() SpotDatafeedSubscriptionArrayOutput
func (SpotDatafeedSubscriptionArrayOutput) ToSpotDatafeedSubscriptionArrayOutputWithContext ¶
func (o SpotDatafeedSubscriptionArrayOutput) ToSpotDatafeedSubscriptionArrayOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionArrayOutput
type SpotDatafeedSubscriptionInput ¶
type SpotDatafeedSubscriptionInput interface {
pulumi.Input
ToSpotDatafeedSubscriptionOutput() SpotDatafeedSubscriptionOutput
ToSpotDatafeedSubscriptionOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionOutput
}
type SpotDatafeedSubscriptionMap ¶
type SpotDatafeedSubscriptionMap map[string]SpotDatafeedSubscriptionInput
func (SpotDatafeedSubscriptionMap) ElementType ¶
func (SpotDatafeedSubscriptionMap) ElementType() reflect.Type
func (SpotDatafeedSubscriptionMap) ToSpotDatafeedSubscriptionMapOutput ¶
func (i SpotDatafeedSubscriptionMap) ToSpotDatafeedSubscriptionMapOutput() SpotDatafeedSubscriptionMapOutput
func (SpotDatafeedSubscriptionMap) ToSpotDatafeedSubscriptionMapOutputWithContext ¶
func (i SpotDatafeedSubscriptionMap) ToSpotDatafeedSubscriptionMapOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionMapOutput
type SpotDatafeedSubscriptionMapInput ¶
type SpotDatafeedSubscriptionMapInput interface {
pulumi.Input
ToSpotDatafeedSubscriptionMapOutput() SpotDatafeedSubscriptionMapOutput
ToSpotDatafeedSubscriptionMapOutputWithContext(context.Context) SpotDatafeedSubscriptionMapOutput
}
SpotDatafeedSubscriptionMapInput is an input type that accepts SpotDatafeedSubscriptionMap and SpotDatafeedSubscriptionMapOutput values. You can construct a concrete instance of `SpotDatafeedSubscriptionMapInput` via:
SpotDatafeedSubscriptionMap{ "key": SpotDatafeedSubscriptionArgs{...} }
type SpotDatafeedSubscriptionMapOutput ¶
type SpotDatafeedSubscriptionMapOutput struct{ *pulumi.OutputState }
func (SpotDatafeedSubscriptionMapOutput) ElementType ¶
func (SpotDatafeedSubscriptionMapOutput) ElementType() reflect.Type
func (SpotDatafeedSubscriptionMapOutput) MapIndex ¶
func (o SpotDatafeedSubscriptionMapOutput) MapIndex(k pulumi.StringInput) SpotDatafeedSubscriptionOutput
func (SpotDatafeedSubscriptionMapOutput) ToSpotDatafeedSubscriptionMapOutput ¶
func (o SpotDatafeedSubscriptionMapOutput) ToSpotDatafeedSubscriptionMapOutput() SpotDatafeedSubscriptionMapOutput
func (SpotDatafeedSubscriptionMapOutput) ToSpotDatafeedSubscriptionMapOutputWithContext ¶
func (o SpotDatafeedSubscriptionMapOutput) ToSpotDatafeedSubscriptionMapOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionMapOutput
type SpotDatafeedSubscriptionOutput ¶
type SpotDatafeedSubscriptionOutput struct{ *pulumi.OutputState }
func (SpotDatafeedSubscriptionOutput) ElementType ¶
func (SpotDatafeedSubscriptionOutput) ElementType() reflect.Type
func (SpotDatafeedSubscriptionOutput) ToSpotDatafeedSubscriptionOutput ¶
func (o SpotDatafeedSubscriptionOutput) ToSpotDatafeedSubscriptionOutput() SpotDatafeedSubscriptionOutput
func (SpotDatafeedSubscriptionOutput) ToSpotDatafeedSubscriptionOutputWithContext ¶
func (o SpotDatafeedSubscriptionOutput) ToSpotDatafeedSubscriptionOutputWithContext(ctx context.Context) SpotDatafeedSubscriptionOutput
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 ¶
func (SpotDatafeedSubscriptionState) ElementType() reflect.Type
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. Conflicts with `launchTemplateConfig`. At least one of `launchSpecification` or `launchTemplateConfig` is required.
LaunchSpecifications SpotFleetRequestLaunchSpecificationArrayOutput `pulumi:"launchSpecifications"`
// Launch template configuration block. See Launch Template Configs below for more details. Conflicts with `launchSpecification`. At least one of `launchSpecification` or `launchTemplateConfig` is required.
LaunchTemplateConfigs SpotFleetRequestLaunchTemplateConfigArrayOutput `pulumi:"launchTemplateConfigs"`
// A list of elastic load balancer names to add to the Spot fleet.
LoadBalancers pulumi.StringArrayOutput `pulumi:"loadBalancers"`
// The order of the launch template overrides to use in fulfilling On-Demand capacity. the possible values are: `lowestPrice` and `prioritized`. the default is `lowestPrice`.
OnDemandAllocationStrategy pulumi.StringPtrOutput `pulumi:"onDemandAllocationStrategy"`
// The maximum amount per hour for On-Demand Instances that you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.
OnDemandMaxTotalPrice pulumi.StringPtrOutput `pulumi:"onDemandMaxTotalPrice"`
// The number of On-Demand units to request. If the request type is `maintain`, you can specify a target capacity of 0 and add capacity later.
OnDemandTargetCapacity pulumi.IntPtrOutput `pulumi:"onDemandTargetCapacity"`
// Indicates whether Spot fleet should replace unhealthy instances. Default `false`.
ReplaceUnhealthyInstances pulumi.BoolPtrOutput `pulumi:"replaceUnhealthyInstances"`
// Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
SpotMaintenanceStrategies SpotFleetRequestSpotMaintenanceStrategiesPtrOutput `pulumi:"spotMaintenanceStrategies"`
// The maximum spot bid for this override request.
SpotPrice pulumi.StringPtrOutput `pulumi:"spotPrice"`
// The state of the Spot fleet request.
SpotRequestState pulumi.StringOutput `pulumi:"spotRequestState"`
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
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"`
}
## Import
Spot Fleet Requests can be imported using `id`, e.g.,
```sh
$ pulumi import aws:ec2/spotFleetRequest:SpotFleetRequest fleet sfr-005e9ec8-5546-4c31-b317-31a62325411e
```
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.
func (*SpotFleetRequest) ElementType ¶
func (*SpotFleetRequest) ElementType() reflect.Type
func (*SpotFleetRequest) ToSpotFleetRequestOutput ¶
func (i *SpotFleetRequest) ToSpotFleetRequestOutput() SpotFleetRequestOutput
func (*SpotFleetRequest) ToSpotFleetRequestOutputWithContext ¶
func (i *SpotFleetRequest) ToSpotFleetRequestOutputWithContext(ctx context.Context) SpotFleetRequestOutput
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. Conflicts with `launchTemplateConfig`. At least one of `launchSpecification` or `launchTemplateConfig` is required.
LaunchSpecifications SpotFleetRequestLaunchSpecificationArrayInput
// Launch template configuration block. See Launch Template Configs below for more details. Conflicts with `launchSpecification`. At least one of `launchSpecification` or `launchTemplateConfig` is required.
LaunchTemplateConfigs SpotFleetRequestLaunchTemplateConfigArrayInput
// A list of elastic load balancer names to add to the Spot fleet.
LoadBalancers pulumi.StringArrayInput
// The order of the launch template overrides to use in fulfilling On-Demand capacity. the possible values are: `lowestPrice` and `prioritized`. the default is `lowestPrice`.
OnDemandAllocationStrategy pulumi.StringPtrInput
// The maximum amount per hour for On-Demand Instances that you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.
OnDemandMaxTotalPrice pulumi.StringPtrInput
// The number of On-Demand units to request. If the request type is `maintain`, you can specify a target capacity of 0 and add capacity later.
OnDemandTargetCapacity pulumi.IntPtrInput
// Indicates whether Spot fleet should replace unhealthy instances. Default `false`.
ReplaceUnhealthyInstances pulumi.BoolPtrInput
// Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
SpotMaintenanceStrategies SpotFleetRequestSpotMaintenanceStrategiesPtrInput
// The maximum spot bid for this override request.
SpotPrice pulumi.StringPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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.
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 ¶
func (SpotFleetRequestArgs) ElementType() reflect.Type
type SpotFleetRequestArray ¶
type SpotFleetRequestArray []SpotFleetRequestInput
func (SpotFleetRequestArray) ElementType ¶
func (SpotFleetRequestArray) ElementType() reflect.Type
func (SpotFleetRequestArray) ToSpotFleetRequestArrayOutput ¶
func (i SpotFleetRequestArray) ToSpotFleetRequestArrayOutput() SpotFleetRequestArrayOutput
func (SpotFleetRequestArray) ToSpotFleetRequestArrayOutputWithContext ¶
func (i SpotFleetRequestArray) ToSpotFleetRequestArrayOutputWithContext(ctx context.Context) SpotFleetRequestArrayOutput
type SpotFleetRequestArrayInput ¶
type SpotFleetRequestArrayInput interface {
pulumi.Input
ToSpotFleetRequestArrayOutput() SpotFleetRequestArrayOutput
ToSpotFleetRequestArrayOutputWithContext(context.Context) SpotFleetRequestArrayOutput
}
SpotFleetRequestArrayInput is an input type that accepts SpotFleetRequestArray and SpotFleetRequestArrayOutput values. You can construct a concrete instance of `SpotFleetRequestArrayInput` via:
SpotFleetRequestArray{ SpotFleetRequestArgs{...} }
type SpotFleetRequestArrayOutput ¶
type SpotFleetRequestArrayOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestArrayOutput) ElementType ¶
func (SpotFleetRequestArrayOutput) ElementType() reflect.Type
func (SpotFleetRequestArrayOutput) Index ¶
func (o SpotFleetRequestArrayOutput) Index(i pulumi.IntInput) SpotFleetRequestOutput
func (SpotFleetRequestArrayOutput) ToSpotFleetRequestArrayOutput ¶
func (o SpotFleetRequestArrayOutput) ToSpotFleetRequestArrayOutput() SpotFleetRequestArrayOutput
func (SpotFleetRequestArrayOutput) ToSpotFleetRequestArrayOutputWithContext ¶
func (o SpotFleetRequestArrayOutput) ToSpotFleetRequestArrayOutputWithContext(ctx context.Context) SpotFleetRequestArrayOutput
type SpotFleetRequestInput ¶
type SpotFleetRequestInput interface {
pulumi.Input
ToSpotFleetRequestOutput() SpotFleetRequestOutput
ToSpotFleetRequestOutputWithContext(ctx context.Context) SpotFleetRequestOutput
}
type SpotFleetRequestLaunchSpecification ¶
type SpotFleetRequestLaunchSpecification struct {
Ami string `pulumi:"ami"`
AssociatePublicIpAddress *bool `pulumi:"associatePublicIpAddress"`
// The availability zone in which to place the request.
AvailabilityZone *string `pulumi:"availabilityZone"`
EbsBlockDevices []SpotFleetRequestLaunchSpecificationEbsBlockDevice `pulumi:"ebsBlockDevices"`
EbsOptimized *bool `pulumi:"ebsOptimized"`
EphemeralBlockDevices []SpotFleetRequestLaunchSpecificationEphemeralBlockDevice `pulumi:"ephemeralBlockDevices"`
IamInstanceProfile *string `pulumi:"iamInstanceProfile"`
IamInstanceProfileArn *string `pulumi:"iamInstanceProfileArn"`
// The type of instance to request.
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 spot bid for this override request.
SpotPrice *string `pulumi:"spotPrice"`
// The subnet in which to launch the requested instance.
SubnetId *string `pulumi:"subnetId"`
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags map[string]string `pulumi:"tags"`
UserData *string `pulumi:"userData"`
VpcSecurityGroupIds []string `pulumi:"vpcSecurityGroupIds"`
// The capacity added to the fleet by a fulfilled request.
WeightedCapacity *string `pulumi:"weightedCapacity"`
}
type SpotFleetRequestLaunchSpecificationArgs ¶
type SpotFleetRequestLaunchSpecificationArgs struct {
Ami pulumi.StringInput `pulumi:"ami"`
AssociatePublicIpAddress pulumi.BoolPtrInput `pulumi:"associatePublicIpAddress"`
// The availability zone in which to place the request.
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"`
// The type of instance to request.
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 spot bid for this override request.
SpotPrice pulumi.StringPtrInput `pulumi:"spotPrice"`
// The subnet in which to launch the requested instance.
SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput `pulumi:"tags"`
UserData pulumi.StringPtrInput `pulumi:"userData"`
VpcSecurityGroupIds pulumi.StringArrayInput `pulumi:"vpcSecurityGroupIds"`
// The capacity added to the fleet by a fulfilled request.
WeightedCapacity pulumi.StringPtrInput `pulumi:"weightedCapacity"`
}
func (SpotFleetRequestLaunchSpecificationArgs) ElementType ¶
func (SpotFleetRequestLaunchSpecificationArgs) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutput ¶
func (i SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutput() SpotFleetRequestLaunchSpecificationOutput
func (SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutputWithContext ¶
func (i SpotFleetRequestLaunchSpecificationArgs) ToSpotFleetRequestLaunchSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationOutput
type SpotFleetRequestLaunchSpecificationArray ¶
type SpotFleetRequestLaunchSpecificationArray []SpotFleetRequestLaunchSpecificationInput
func (SpotFleetRequestLaunchSpecificationArray) ElementType ¶
func (SpotFleetRequestLaunchSpecificationArray) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutput ¶
func (i SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutput() SpotFleetRequestLaunchSpecificationArrayOutput
func (SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext ¶
func (i SpotFleetRequestLaunchSpecificationArray) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationArrayOutput
type SpotFleetRequestLaunchSpecificationArrayInput ¶
type SpotFleetRequestLaunchSpecificationArrayInput interface {
pulumi.Input
ToSpotFleetRequestLaunchSpecificationArrayOutput() SpotFleetRequestLaunchSpecificationArrayOutput
ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationArrayOutput
}
SpotFleetRequestLaunchSpecificationArrayInput is an input type that accepts SpotFleetRequestLaunchSpecificationArray and SpotFleetRequestLaunchSpecificationArrayOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchSpecificationArrayInput` via:
SpotFleetRequestLaunchSpecificationArray{ SpotFleetRequestLaunchSpecificationArgs{...} }
type SpotFleetRequestLaunchSpecificationArrayOutput ¶
type SpotFleetRequestLaunchSpecificationArrayOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchSpecificationArrayOutput) ElementType ¶
func (SpotFleetRequestLaunchSpecificationArrayOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutput ¶
func (o SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutput() SpotFleetRequestLaunchSpecificationArrayOutput
func (SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext ¶
func (o SpotFleetRequestLaunchSpecificationArrayOutput) ToSpotFleetRequestLaunchSpecificationArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationArrayOutput
type SpotFleetRequestLaunchSpecificationEbsBlockDevice ¶
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"`
Throughput *int `pulumi:"throughput"`
VolumeSize *int `pulumi:"volumeSize"`
VolumeType *string `pulumi:"volumeType"`
}
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs ¶
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"`
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ElementType ¶
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput ¶
func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext ¶
func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray ¶
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray []SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ElementType ¶
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput ¶
func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext ¶
func (i SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput ¶
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput interface {
pulumi.Input
ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
}
SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput is an input type that accepts SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray and SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput` via:
SpotFleetRequestLaunchSpecificationEbsBlockDeviceArray{ SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs{...} }
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput ¶
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ElementType ¶
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput ¶
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput interface {
pulumi.Input
ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
}
SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput is an input type that accepts SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs and SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchSpecificationEbsBlockDeviceInput` via:
SpotFleetRequestLaunchSpecificationEbsBlockDeviceArgs{...}
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput ¶
type SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) DeviceName ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ElementType ¶
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Encrypted ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) KmsKeyId ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) SnapshotId ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Throughput ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEbsBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) VolumeSize ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
func (SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) VolumeType ¶
func (o SpotFleetRequestLaunchSpecificationEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs ¶
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs struct {
DeviceName pulumi.StringInput `pulumi:"deviceName"`
VirtualName pulumi.StringInput `pulumi:"virtualName"`
}
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ElementType ¶
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput ¶
func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext ¶
func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray ¶
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray []SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ElementType ¶
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput ¶
func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext ¶
func (i SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput ¶
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
}
SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput is an input type that accepts SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray and SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput` via:
SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArray{ SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs{...} }
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput ¶
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ElementType ¶
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput ¶
func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext ¶
func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput ¶
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput interface {
pulumi.Input
ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
}
SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput is an input type that accepts SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs and SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceInput` via:
SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArgs{...}
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput ¶
type SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) DeviceName ¶
func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ElementType ¶
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput ¶
func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext ¶
func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) VirtualName ¶
func (o SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceOutput) VirtualName() pulumi.StringOutput
type SpotFleetRequestLaunchSpecificationInput ¶
type SpotFleetRequestLaunchSpecificationInput interface {
pulumi.Input
ToSpotFleetRequestLaunchSpecificationOutput() SpotFleetRequestLaunchSpecificationOutput
ToSpotFleetRequestLaunchSpecificationOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationOutput
}
SpotFleetRequestLaunchSpecificationInput is an input type that accepts SpotFleetRequestLaunchSpecificationArgs and SpotFleetRequestLaunchSpecificationOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchSpecificationInput` via:
SpotFleetRequestLaunchSpecificationArgs{...}
type SpotFleetRequestLaunchSpecificationOutput ¶
type SpotFleetRequestLaunchSpecificationOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchSpecificationOutput) Ami ¶
func (o SpotFleetRequestLaunchSpecificationOutput) Ami() pulumi.StringOutput
func (SpotFleetRequestLaunchSpecificationOutput) AssociatePublicIpAddress ¶
func (o SpotFleetRequestLaunchSpecificationOutput) AssociatePublicIpAddress() pulumi.BoolPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) AvailabilityZone ¶
func (o SpotFleetRequestLaunchSpecificationOutput) AvailabilityZone() pulumi.StringPtrOutput
The availability zone in which to place the request.
func (SpotFleetRequestLaunchSpecificationOutput) EbsBlockDevices ¶
func (o SpotFleetRequestLaunchSpecificationOutput) EbsBlockDevices() SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationOutput) EbsOptimized ¶
func (o SpotFleetRequestLaunchSpecificationOutput) EbsOptimized() pulumi.BoolPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) ElementType ¶
func (SpotFleetRequestLaunchSpecificationOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationOutput) EphemeralBlockDevices ¶
func (o SpotFleetRequestLaunchSpecificationOutput) EphemeralBlockDevices() SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfile ¶
func (o SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfile() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfileArn ¶
func (o SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfileArn() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) InstanceType ¶
func (o SpotFleetRequestLaunchSpecificationOutput) InstanceType() pulumi.StringOutput
The type of instance to request.
func (SpotFleetRequestLaunchSpecificationOutput) KeyName ¶
func (o SpotFleetRequestLaunchSpecificationOutput) KeyName() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) Monitoring ¶
func (o SpotFleetRequestLaunchSpecificationOutput) Monitoring() pulumi.BoolPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) PlacementGroup ¶
func (o SpotFleetRequestLaunchSpecificationOutput) PlacementGroup() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) PlacementTenancy ¶
func (o SpotFleetRequestLaunchSpecificationOutput) PlacementTenancy() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) RootBlockDevices ¶
func (o SpotFleetRequestLaunchSpecificationOutput) RootBlockDevices() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationOutput) SpotPrice ¶
func (o SpotFleetRequestLaunchSpecificationOutput) SpotPrice() pulumi.StringPtrOutput
The maximum spot bid for this override request.
func (SpotFleetRequestLaunchSpecificationOutput) SubnetId ¶
func (o SpotFleetRequestLaunchSpecificationOutput) SubnetId() pulumi.StringPtrOutput
The subnet in which to launch the requested instance.
func (SpotFleetRequestLaunchSpecificationOutput) Tags ¶
func (o SpotFleetRequestLaunchSpecificationOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutput ¶
func (o SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutput() SpotFleetRequestLaunchSpecificationOutput
func (SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutputWithContext ¶
func (o SpotFleetRequestLaunchSpecificationOutput) ToSpotFleetRequestLaunchSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationOutput
func (SpotFleetRequestLaunchSpecificationOutput) UserData ¶
func (o SpotFleetRequestLaunchSpecificationOutput) UserData() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationOutput) VpcSecurityGroupIds ¶
func (o SpotFleetRequestLaunchSpecificationOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
func (SpotFleetRequestLaunchSpecificationOutput) WeightedCapacity ¶
func (o SpotFleetRequestLaunchSpecificationOutput) WeightedCapacity() pulumi.StringPtrOutput
The capacity added to the fleet by a fulfilled request.
type SpotFleetRequestLaunchSpecificationRootBlockDevice ¶
type SpotFleetRequestLaunchSpecificationRootBlockDevice struct {
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
Encrypted *bool `pulumi:"encrypted"`
Iops *int `pulumi:"iops"`
KmsKeyId *string `pulumi:"kmsKeyId"`
Throughput *int `pulumi:"throughput"`
VolumeSize *int `pulumi:"volumeSize"`
VolumeType *string `pulumi:"volumeType"`
}
type SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs ¶
type SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs struct {
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
Iops pulumi.IntPtrInput `pulumi:"iops"`
KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ElementType ¶
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput ¶
func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext ¶
func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
type SpotFleetRequestLaunchSpecificationRootBlockDeviceArray ¶
type SpotFleetRequestLaunchSpecificationRootBlockDeviceArray []SpotFleetRequestLaunchSpecificationRootBlockDeviceInput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ElementType ¶
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput ¶
func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext ¶
func (i SpotFleetRequestLaunchSpecificationRootBlockDeviceArray) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput ¶
type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput interface {
pulumi.Input
ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
}
SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput is an input type that accepts SpotFleetRequestLaunchSpecificationRootBlockDeviceArray and SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput` via:
SpotFleetRequestLaunchSpecificationRootBlockDeviceArray{ SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs{...} }
type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput ¶
type SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ElementType ¶
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayOutput
type SpotFleetRequestLaunchSpecificationRootBlockDeviceInput ¶
type SpotFleetRequestLaunchSpecificationRootBlockDeviceInput interface {
pulumi.Input
ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext(context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
}
SpotFleetRequestLaunchSpecificationRootBlockDeviceInput is an input type that accepts SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs and SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchSpecificationRootBlockDeviceInput` via:
SpotFleetRequestLaunchSpecificationRootBlockDeviceArgs{...}
type SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput ¶
type SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) DeleteOnTermination ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ElementType ¶
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Encrypted ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) KmsKeyId ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Throughput ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutput() SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) ToSpotFleetRequestLaunchSpecificationRootBlockDeviceOutputWithContext(ctx context.Context) SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) VolumeSize ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
func (SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) VolumeType ¶
func (o SpotFleetRequestLaunchSpecificationRootBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
type SpotFleetRequestLaunchTemplateConfig ¶
type SpotFleetRequestLaunchTemplateConfig struct {
// Launch template specification. See Launch Template Specification below for more details.
LaunchTemplateSpecification SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecification `pulumi:"launchTemplateSpecification"`
// One or more override configurations. See Overrides below for more details.
Overrides []SpotFleetRequestLaunchTemplateConfigOverride `pulumi:"overrides"`
}
type SpotFleetRequestLaunchTemplateConfigArgs ¶
type SpotFleetRequestLaunchTemplateConfigArgs struct {
// Launch template specification. See Launch Template Specification below for more details.
LaunchTemplateSpecification SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationInput `pulumi:"launchTemplateSpecification"`
// One or more override configurations. See Overrides below for more details.
Overrides SpotFleetRequestLaunchTemplateConfigOverrideArrayInput `pulumi:"overrides"`
}
func (SpotFleetRequestLaunchTemplateConfigArgs) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigArgs) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigArgs) ToSpotFleetRequestLaunchTemplateConfigOutput ¶
func (i SpotFleetRequestLaunchTemplateConfigArgs) ToSpotFleetRequestLaunchTemplateConfigOutput() SpotFleetRequestLaunchTemplateConfigOutput
func (SpotFleetRequestLaunchTemplateConfigArgs) ToSpotFleetRequestLaunchTemplateConfigOutputWithContext ¶
func (i SpotFleetRequestLaunchTemplateConfigArgs) ToSpotFleetRequestLaunchTemplateConfigOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOutput
type SpotFleetRequestLaunchTemplateConfigArray ¶
type SpotFleetRequestLaunchTemplateConfigArray []SpotFleetRequestLaunchTemplateConfigInput
func (SpotFleetRequestLaunchTemplateConfigArray) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigArray) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigArray) ToSpotFleetRequestLaunchTemplateConfigArrayOutput ¶
func (i SpotFleetRequestLaunchTemplateConfigArray) ToSpotFleetRequestLaunchTemplateConfigArrayOutput() SpotFleetRequestLaunchTemplateConfigArrayOutput
func (SpotFleetRequestLaunchTemplateConfigArray) ToSpotFleetRequestLaunchTemplateConfigArrayOutputWithContext ¶
func (i SpotFleetRequestLaunchTemplateConfigArray) ToSpotFleetRequestLaunchTemplateConfigArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigArrayOutput
type SpotFleetRequestLaunchTemplateConfigArrayInput ¶
type SpotFleetRequestLaunchTemplateConfigArrayInput interface {
pulumi.Input
ToSpotFleetRequestLaunchTemplateConfigArrayOutput() SpotFleetRequestLaunchTemplateConfigArrayOutput
ToSpotFleetRequestLaunchTemplateConfigArrayOutputWithContext(context.Context) SpotFleetRequestLaunchTemplateConfigArrayOutput
}
SpotFleetRequestLaunchTemplateConfigArrayInput is an input type that accepts SpotFleetRequestLaunchTemplateConfigArray and SpotFleetRequestLaunchTemplateConfigArrayOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchTemplateConfigArrayInput` via:
SpotFleetRequestLaunchTemplateConfigArray{ SpotFleetRequestLaunchTemplateConfigArgs{...} }
type SpotFleetRequestLaunchTemplateConfigArrayOutput ¶
type SpotFleetRequestLaunchTemplateConfigArrayOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchTemplateConfigArrayOutput) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigArrayOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigArrayOutput) ToSpotFleetRequestLaunchTemplateConfigArrayOutput ¶
func (o SpotFleetRequestLaunchTemplateConfigArrayOutput) ToSpotFleetRequestLaunchTemplateConfigArrayOutput() SpotFleetRequestLaunchTemplateConfigArrayOutput
func (SpotFleetRequestLaunchTemplateConfigArrayOutput) ToSpotFleetRequestLaunchTemplateConfigArrayOutputWithContext ¶
func (o SpotFleetRequestLaunchTemplateConfigArrayOutput) ToSpotFleetRequestLaunchTemplateConfigArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigArrayOutput
type SpotFleetRequestLaunchTemplateConfigInput ¶
type SpotFleetRequestLaunchTemplateConfigInput interface {
pulumi.Input
ToSpotFleetRequestLaunchTemplateConfigOutput() SpotFleetRequestLaunchTemplateConfigOutput
ToSpotFleetRequestLaunchTemplateConfigOutputWithContext(context.Context) SpotFleetRequestLaunchTemplateConfigOutput
}
SpotFleetRequestLaunchTemplateConfigInput is an input type that accepts SpotFleetRequestLaunchTemplateConfigArgs and SpotFleetRequestLaunchTemplateConfigOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchTemplateConfigInput` via:
SpotFleetRequestLaunchTemplateConfigArgs{...}
type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecification ¶
type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecification struct {
// The ID of the launch template. Conflicts with `name`.
Id *string `pulumi:"id"`
// The name of the launch template. Conflicts with `id`.
Name *string `pulumi:"name"`
// Template version. Unlike the autoscaling equivalent, does not support `$Latest` or `$Default`, so use the launchTemplate resource's attribute, e.g., `"${aws_launch_template.foo.latest_version}"`. It will use the default version if omitted.
Version *string `pulumi:"version"`
}
type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs ¶
type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs struct {
// The ID of the launch template. Conflicts with `name`.
Id pulumi.StringPtrInput `pulumi:"id"`
// The name of the launch template. Conflicts with `id`.
Name pulumi.StringPtrInput `pulumi:"name"`
// Template version. Unlike the autoscaling equivalent, does not support `$Latest` or `$Default`, so use the launchTemplate resource's attribute, e.g., `"${aws_launch_template.foo.latest_version}"`. It will use the default version if omitted.
Version pulumi.StringPtrInput `pulumi:"version"`
}
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput ¶
func (i SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput() SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext ¶
func (i SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationInput ¶
type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationInput interface {
pulumi.Input
ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput() SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(context.Context) SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
}
SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationInput is an input type that accepts SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs and SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationInput` via:
SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs{...}
type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput ¶
type SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Id ¶
func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Id() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `name`.
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Name ¶
func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Name() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `id`.
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput ¶
func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput() SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext ¶
func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) ToSpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
func (SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Version ¶
func (o SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput) Version() pulumi.StringPtrOutput
Template version. Unlike the autoscaling equivalent, does not support `$Latest` or `$Default`, so use the launchTemplate resource's attribute, e.g., `"${aws_launch_template.foo.latest_version}"`. It will use the default version if omitted.
type SpotFleetRequestLaunchTemplateConfigOutput ¶
type SpotFleetRequestLaunchTemplateConfigOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchTemplateConfigOutput) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigOutput) LaunchTemplateSpecification ¶
func (o SpotFleetRequestLaunchTemplateConfigOutput) LaunchTemplateSpecification() SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationOutput
Launch template specification. See Launch Template Specification below for more details.
func (SpotFleetRequestLaunchTemplateConfigOutput) Overrides ¶
func (o SpotFleetRequestLaunchTemplateConfigOutput) Overrides() SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
One or more override configurations. See Overrides below for more details.
func (SpotFleetRequestLaunchTemplateConfigOutput) ToSpotFleetRequestLaunchTemplateConfigOutput ¶
func (o SpotFleetRequestLaunchTemplateConfigOutput) ToSpotFleetRequestLaunchTemplateConfigOutput() SpotFleetRequestLaunchTemplateConfigOutput
func (SpotFleetRequestLaunchTemplateConfigOutput) ToSpotFleetRequestLaunchTemplateConfigOutputWithContext ¶
func (o SpotFleetRequestLaunchTemplateConfigOutput) ToSpotFleetRequestLaunchTemplateConfigOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOutput
type SpotFleetRequestLaunchTemplateConfigOverride ¶
type SpotFleetRequestLaunchTemplateConfigOverride struct {
// The availability zone in which to place the request.
AvailabilityZone *string `pulumi:"availabilityZone"`
// The type of instance to request.
InstanceType *string `pulumi:"instanceType"`
// The priority for the launch template override. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority.
Priority *float64 `pulumi:"priority"`
// The maximum spot bid for this override request.
SpotPrice *string `pulumi:"spotPrice"`
// The subnet in which to launch the requested instance.
SubnetId *string `pulumi:"subnetId"`
// The capacity added to the fleet by a fulfilled request.
WeightedCapacity *float64 `pulumi:"weightedCapacity"`
}
type SpotFleetRequestLaunchTemplateConfigOverrideArgs ¶
type SpotFleetRequestLaunchTemplateConfigOverrideArgs struct {
// The availability zone in which to place the request.
AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"`
// The type of instance to request.
InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
// The priority for the launch template override. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority.
Priority pulumi.Float64PtrInput `pulumi:"priority"`
// The maximum spot bid for this override request.
SpotPrice pulumi.StringPtrInput `pulumi:"spotPrice"`
// The subnet in which to launch the requested instance.
SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
// The capacity added to the fleet by a fulfilled request.
WeightedCapacity pulumi.Float64PtrInput `pulumi:"weightedCapacity"`
}
func (SpotFleetRequestLaunchTemplateConfigOverrideArgs) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigOverrideArgs) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigOverrideArgs) ToSpotFleetRequestLaunchTemplateConfigOverrideOutput ¶
func (i SpotFleetRequestLaunchTemplateConfigOverrideArgs) ToSpotFleetRequestLaunchTemplateConfigOverrideOutput() SpotFleetRequestLaunchTemplateConfigOverrideOutput
func (SpotFleetRequestLaunchTemplateConfigOverrideArgs) ToSpotFleetRequestLaunchTemplateConfigOverrideOutputWithContext ¶
func (i SpotFleetRequestLaunchTemplateConfigOverrideArgs) ToSpotFleetRequestLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOverrideOutput
type SpotFleetRequestLaunchTemplateConfigOverrideArray ¶
type SpotFleetRequestLaunchTemplateConfigOverrideArray []SpotFleetRequestLaunchTemplateConfigOverrideInput
func (SpotFleetRequestLaunchTemplateConfigOverrideArray) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigOverrideArray) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigOverrideArray) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutput ¶
func (i SpotFleetRequestLaunchTemplateConfigOverrideArray) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutput() SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
func (SpotFleetRequestLaunchTemplateConfigOverrideArray) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutputWithContext ¶
func (i SpotFleetRequestLaunchTemplateConfigOverrideArray) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
type SpotFleetRequestLaunchTemplateConfigOverrideArrayInput ¶
type SpotFleetRequestLaunchTemplateConfigOverrideArrayInput interface {
pulumi.Input
ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutput() SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutputWithContext(context.Context) SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
}
SpotFleetRequestLaunchTemplateConfigOverrideArrayInput is an input type that accepts SpotFleetRequestLaunchTemplateConfigOverrideArray and SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchTemplateConfigOverrideArrayInput` via:
SpotFleetRequestLaunchTemplateConfigOverrideArray{ SpotFleetRequestLaunchTemplateConfigOverrideArgs{...} }
type SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput ¶
type SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutput ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutput() SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
func (SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutputWithContext ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideArrayOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOverrideArrayOutput
type SpotFleetRequestLaunchTemplateConfigOverrideInput ¶
type SpotFleetRequestLaunchTemplateConfigOverrideInput interface {
pulumi.Input
ToSpotFleetRequestLaunchTemplateConfigOverrideOutput() SpotFleetRequestLaunchTemplateConfigOverrideOutput
ToSpotFleetRequestLaunchTemplateConfigOverrideOutputWithContext(context.Context) SpotFleetRequestLaunchTemplateConfigOverrideOutput
}
SpotFleetRequestLaunchTemplateConfigOverrideInput is an input type that accepts SpotFleetRequestLaunchTemplateConfigOverrideArgs and SpotFleetRequestLaunchTemplateConfigOverrideOutput values. You can construct a concrete instance of `SpotFleetRequestLaunchTemplateConfigOverrideInput` via:
SpotFleetRequestLaunchTemplateConfigOverrideArgs{...}
type SpotFleetRequestLaunchTemplateConfigOverrideOutput ¶
type SpotFleetRequestLaunchTemplateConfigOverrideOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) AvailabilityZone ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) AvailabilityZone() pulumi.StringPtrOutput
The availability zone in which to place the request.
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) ElementType ¶
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) ElementType() reflect.Type
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) InstanceType ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) InstanceType() pulumi.StringPtrOutput
The type of instance to request.
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) Priority ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) Priority() pulumi.Float64PtrOutput
The priority for the launch template override. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority.
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) SpotPrice ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) SpotPrice() pulumi.StringPtrOutput
The maximum spot bid for this override request.
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) SubnetId ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) SubnetId() pulumi.StringPtrOutput
The subnet in which to launch the requested instance.
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideOutput ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideOutput() SpotFleetRequestLaunchTemplateConfigOverrideOutput
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideOutputWithContext ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) ToSpotFleetRequestLaunchTemplateConfigOverrideOutputWithContext(ctx context.Context) SpotFleetRequestLaunchTemplateConfigOverrideOutput
func (SpotFleetRequestLaunchTemplateConfigOverrideOutput) WeightedCapacity ¶
func (o SpotFleetRequestLaunchTemplateConfigOverrideOutput) WeightedCapacity() pulumi.Float64PtrOutput
The capacity added to the fleet by a fulfilled request.
type SpotFleetRequestMap ¶
type SpotFleetRequestMap map[string]SpotFleetRequestInput
func (SpotFleetRequestMap) ElementType ¶
func (SpotFleetRequestMap) ElementType() reflect.Type
func (SpotFleetRequestMap) ToSpotFleetRequestMapOutput ¶
func (i SpotFleetRequestMap) ToSpotFleetRequestMapOutput() SpotFleetRequestMapOutput
func (SpotFleetRequestMap) ToSpotFleetRequestMapOutputWithContext ¶
func (i SpotFleetRequestMap) ToSpotFleetRequestMapOutputWithContext(ctx context.Context) SpotFleetRequestMapOutput
type SpotFleetRequestMapInput ¶
type SpotFleetRequestMapInput interface {
pulumi.Input
ToSpotFleetRequestMapOutput() SpotFleetRequestMapOutput
ToSpotFleetRequestMapOutputWithContext(context.Context) SpotFleetRequestMapOutput
}
SpotFleetRequestMapInput is an input type that accepts SpotFleetRequestMap and SpotFleetRequestMapOutput values. You can construct a concrete instance of `SpotFleetRequestMapInput` via:
SpotFleetRequestMap{ "key": SpotFleetRequestArgs{...} }
type SpotFleetRequestMapOutput ¶
type SpotFleetRequestMapOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestMapOutput) ElementType ¶
func (SpotFleetRequestMapOutput) ElementType() reflect.Type
func (SpotFleetRequestMapOutput) MapIndex ¶
func (o SpotFleetRequestMapOutput) MapIndex(k pulumi.StringInput) SpotFleetRequestOutput
func (SpotFleetRequestMapOutput) ToSpotFleetRequestMapOutput ¶
func (o SpotFleetRequestMapOutput) ToSpotFleetRequestMapOutput() SpotFleetRequestMapOutput
func (SpotFleetRequestMapOutput) ToSpotFleetRequestMapOutputWithContext ¶
func (o SpotFleetRequestMapOutput) ToSpotFleetRequestMapOutputWithContext(ctx context.Context) SpotFleetRequestMapOutput
type SpotFleetRequestOutput ¶
type SpotFleetRequestOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestOutput) ElementType ¶
func (SpotFleetRequestOutput) ElementType() reflect.Type
func (SpotFleetRequestOutput) ToSpotFleetRequestOutput ¶
func (o SpotFleetRequestOutput) ToSpotFleetRequestOutput() SpotFleetRequestOutput
func (SpotFleetRequestOutput) ToSpotFleetRequestOutputWithContext ¶
func (o SpotFleetRequestOutput) ToSpotFleetRequestOutputWithContext(ctx context.Context) SpotFleetRequestOutput
type SpotFleetRequestSpotMaintenanceStrategies ¶
type SpotFleetRequestSpotMaintenanceStrategies struct {
// Nested argument containing the capacity rebalance for your fleet request. Defined below.
CapacityRebalance *SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalance `pulumi:"capacityRebalance"`
}
type SpotFleetRequestSpotMaintenanceStrategiesArgs ¶
type SpotFleetRequestSpotMaintenanceStrategiesArgs struct {
// Nested argument containing the capacity rebalance for your fleet request. Defined below.
CapacityRebalance SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrInput `pulumi:"capacityRebalance"`
}
func (SpotFleetRequestSpotMaintenanceStrategiesArgs) ElementType ¶
func (SpotFleetRequestSpotMaintenanceStrategiesArgs) ElementType() reflect.Type
func (SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesOutput ¶
func (i SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesOutput() SpotFleetRequestSpotMaintenanceStrategiesOutput
func (SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesOutputWithContext ¶
func (i SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesOutput
func (SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput ¶
func (i SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput() SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
func (SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext ¶
func (i SpotFleetRequestSpotMaintenanceStrategiesArgs) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalance ¶
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalance struct {
// The replacement strategy to use. Only available for spot fleets with `fleetType` set to `maintain`. Valid values: `launch`.
ReplacementStrategy *string `pulumi:"replacementStrategy"`
}
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs ¶
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs struct {
// The replacement strategy to use. Only available for spot fleets with `fleetType` set to `maintain`. Valid values: `launch`.
ReplacementStrategy pulumi.StringPtrInput `pulumi:"replacementStrategy"`
}
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ElementType ¶
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ElementType() reflect.Type
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput ¶
func (i SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutputWithContext ¶
func (i SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput ¶
func (i SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext ¶
func (i SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceInput ¶
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceInput interface {
pulumi.Input
ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutputWithContext(context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
}
SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceInput is an input type that accepts SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs and SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput values. You can construct a concrete instance of `SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceInput` via:
SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs{...}
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput ¶
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ElementType ¶
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ElementType() reflect.Type
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ReplacementStrategy ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ReplacementStrategy() pulumi.StringPtrOutput
The replacement strategy to use. Only available for spot fleets with `fleetType` set to `maintain`. Valid values: `launch`.
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutputWithContext ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrInput ¶
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrInput interface {
pulumi.Input
ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
}
SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrInput is an input type that accepts SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs, SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtr and SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput values. You can construct a concrete instance of `SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrInput` via:
SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs{...}
or:
nil
func SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtr ¶
func SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtr(v *SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalanceArgs) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrInput
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput ¶
type SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ElementType ¶
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ElementType() reflect.Type
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ReplacementStrategy ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ReplacementStrategy() pulumi.StringPtrOutput
The replacement strategy to use. Only available for spot fleets with `fleetType` set to `maintain`. Valid values: `launch`.
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
func (SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
type SpotFleetRequestSpotMaintenanceStrategiesInput ¶
type SpotFleetRequestSpotMaintenanceStrategiesInput interface {
pulumi.Input
ToSpotFleetRequestSpotMaintenanceStrategiesOutput() SpotFleetRequestSpotMaintenanceStrategiesOutput
ToSpotFleetRequestSpotMaintenanceStrategiesOutputWithContext(context.Context) SpotFleetRequestSpotMaintenanceStrategiesOutput
}
SpotFleetRequestSpotMaintenanceStrategiesInput is an input type that accepts SpotFleetRequestSpotMaintenanceStrategiesArgs and SpotFleetRequestSpotMaintenanceStrategiesOutput values. You can construct a concrete instance of `SpotFleetRequestSpotMaintenanceStrategiesInput` via:
SpotFleetRequestSpotMaintenanceStrategiesArgs{...}
type SpotFleetRequestSpotMaintenanceStrategiesOutput ¶
type SpotFleetRequestSpotMaintenanceStrategiesOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestSpotMaintenanceStrategiesOutput) CapacityRebalance ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) CapacityRebalance() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
Nested argument containing the capacity rebalance for your fleet request. Defined below.
func (SpotFleetRequestSpotMaintenanceStrategiesOutput) ElementType ¶
func (SpotFleetRequestSpotMaintenanceStrategiesOutput) ElementType() reflect.Type
func (SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesOutput ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesOutput() SpotFleetRequestSpotMaintenanceStrategiesOutput
func (SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesOutputWithContext ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesOutput
func (SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput() SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
func (SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
type SpotFleetRequestSpotMaintenanceStrategiesPtrInput ¶
type SpotFleetRequestSpotMaintenanceStrategiesPtrInput interface {
pulumi.Input
ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput() SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext(context.Context) SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
}
SpotFleetRequestSpotMaintenanceStrategiesPtrInput is an input type that accepts SpotFleetRequestSpotMaintenanceStrategiesArgs, SpotFleetRequestSpotMaintenanceStrategiesPtr and SpotFleetRequestSpotMaintenanceStrategiesPtrOutput values. You can construct a concrete instance of `SpotFleetRequestSpotMaintenanceStrategiesPtrInput` via:
SpotFleetRequestSpotMaintenanceStrategiesArgs{...}
or:
nil
func SpotFleetRequestSpotMaintenanceStrategiesPtr ¶
func SpotFleetRequestSpotMaintenanceStrategiesPtr(v *SpotFleetRequestSpotMaintenanceStrategiesArgs) SpotFleetRequestSpotMaintenanceStrategiesPtrInput
type SpotFleetRequestSpotMaintenanceStrategiesPtrOutput ¶
type SpotFleetRequestSpotMaintenanceStrategiesPtrOutput struct{ *pulumi.OutputState }
func (SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) CapacityRebalance ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) CapacityRebalance() SpotFleetRequestSpotMaintenanceStrategiesCapacityRebalancePtrOutput
Nested argument containing the capacity rebalance for your fleet request. Defined below.
func (SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ElementType ¶
func (SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ElementType() reflect.Type
func (SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutput() SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
func (SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext ¶
func (o SpotFleetRequestSpotMaintenanceStrategiesPtrOutput) ToSpotFleetRequestSpotMaintenanceStrategiesPtrOutputWithContext(ctx context.Context) SpotFleetRequestSpotMaintenanceStrategiesPtrOutput
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. Conflicts with `launchTemplateConfig`. At least one of `launchSpecification` or `launchTemplateConfig` is required.
LaunchSpecifications SpotFleetRequestLaunchSpecificationArrayInput
// Launch template configuration block. See Launch Template Configs below for more details. Conflicts with `launchSpecification`. At least one of `launchSpecification` or `launchTemplateConfig` is required.
LaunchTemplateConfigs SpotFleetRequestLaunchTemplateConfigArrayInput
// A list of elastic load balancer names to add to the Spot fleet.
LoadBalancers pulumi.StringArrayInput
// The order of the launch template overrides to use in fulfilling On-Demand capacity. the possible values are: `lowestPrice` and `prioritized`. the default is `lowestPrice`.
OnDemandAllocationStrategy pulumi.StringPtrInput
// The maximum amount per hour for On-Demand Instances that you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.
OnDemandMaxTotalPrice pulumi.StringPtrInput
// The number of On-Demand units to request. If the request type is `maintain`, you can specify a target capacity of 0 and add capacity later.
OnDemandTargetCapacity pulumi.IntPtrInput
// Indicates whether Spot fleet should replace unhealthy instances. Default `false`.
ReplaceUnhealthyInstances pulumi.BoolPtrInput
// Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
SpotMaintenanceStrategies SpotFleetRequestSpotMaintenanceStrategiesPtrInput
// The maximum spot bid for this override request.
SpotPrice pulumi.StringPtrInput
// The state of the Spot fleet request.
SpotRequestState pulumi.StringPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// 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.
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 ¶
func (SpotFleetRequestState) ElementType() reflect.Type
type SpotInstanceRequest ¶
type SpotInstanceRequest struct {
pulumi.CustomResourceState
// AMI to use for the instance. Required unless `launchTemplate` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
Ami pulumi.StringOutput `pulumi:"ami"`
Arn pulumi.StringOutput `pulumi:"arn"`
// Whether to associate a public IP address with an instance in a VPC.
AssociatePublicIpAddress pulumi.BoolOutput `pulumi:"associatePublicIpAddress"`
// 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"`
// Describes an instance's Capacity Reservation targeting option. See Capacity Reservation Specification below for more details.
CapacityReservationSpecification SpotInstanceRequestCapacityReservationSpecificationOutput `pulumi:"capacityReservationSpecification"`
// 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"`
// Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
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.BoolOutput `pulumi:"disableApiTermination"`
// One or more configuration blocks with 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. When accessing this as an attribute reference, it is a set of objects.
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.BoolOutput `pulumi:"ebsOptimized"`
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions SpotInstanceRequestEnclaveOptionsOutput `pulumi:"enclaveOptions"`
// One or more configuration blocks to customize Ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a set of objects.
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"`
// If true, the launched EC2 instance will support hibernation.
Hibernation pulumi.BoolPtrOutput `pulumi:"hibernation"`
// 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"`
// 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`.
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.StringOutput `pulumi:"instanceInitiatedShutdownBehavior"`
// Indicates Spot instance behavior when it is interrupted. Valid values are `terminate`, `stop`, or `hibernate`. Default value is `terminate`.
InstanceInterruptionBehavior pulumi.StringPtrOutput `pulumi:"instanceInterruptionBehavior"`
InstanceState pulumi.StringOutput `pulumi:"instanceState"`
// The instance type to use for the instance. Updates to this field will trigger a stop/start of the EC2 instance.
InstanceType pulumi.StringOutput `pulumi:"instanceType"`
// A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
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"`
// 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"`
// Specifies a Launch Template to configure the instance. Parameters configured on this resource will override the corresponding parameters in the Launch Template.
// See Launch Template Specification below for more details.
LaunchTemplate SpotInstanceRequestLaunchTemplatePtrOutput `pulumi:"launchTemplate"`
// Customize the metadata options of the instance. See Metadata Options below for more details.
MetadataOptions SpotInstanceRequestMetadataOptionsOutput `pulumi:"metadataOptions"`
// If true, the launched EC2 instance will have detailed monitoring enabled. (Available since v0.6.0)
Monitoring pulumi.BoolOutput `pulumi:"monitoring"`
// Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
NetworkInterfaces SpotInstanceRequestNetworkInterfaceArrayOutput `pulumi:"networkInterfaces"`
OutpostArn pulumi.StringOutput `pulumi:"outpostArn"`
PasswordData pulumi.StringOutput `pulumi:"passwordData"`
// Placement Group to start the instance in.
PlacementGroup pulumi.StringOutput `pulumi:"placementGroup"`
// The number of the partition the instance is in. Valid only if the `ec2.PlacementGroup` resource's `strategy` argument is set to `"partition"`.
PlacementPartitionNumber pulumi.IntOutput `pulumi:"placementPartitionNumber"`
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"`
// Configuration block to customize details about the root block device of the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a list containing one object.
RootBlockDevice SpotInstanceRequestRootBlockDeviceOutput `pulumi:"rootBlockDevice"`
// A list of secondary private IPv4 addresses to assign to the instance's primary network interface (eth0) in a VPC. Can only be assigned to the primary network interface (eth0) attached at instance creation, not a pre-existing network interface i.e., referenced in a `networkInterface` block. Refer to the [Elastic network interfaces documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) to see the maximum number of private IP addresses allowed per instance type.
SecondaryPrivateIps pulumi.StringArrayOutput `pulumi:"secondaryPrivateIps"`
// A list of security group names 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.StringOutput `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"`
// VPC Subnet ID to launch in.
SubnetId pulumi.StringOutput `pulumi:"subnetId"`
// A map of tags to assign to the resource. Note that these tags apply to the instance and not block storage devices. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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"`
// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance.
UserData pulumi.StringOutput `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. Updates to this field will trigger a stop/start of the EC2 instance.
UserDataBase64 pulumi.StringOutput `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 map of tags to assign, at instance-creation time, to root and EBS volumes.
VolumeTags pulumi.StringMapOutput `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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSpotInstanceRequest(ctx, "cheapWorker", &ec2.SpotInstanceRequestArgs{
Ami: pulumi.String("ami-1234"),
InstanceType: pulumi.String("c4.xlarge"),
SpotPrice: pulumi.String("0.03"),
Tags: pulumi.StringMap{
"Name": pulumi.String("CheapWorker"),
},
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*SpotInstanceRequest) ElementType ¶
func (*SpotInstanceRequest) ElementType() reflect.Type
func (*SpotInstanceRequest) ToSpotInstanceRequestOutput ¶
func (i *SpotInstanceRequest) ToSpotInstanceRequestOutput() SpotInstanceRequestOutput
func (*SpotInstanceRequest) ToSpotInstanceRequestOutputWithContext ¶
func (i *SpotInstanceRequest) ToSpotInstanceRequestOutputWithContext(ctx context.Context) SpotInstanceRequestOutput
type SpotInstanceRequestArgs ¶
type SpotInstanceRequestArgs struct {
// AMI to use for the instance. Required unless `launchTemplate` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
Ami pulumi.StringPtrInput
// Whether to associate a public IP address with an instance in a VPC.
AssociatePublicIpAddress pulumi.BoolPtrInput
// 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
// Describes an instance's Capacity Reservation targeting option. See Capacity Reservation Specification below for more details.
CapacityReservationSpecification SpotInstanceRequestCapacityReservationSpecificationPtrInput
// 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
// Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
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
// One or more configuration blocks with 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. When accessing this as an attribute reference, it is a set of objects.
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
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions SpotInstanceRequestEnclaveOptionsPtrInput
// One or more configuration blocks to customize Ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a set of objects.
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
// If true, the launched EC2 instance will support hibernation.
Hibernation pulumi.BoolPtrInput
// 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
// 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`.
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 Spot instance behavior when it is interrupted. Valid values are `terminate`, `stop`, or `hibernate`. Default value is `terminate`.
InstanceInterruptionBehavior pulumi.StringPtrInput
// The instance type to use for the instance. Updates to this field will trigger a stop/start of the EC2 instance.
InstanceType pulumi.StringPtrInput
// A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
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
// 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
// Specifies a Launch Template to configure the instance. Parameters configured on this resource will override the corresponding parameters in the Launch Template.
// See Launch Template Specification below for more details.
LaunchTemplate SpotInstanceRequestLaunchTemplatePtrInput
// Customize the metadata options of the instance. See Metadata Options below for more details.
MetadataOptions SpotInstanceRequestMetadataOptionsPtrInput
// 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
// Placement Group to start the instance in.
PlacementGroup pulumi.StringPtrInput
// The number of the partition the instance is in. Valid only if the `ec2.PlacementGroup` resource's `strategy` argument is set to `"partition"`.
PlacementPartitionNumber pulumi.IntPtrInput
// Private IP address to associate with the instance in a VPC.
PrivateIp pulumi.StringPtrInput
// Configuration block to customize details about the root block device of the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a list containing one object.
RootBlockDevice SpotInstanceRequestRootBlockDevicePtrInput
// A list of secondary private IPv4 addresses to assign to the instance's primary network interface (eth0) in a VPC. Can only be assigned to the primary network interface (eth0) attached at instance creation, not a pre-existing network interface i.e., referenced in a `networkInterface` block. Refer to the [Elastic network interfaces documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) to see the maximum number of private IP addresses allowed per instance type.
SecondaryPrivateIps pulumi.StringArrayInput
// A list of security group names 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
// VPC Subnet ID to launch in.
SubnetId pulumi.StringPtrInput
// A map of tags to assign to the resource. Note that these tags apply to the instance and not block storage devices. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// 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
// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance.
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. Updates to this field will trigger a stop/start of the EC2 instance.
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 map of tags to assign, at instance-creation time, to root and EBS volumes.
VolumeTags pulumi.StringMapInput
// 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 ¶
func (SpotInstanceRequestArgs) ElementType() reflect.Type
type SpotInstanceRequestArray ¶
type SpotInstanceRequestArray []SpotInstanceRequestInput
func (SpotInstanceRequestArray) ElementType ¶
func (SpotInstanceRequestArray) ElementType() reflect.Type
func (SpotInstanceRequestArray) ToSpotInstanceRequestArrayOutput ¶
func (i SpotInstanceRequestArray) ToSpotInstanceRequestArrayOutput() SpotInstanceRequestArrayOutput
func (SpotInstanceRequestArray) ToSpotInstanceRequestArrayOutputWithContext ¶
func (i SpotInstanceRequestArray) ToSpotInstanceRequestArrayOutputWithContext(ctx context.Context) SpotInstanceRequestArrayOutput
type SpotInstanceRequestArrayInput ¶
type SpotInstanceRequestArrayInput interface {
pulumi.Input
ToSpotInstanceRequestArrayOutput() SpotInstanceRequestArrayOutput
ToSpotInstanceRequestArrayOutputWithContext(context.Context) SpotInstanceRequestArrayOutput
}
SpotInstanceRequestArrayInput is an input type that accepts SpotInstanceRequestArray and SpotInstanceRequestArrayOutput values. You can construct a concrete instance of `SpotInstanceRequestArrayInput` via:
SpotInstanceRequestArray{ SpotInstanceRequestArgs{...} }
type SpotInstanceRequestArrayOutput ¶
type SpotInstanceRequestArrayOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestArrayOutput) ElementType ¶
func (SpotInstanceRequestArrayOutput) ElementType() reflect.Type
func (SpotInstanceRequestArrayOutput) Index ¶
func (o SpotInstanceRequestArrayOutput) Index(i pulumi.IntInput) SpotInstanceRequestOutput
func (SpotInstanceRequestArrayOutput) ToSpotInstanceRequestArrayOutput ¶
func (o SpotInstanceRequestArrayOutput) ToSpotInstanceRequestArrayOutput() SpotInstanceRequestArrayOutput
func (SpotInstanceRequestArrayOutput) ToSpotInstanceRequestArrayOutputWithContext ¶
func (o SpotInstanceRequestArrayOutput) ToSpotInstanceRequestArrayOutputWithContext(ctx context.Context) SpotInstanceRequestArrayOutput
type SpotInstanceRequestCapacityReservationSpecification ¶
type SpotInstanceRequestCapacityReservationSpecification struct {
// Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
CapacityReservationPreference *string `pulumi:"capacityReservationPreference"`
// Information about the target Capacity Reservation. See Capacity Reservation Target below for more details.
CapacityReservationTarget *SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTarget `pulumi:"capacityReservationTarget"`
}
type SpotInstanceRequestCapacityReservationSpecificationArgs ¶
type SpotInstanceRequestCapacityReservationSpecificationArgs struct {
// Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
CapacityReservationPreference pulumi.StringPtrInput `pulumi:"capacityReservationPreference"`
// Information about the target Capacity Reservation. See Capacity Reservation Target below for more details.
CapacityReservationTarget SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrInput `pulumi:"capacityReservationTarget"`
}
func (SpotInstanceRequestCapacityReservationSpecificationArgs) ElementType ¶
func (SpotInstanceRequestCapacityReservationSpecificationArgs) ElementType() reflect.Type
func (SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationOutput ¶
func (i SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationOutput() SpotInstanceRequestCapacityReservationSpecificationOutput
func (SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationOutputWithContext ¶
func (i SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationOutput
func (SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput ¶
func (i SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput() SpotInstanceRequestCapacityReservationSpecificationPtrOutput
func (SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext ¶
func (i SpotInstanceRequestCapacityReservationSpecificationArgs) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationPtrOutput
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTarget ¶
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTarget struct {
// The ID of the Capacity Reservation in which to run the instance.
CapacityReservationId *string `pulumi:"capacityReservationId"`
}
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs ¶
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs struct {
// The ID of the Capacity Reservation in which to run the instance.
CapacityReservationId pulumi.StringPtrInput `pulumi:"capacityReservationId"`
}
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType ¶
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ElementType() reflect.Type
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput ¶
func (i SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutputWithContext ¶
func (i SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (i SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (i SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetInput ¶
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetInput interface {
pulumi.Input
ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput
ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(context.Context) SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput
}
SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetInput is an input type that accepts SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs and SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput values. You can construct a concrete instance of `SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetInput` via:
SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs{...}
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput ¶
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId ¶
func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) CapacityReservationId() pulumi.StringPtrOutput
The ID of the Capacity Reservation in which to run the instance.
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ElementType ¶
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput ¶
func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutputWithContext ¶
func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrInput ¶
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrInput interface {
pulumi.Input
ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(context.Context) SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
}
SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrInput is an input type that accepts SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs, SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtr and SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput values. You can construct a concrete instance of `SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrInput` via:
SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs{...}
or:
nil
func SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtr ¶
func SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtr(v *SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetArgs) SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrInput
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
type SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId ¶
func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) CapacityReservationId() pulumi.StringPtrOutput
The ID of the Capacity Reservation in which to run the instance.
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ElementType ¶
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput ¶
func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
func (SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext ¶
func (o SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
type SpotInstanceRequestCapacityReservationSpecificationInput ¶
type SpotInstanceRequestCapacityReservationSpecificationInput interface {
pulumi.Input
ToSpotInstanceRequestCapacityReservationSpecificationOutput() SpotInstanceRequestCapacityReservationSpecificationOutput
ToSpotInstanceRequestCapacityReservationSpecificationOutputWithContext(context.Context) SpotInstanceRequestCapacityReservationSpecificationOutput
}
SpotInstanceRequestCapacityReservationSpecificationInput is an input type that accepts SpotInstanceRequestCapacityReservationSpecificationArgs and SpotInstanceRequestCapacityReservationSpecificationOutput values. You can construct a concrete instance of `SpotInstanceRequestCapacityReservationSpecificationInput` via:
SpotInstanceRequestCapacityReservationSpecificationArgs{...}
type SpotInstanceRequestCapacityReservationSpecificationOutput ¶
type SpotInstanceRequestCapacityReservationSpecificationOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestCapacityReservationSpecificationOutput) CapacityReservationPreference ¶
func (o SpotInstanceRequestCapacityReservationSpecificationOutput) CapacityReservationPreference() pulumi.StringPtrOutput
Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
func (SpotInstanceRequestCapacityReservationSpecificationOutput) CapacityReservationTarget ¶
func (o SpotInstanceRequestCapacityReservationSpecificationOutput) CapacityReservationTarget() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
Information about the target Capacity Reservation. See Capacity Reservation Target below for more details.
func (SpotInstanceRequestCapacityReservationSpecificationOutput) ElementType ¶
func (SpotInstanceRequestCapacityReservationSpecificationOutput) ElementType() reflect.Type
func (SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationOutput ¶
func (o SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationOutput() SpotInstanceRequestCapacityReservationSpecificationOutput
func (SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationOutputWithContext ¶
func (o SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationOutput
func (SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput ¶
func (o SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput() SpotInstanceRequestCapacityReservationSpecificationPtrOutput
func (SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext ¶
func (o SpotInstanceRequestCapacityReservationSpecificationOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationPtrOutput
type SpotInstanceRequestCapacityReservationSpecificationPtrInput ¶
type SpotInstanceRequestCapacityReservationSpecificationPtrInput interface {
pulumi.Input
ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput() SpotInstanceRequestCapacityReservationSpecificationPtrOutput
ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext(context.Context) SpotInstanceRequestCapacityReservationSpecificationPtrOutput
}
SpotInstanceRequestCapacityReservationSpecificationPtrInput is an input type that accepts SpotInstanceRequestCapacityReservationSpecificationArgs, SpotInstanceRequestCapacityReservationSpecificationPtr and SpotInstanceRequestCapacityReservationSpecificationPtrOutput values. You can construct a concrete instance of `SpotInstanceRequestCapacityReservationSpecificationPtrInput` via:
SpotInstanceRequestCapacityReservationSpecificationArgs{...}
or:
nil
func SpotInstanceRequestCapacityReservationSpecificationPtr ¶
func SpotInstanceRequestCapacityReservationSpecificationPtr(v *SpotInstanceRequestCapacityReservationSpecificationArgs) SpotInstanceRequestCapacityReservationSpecificationPtrInput
type SpotInstanceRequestCapacityReservationSpecificationPtrOutput ¶
type SpotInstanceRequestCapacityReservationSpecificationPtrOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestCapacityReservationSpecificationPtrOutput) CapacityReservationPreference ¶
func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) CapacityReservationPreference() pulumi.StringPtrOutput
Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
func (SpotInstanceRequestCapacityReservationSpecificationPtrOutput) CapacityReservationTarget ¶
func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) CapacityReservationTarget() SpotInstanceRequestCapacityReservationSpecificationCapacityReservationTargetPtrOutput
Information about the target Capacity Reservation. See Capacity Reservation Target below for more details.
func (SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ElementType ¶
func (SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ElementType() reflect.Type
func (SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput ¶
func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutput() SpotInstanceRequestCapacityReservationSpecificationPtrOutput
func (SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext ¶
func (o SpotInstanceRequestCapacityReservationSpecificationPtrOutput) ToSpotInstanceRequestCapacityReservationSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCapacityReservationSpecificationPtrOutput
type SpotInstanceRequestCreditSpecification ¶
type SpotInstanceRequestCreditSpecification struct {
// Credit option for CPU usage. Valid values include `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
CpuCredits *string `pulumi:"cpuCredits"`
}
type SpotInstanceRequestCreditSpecificationArgs ¶
type SpotInstanceRequestCreditSpecificationArgs struct {
// Credit option for CPU usage. Valid values include `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
CpuCredits pulumi.StringPtrInput `pulumi:"cpuCredits"`
}
func (SpotInstanceRequestCreditSpecificationArgs) ElementType ¶
func (SpotInstanceRequestCreditSpecificationArgs) ElementType() reflect.Type
func (SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutput ¶
func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutput() SpotInstanceRequestCreditSpecificationOutput
func (SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutputWithContext ¶
func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationOutput
func (SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutput ¶
func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput
func (SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext ¶
func (i SpotInstanceRequestCreditSpecificationArgs) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput
type SpotInstanceRequestCreditSpecificationInput ¶
type SpotInstanceRequestCreditSpecificationInput interface {
pulumi.Input
ToSpotInstanceRequestCreditSpecificationOutput() SpotInstanceRequestCreditSpecificationOutput
ToSpotInstanceRequestCreditSpecificationOutputWithContext(context.Context) SpotInstanceRequestCreditSpecificationOutput
}
SpotInstanceRequestCreditSpecificationInput is an input type that accepts SpotInstanceRequestCreditSpecificationArgs and SpotInstanceRequestCreditSpecificationOutput values. You can construct a concrete instance of `SpotInstanceRequestCreditSpecificationInput` via:
SpotInstanceRequestCreditSpecificationArgs{...}
type SpotInstanceRequestCreditSpecificationOutput ¶
type SpotInstanceRequestCreditSpecificationOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestCreditSpecificationOutput) CpuCredits ¶
func (o SpotInstanceRequestCreditSpecificationOutput) CpuCredits() pulumi.StringPtrOutput
Credit option for CPU usage. Valid values include `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
func (SpotInstanceRequestCreditSpecificationOutput) ElementType ¶
func (SpotInstanceRequestCreditSpecificationOutput) ElementType() reflect.Type
func (SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutput ¶
func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutput() SpotInstanceRequestCreditSpecificationOutput
func (SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutputWithContext ¶
func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationOutput
func (SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput ¶
func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput
func (SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext ¶
func (o SpotInstanceRequestCreditSpecificationOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput
type SpotInstanceRequestCreditSpecificationPtrInput ¶
type SpotInstanceRequestCreditSpecificationPtrInput interface {
pulumi.Input
ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput
ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(context.Context) SpotInstanceRequestCreditSpecificationPtrOutput
}
SpotInstanceRequestCreditSpecificationPtrInput is an input type that accepts SpotInstanceRequestCreditSpecificationArgs, SpotInstanceRequestCreditSpecificationPtr and SpotInstanceRequestCreditSpecificationPtrOutput values. You can construct a concrete instance of `SpotInstanceRequestCreditSpecificationPtrInput` via:
SpotInstanceRequestCreditSpecificationArgs{...}
or:
nil
func SpotInstanceRequestCreditSpecificationPtr ¶
func SpotInstanceRequestCreditSpecificationPtr(v *SpotInstanceRequestCreditSpecificationArgs) SpotInstanceRequestCreditSpecificationPtrInput
type SpotInstanceRequestCreditSpecificationPtrOutput ¶
type SpotInstanceRequestCreditSpecificationPtrOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestCreditSpecificationPtrOutput) CpuCredits ¶
func (o SpotInstanceRequestCreditSpecificationPtrOutput) CpuCredits() pulumi.StringPtrOutput
Credit option for CPU usage. Valid values include `standard` or `unlimited`. T3 instances are launched as unlimited by default. T2 instances are launched as standard by default.
func (SpotInstanceRequestCreditSpecificationPtrOutput) ElementType ¶
func (SpotInstanceRequestCreditSpecificationPtrOutput) ElementType() reflect.Type
func (SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput ¶
func (o SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutput() SpotInstanceRequestCreditSpecificationPtrOutput
func (SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext ¶
func (o SpotInstanceRequestCreditSpecificationPtrOutput) ToSpotInstanceRequestCreditSpecificationPtrOutputWithContext(ctx context.Context) SpotInstanceRequestCreditSpecificationPtrOutput
type SpotInstanceRequestEbsBlockDevice ¶
type SpotInstanceRequestEbsBlockDevice struct {
// Whether the volume should be destroyed on instance termination. Defaults to `true`.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// Name of the device to mount.
DeviceName string `pulumi:"deviceName"`
// Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume. Defaults to `false`. Cannot be used with `snapshotId`. Must be configured to perform drift detection.
Encrypted *bool `pulumi:"encrypted"`
// Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
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"`
// Snapshot ID to mount.
SnapshotId *string `pulumi:"snapshotId"`
// A map of tags to assign to the device.
Tags map[string]string `pulumi:"tags"`
// Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
Throughput *int `pulumi:"throughput"`
VolumeId *string `pulumi:"volumeId"`
// Size of the volume in gibibytes (GiB).
VolumeSize *int `pulumi:"volumeSize"`
// Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
VolumeType *string `pulumi:"volumeType"`
}
type SpotInstanceRequestEbsBlockDeviceArgs ¶
type SpotInstanceRequestEbsBlockDeviceArgs struct {
// Whether the volume should be destroyed on instance termination. Defaults to `true`.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// Name of the device to mount.
DeviceName pulumi.StringInput `pulumi:"deviceName"`
// Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume. Defaults to `false`. Cannot be used with `snapshotId`. Must be configured to perform drift detection.
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
// Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
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"`
// Snapshot ID to mount.
SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
// A map of tags to assign to the device.
Tags pulumi.StringMapInput `pulumi:"tags"`
// Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
// Size of the volume in gibibytes (GiB).
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
// Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (SpotInstanceRequestEbsBlockDeviceArgs) ElementType ¶
func (SpotInstanceRequestEbsBlockDeviceArgs) ElementType() reflect.Type
func (SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutput ¶
func (i SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutput() SpotInstanceRequestEbsBlockDeviceOutput
func (SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext ¶
func (i SpotInstanceRequestEbsBlockDeviceArgs) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceOutput
type SpotInstanceRequestEbsBlockDeviceArray ¶
type SpotInstanceRequestEbsBlockDeviceArray []SpotInstanceRequestEbsBlockDeviceInput
func (SpotInstanceRequestEbsBlockDeviceArray) ElementType ¶
func (SpotInstanceRequestEbsBlockDeviceArray) ElementType() reflect.Type
func (SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutput ¶
func (i SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutput() SpotInstanceRequestEbsBlockDeviceArrayOutput
func (SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext ¶
func (i SpotInstanceRequestEbsBlockDeviceArray) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceArrayOutput
type SpotInstanceRequestEbsBlockDeviceArrayInput ¶
type SpotInstanceRequestEbsBlockDeviceArrayInput interface {
pulumi.Input
ToSpotInstanceRequestEbsBlockDeviceArrayOutput() SpotInstanceRequestEbsBlockDeviceArrayOutput
ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext(context.Context) SpotInstanceRequestEbsBlockDeviceArrayOutput
}
SpotInstanceRequestEbsBlockDeviceArrayInput is an input type that accepts SpotInstanceRequestEbsBlockDeviceArray and SpotInstanceRequestEbsBlockDeviceArrayOutput values. You can construct a concrete instance of `SpotInstanceRequestEbsBlockDeviceArrayInput` via:
SpotInstanceRequestEbsBlockDeviceArray{ SpotInstanceRequestEbsBlockDeviceArgs{...} }
type SpotInstanceRequestEbsBlockDeviceArrayOutput ¶
type SpotInstanceRequestEbsBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestEbsBlockDeviceArrayOutput) ElementType ¶
func (SpotInstanceRequestEbsBlockDeviceArrayOutput) ElementType() reflect.Type
func (SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutput ¶
func (o SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutput() SpotInstanceRequestEbsBlockDeviceArrayOutput
func (SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext ¶
func (o SpotInstanceRequestEbsBlockDeviceArrayOutput) ToSpotInstanceRequestEbsBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceArrayOutput
type SpotInstanceRequestEbsBlockDeviceInput ¶
type SpotInstanceRequestEbsBlockDeviceInput interface {
pulumi.Input
ToSpotInstanceRequestEbsBlockDeviceOutput() SpotInstanceRequestEbsBlockDeviceOutput
ToSpotInstanceRequestEbsBlockDeviceOutputWithContext(context.Context) SpotInstanceRequestEbsBlockDeviceOutput
}
SpotInstanceRequestEbsBlockDeviceInput is an input type that accepts SpotInstanceRequestEbsBlockDeviceArgs and SpotInstanceRequestEbsBlockDeviceOutput values. You can construct a concrete instance of `SpotInstanceRequestEbsBlockDeviceInput` via:
SpotInstanceRequestEbsBlockDeviceArgs{...}
type SpotInstanceRequestEbsBlockDeviceOutput ¶
type SpotInstanceRequestEbsBlockDeviceOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestEbsBlockDeviceOutput) DeleteOnTermination ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Whether the volume should be destroyed on instance termination. Defaults to `true`.
func (SpotInstanceRequestEbsBlockDeviceOutput) DeviceName ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) DeviceName() pulumi.StringOutput
Name of the device to mount.
func (SpotInstanceRequestEbsBlockDeviceOutput) ElementType ¶
func (SpotInstanceRequestEbsBlockDeviceOutput) ElementType() reflect.Type
func (SpotInstanceRequestEbsBlockDeviceOutput) Encrypted ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume. Defaults to `false`. Cannot be used with `snapshotId`. Must be configured to perform drift detection.
func (SpotInstanceRequestEbsBlockDeviceOutput) Iops ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) Iops() pulumi.IntPtrOutput
Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
func (SpotInstanceRequestEbsBlockDeviceOutput) KmsKeyId ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
func (SpotInstanceRequestEbsBlockDeviceOutput) SnapshotId ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) SnapshotId() pulumi.StringPtrOutput
Snapshot ID to mount.
func (SpotInstanceRequestEbsBlockDeviceOutput) Tags ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the device.
func (SpotInstanceRequestEbsBlockDeviceOutput) Throughput ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
func (SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutput ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutput() SpotInstanceRequestEbsBlockDeviceOutput
func (SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) ToSpotInstanceRequestEbsBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEbsBlockDeviceOutput
func (SpotInstanceRequestEbsBlockDeviceOutput) VolumeId ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) VolumeId() pulumi.StringPtrOutput
func (SpotInstanceRequestEbsBlockDeviceOutput) VolumeSize ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
Size of the volume in gibibytes (GiB).
func (SpotInstanceRequestEbsBlockDeviceOutput) VolumeType ¶
func (o SpotInstanceRequestEbsBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
type SpotInstanceRequestEnclaveOptions ¶
type SpotInstanceRequestEnclaveOptions struct {
// Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
Enabled *bool `pulumi:"enabled"`
}
type SpotInstanceRequestEnclaveOptionsArgs ¶
type SpotInstanceRequestEnclaveOptionsArgs struct {
// Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}
func (SpotInstanceRequestEnclaveOptionsArgs) ElementType ¶
func (SpotInstanceRequestEnclaveOptionsArgs) ElementType() reflect.Type
func (SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsOutput ¶
func (i SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsOutput() SpotInstanceRequestEnclaveOptionsOutput
func (SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsOutputWithContext ¶
func (i SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsOutput
func (SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsPtrOutput ¶
func (i SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsPtrOutput() SpotInstanceRequestEnclaveOptionsPtrOutput
func (SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext ¶
func (i SpotInstanceRequestEnclaveOptionsArgs) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsPtrOutput
type SpotInstanceRequestEnclaveOptionsInput ¶
type SpotInstanceRequestEnclaveOptionsInput interface {
pulumi.Input
ToSpotInstanceRequestEnclaveOptionsOutput() SpotInstanceRequestEnclaveOptionsOutput
ToSpotInstanceRequestEnclaveOptionsOutputWithContext(context.Context) SpotInstanceRequestEnclaveOptionsOutput
}
SpotInstanceRequestEnclaveOptionsInput is an input type that accepts SpotInstanceRequestEnclaveOptionsArgs and SpotInstanceRequestEnclaveOptionsOutput values. You can construct a concrete instance of `SpotInstanceRequestEnclaveOptionsInput` via:
SpotInstanceRequestEnclaveOptionsArgs{...}
type SpotInstanceRequestEnclaveOptionsOutput ¶
type SpotInstanceRequestEnclaveOptionsOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestEnclaveOptionsOutput) ElementType ¶
func (SpotInstanceRequestEnclaveOptionsOutput) ElementType() reflect.Type
func (SpotInstanceRequestEnclaveOptionsOutput) Enabled ¶
func (o SpotInstanceRequestEnclaveOptionsOutput) Enabled() pulumi.BoolPtrOutput
Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
func (SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsOutput ¶
func (o SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsOutput() SpotInstanceRequestEnclaveOptionsOutput
func (SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsOutputWithContext ¶
func (o SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsOutput
func (SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutput ¶
func (o SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutput() SpotInstanceRequestEnclaveOptionsPtrOutput
func (SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext ¶
func (o SpotInstanceRequestEnclaveOptionsOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsPtrOutput
type SpotInstanceRequestEnclaveOptionsPtrInput ¶
type SpotInstanceRequestEnclaveOptionsPtrInput interface {
pulumi.Input
ToSpotInstanceRequestEnclaveOptionsPtrOutput() SpotInstanceRequestEnclaveOptionsPtrOutput
ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext(context.Context) SpotInstanceRequestEnclaveOptionsPtrOutput
}
SpotInstanceRequestEnclaveOptionsPtrInput is an input type that accepts SpotInstanceRequestEnclaveOptionsArgs, SpotInstanceRequestEnclaveOptionsPtr and SpotInstanceRequestEnclaveOptionsPtrOutput values. You can construct a concrete instance of `SpotInstanceRequestEnclaveOptionsPtrInput` via:
SpotInstanceRequestEnclaveOptionsArgs{...}
or:
nil
func SpotInstanceRequestEnclaveOptionsPtr ¶
func SpotInstanceRequestEnclaveOptionsPtr(v *SpotInstanceRequestEnclaveOptionsArgs) SpotInstanceRequestEnclaveOptionsPtrInput
type SpotInstanceRequestEnclaveOptionsPtrOutput ¶
type SpotInstanceRequestEnclaveOptionsPtrOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestEnclaveOptionsPtrOutput) ElementType ¶
func (SpotInstanceRequestEnclaveOptionsPtrOutput) ElementType() reflect.Type
func (SpotInstanceRequestEnclaveOptionsPtrOutput) Enabled ¶
func (o SpotInstanceRequestEnclaveOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether Nitro Enclaves will be enabled on the instance. Defaults to `false`.
func (SpotInstanceRequestEnclaveOptionsPtrOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutput ¶
func (o SpotInstanceRequestEnclaveOptionsPtrOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutput() SpotInstanceRequestEnclaveOptionsPtrOutput
func (SpotInstanceRequestEnclaveOptionsPtrOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext ¶
func (o SpotInstanceRequestEnclaveOptionsPtrOutput) ToSpotInstanceRequestEnclaveOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestEnclaveOptionsPtrOutput
type SpotInstanceRequestEphemeralBlockDevice ¶
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"`
// [Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g., `ephemeral0`).
VirtualName *string `pulumi:"virtualName"`
}
type SpotInstanceRequestEphemeralBlockDeviceArgs ¶
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"`
// [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 ¶
func (SpotInstanceRequestEphemeralBlockDeviceArgs) ElementType() reflect.Type
func (SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutput ¶
func (i SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutput() SpotInstanceRequestEphemeralBlockDeviceOutput
func (SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext ¶
func (i SpotInstanceRequestEphemeralBlockDeviceArgs) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceOutput
type SpotInstanceRequestEphemeralBlockDeviceArray ¶
type SpotInstanceRequestEphemeralBlockDeviceArray []SpotInstanceRequestEphemeralBlockDeviceInput
func (SpotInstanceRequestEphemeralBlockDeviceArray) ElementType ¶
func (SpotInstanceRequestEphemeralBlockDeviceArray) ElementType() reflect.Type
func (SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput ¶
func (i SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput() SpotInstanceRequestEphemeralBlockDeviceArrayOutput
func (SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext ¶
func (i SpotInstanceRequestEphemeralBlockDeviceArray) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceArrayOutput
type SpotInstanceRequestEphemeralBlockDeviceArrayInput ¶
type SpotInstanceRequestEphemeralBlockDeviceArrayInput interface {
pulumi.Input
ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput() SpotInstanceRequestEphemeralBlockDeviceArrayOutput
ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext(context.Context) SpotInstanceRequestEphemeralBlockDeviceArrayOutput
}
SpotInstanceRequestEphemeralBlockDeviceArrayInput is an input type that accepts SpotInstanceRequestEphemeralBlockDeviceArray and SpotInstanceRequestEphemeralBlockDeviceArrayOutput values. You can construct a concrete instance of `SpotInstanceRequestEphemeralBlockDeviceArrayInput` via:
SpotInstanceRequestEphemeralBlockDeviceArray{ SpotInstanceRequestEphemeralBlockDeviceArgs{...} }
type SpotInstanceRequestEphemeralBlockDeviceArrayOutput ¶
type SpotInstanceRequestEphemeralBlockDeviceArrayOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ElementType ¶
func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ElementType() reflect.Type
func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput ¶
func (o SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutput() SpotInstanceRequestEphemeralBlockDeviceArrayOutput
func (SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext ¶
func (o SpotInstanceRequestEphemeralBlockDeviceArrayOutput) ToSpotInstanceRequestEphemeralBlockDeviceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceArrayOutput
type SpotInstanceRequestEphemeralBlockDeviceInput ¶
type SpotInstanceRequestEphemeralBlockDeviceInput interface {
pulumi.Input
ToSpotInstanceRequestEphemeralBlockDeviceOutput() SpotInstanceRequestEphemeralBlockDeviceOutput
ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext(context.Context) SpotInstanceRequestEphemeralBlockDeviceOutput
}
SpotInstanceRequestEphemeralBlockDeviceInput is an input type that accepts SpotInstanceRequestEphemeralBlockDeviceArgs and SpotInstanceRequestEphemeralBlockDeviceOutput values. You can construct a concrete instance of `SpotInstanceRequestEphemeralBlockDeviceInput` via:
SpotInstanceRequestEphemeralBlockDeviceArgs{...}
type SpotInstanceRequestEphemeralBlockDeviceOutput ¶
type SpotInstanceRequestEphemeralBlockDeviceOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestEphemeralBlockDeviceOutput) DeviceName ¶
func (o SpotInstanceRequestEphemeralBlockDeviceOutput) DeviceName() pulumi.StringOutput
The name of the block device to mount on the instance.
func (SpotInstanceRequestEphemeralBlockDeviceOutput) ElementType ¶
func (SpotInstanceRequestEphemeralBlockDeviceOutput) ElementType() reflect.Type
func (SpotInstanceRequestEphemeralBlockDeviceOutput) NoDevice ¶
func (o SpotInstanceRequestEphemeralBlockDeviceOutput) NoDevice() pulumi.BoolPtrOutput
Suppresses the specified device included in the AMI's block device mapping.
func (SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutput ¶
func (o SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutput() SpotInstanceRequestEphemeralBlockDeviceOutput
func (SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext ¶
func (o SpotInstanceRequestEphemeralBlockDeviceOutput) ToSpotInstanceRequestEphemeralBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestEphemeralBlockDeviceOutput
func (SpotInstanceRequestEphemeralBlockDeviceOutput) VirtualName ¶
func (o SpotInstanceRequestEphemeralBlockDeviceOutput) VirtualName() pulumi.StringPtrOutput
[Instance Store Device Name](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#InstanceStoreDeviceNames) (e.g., `ephemeral0`).
type SpotInstanceRequestInput ¶
type SpotInstanceRequestInput interface {
pulumi.Input
ToSpotInstanceRequestOutput() SpotInstanceRequestOutput
ToSpotInstanceRequestOutputWithContext(ctx context.Context) SpotInstanceRequestOutput
}
type SpotInstanceRequestLaunchTemplate ¶
type SpotInstanceRequestLaunchTemplate struct {
// The ID of the launch template. Conflicts with `name`.
Id *string `pulumi:"id"`
// The name of the launch template. Conflicts with `id`.
Name *string `pulumi:"name"`
// Template version. Can be a specific version number, `$Latest` or `$Default`. The default value is `$Default`.
Version *string `pulumi:"version"`
}
type SpotInstanceRequestLaunchTemplateArgs ¶
type SpotInstanceRequestLaunchTemplateArgs struct {
// The ID of the launch template. Conflicts with `name`.
Id pulumi.StringPtrInput `pulumi:"id"`
// The name of the launch template. Conflicts with `id`.
Name pulumi.StringPtrInput `pulumi:"name"`
// Template version. Can be a specific version number, `$Latest` or `$Default`. The default value is `$Default`.
Version pulumi.StringPtrInput `pulumi:"version"`
}
func (SpotInstanceRequestLaunchTemplateArgs) ElementType ¶
func (SpotInstanceRequestLaunchTemplateArgs) ElementType() reflect.Type
func (SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplateOutput ¶
func (i SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplateOutput() SpotInstanceRequestLaunchTemplateOutput
func (SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplateOutputWithContext ¶
func (i SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplateOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplateOutput
func (SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplatePtrOutput ¶
func (i SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplatePtrOutput() SpotInstanceRequestLaunchTemplatePtrOutput
func (SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext ¶
func (i SpotInstanceRequestLaunchTemplateArgs) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplatePtrOutput
type SpotInstanceRequestLaunchTemplateInput ¶
type SpotInstanceRequestLaunchTemplateInput interface {
pulumi.Input
ToSpotInstanceRequestLaunchTemplateOutput() SpotInstanceRequestLaunchTemplateOutput
ToSpotInstanceRequestLaunchTemplateOutputWithContext(context.Context) SpotInstanceRequestLaunchTemplateOutput
}
SpotInstanceRequestLaunchTemplateInput is an input type that accepts SpotInstanceRequestLaunchTemplateArgs and SpotInstanceRequestLaunchTemplateOutput values. You can construct a concrete instance of `SpotInstanceRequestLaunchTemplateInput` via:
SpotInstanceRequestLaunchTemplateArgs{...}
type SpotInstanceRequestLaunchTemplateOutput ¶
type SpotInstanceRequestLaunchTemplateOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestLaunchTemplateOutput) ElementType ¶
func (SpotInstanceRequestLaunchTemplateOutput) ElementType() reflect.Type
func (SpotInstanceRequestLaunchTemplateOutput) Id ¶
func (o SpotInstanceRequestLaunchTemplateOutput) Id() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `name`.
func (SpotInstanceRequestLaunchTemplateOutput) Name ¶
func (o SpotInstanceRequestLaunchTemplateOutput) Name() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `id`.
func (SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplateOutput ¶
func (o SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplateOutput() SpotInstanceRequestLaunchTemplateOutput
func (SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplateOutputWithContext ¶
func (o SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplateOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplateOutput
func (SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplatePtrOutput ¶
func (o SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplatePtrOutput() SpotInstanceRequestLaunchTemplatePtrOutput
func (SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext ¶
func (o SpotInstanceRequestLaunchTemplateOutput) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplatePtrOutput
func (SpotInstanceRequestLaunchTemplateOutput) Version ¶
func (o SpotInstanceRequestLaunchTemplateOutput) Version() pulumi.StringPtrOutput
Template version. Can be a specific version number, `$Latest` or `$Default`. The default value is `$Default`.
type SpotInstanceRequestLaunchTemplatePtrInput ¶
type SpotInstanceRequestLaunchTemplatePtrInput interface {
pulumi.Input
ToSpotInstanceRequestLaunchTemplatePtrOutput() SpotInstanceRequestLaunchTemplatePtrOutput
ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext(context.Context) SpotInstanceRequestLaunchTemplatePtrOutput
}
SpotInstanceRequestLaunchTemplatePtrInput is an input type that accepts SpotInstanceRequestLaunchTemplateArgs, SpotInstanceRequestLaunchTemplatePtr and SpotInstanceRequestLaunchTemplatePtrOutput values. You can construct a concrete instance of `SpotInstanceRequestLaunchTemplatePtrInput` via:
SpotInstanceRequestLaunchTemplateArgs{...}
or:
nil
func SpotInstanceRequestLaunchTemplatePtr ¶
func SpotInstanceRequestLaunchTemplatePtr(v *SpotInstanceRequestLaunchTemplateArgs) SpotInstanceRequestLaunchTemplatePtrInput
type SpotInstanceRequestLaunchTemplatePtrOutput ¶
type SpotInstanceRequestLaunchTemplatePtrOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestLaunchTemplatePtrOutput) ElementType ¶
func (SpotInstanceRequestLaunchTemplatePtrOutput) ElementType() reflect.Type
func (SpotInstanceRequestLaunchTemplatePtrOutput) Id ¶
func (o SpotInstanceRequestLaunchTemplatePtrOutput) Id() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `name`.
func (SpotInstanceRequestLaunchTemplatePtrOutput) Name ¶
func (o SpotInstanceRequestLaunchTemplatePtrOutput) Name() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `id`.
func (SpotInstanceRequestLaunchTemplatePtrOutput) ToSpotInstanceRequestLaunchTemplatePtrOutput ¶
func (o SpotInstanceRequestLaunchTemplatePtrOutput) ToSpotInstanceRequestLaunchTemplatePtrOutput() SpotInstanceRequestLaunchTemplatePtrOutput
func (SpotInstanceRequestLaunchTemplatePtrOutput) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext ¶
func (o SpotInstanceRequestLaunchTemplatePtrOutput) ToSpotInstanceRequestLaunchTemplatePtrOutputWithContext(ctx context.Context) SpotInstanceRequestLaunchTemplatePtrOutput
func (SpotInstanceRequestLaunchTemplatePtrOutput) Version ¶
func (o SpotInstanceRequestLaunchTemplatePtrOutput) Version() pulumi.StringPtrOutput
Template version. Can be a specific version number, `$Latest` or `$Default`. The default value is `$Default`.
type SpotInstanceRequestMap ¶
type SpotInstanceRequestMap map[string]SpotInstanceRequestInput
func (SpotInstanceRequestMap) ElementType ¶
func (SpotInstanceRequestMap) ElementType() reflect.Type
func (SpotInstanceRequestMap) ToSpotInstanceRequestMapOutput ¶
func (i SpotInstanceRequestMap) ToSpotInstanceRequestMapOutput() SpotInstanceRequestMapOutput
func (SpotInstanceRequestMap) ToSpotInstanceRequestMapOutputWithContext ¶
func (i SpotInstanceRequestMap) ToSpotInstanceRequestMapOutputWithContext(ctx context.Context) SpotInstanceRequestMapOutput
type SpotInstanceRequestMapInput ¶
type SpotInstanceRequestMapInput interface {
pulumi.Input
ToSpotInstanceRequestMapOutput() SpotInstanceRequestMapOutput
ToSpotInstanceRequestMapOutputWithContext(context.Context) SpotInstanceRequestMapOutput
}
SpotInstanceRequestMapInput is an input type that accepts SpotInstanceRequestMap and SpotInstanceRequestMapOutput values. You can construct a concrete instance of `SpotInstanceRequestMapInput` via:
SpotInstanceRequestMap{ "key": SpotInstanceRequestArgs{...} }
type SpotInstanceRequestMapOutput ¶
type SpotInstanceRequestMapOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestMapOutput) ElementType ¶
func (SpotInstanceRequestMapOutput) ElementType() reflect.Type
func (SpotInstanceRequestMapOutput) MapIndex ¶
func (o SpotInstanceRequestMapOutput) MapIndex(k pulumi.StringInput) SpotInstanceRequestOutput
func (SpotInstanceRequestMapOutput) ToSpotInstanceRequestMapOutput ¶
func (o SpotInstanceRequestMapOutput) ToSpotInstanceRequestMapOutput() SpotInstanceRequestMapOutput
func (SpotInstanceRequestMapOutput) ToSpotInstanceRequestMapOutputWithContext ¶
func (o SpotInstanceRequestMapOutput) ToSpotInstanceRequestMapOutputWithContext(ctx context.Context) SpotInstanceRequestMapOutput
type SpotInstanceRequestMetadataOptions ¶
type SpotInstanceRequestMetadataOptions struct {
// Whether the metadata service is available. Valid values include `enabled` or `disabled`. Defaults to `enabled`.
HttpEndpoint *string `pulumi:"httpEndpoint"`
// Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`.
HttpPutResponseHopLimit *int `pulumi:"httpPutResponseHopLimit"`
// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`.
HttpTokens *string `pulumi:"httpTokens"`
// Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`.
InstanceMetadataTags *string `pulumi:"instanceMetadataTags"`
}
type SpotInstanceRequestMetadataOptionsArgs ¶
type SpotInstanceRequestMetadataOptionsArgs struct {
// Whether the metadata service is available. Valid values include `enabled` or `disabled`. Defaults to `enabled`.
HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"`
// Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`.
HttpPutResponseHopLimit pulumi.IntPtrInput `pulumi:"httpPutResponseHopLimit"`
// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`.
HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"`
// Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`.
InstanceMetadataTags pulumi.StringPtrInput `pulumi:"instanceMetadataTags"`
}
func (SpotInstanceRequestMetadataOptionsArgs) ElementType ¶
func (SpotInstanceRequestMetadataOptionsArgs) ElementType() reflect.Type
func (SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsOutput ¶
func (i SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsOutput() SpotInstanceRequestMetadataOptionsOutput
func (SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsOutputWithContext ¶
func (i SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsOutput
func (SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsPtrOutput ¶
func (i SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsPtrOutput() SpotInstanceRequestMetadataOptionsPtrOutput
func (SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext ¶
func (i SpotInstanceRequestMetadataOptionsArgs) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsPtrOutput
type SpotInstanceRequestMetadataOptionsInput ¶
type SpotInstanceRequestMetadataOptionsInput interface {
pulumi.Input
ToSpotInstanceRequestMetadataOptionsOutput() SpotInstanceRequestMetadataOptionsOutput
ToSpotInstanceRequestMetadataOptionsOutputWithContext(context.Context) SpotInstanceRequestMetadataOptionsOutput
}
SpotInstanceRequestMetadataOptionsInput is an input type that accepts SpotInstanceRequestMetadataOptionsArgs and SpotInstanceRequestMetadataOptionsOutput values. You can construct a concrete instance of `SpotInstanceRequestMetadataOptionsInput` via:
SpotInstanceRequestMetadataOptionsArgs{...}
type SpotInstanceRequestMetadataOptionsOutput ¶
type SpotInstanceRequestMetadataOptionsOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestMetadataOptionsOutput) ElementType ¶
func (SpotInstanceRequestMetadataOptionsOutput) ElementType() reflect.Type
func (SpotInstanceRequestMetadataOptionsOutput) HttpEndpoint ¶
func (o SpotInstanceRequestMetadataOptionsOutput) HttpEndpoint() pulumi.StringPtrOutput
Whether the metadata service is available. Valid values include `enabled` or `disabled`. Defaults to `enabled`.
func (SpotInstanceRequestMetadataOptionsOutput) HttpPutResponseHopLimit ¶
func (o SpotInstanceRequestMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`.
func (SpotInstanceRequestMetadataOptionsOutput) HttpTokens ¶
func (o SpotInstanceRequestMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput
Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`.
func (SpotInstanceRequestMetadataOptionsOutput) InstanceMetadataTags ¶
func (o SpotInstanceRequestMetadataOptionsOutput) InstanceMetadataTags() pulumi.StringPtrOutput
Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`.
func (SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsOutput ¶
func (o SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsOutput() SpotInstanceRequestMetadataOptionsOutput
func (SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsOutputWithContext ¶
func (o SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsOutput
func (SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsPtrOutput ¶
func (o SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsPtrOutput() SpotInstanceRequestMetadataOptionsPtrOutput
func (SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext ¶
func (o SpotInstanceRequestMetadataOptionsOutput) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsPtrOutput
type SpotInstanceRequestMetadataOptionsPtrInput ¶
type SpotInstanceRequestMetadataOptionsPtrInput interface {
pulumi.Input
ToSpotInstanceRequestMetadataOptionsPtrOutput() SpotInstanceRequestMetadataOptionsPtrOutput
ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext(context.Context) SpotInstanceRequestMetadataOptionsPtrOutput
}
SpotInstanceRequestMetadataOptionsPtrInput is an input type that accepts SpotInstanceRequestMetadataOptionsArgs, SpotInstanceRequestMetadataOptionsPtr and SpotInstanceRequestMetadataOptionsPtrOutput values. You can construct a concrete instance of `SpotInstanceRequestMetadataOptionsPtrInput` via:
SpotInstanceRequestMetadataOptionsArgs{...}
or:
nil
func SpotInstanceRequestMetadataOptionsPtr ¶
func SpotInstanceRequestMetadataOptionsPtr(v *SpotInstanceRequestMetadataOptionsArgs) SpotInstanceRequestMetadataOptionsPtrInput
type SpotInstanceRequestMetadataOptionsPtrOutput ¶
type SpotInstanceRequestMetadataOptionsPtrOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestMetadataOptionsPtrOutput) ElementType ¶
func (SpotInstanceRequestMetadataOptionsPtrOutput) ElementType() reflect.Type
func (SpotInstanceRequestMetadataOptionsPtrOutput) HttpEndpoint ¶
func (o SpotInstanceRequestMetadataOptionsPtrOutput) HttpEndpoint() pulumi.StringPtrOutput
Whether the metadata service is available. Valid values include `enabled` or `disabled`. Defaults to `enabled`.
func (SpotInstanceRequestMetadataOptionsPtrOutput) HttpPutResponseHopLimit ¶
func (o SpotInstanceRequestMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPtrOutput
Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`.
func (SpotInstanceRequestMetadataOptionsPtrOutput) HttpTokens ¶
func (o SpotInstanceRequestMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput
Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`.
func (SpotInstanceRequestMetadataOptionsPtrOutput) InstanceMetadataTags ¶
func (o SpotInstanceRequestMetadataOptionsPtrOutput) InstanceMetadataTags() pulumi.StringPtrOutput
Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`.
func (SpotInstanceRequestMetadataOptionsPtrOutput) ToSpotInstanceRequestMetadataOptionsPtrOutput ¶
func (o SpotInstanceRequestMetadataOptionsPtrOutput) ToSpotInstanceRequestMetadataOptionsPtrOutput() SpotInstanceRequestMetadataOptionsPtrOutput
func (SpotInstanceRequestMetadataOptionsPtrOutput) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext ¶
func (o SpotInstanceRequestMetadataOptionsPtrOutput) ToSpotInstanceRequestMetadataOptionsPtrOutputWithContext(ctx context.Context) SpotInstanceRequestMetadataOptionsPtrOutput
type SpotInstanceRequestNetworkInterface ¶
type SpotInstanceRequestNetworkInterface struct {
// Whether or not to delete the network interface on instance termination. Defaults to `false`. Currently, the only valid value is `false`, as this is only supported when creating new network interfaces when launching an instance.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// Integer index of the network interface attachment. Limited by instance type.
DeviceIndex int `pulumi:"deviceIndex"`
// ID of the network interface to attach.
NetworkInterfaceId string `pulumi:"networkInterfaceId"`
}
type SpotInstanceRequestNetworkInterfaceArgs ¶
type SpotInstanceRequestNetworkInterfaceArgs struct {
// Whether or not to delete the network interface on instance termination. Defaults to `false`. Currently, the only valid value is `false`, as this is only supported when creating new network interfaces when launching an instance.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// Integer index of the network interface attachment. Limited by instance type.
DeviceIndex pulumi.IntInput `pulumi:"deviceIndex"`
// ID of the network interface to attach.
NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
}
func (SpotInstanceRequestNetworkInterfaceArgs) ElementType ¶
func (SpotInstanceRequestNetworkInterfaceArgs) ElementType() reflect.Type
func (SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutput ¶
func (i SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutput() SpotInstanceRequestNetworkInterfaceOutput
func (SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutputWithContext ¶
func (i SpotInstanceRequestNetworkInterfaceArgs) ToSpotInstanceRequestNetworkInterfaceOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceOutput
type SpotInstanceRequestNetworkInterfaceArray ¶
type SpotInstanceRequestNetworkInterfaceArray []SpotInstanceRequestNetworkInterfaceInput
func (SpotInstanceRequestNetworkInterfaceArray) ElementType ¶
func (SpotInstanceRequestNetworkInterfaceArray) ElementType() reflect.Type
func (SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutput ¶
func (i SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutput() SpotInstanceRequestNetworkInterfaceArrayOutput
func (SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext ¶
func (i SpotInstanceRequestNetworkInterfaceArray) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceArrayOutput
type SpotInstanceRequestNetworkInterfaceArrayInput ¶
type SpotInstanceRequestNetworkInterfaceArrayInput interface {
pulumi.Input
ToSpotInstanceRequestNetworkInterfaceArrayOutput() SpotInstanceRequestNetworkInterfaceArrayOutput
ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext(context.Context) SpotInstanceRequestNetworkInterfaceArrayOutput
}
SpotInstanceRequestNetworkInterfaceArrayInput is an input type that accepts SpotInstanceRequestNetworkInterfaceArray and SpotInstanceRequestNetworkInterfaceArrayOutput values. You can construct a concrete instance of `SpotInstanceRequestNetworkInterfaceArrayInput` via:
SpotInstanceRequestNetworkInterfaceArray{ SpotInstanceRequestNetworkInterfaceArgs{...} }
type SpotInstanceRequestNetworkInterfaceArrayOutput ¶
type SpotInstanceRequestNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestNetworkInterfaceArrayOutput) ElementType ¶
func (SpotInstanceRequestNetworkInterfaceArrayOutput) ElementType() reflect.Type
func (SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutput ¶
func (o SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutput() SpotInstanceRequestNetworkInterfaceArrayOutput
func (SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext ¶
func (o SpotInstanceRequestNetworkInterfaceArrayOutput) ToSpotInstanceRequestNetworkInterfaceArrayOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceArrayOutput
type SpotInstanceRequestNetworkInterfaceInput ¶
type SpotInstanceRequestNetworkInterfaceInput interface {
pulumi.Input
ToSpotInstanceRequestNetworkInterfaceOutput() SpotInstanceRequestNetworkInterfaceOutput
ToSpotInstanceRequestNetworkInterfaceOutputWithContext(context.Context) SpotInstanceRequestNetworkInterfaceOutput
}
SpotInstanceRequestNetworkInterfaceInput is an input type that accepts SpotInstanceRequestNetworkInterfaceArgs and SpotInstanceRequestNetworkInterfaceOutput values. You can construct a concrete instance of `SpotInstanceRequestNetworkInterfaceInput` via:
SpotInstanceRequestNetworkInterfaceArgs{...}
type SpotInstanceRequestNetworkInterfaceOutput ¶
type SpotInstanceRequestNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestNetworkInterfaceOutput) DeleteOnTermination ¶
func (o SpotInstanceRequestNetworkInterfaceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Whether or not to delete the network interface on instance termination. Defaults to `false`. Currently, the only valid value is `false`, as this is only supported when creating new network interfaces when launching an instance.
func (SpotInstanceRequestNetworkInterfaceOutput) DeviceIndex ¶
func (o SpotInstanceRequestNetworkInterfaceOutput) DeviceIndex() pulumi.IntOutput
Integer index of the network interface attachment. Limited by instance type.
func (SpotInstanceRequestNetworkInterfaceOutput) ElementType ¶
func (SpotInstanceRequestNetworkInterfaceOutput) ElementType() reflect.Type
func (SpotInstanceRequestNetworkInterfaceOutput) NetworkInterfaceId ¶
func (o SpotInstanceRequestNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
ID of the network interface to attach.
func (SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutput ¶
func (o SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutput() SpotInstanceRequestNetworkInterfaceOutput
func (SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutputWithContext ¶
func (o SpotInstanceRequestNetworkInterfaceOutput) ToSpotInstanceRequestNetworkInterfaceOutputWithContext(ctx context.Context) SpotInstanceRequestNetworkInterfaceOutput
type SpotInstanceRequestOutput ¶
type SpotInstanceRequestOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestOutput) ElementType ¶
func (SpotInstanceRequestOutput) ElementType() reflect.Type
func (SpotInstanceRequestOutput) ToSpotInstanceRequestOutput ¶
func (o SpotInstanceRequestOutput) ToSpotInstanceRequestOutput() SpotInstanceRequestOutput
func (SpotInstanceRequestOutput) ToSpotInstanceRequestOutputWithContext ¶
func (o SpotInstanceRequestOutput) ToSpotInstanceRequestOutputWithContext(ctx context.Context) SpotInstanceRequestOutput
type SpotInstanceRequestRootBlockDevice ¶
type SpotInstanceRequestRootBlockDevice struct {
// Whether the volume should be destroyed on instance termination. Defaults to `true`.
DeleteOnTermination *bool `pulumi:"deleteOnTermination"`
// Name of the device to mount.
DeviceName *string `pulumi:"deviceName"`
// Whether to enable volume encryption. Defaults to `false`. Must be configured to perform drift detection.
Encrypted *bool `pulumi:"encrypted"`
// Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
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"`
// A map of tags to assign to the device.
Tags map[string]string `pulumi:"tags"`
// Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
Throughput *int `pulumi:"throughput"`
VolumeId *string `pulumi:"volumeId"`
// Size of the volume in gibibytes (GiB).
VolumeSize *int `pulumi:"volumeSize"`
// Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
VolumeType *string `pulumi:"volumeType"`
}
type SpotInstanceRequestRootBlockDeviceArgs ¶
type SpotInstanceRequestRootBlockDeviceArgs struct {
// Whether the volume should be destroyed on instance termination. Defaults to `true`.
DeleteOnTermination pulumi.BoolPtrInput `pulumi:"deleteOnTermination"`
// Name of the device to mount.
DeviceName pulumi.StringPtrInput `pulumi:"deviceName"`
// Whether to enable volume encryption. Defaults to `false`. Must be configured to perform drift detection.
Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"`
// Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
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"`
// A map of tags to assign to the device.
Tags pulumi.StringMapInput `pulumi:"tags"`
// Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
Throughput pulumi.IntPtrInput `pulumi:"throughput"`
VolumeId pulumi.StringPtrInput `pulumi:"volumeId"`
// Size of the volume in gibibytes (GiB).
VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"`
// Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}
func (SpotInstanceRequestRootBlockDeviceArgs) ElementType ¶
func (SpotInstanceRequestRootBlockDeviceArgs) ElementType() reflect.Type
func (SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutput ¶
func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutput() SpotInstanceRequestRootBlockDeviceOutput
func (SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutputWithContext ¶
func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDeviceOutput
func (SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutput ¶
func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput
func (SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext ¶
func (i SpotInstanceRequestRootBlockDeviceArgs) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput
type SpotInstanceRequestRootBlockDeviceInput ¶
type SpotInstanceRequestRootBlockDeviceInput interface {
pulumi.Input
ToSpotInstanceRequestRootBlockDeviceOutput() SpotInstanceRequestRootBlockDeviceOutput
ToSpotInstanceRequestRootBlockDeviceOutputWithContext(context.Context) SpotInstanceRequestRootBlockDeviceOutput
}
SpotInstanceRequestRootBlockDeviceInput is an input type that accepts SpotInstanceRequestRootBlockDeviceArgs and SpotInstanceRequestRootBlockDeviceOutput values. You can construct a concrete instance of `SpotInstanceRequestRootBlockDeviceInput` via:
SpotInstanceRequestRootBlockDeviceArgs{...}
type SpotInstanceRequestRootBlockDeviceOutput ¶
type SpotInstanceRequestRootBlockDeviceOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestRootBlockDeviceOutput) DeleteOnTermination ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Whether the volume should be destroyed on instance termination. Defaults to `true`.
func (SpotInstanceRequestRootBlockDeviceOutput) DeviceName ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) DeviceName() pulumi.StringPtrOutput
Name of the device to mount.
func (SpotInstanceRequestRootBlockDeviceOutput) ElementType ¶
func (SpotInstanceRequestRootBlockDeviceOutput) ElementType() reflect.Type
func (SpotInstanceRequestRootBlockDeviceOutput) Encrypted ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) Encrypted() pulumi.BoolPtrOutput
Whether to enable volume encryption. Defaults to `false`. Must be configured to perform drift detection.
func (SpotInstanceRequestRootBlockDeviceOutput) Iops ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) Iops() pulumi.IntPtrOutput
Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
func (SpotInstanceRequestRootBlockDeviceOutput) KmsKeyId ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) KmsKeyId() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
func (SpotInstanceRequestRootBlockDeviceOutput) Tags ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the device.
func (SpotInstanceRequestRootBlockDeviceOutput) Throughput ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) Throughput() pulumi.IntPtrOutput
Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
func (SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutput ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutput() SpotInstanceRequestRootBlockDeviceOutput
func (SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutputWithContext ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDeviceOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDeviceOutput
func (SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput
func (SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput
func (SpotInstanceRequestRootBlockDeviceOutput) VolumeId ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) VolumeId() pulumi.StringPtrOutput
func (SpotInstanceRequestRootBlockDeviceOutput) VolumeSize ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) VolumeSize() pulumi.IntPtrOutput
Size of the volume in gibibytes (GiB).
func (SpotInstanceRequestRootBlockDeviceOutput) VolumeType ¶
func (o SpotInstanceRequestRootBlockDeviceOutput) VolumeType() pulumi.StringPtrOutput
Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
type SpotInstanceRequestRootBlockDevicePtrInput ¶
type SpotInstanceRequestRootBlockDevicePtrInput interface {
pulumi.Input
ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput
ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(context.Context) SpotInstanceRequestRootBlockDevicePtrOutput
}
SpotInstanceRequestRootBlockDevicePtrInput is an input type that accepts SpotInstanceRequestRootBlockDeviceArgs, SpotInstanceRequestRootBlockDevicePtr and SpotInstanceRequestRootBlockDevicePtrOutput values. You can construct a concrete instance of `SpotInstanceRequestRootBlockDevicePtrInput` via:
SpotInstanceRequestRootBlockDeviceArgs{...}
or:
nil
func SpotInstanceRequestRootBlockDevicePtr ¶
func SpotInstanceRequestRootBlockDevicePtr(v *SpotInstanceRequestRootBlockDeviceArgs) SpotInstanceRequestRootBlockDevicePtrInput
type SpotInstanceRequestRootBlockDevicePtrOutput ¶
type SpotInstanceRequestRootBlockDevicePtrOutput struct{ *pulumi.OutputState }
func (SpotInstanceRequestRootBlockDevicePtrOutput) DeleteOnTermination ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) DeleteOnTermination() pulumi.BoolPtrOutput
Whether the volume should be destroyed on instance termination. Defaults to `true`.
func (SpotInstanceRequestRootBlockDevicePtrOutput) DeviceName ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) DeviceName() pulumi.StringPtrOutput
Name of the device to mount.
func (SpotInstanceRequestRootBlockDevicePtrOutput) ElementType ¶
func (SpotInstanceRequestRootBlockDevicePtrOutput) ElementType() reflect.Type
func (SpotInstanceRequestRootBlockDevicePtrOutput) Encrypted ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) Encrypted() pulumi.BoolPtrOutput
Whether to enable volume encryption. Defaults to `false`. Must be configured to perform drift detection.
func (SpotInstanceRequestRootBlockDevicePtrOutput) Iops ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) Iops() pulumi.IntPtrOutput
Amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). Only valid for volumeType of `io1`, `io2` or `gp3`.
func (SpotInstanceRequestRootBlockDevicePtrOutput) KmsKeyId ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) KmsKeyId() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the KMS Key to use when encrypting the volume. Must be configured to perform drift detection.
func (SpotInstanceRequestRootBlockDevicePtrOutput) Tags ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the device.
func (SpotInstanceRequestRootBlockDevicePtrOutput) Throughput ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) Throughput() pulumi.IntPtrOutput
Throughput to provision for a volume in mebibytes per second (MiB/s). This is only valid for `volumeType` of `gp3`.
func (SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutput() SpotInstanceRequestRootBlockDevicePtrOutput
func (SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) ToSpotInstanceRequestRootBlockDevicePtrOutputWithContext(ctx context.Context) SpotInstanceRequestRootBlockDevicePtrOutput
func (SpotInstanceRequestRootBlockDevicePtrOutput) VolumeId ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) VolumeId() pulumi.StringPtrOutput
func (SpotInstanceRequestRootBlockDevicePtrOutput) VolumeSize ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) VolumeSize() pulumi.IntPtrOutput
Size of the volume in gibibytes (GiB).
func (SpotInstanceRequestRootBlockDevicePtrOutput) VolumeType ¶
func (o SpotInstanceRequestRootBlockDevicePtrOutput) VolumeType() pulumi.StringPtrOutput
Type of volume. Valid values include `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1`, or `st1`. Defaults to `gp2`.
type SpotInstanceRequestState ¶
type SpotInstanceRequestState struct {
// AMI to use for the instance. Required unless `launchTemplate` is specified and the Launch Template specifes an AMI. If an AMI is specified in the Launch Template, setting `ami` will override the AMI specified in the Launch Template.
Ami pulumi.StringPtrInput
Arn pulumi.StringPtrInput
// Whether to associate a public IP address with an instance in a VPC.
AssociatePublicIpAddress pulumi.BoolPtrInput
// 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
// Describes an instance's Capacity Reservation targeting option. See Capacity Reservation Specification below for more details.
CapacityReservationSpecification SpotInstanceRequestCapacityReservationSpecificationPtrInput
// 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
// Configuration block for customizing the credit specification of the instance. See Credit Specification below for more details. the provider will only perform drift detection of its value when present in a configuration. Removing this configuration on existing instances will only stop managing it. It will not change the configuration back to the default for the instance type.
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
// One or more configuration blocks with 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. When accessing this as an attribute reference, it is a set of objects.
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
// Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
EnclaveOptions SpotInstanceRequestEnclaveOptionsPtrInput
// One or more configuration blocks to customize Ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a set of objects.
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
// If true, the launched EC2 instance will support hibernation.
Hibernation pulumi.BoolPtrInput
// 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
// 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`.
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 Spot instance behavior when it is interrupted. Valid values are `terminate`, `stop`, or `hibernate`. Default value is `terminate`.
InstanceInterruptionBehavior pulumi.StringPtrInput
InstanceState pulumi.StringPtrInput
// The instance type to use for the instance. Updates to this field will trigger a stop/start of the EC2 instance.
InstanceType pulumi.StringPtrInput
// A number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
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
// 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
// Specifies a Launch Template to configure the instance. Parameters configured on this resource will override the corresponding parameters in the Launch Template.
// See Launch Template Specification below for more details.
LaunchTemplate SpotInstanceRequestLaunchTemplatePtrInput
// Customize the metadata options of the instance. See Metadata Options below for more details.
MetadataOptions SpotInstanceRequestMetadataOptionsPtrInput
// 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
OutpostArn pulumi.StringPtrInput
PasswordData pulumi.StringPtrInput
// Placement Group to start the instance in.
PlacementGroup pulumi.StringPtrInput
// The number of the partition the instance is in. Valid only if the `ec2.PlacementGroup` resource's `strategy` argument is set to `"partition"`.
PlacementPartitionNumber pulumi.IntPtrInput
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
// Configuration block to customize details about the root block device of the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a list containing one object.
RootBlockDevice SpotInstanceRequestRootBlockDevicePtrInput
// A list of secondary private IPv4 addresses to assign to the instance's primary network interface (eth0) in a VPC. Can only be assigned to the primary network interface (eth0) attached at instance creation, not a pre-existing network interface i.e., referenced in a `networkInterface` block. Refer to the [Elastic network interfaces documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI) to see the maximum number of private IP addresses allowed per instance type.
SecondaryPrivateIps pulumi.StringArrayInput
// A list of security group names 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
// VPC Subnet ID to launch in.
SubnetId pulumi.StringPtrInput
// A map of tags to assign to the resource. Note that these tags apply to the instance and not block storage devices. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// 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
// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance.
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. Updates to this field will trigger a stop/start of the EC2 instance.
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 map of tags to assign, at instance-creation time, to root and EBS volumes.
VolumeTags pulumi.StringMapInput
// 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 ¶
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"`
// AZ for the subnet.
AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
// AZ ID of the subnet. This argument is not supported in all regions or partitions. If necessary, use `availabilityZone` instead.
AvailabilityZoneId pulumi.StringOutput `pulumi:"availabilityZoneId"`
// The IPv4 CIDR block for the subnet.
CidrBlock pulumi.StringPtrOutput `pulumi:"cidrBlock"`
// The customer owned IPv4 address pool. Typically used with the `mapCustomerOwnedIpOnLaunch` argument. The `outpostArn` argument must be specified when configured.
CustomerOwnedIpv4Pool pulumi.StringPtrOutput `pulumi:"customerOwnedIpv4Pool"`
// Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default: `false`.
EnableDns64 pulumi.BoolPtrOutput `pulumi:"enableDns64"`
// Indicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: `false`.
EnableResourceNameDnsARecordOnLaunch pulumi.BoolPtrOutput `pulumi:"enableResourceNameDnsARecordOnLaunch"`
// Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default: `false`.
EnableResourceNameDnsAaaaRecordOnLaunch pulumi.BoolPtrOutput `pulumi:"enableResourceNameDnsAaaaRecordOnLaunch"`
// The IPv6 network range for the subnet,
// in CIDR notation. The subnet size must use a /64 prefix length.
Ipv6CidrBlock pulumi.StringPtrOutput `pulumi:"ipv6CidrBlock"`
// The association ID for the IPv6 CIDR block.
Ipv6CidrBlockAssociationId pulumi.StringOutput `pulumi:"ipv6CidrBlockAssociationId"`
// Indicates whether to create an IPv6-only subnet. Default: `false`.
Ipv6Native pulumi.BoolPtrOutput `pulumi:"ipv6Native"`
// Specify `true` to indicate that network interfaces created in the subnet should be assigned a customer owned IP address. The `customerOwnedIpv4Pool` and `outpostArn` arguments must be specified when set to `true`. Default is `false`.
MapCustomerOwnedIpOnLaunch pulumi.BoolPtrOutput `pulumi:"mapCustomerOwnedIpOnLaunch"`
// 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 Amazon Resource Name (ARN) of the Outpost.
OutpostArn pulumi.StringPtrOutput `pulumi:"outpostArn"`
// The ID of the AWS account that owns the subnet.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// The type of hostnames to assign to instances in the subnet at launch. For IPv6-only subnets, an instance DNS name must be based on the instance ID. For dual-stack and IPv4-only subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name`, `resource-name`.
PrivateDnsHostnameTypeOnLaunch pulumi.StringOutput `pulumi:"privateDnsHostnameTypeOnLaunch"`
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The VPC ID.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides an VPC subnet resource.
> **NOTE:** Due to [AWS Lambda improved VPC networking changes that began deploying in September 2019](https://aws.amazon.com/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/), subnets associated with Lambda Functions can take up to 45 minutes to successfully delete.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSubnet(ctx, "main", &ec2.SubnetArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
CidrBlock: pulumi.String("10.0.1.0/24"),
Tags: pulumi.StringMap{
"Name": pulumi.String("Main"),
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Subnets In Secondary VPC CIDR Blocks
When managing subnets in one of a VPC's secondary CIDR blocks created using a `ec2.VpcIpv4CidrBlockAssociation` resource, it is recommended to reference that resource's `vpcId` attribute to ensure correct dependency ordering.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
secondaryCidr, err := ec2.NewVpcIpv4CidrBlockAssociation(ctx, "secondaryCidr", &ec2.VpcIpv4CidrBlockAssociationArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
CidrBlock: pulumi.String("172.2.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewSubnet(ctx, "inSecondaryCidr", &ec2.SubnetArgs{
VpcId: secondaryCidr.VpcId,
CidrBlock: pulumi.String("172.2.0.0/24"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Subnets can be imported using the `subnet id`, e.g.,
```sh
$ pulumi import aws:ec2/subnet:Subnet public_subnet subnet-9d4a7b6c
```
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.
func (*Subnet) ElementType ¶
func (*Subnet) ToSubnetOutput ¶
func (i *Subnet) ToSubnetOutput() SubnetOutput
func (*Subnet) ToSubnetOutputWithContext ¶
func (i *Subnet) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput
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
// AZ for the subnet.
AvailabilityZone pulumi.StringPtrInput
// AZ ID of the subnet. This argument is not supported in all regions or partitions. If necessary, use `availabilityZone` instead.
AvailabilityZoneId pulumi.StringPtrInput
// The IPv4 CIDR block for the subnet.
CidrBlock pulumi.StringPtrInput
// The customer owned IPv4 address pool. Typically used with the `mapCustomerOwnedIpOnLaunch` argument. The `outpostArn` argument must be specified when configured.
CustomerOwnedIpv4Pool pulumi.StringPtrInput
// Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default: `false`.
EnableDns64 pulumi.BoolPtrInput
// Indicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: `false`.
EnableResourceNameDnsARecordOnLaunch pulumi.BoolPtrInput
// Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default: `false`.
EnableResourceNameDnsAaaaRecordOnLaunch pulumi.BoolPtrInput
// The IPv6 network range for the subnet,
// in CIDR notation. The subnet size must use a /64 prefix length.
Ipv6CidrBlock pulumi.StringPtrInput
// Indicates whether to create an IPv6-only subnet. Default: `false`.
Ipv6Native pulumi.BoolPtrInput
// Specify `true` to indicate that network interfaces created in the subnet should be assigned a customer owned IP address. The `customerOwnedIpv4Pool` and `outpostArn` arguments must be specified when set to `true`. Default is `false`.
MapCustomerOwnedIpOnLaunch pulumi.BoolPtrInput
// Specify true to indicate
// that instances launched into the subnet should be assigned
// a public IP address. Default is `false`.
MapPublicIpOnLaunch pulumi.BoolPtrInput
// The Amazon Resource Name (ARN) of the Outpost.
OutpostArn pulumi.StringPtrInput
// The type of hostnames to assign to instances in the subnet at launch. For IPv6-only subnets, an instance DNS name must be based on the instance ID. For dual-stack and IPv4-only subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name`, `resource-name`.
PrivateDnsHostnameTypeOnLaunch pulumi.StringPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The VPC ID.
VpcId pulumi.StringInput
}
The set of arguments for constructing a Subnet resource.
func (SubnetArgs) ElementType ¶
func (SubnetArgs) ElementType() reflect.Type
type SubnetArray ¶
type SubnetArray []SubnetInput
func (SubnetArray) ElementType ¶
func (SubnetArray) ElementType() reflect.Type
func (SubnetArray) ToSubnetArrayOutput ¶
func (i SubnetArray) ToSubnetArrayOutput() SubnetArrayOutput
func (SubnetArray) ToSubnetArrayOutputWithContext ¶
func (i SubnetArray) ToSubnetArrayOutputWithContext(ctx context.Context) SubnetArrayOutput
type SubnetArrayInput ¶
type SubnetArrayInput interface {
pulumi.Input
ToSubnetArrayOutput() SubnetArrayOutput
ToSubnetArrayOutputWithContext(context.Context) SubnetArrayOutput
}
SubnetArrayInput is an input type that accepts SubnetArray and SubnetArrayOutput values. You can construct a concrete instance of `SubnetArrayInput` via:
SubnetArray{ SubnetArgs{...} }
type SubnetArrayOutput ¶
type SubnetArrayOutput struct{ *pulumi.OutputState }
func (SubnetArrayOutput) ElementType ¶
func (SubnetArrayOutput) ElementType() reflect.Type
func (SubnetArrayOutput) Index ¶
func (o SubnetArrayOutput) Index(i pulumi.IntInput) SubnetOutput
func (SubnetArrayOutput) ToSubnetArrayOutput ¶
func (o SubnetArrayOutput) ToSubnetArrayOutput() SubnetArrayOutput
func (SubnetArrayOutput) ToSubnetArrayOutputWithContext ¶
func (o SubnetArrayOutput) ToSubnetArrayOutputWithContext(ctx context.Context) SubnetArrayOutput
type SubnetCidrReservation ¶
type SubnetCidrReservation struct {
pulumi.CustomResourceState
// The CIDR block for the reservation.
CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
// A brief description of the reservation.
Description pulumi.StringPtrOutput `pulumi:"description"`
// ID of the AWS account that owns this CIDR reservation.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// The type of reservation to create. Valid values: `explicit`, `prefix`
ReservationType pulumi.StringOutput `pulumi:"reservationType"`
// The ID of the subnet to create the reservation for.
SubnetId pulumi.StringOutput `pulumi:"subnetId"`
}
Provides a subnet CIDR reservation resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewSubnetCidrReservation(ctx, "example", &ec2.SubnetCidrReservationArgs{
CidrBlock: pulumi.String("10.0.0.16/28"),
ReservationType: pulumi.String("prefix"),
SubnetId: pulumi.Any(aws_subnet.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Existing CIDR reservations can be imported using `SUBNET_ID:RESERVATION_ID`, e.g.,
```sh
$ pulumi import aws:ec2/subnetCidrReservation:SubnetCidrReservation example subnet-01llsxvsxabqiymcz:scr-4mnvz6wb7otksjcs9
```
func GetSubnetCidrReservation ¶
func GetSubnetCidrReservation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubnetCidrReservationState, opts ...pulumi.ResourceOption) (*SubnetCidrReservation, error)
GetSubnetCidrReservation gets an existing SubnetCidrReservation 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 NewSubnetCidrReservation ¶
func NewSubnetCidrReservation(ctx *pulumi.Context, name string, args *SubnetCidrReservationArgs, opts ...pulumi.ResourceOption) (*SubnetCidrReservation, error)
NewSubnetCidrReservation registers a new resource with the given unique name, arguments, and options.
func (*SubnetCidrReservation) ElementType ¶
func (*SubnetCidrReservation) ElementType() reflect.Type
func (*SubnetCidrReservation) ToSubnetCidrReservationOutput ¶
func (i *SubnetCidrReservation) ToSubnetCidrReservationOutput() SubnetCidrReservationOutput
func (*SubnetCidrReservation) ToSubnetCidrReservationOutputWithContext ¶
func (i *SubnetCidrReservation) ToSubnetCidrReservationOutputWithContext(ctx context.Context) SubnetCidrReservationOutput
type SubnetCidrReservationArgs ¶
type SubnetCidrReservationArgs struct {
// The CIDR block for the reservation.
CidrBlock pulumi.StringInput
// A brief description of the reservation.
Description pulumi.StringPtrInput
// The type of reservation to create. Valid values: `explicit`, `prefix`
ReservationType pulumi.StringInput
// The ID of the subnet to create the reservation for.
SubnetId pulumi.StringInput
}
The set of arguments for constructing a SubnetCidrReservation resource.
func (SubnetCidrReservationArgs) ElementType ¶
func (SubnetCidrReservationArgs) ElementType() reflect.Type
type SubnetCidrReservationArray ¶
type SubnetCidrReservationArray []SubnetCidrReservationInput
func (SubnetCidrReservationArray) ElementType ¶
func (SubnetCidrReservationArray) ElementType() reflect.Type
func (SubnetCidrReservationArray) ToSubnetCidrReservationArrayOutput ¶
func (i SubnetCidrReservationArray) ToSubnetCidrReservationArrayOutput() SubnetCidrReservationArrayOutput
func (SubnetCidrReservationArray) ToSubnetCidrReservationArrayOutputWithContext ¶
func (i SubnetCidrReservationArray) ToSubnetCidrReservationArrayOutputWithContext(ctx context.Context) SubnetCidrReservationArrayOutput
type SubnetCidrReservationArrayInput ¶
type SubnetCidrReservationArrayInput interface {
pulumi.Input
ToSubnetCidrReservationArrayOutput() SubnetCidrReservationArrayOutput
ToSubnetCidrReservationArrayOutputWithContext(context.Context) SubnetCidrReservationArrayOutput
}
SubnetCidrReservationArrayInput is an input type that accepts SubnetCidrReservationArray and SubnetCidrReservationArrayOutput values. You can construct a concrete instance of `SubnetCidrReservationArrayInput` via:
SubnetCidrReservationArray{ SubnetCidrReservationArgs{...} }
type SubnetCidrReservationArrayOutput ¶
type SubnetCidrReservationArrayOutput struct{ *pulumi.OutputState }
func (SubnetCidrReservationArrayOutput) ElementType ¶
func (SubnetCidrReservationArrayOutput) ElementType() reflect.Type
func (SubnetCidrReservationArrayOutput) Index ¶
func (o SubnetCidrReservationArrayOutput) Index(i pulumi.IntInput) SubnetCidrReservationOutput
func (SubnetCidrReservationArrayOutput) ToSubnetCidrReservationArrayOutput ¶
func (o SubnetCidrReservationArrayOutput) ToSubnetCidrReservationArrayOutput() SubnetCidrReservationArrayOutput
func (SubnetCidrReservationArrayOutput) ToSubnetCidrReservationArrayOutputWithContext ¶
func (o SubnetCidrReservationArrayOutput) ToSubnetCidrReservationArrayOutputWithContext(ctx context.Context) SubnetCidrReservationArrayOutput
type SubnetCidrReservationInput ¶
type SubnetCidrReservationInput interface {
pulumi.Input
ToSubnetCidrReservationOutput() SubnetCidrReservationOutput
ToSubnetCidrReservationOutputWithContext(ctx context.Context) SubnetCidrReservationOutput
}
type SubnetCidrReservationMap ¶
type SubnetCidrReservationMap map[string]SubnetCidrReservationInput
func (SubnetCidrReservationMap) ElementType ¶
func (SubnetCidrReservationMap) ElementType() reflect.Type
func (SubnetCidrReservationMap) ToSubnetCidrReservationMapOutput ¶
func (i SubnetCidrReservationMap) ToSubnetCidrReservationMapOutput() SubnetCidrReservationMapOutput
func (SubnetCidrReservationMap) ToSubnetCidrReservationMapOutputWithContext ¶
func (i SubnetCidrReservationMap) ToSubnetCidrReservationMapOutputWithContext(ctx context.Context) SubnetCidrReservationMapOutput
type SubnetCidrReservationMapInput ¶
type SubnetCidrReservationMapInput interface {
pulumi.Input
ToSubnetCidrReservationMapOutput() SubnetCidrReservationMapOutput
ToSubnetCidrReservationMapOutputWithContext(context.Context) SubnetCidrReservationMapOutput
}
SubnetCidrReservationMapInput is an input type that accepts SubnetCidrReservationMap and SubnetCidrReservationMapOutput values. You can construct a concrete instance of `SubnetCidrReservationMapInput` via:
SubnetCidrReservationMap{ "key": SubnetCidrReservationArgs{...} }
type SubnetCidrReservationMapOutput ¶
type SubnetCidrReservationMapOutput struct{ *pulumi.OutputState }
func (SubnetCidrReservationMapOutput) ElementType ¶
func (SubnetCidrReservationMapOutput) ElementType() reflect.Type
func (SubnetCidrReservationMapOutput) MapIndex ¶
func (o SubnetCidrReservationMapOutput) MapIndex(k pulumi.StringInput) SubnetCidrReservationOutput
func (SubnetCidrReservationMapOutput) ToSubnetCidrReservationMapOutput ¶
func (o SubnetCidrReservationMapOutput) ToSubnetCidrReservationMapOutput() SubnetCidrReservationMapOutput
func (SubnetCidrReservationMapOutput) ToSubnetCidrReservationMapOutputWithContext ¶
func (o SubnetCidrReservationMapOutput) ToSubnetCidrReservationMapOutputWithContext(ctx context.Context) SubnetCidrReservationMapOutput
type SubnetCidrReservationOutput ¶
type SubnetCidrReservationOutput struct{ *pulumi.OutputState }
func (SubnetCidrReservationOutput) ElementType ¶
func (SubnetCidrReservationOutput) ElementType() reflect.Type
func (SubnetCidrReservationOutput) ToSubnetCidrReservationOutput ¶
func (o SubnetCidrReservationOutput) ToSubnetCidrReservationOutput() SubnetCidrReservationOutput
func (SubnetCidrReservationOutput) ToSubnetCidrReservationOutputWithContext ¶
func (o SubnetCidrReservationOutput) ToSubnetCidrReservationOutputWithContext(ctx context.Context) SubnetCidrReservationOutput
type SubnetCidrReservationState ¶
type SubnetCidrReservationState struct {
// The CIDR block for the reservation.
CidrBlock pulumi.StringPtrInput
// A brief description of the reservation.
Description pulumi.StringPtrInput
// ID of the AWS account that owns this CIDR reservation.
OwnerId pulumi.StringPtrInput
// The type of reservation to create. Valid values: `explicit`, `prefix`
ReservationType pulumi.StringPtrInput
// The ID of the subnet to create the reservation for.
SubnetId pulumi.StringPtrInput
}
func (SubnetCidrReservationState) ElementType ¶
func (SubnetCidrReservationState) ElementType() reflect.Type
type SubnetInput ¶
type SubnetInput interface {
pulumi.Input
ToSubnetOutput() SubnetOutput
ToSubnetOutputWithContext(ctx context.Context) SubnetOutput
}
type SubnetMap ¶
type SubnetMap map[string]SubnetInput
func (SubnetMap) ElementType ¶
func (SubnetMap) ToSubnetMapOutput ¶
func (i SubnetMap) ToSubnetMapOutput() SubnetMapOutput
func (SubnetMap) ToSubnetMapOutputWithContext ¶
func (i SubnetMap) ToSubnetMapOutputWithContext(ctx context.Context) SubnetMapOutput
type SubnetMapInput ¶
type SubnetMapInput interface {
pulumi.Input
ToSubnetMapOutput() SubnetMapOutput
ToSubnetMapOutputWithContext(context.Context) SubnetMapOutput
}
SubnetMapInput is an input type that accepts SubnetMap and SubnetMapOutput values. You can construct a concrete instance of `SubnetMapInput` via:
SubnetMap{ "key": SubnetArgs{...} }
type SubnetMapOutput ¶
type SubnetMapOutput struct{ *pulumi.OutputState }
func (SubnetMapOutput) ElementType ¶
func (SubnetMapOutput) ElementType() reflect.Type
func (SubnetMapOutput) MapIndex ¶
func (o SubnetMapOutput) MapIndex(k pulumi.StringInput) SubnetOutput
func (SubnetMapOutput) ToSubnetMapOutput ¶
func (o SubnetMapOutput) ToSubnetMapOutput() SubnetMapOutput
func (SubnetMapOutput) ToSubnetMapOutputWithContext ¶
func (o SubnetMapOutput) ToSubnetMapOutputWithContext(ctx context.Context) SubnetMapOutput
type SubnetOutput ¶
type SubnetOutput struct{ *pulumi.OutputState }
func (SubnetOutput) ElementType ¶
func (SubnetOutput) ElementType() reflect.Type
func (SubnetOutput) ToSubnetOutput ¶
func (o SubnetOutput) ToSubnetOutput() SubnetOutput
func (SubnetOutput) ToSubnetOutputWithContext ¶
func (o SubnetOutput) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput
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
// AZ for the subnet.
AvailabilityZone pulumi.StringPtrInput
// AZ ID of the subnet. This argument is not supported in all regions or partitions. If necessary, use `availabilityZone` instead.
AvailabilityZoneId pulumi.StringPtrInput
// The IPv4 CIDR block for the subnet.
CidrBlock pulumi.StringPtrInput
// The customer owned IPv4 address pool. Typically used with the `mapCustomerOwnedIpOnLaunch` argument. The `outpostArn` argument must be specified when configured.
CustomerOwnedIpv4Pool pulumi.StringPtrInput
// Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default: `false`.
EnableDns64 pulumi.BoolPtrInput
// Indicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: `false`.
EnableResourceNameDnsARecordOnLaunch pulumi.BoolPtrInput
// Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default: `false`.
EnableResourceNameDnsAaaaRecordOnLaunch pulumi.BoolPtrInput
// 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
// Indicates whether to create an IPv6-only subnet. Default: `false`.
Ipv6Native pulumi.BoolPtrInput
// Specify `true` to indicate that network interfaces created in the subnet should be assigned a customer owned IP address. The `customerOwnedIpv4Pool` and `outpostArn` arguments must be specified when set to `true`. Default is `false`.
MapCustomerOwnedIpOnLaunch pulumi.BoolPtrInput
// Specify true to indicate
// that instances launched into the subnet should be assigned
// a public IP address. Default is `false`.
MapPublicIpOnLaunch pulumi.BoolPtrInput
// The Amazon Resource Name (ARN) of the Outpost.
OutpostArn pulumi.StringPtrInput
// The ID of the AWS account that owns the subnet.
OwnerId pulumi.StringPtrInput
// The type of hostnames to assign to instances in the subnet at launch. For IPv6-only subnets, an instance DNS name must be based on the instance ID. For dual-stack and IPv4-only subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name`, `resource-name`.
PrivateDnsHostnameTypeOnLaunch pulumi.StringPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The VPC ID.
VpcId pulumi.StringPtrInput
}
func (SubnetState) ElementType ¶
func (SubnetState) ElementType() reflect.Type
type Tag ¶
type Tag struct {
pulumi.CustomResourceState
// The tag name.
Key pulumi.StringOutput `pulumi:"key"`
// The ID of the EC2 resource to manage the tag for.
ResourceId pulumi.StringOutput `pulumi:"resourceId"`
// The value of the tag.
Value pulumi.StringOutput `pulumi:"value"`
}
Manages an individual EC2 resource tag. This resource should only be used in cases where EC2 resources are created outside the provider (e.g. AMIs), being shared via Resource Access Manager (RAM), or implicitly created by other means (e.g. Transit Gateway VPN Attachments).
> **NOTE:** This tagging resource should not be combined with the providers resource for managing the parent resource. For example, using `ec2.Vpc` and `ec2.Tag` to manage tags of the same VPC will cause a perpetual difference where the `ec2.Vpc` resource will try to remove the tag being added by the `ec2.Tag` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "exampleTransitGateway", nil)
if err != nil {
return err
}
exampleCustomerGateway, err := ec2.NewCustomerGateway(ctx, "exampleCustomerGateway", &ec2.CustomerGatewayArgs{
BgpAsn: pulumi.String("65000"),
IpAddress: pulumi.String("172.0.0.1"),
Type: pulumi.String("ipsec.1"),
})
if err != nil {
return err
}
exampleVpnConnection, err := ec2.NewVpnConnection(ctx, "exampleVpnConnection", &ec2.VpnConnectionArgs{
CustomerGatewayId: exampleCustomerGateway.ID(),
TransitGatewayId: exampleTransitGateway.ID(),
Type: exampleCustomerGateway.Type,
})
if err != nil {
return err
}
_, err = ec2.NewTag(ctx, "exampleTag", &ec2.TagArgs{
ResourceId: exampleVpnConnection.TransitGatewayAttachmentId,
Key: pulumi.String("Name"),
Value: pulumi.String("Hello World"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_ec2_tag` can be imported by using the EC2 resource identifier and key, separated by a comma (`,`), e.g.,
```sh
$ pulumi import aws:ec2/tag:Tag example tgw-attach-1234567890abcdef,Name
```
func GetTag ¶
func GetTag(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TagState, opts ...pulumi.ResourceOption) (*Tag, error)
GetTag gets an existing Tag 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 NewTag ¶
func NewTag(ctx *pulumi.Context, name string, args *TagArgs, opts ...pulumi.ResourceOption) (*Tag, error)
NewTag registers a new resource with the given unique name, arguments, and options.
func (*Tag) ElementType ¶
func (*Tag) ToTagOutput ¶
type TagArgs ¶
type TagArgs struct {
// The tag name.
Key pulumi.StringInput
// The ID of the EC2 resource to manage the tag for.
ResourceId pulumi.StringInput
// The value of the tag.
Value pulumi.StringInput
}
The set of arguments for constructing a Tag resource.
func (TagArgs) ElementType ¶
type TagArray ¶
type TagArray []TagInput
func (TagArray) ElementType ¶
func (TagArray) ToTagArrayOutput ¶
func (i TagArray) ToTagArrayOutput() TagArrayOutput
func (TagArray) ToTagArrayOutputWithContext ¶
func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput
type TagArrayInput ¶
type TagArrayInput interface {
pulumi.Input
ToTagArrayOutput() TagArrayOutput
ToTagArrayOutputWithContext(context.Context) TagArrayOutput
}
TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. You can construct a concrete instance of `TagArrayInput` via:
TagArray{ TagArgs{...} }
type TagArrayOutput ¶
type TagArrayOutput struct{ *pulumi.OutputState }
func (TagArrayOutput) ElementType ¶
func (TagArrayOutput) ElementType() reflect.Type
func (TagArrayOutput) ToTagArrayOutput ¶
func (o TagArrayOutput) ToTagArrayOutput() TagArrayOutput
func (TagArrayOutput) ToTagArrayOutputWithContext ¶
func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput
type TagMap ¶
func (TagMap) ElementType ¶
func (TagMap) ToTagMapOutput ¶
func (i TagMap) ToTagMapOutput() TagMapOutput
func (TagMap) ToTagMapOutputWithContext ¶
func (i TagMap) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput
type TagMapInput ¶
type TagMapInput interface {
pulumi.Input
ToTagMapOutput() TagMapOutput
ToTagMapOutputWithContext(context.Context) TagMapOutput
}
TagMapInput is an input type that accepts TagMap and TagMapOutput values. You can construct a concrete instance of `TagMapInput` via:
TagMap{ "key": TagArgs{...} }
type TagMapOutput ¶
type TagMapOutput struct{ *pulumi.OutputState }
func (TagMapOutput) ElementType ¶
func (TagMapOutput) ElementType() reflect.Type
func (TagMapOutput) MapIndex ¶
func (o TagMapOutput) MapIndex(k pulumi.StringInput) TagOutput
func (TagMapOutput) ToTagMapOutput ¶
func (o TagMapOutput) ToTagMapOutput() TagMapOutput
func (TagMapOutput) ToTagMapOutputWithContext ¶
func (o TagMapOutput) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput
type TagOutput ¶
type TagOutput struct{ *pulumi.OutputState }
func (TagOutput) ElementType ¶
func (TagOutput) ToTagOutput ¶
type TagState ¶
type TagState struct {
// The tag name.
Key pulumi.StringPtrInput
// The ID of the EC2 resource to manage the tag for.
ResourceId pulumi.StringPtrInput
// The value of the tag.
Value pulumi.StringPtrInput
}
func (TagState) ElementType ¶
type Tenancy ¶
type Tenancy string
func (Tenancy) ElementType ¶
func (Tenancy) ToStringOutput ¶
func (e Tenancy) ToStringOutput() pulumi.StringOutput
func (Tenancy) ToStringOutputWithContext ¶
func (e Tenancy) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (Tenancy) ToStringPtrOutput ¶
func (e Tenancy) ToStringPtrOutput() pulumi.StringPtrOutput
func (Tenancy) ToStringPtrOutputWithContext ¶
func (e Tenancy) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (Tenancy) ToTenancyOutput ¶
func (e Tenancy) ToTenancyOutput() TenancyOutput
func (Tenancy) ToTenancyOutputWithContext ¶
func (e Tenancy) ToTenancyOutputWithContext(ctx context.Context) TenancyOutput
func (Tenancy) ToTenancyPtrOutput ¶
func (e Tenancy) ToTenancyPtrOutput() TenancyPtrOutput
func (Tenancy) ToTenancyPtrOutputWithContext ¶
func (e Tenancy) ToTenancyPtrOutputWithContext(ctx context.Context) TenancyPtrOutput
type TenancyInput ¶
type TenancyInput interface {
pulumi.Input
ToTenancyOutput() TenancyOutput
ToTenancyOutputWithContext(context.Context) TenancyOutput
}
TenancyInput is an input type that accepts TenancyArgs and TenancyOutput values. You can construct a concrete instance of `TenancyInput` via:
TenancyArgs{...}
type TenancyOutput ¶
type TenancyOutput struct{ *pulumi.OutputState }
func (TenancyOutput) ElementType ¶
func (TenancyOutput) ElementType() reflect.Type
func (TenancyOutput) ToStringOutput ¶
func (o TenancyOutput) ToStringOutput() pulumi.StringOutput
func (TenancyOutput) ToStringOutputWithContext ¶
func (o TenancyOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (TenancyOutput) ToStringPtrOutput ¶
func (o TenancyOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (TenancyOutput) ToStringPtrOutputWithContext ¶
func (o TenancyOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (TenancyOutput) ToTenancyOutput ¶
func (o TenancyOutput) ToTenancyOutput() TenancyOutput
func (TenancyOutput) ToTenancyOutputWithContext ¶
func (o TenancyOutput) ToTenancyOutputWithContext(ctx context.Context) TenancyOutput
func (TenancyOutput) ToTenancyPtrOutput ¶
func (o TenancyOutput) ToTenancyPtrOutput() TenancyPtrOutput
func (TenancyOutput) ToTenancyPtrOutputWithContext ¶
func (o TenancyOutput) ToTenancyPtrOutputWithContext(ctx context.Context) TenancyPtrOutput
type TenancyPtrInput ¶
type TenancyPtrInput interface {
pulumi.Input
ToTenancyPtrOutput() TenancyPtrOutput
ToTenancyPtrOutputWithContext(context.Context) TenancyPtrOutput
}
func TenancyPtr ¶
func TenancyPtr(v string) TenancyPtrInput
type TenancyPtrOutput ¶
type TenancyPtrOutput struct{ *pulumi.OutputState }
func (TenancyPtrOutput) Elem ¶
func (o TenancyPtrOutput) Elem() TenancyOutput
func (TenancyPtrOutput) ElementType ¶
func (TenancyPtrOutput) ElementType() reflect.Type
func (TenancyPtrOutput) ToStringPtrOutput ¶
func (o TenancyPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (TenancyPtrOutput) ToStringPtrOutputWithContext ¶
func (o TenancyPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (TenancyPtrOutput) ToTenancyPtrOutput ¶
func (o TenancyPtrOutput) ToTenancyPtrOutput() TenancyPtrOutput
func (TenancyPtrOutput) ToTenancyPtrOutputWithContext ¶
func (o TenancyPtrOutput) ToTenancyPtrOutputWithContext(ctx context.Context) TenancyPtrOutput
type TrafficMirrorFilter ¶
type TrafficMirrorFilter struct {
pulumi.CustomResourceState
// The ARN of the traffic mirror filter.
Arn pulumi.StringOutput `pulumi:"arn"`
// A description of the filter.
Description pulumi.StringPtrOutput `pulumi:"description"`
// List of amazon network services that should be mirrored. Valid values: `amazon-dns`.
NetworkServices pulumi.StringArrayOutput `pulumi:"networkServices"`
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides an Traffic mirror filter.\ Read [limits and considerations](https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-considerations.html) for traffic mirroring
## Example Usage
To create a basic traffic mirror filter ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewTrafficMirrorFilter(ctx, "foo", &ec2.TrafficMirrorFilterArgs{
Description: pulumi.String("traffic mirror filter - example"),
NetworkServices: pulumi.StringArray{
pulumi.String("amazon-dns"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Traffic mirror filter can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/trafficMirrorFilter:TrafficMirrorFilter foo tmf-0fbb93ddf38198f64
```
func GetTrafficMirrorFilter ¶
func GetTrafficMirrorFilter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TrafficMirrorFilterState, opts ...pulumi.ResourceOption) (*TrafficMirrorFilter, error)
GetTrafficMirrorFilter gets an existing TrafficMirrorFilter 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 NewTrafficMirrorFilter ¶
func NewTrafficMirrorFilter(ctx *pulumi.Context, name string, args *TrafficMirrorFilterArgs, opts ...pulumi.ResourceOption) (*TrafficMirrorFilter, error)
NewTrafficMirrorFilter registers a new resource with the given unique name, arguments, and options.
func (*TrafficMirrorFilter) ElementType ¶
func (*TrafficMirrorFilter) ElementType() reflect.Type
func (*TrafficMirrorFilter) ToTrafficMirrorFilterOutput ¶
func (i *TrafficMirrorFilter) ToTrafficMirrorFilterOutput() TrafficMirrorFilterOutput
func (*TrafficMirrorFilter) ToTrafficMirrorFilterOutputWithContext ¶
func (i *TrafficMirrorFilter) ToTrafficMirrorFilterOutputWithContext(ctx context.Context) TrafficMirrorFilterOutput
type TrafficMirrorFilterArgs ¶
type TrafficMirrorFilterArgs struct {
// A description of the filter.
Description pulumi.StringPtrInput
// List of amazon network services that should be mirrored. Valid values: `amazon-dns`.
NetworkServices pulumi.StringArrayInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a TrafficMirrorFilter resource.
func (TrafficMirrorFilterArgs) ElementType ¶
func (TrafficMirrorFilterArgs) ElementType() reflect.Type
type TrafficMirrorFilterArray ¶
type TrafficMirrorFilterArray []TrafficMirrorFilterInput
func (TrafficMirrorFilterArray) ElementType ¶
func (TrafficMirrorFilterArray) ElementType() reflect.Type
func (TrafficMirrorFilterArray) ToTrafficMirrorFilterArrayOutput ¶
func (i TrafficMirrorFilterArray) ToTrafficMirrorFilterArrayOutput() TrafficMirrorFilterArrayOutput
func (TrafficMirrorFilterArray) ToTrafficMirrorFilterArrayOutputWithContext ¶
func (i TrafficMirrorFilterArray) ToTrafficMirrorFilterArrayOutputWithContext(ctx context.Context) TrafficMirrorFilterArrayOutput
type TrafficMirrorFilterArrayInput ¶
type TrafficMirrorFilterArrayInput interface {
pulumi.Input
ToTrafficMirrorFilterArrayOutput() TrafficMirrorFilterArrayOutput
ToTrafficMirrorFilterArrayOutputWithContext(context.Context) TrafficMirrorFilterArrayOutput
}
TrafficMirrorFilterArrayInput is an input type that accepts TrafficMirrorFilterArray and TrafficMirrorFilterArrayOutput values. You can construct a concrete instance of `TrafficMirrorFilterArrayInput` via:
TrafficMirrorFilterArray{ TrafficMirrorFilterArgs{...} }
type TrafficMirrorFilterArrayOutput ¶
type TrafficMirrorFilterArrayOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterArrayOutput) ElementType ¶
func (TrafficMirrorFilterArrayOutput) ElementType() reflect.Type
func (TrafficMirrorFilterArrayOutput) Index ¶
func (o TrafficMirrorFilterArrayOutput) Index(i pulumi.IntInput) TrafficMirrorFilterOutput
func (TrafficMirrorFilterArrayOutput) ToTrafficMirrorFilterArrayOutput ¶
func (o TrafficMirrorFilterArrayOutput) ToTrafficMirrorFilterArrayOutput() TrafficMirrorFilterArrayOutput
func (TrafficMirrorFilterArrayOutput) ToTrafficMirrorFilterArrayOutputWithContext ¶
func (o TrafficMirrorFilterArrayOutput) ToTrafficMirrorFilterArrayOutputWithContext(ctx context.Context) TrafficMirrorFilterArrayOutput
type TrafficMirrorFilterInput ¶
type TrafficMirrorFilterInput interface {
pulumi.Input
ToTrafficMirrorFilterOutput() TrafficMirrorFilterOutput
ToTrafficMirrorFilterOutputWithContext(ctx context.Context) TrafficMirrorFilterOutput
}
type TrafficMirrorFilterMap ¶
type TrafficMirrorFilterMap map[string]TrafficMirrorFilterInput
func (TrafficMirrorFilterMap) ElementType ¶
func (TrafficMirrorFilterMap) ElementType() reflect.Type
func (TrafficMirrorFilterMap) ToTrafficMirrorFilterMapOutput ¶
func (i TrafficMirrorFilterMap) ToTrafficMirrorFilterMapOutput() TrafficMirrorFilterMapOutput
func (TrafficMirrorFilterMap) ToTrafficMirrorFilterMapOutputWithContext ¶
func (i TrafficMirrorFilterMap) ToTrafficMirrorFilterMapOutputWithContext(ctx context.Context) TrafficMirrorFilterMapOutput
type TrafficMirrorFilterMapInput ¶
type TrafficMirrorFilterMapInput interface {
pulumi.Input
ToTrafficMirrorFilterMapOutput() TrafficMirrorFilterMapOutput
ToTrafficMirrorFilterMapOutputWithContext(context.Context) TrafficMirrorFilterMapOutput
}
TrafficMirrorFilterMapInput is an input type that accepts TrafficMirrorFilterMap and TrafficMirrorFilterMapOutput values. You can construct a concrete instance of `TrafficMirrorFilterMapInput` via:
TrafficMirrorFilterMap{ "key": TrafficMirrorFilterArgs{...} }
type TrafficMirrorFilterMapOutput ¶
type TrafficMirrorFilterMapOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterMapOutput) ElementType ¶
func (TrafficMirrorFilterMapOutput) ElementType() reflect.Type
func (TrafficMirrorFilterMapOutput) MapIndex ¶
func (o TrafficMirrorFilterMapOutput) MapIndex(k pulumi.StringInput) TrafficMirrorFilterOutput
func (TrafficMirrorFilterMapOutput) ToTrafficMirrorFilterMapOutput ¶
func (o TrafficMirrorFilterMapOutput) ToTrafficMirrorFilterMapOutput() TrafficMirrorFilterMapOutput
func (TrafficMirrorFilterMapOutput) ToTrafficMirrorFilterMapOutputWithContext ¶
func (o TrafficMirrorFilterMapOutput) ToTrafficMirrorFilterMapOutputWithContext(ctx context.Context) TrafficMirrorFilterMapOutput
type TrafficMirrorFilterOutput ¶
type TrafficMirrorFilterOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterOutput) ElementType ¶
func (TrafficMirrorFilterOutput) ElementType() reflect.Type
func (TrafficMirrorFilterOutput) ToTrafficMirrorFilterOutput ¶
func (o TrafficMirrorFilterOutput) ToTrafficMirrorFilterOutput() TrafficMirrorFilterOutput
func (TrafficMirrorFilterOutput) ToTrafficMirrorFilterOutputWithContext ¶
func (o TrafficMirrorFilterOutput) ToTrafficMirrorFilterOutputWithContext(ctx context.Context) TrafficMirrorFilterOutput
type TrafficMirrorFilterRule ¶
type TrafficMirrorFilterRule struct {
pulumi.CustomResourceState
// ARN of the traffic mirror filter rule.
Arn pulumi.StringOutput `pulumi:"arn"`
// Description of the traffic mirror filter rule.
Description pulumi.StringPtrOutput `pulumi:"description"`
// Destination CIDR block to assign to the Traffic Mirror rule.
DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
// Destination port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
DestinationPortRange TrafficMirrorFilterRuleDestinationPortRangePtrOutput `pulumi:"destinationPortRange"`
// Protocol number, for example 17 (UDP), to assign to the Traffic Mirror rule. For information about the protocol value, see [Protocol Numbers](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) on the Internet Assigned Numbers Authority (IANA) website.
Protocol pulumi.IntPtrOutput `pulumi:"protocol"`
// Action to take (accept | reject) on the filtered traffic. Valid values are `accept` and `reject`
RuleAction pulumi.StringOutput `pulumi:"ruleAction"`
// Number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
RuleNumber pulumi.IntOutput `pulumi:"ruleNumber"`
// Source CIDR block to assign to the Traffic Mirror rule.
SourceCidrBlock pulumi.StringOutput `pulumi:"sourceCidrBlock"`
// Source port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
SourcePortRange TrafficMirrorFilterRuleSourcePortRangePtrOutput `pulumi:"sourcePortRange"`
// Direction of traffic to be captured. Valid values are `ingress` and `egress`
TrafficDirection pulumi.StringOutput `pulumi:"trafficDirection"`
// ID of the traffic mirror filter to which this rule should be added
TrafficMirrorFilterId pulumi.StringOutput `pulumi:"trafficMirrorFilterId"`
}
Provides an Traffic mirror filter rule.\ Read [limits and considerations](https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-considerations.html) for traffic mirroring
## Example Usage
To create a basic traffic mirror session ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
filter, err := ec2.NewTrafficMirrorFilter(ctx, "filter", &ec2.TrafficMirrorFilterArgs{
Description: pulumi.String("traffic mirror filter - example"),
NetworkServices: pulumi.StringArray{
pulumi.String("amazon-dns"),
},
})
if err != nil {
return err
}
_, err = ec2.NewTrafficMirrorFilterRule(ctx, "ruleout", &ec2.TrafficMirrorFilterRuleArgs{
Description: pulumi.String("test rule"),
TrafficMirrorFilterId: filter.ID(),
DestinationCidrBlock: pulumi.String("10.0.0.0/8"),
SourceCidrBlock: pulumi.String("10.0.0.0/8"),
RuleNumber: pulumi.Int(1),
RuleAction: pulumi.String("accept"),
TrafficDirection: pulumi.String("egress"),
})
if err != nil {
return err
}
_, err = ec2.NewTrafficMirrorFilterRule(ctx, "rulein", &ec2.TrafficMirrorFilterRuleArgs{
Description: pulumi.String("test rule"),
TrafficMirrorFilterId: filter.ID(),
DestinationCidrBlock: pulumi.String("10.0.0.0/8"),
SourceCidrBlock: pulumi.String("10.0.0.0/8"),
RuleNumber: pulumi.Int(1),
RuleAction: pulumi.String("accept"),
TrafficDirection: pulumi.String("ingress"),
Protocol: pulumi.Int(6),
DestinationPortRange: &ec2.TrafficMirrorFilterRuleDestinationPortRangeArgs{
FromPort: pulumi.Int(22),
ToPort: pulumi.Int(53),
},
SourcePortRange: &ec2.TrafficMirrorFilterRuleSourcePortRangeArgs{
FromPort: pulumi.Int(0),
ToPort: pulumi.Int(10),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Traffic mirror rules can be imported using the `traffic_mirror_filter_id` and `id` separated by `:` e.g.,
```sh
$ pulumi import aws:ec2/trafficMirrorFilterRule:TrafficMirrorFilterRule rule tmf-0fbb93ddf38198f64:tmfr-05a458f06445d0aee
```
func GetTrafficMirrorFilterRule ¶
func GetTrafficMirrorFilterRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TrafficMirrorFilterRuleState, opts ...pulumi.ResourceOption) (*TrafficMirrorFilterRule, error)
GetTrafficMirrorFilterRule gets an existing TrafficMirrorFilterRule 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 NewTrafficMirrorFilterRule ¶
func NewTrafficMirrorFilterRule(ctx *pulumi.Context, name string, args *TrafficMirrorFilterRuleArgs, opts ...pulumi.ResourceOption) (*TrafficMirrorFilterRule, error)
NewTrafficMirrorFilterRule registers a new resource with the given unique name, arguments, and options.
func (*TrafficMirrorFilterRule) ElementType ¶
func (*TrafficMirrorFilterRule) ElementType() reflect.Type
func (*TrafficMirrorFilterRule) ToTrafficMirrorFilterRuleOutput ¶
func (i *TrafficMirrorFilterRule) ToTrafficMirrorFilterRuleOutput() TrafficMirrorFilterRuleOutput
func (*TrafficMirrorFilterRule) ToTrafficMirrorFilterRuleOutputWithContext ¶
func (i *TrafficMirrorFilterRule) ToTrafficMirrorFilterRuleOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleOutput
type TrafficMirrorFilterRuleArgs ¶
type TrafficMirrorFilterRuleArgs struct {
// Description of the traffic mirror filter rule.
Description pulumi.StringPtrInput
// Destination CIDR block to assign to the Traffic Mirror rule.
DestinationCidrBlock pulumi.StringInput
// Destination port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
DestinationPortRange TrafficMirrorFilterRuleDestinationPortRangePtrInput
// Protocol number, for example 17 (UDP), to assign to the Traffic Mirror rule. For information about the protocol value, see [Protocol Numbers](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) on the Internet Assigned Numbers Authority (IANA) website.
Protocol pulumi.IntPtrInput
// Action to take (accept | reject) on the filtered traffic. Valid values are `accept` and `reject`
RuleAction pulumi.StringInput
// Number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
RuleNumber pulumi.IntInput
// Source CIDR block to assign to the Traffic Mirror rule.
SourceCidrBlock pulumi.StringInput
// Source port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
SourcePortRange TrafficMirrorFilterRuleSourcePortRangePtrInput
// Direction of traffic to be captured. Valid values are `ingress` and `egress`
TrafficDirection pulumi.StringInput
// ID of the traffic mirror filter to which this rule should be added
TrafficMirrorFilterId pulumi.StringInput
}
The set of arguments for constructing a TrafficMirrorFilterRule resource.
func (TrafficMirrorFilterRuleArgs) ElementType ¶
func (TrafficMirrorFilterRuleArgs) ElementType() reflect.Type
type TrafficMirrorFilterRuleArray ¶
type TrafficMirrorFilterRuleArray []TrafficMirrorFilterRuleInput
func (TrafficMirrorFilterRuleArray) ElementType ¶
func (TrafficMirrorFilterRuleArray) ElementType() reflect.Type
func (TrafficMirrorFilterRuleArray) ToTrafficMirrorFilterRuleArrayOutput ¶
func (i TrafficMirrorFilterRuleArray) ToTrafficMirrorFilterRuleArrayOutput() TrafficMirrorFilterRuleArrayOutput
func (TrafficMirrorFilterRuleArray) ToTrafficMirrorFilterRuleArrayOutputWithContext ¶
func (i TrafficMirrorFilterRuleArray) ToTrafficMirrorFilterRuleArrayOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleArrayOutput
type TrafficMirrorFilterRuleArrayInput ¶
type TrafficMirrorFilterRuleArrayInput interface {
pulumi.Input
ToTrafficMirrorFilterRuleArrayOutput() TrafficMirrorFilterRuleArrayOutput
ToTrafficMirrorFilterRuleArrayOutputWithContext(context.Context) TrafficMirrorFilterRuleArrayOutput
}
TrafficMirrorFilterRuleArrayInput is an input type that accepts TrafficMirrorFilterRuleArray and TrafficMirrorFilterRuleArrayOutput values. You can construct a concrete instance of `TrafficMirrorFilterRuleArrayInput` via:
TrafficMirrorFilterRuleArray{ TrafficMirrorFilterRuleArgs{...} }
type TrafficMirrorFilterRuleArrayOutput ¶
type TrafficMirrorFilterRuleArrayOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterRuleArrayOutput) ElementType ¶
func (TrafficMirrorFilterRuleArrayOutput) ElementType() reflect.Type
func (TrafficMirrorFilterRuleArrayOutput) Index ¶
func (o TrafficMirrorFilterRuleArrayOutput) Index(i pulumi.IntInput) TrafficMirrorFilterRuleOutput
func (TrafficMirrorFilterRuleArrayOutput) ToTrafficMirrorFilterRuleArrayOutput ¶
func (o TrafficMirrorFilterRuleArrayOutput) ToTrafficMirrorFilterRuleArrayOutput() TrafficMirrorFilterRuleArrayOutput
func (TrafficMirrorFilterRuleArrayOutput) ToTrafficMirrorFilterRuleArrayOutputWithContext ¶
func (o TrafficMirrorFilterRuleArrayOutput) ToTrafficMirrorFilterRuleArrayOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleArrayOutput
type TrafficMirrorFilterRuleDestinationPortRangeArgs ¶
type TrafficMirrorFilterRuleDestinationPortRangeArgs struct {
// Starting port of the range
FromPort pulumi.IntPtrInput `pulumi:"fromPort"`
// Ending port of the range
ToPort pulumi.IntPtrInput `pulumi:"toPort"`
}
func (TrafficMirrorFilterRuleDestinationPortRangeArgs) ElementType ¶
func (TrafficMirrorFilterRuleDestinationPortRangeArgs) ElementType() reflect.Type
func (TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangeOutput ¶
func (i TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangeOutput() TrafficMirrorFilterRuleDestinationPortRangeOutput
func (TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangeOutputWithContext ¶
func (i TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangeOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangeOutput
func (TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput ¶
func (i TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput() TrafficMirrorFilterRuleDestinationPortRangePtrOutput
func (TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext ¶
func (i TrafficMirrorFilterRuleDestinationPortRangeArgs) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangePtrOutput
type TrafficMirrorFilterRuleDestinationPortRangeInput ¶
type TrafficMirrorFilterRuleDestinationPortRangeInput interface {
pulumi.Input
ToTrafficMirrorFilterRuleDestinationPortRangeOutput() TrafficMirrorFilterRuleDestinationPortRangeOutput
ToTrafficMirrorFilterRuleDestinationPortRangeOutputWithContext(context.Context) TrafficMirrorFilterRuleDestinationPortRangeOutput
}
TrafficMirrorFilterRuleDestinationPortRangeInput is an input type that accepts TrafficMirrorFilterRuleDestinationPortRangeArgs and TrafficMirrorFilterRuleDestinationPortRangeOutput values. You can construct a concrete instance of `TrafficMirrorFilterRuleDestinationPortRangeInput` via:
TrafficMirrorFilterRuleDestinationPortRangeArgs{...}
type TrafficMirrorFilterRuleDestinationPortRangeOutput ¶
type TrafficMirrorFilterRuleDestinationPortRangeOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterRuleDestinationPortRangeOutput) ElementType ¶
func (TrafficMirrorFilterRuleDestinationPortRangeOutput) ElementType() reflect.Type
func (TrafficMirrorFilterRuleDestinationPortRangeOutput) FromPort ¶
func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) FromPort() pulumi.IntPtrOutput
Starting port of the range
func (TrafficMirrorFilterRuleDestinationPortRangeOutput) ToPort ¶
func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToPort() pulumi.IntPtrOutput
Ending port of the range
func (TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangeOutput ¶
func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangeOutput() TrafficMirrorFilterRuleDestinationPortRangeOutput
func (TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangeOutputWithContext ¶
func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangeOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangeOutput
func (TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput ¶
func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput() TrafficMirrorFilterRuleDestinationPortRangePtrOutput
func (TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext ¶
func (o TrafficMirrorFilterRuleDestinationPortRangeOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangePtrOutput
type TrafficMirrorFilterRuleDestinationPortRangePtrInput ¶
type TrafficMirrorFilterRuleDestinationPortRangePtrInput interface {
pulumi.Input
ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput() TrafficMirrorFilterRuleDestinationPortRangePtrOutput
ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext(context.Context) TrafficMirrorFilterRuleDestinationPortRangePtrOutput
}
TrafficMirrorFilterRuleDestinationPortRangePtrInput is an input type that accepts TrafficMirrorFilterRuleDestinationPortRangeArgs, TrafficMirrorFilterRuleDestinationPortRangePtr and TrafficMirrorFilterRuleDestinationPortRangePtrOutput values. You can construct a concrete instance of `TrafficMirrorFilterRuleDestinationPortRangePtrInput` via:
TrafficMirrorFilterRuleDestinationPortRangeArgs{...}
or:
nil
func TrafficMirrorFilterRuleDestinationPortRangePtr ¶
func TrafficMirrorFilterRuleDestinationPortRangePtr(v *TrafficMirrorFilterRuleDestinationPortRangeArgs) TrafficMirrorFilterRuleDestinationPortRangePtrInput
type TrafficMirrorFilterRuleDestinationPortRangePtrOutput ¶
type TrafficMirrorFilterRuleDestinationPortRangePtrOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ElementType ¶
func (TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ElementType() reflect.Type
func (TrafficMirrorFilterRuleDestinationPortRangePtrOutput) FromPort ¶
func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) FromPort() pulumi.IntPtrOutput
Starting port of the range
func (TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToPort ¶
func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToPort() pulumi.IntPtrOutput
Ending port of the range
func (TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput ¶
func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutput() TrafficMirrorFilterRuleDestinationPortRangePtrOutput
func (TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext ¶
func (o TrafficMirrorFilterRuleDestinationPortRangePtrOutput) ToTrafficMirrorFilterRuleDestinationPortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleDestinationPortRangePtrOutput
type TrafficMirrorFilterRuleInput ¶
type TrafficMirrorFilterRuleInput interface {
pulumi.Input
ToTrafficMirrorFilterRuleOutput() TrafficMirrorFilterRuleOutput
ToTrafficMirrorFilterRuleOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleOutput
}
type TrafficMirrorFilterRuleMap ¶
type TrafficMirrorFilterRuleMap map[string]TrafficMirrorFilterRuleInput
func (TrafficMirrorFilterRuleMap) ElementType ¶
func (TrafficMirrorFilterRuleMap) ElementType() reflect.Type
func (TrafficMirrorFilterRuleMap) ToTrafficMirrorFilterRuleMapOutput ¶
func (i TrafficMirrorFilterRuleMap) ToTrafficMirrorFilterRuleMapOutput() TrafficMirrorFilterRuleMapOutput
func (TrafficMirrorFilterRuleMap) ToTrafficMirrorFilterRuleMapOutputWithContext ¶
func (i TrafficMirrorFilterRuleMap) ToTrafficMirrorFilterRuleMapOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleMapOutput
type TrafficMirrorFilterRuleMapInput ¶
type TrafficMirrorFilterRuleMapInput interface {
pulumi.Input
ToTrafficMirrorFilterRuleMapOutput() TrafficMirrorFilterRuleMapOutput
ToTrafficMirrorFilterRuleMapOutputWithContext(context.Context) TrafficMirrorFilterRuleMapOutput
}
TrafficMirrorFilterRuleMapInput is an input type that accepts TrafficMirrorFilterRuleMap and TrafficMirrorFilterRuleMapOutput values. You can construct a concrete instance of `TrafficMirrorFilterRuleMapInput` via:
TrafficMirrorFilterRuleMap{ "key": TrafficMirrorFilterRuleArgs{...} }
type TrafficMirrorFilterRuleMapOutput ¶
type TrafficMirrorFilterRuleMapOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterRuleMapOutput) ElementType ¶
func (TrafficMirrorFilterRuleMapOutput) ElementType() reflect.Type
func (TrafficMirrorFilterRuleMapOutput) MapIndex ¶
func (o TrafficMirrorFilterRuleMapOutput) MapIndex(k pulumi.StringInput) TrafficMirrorFilterRuleOutput
func (TrafficMirrorFilterRuleMapOutput) ToTrafficMirrorFilterRuleMapOutput ¶
func (o TrafficMirrorFilterRuleMapOutput) ToTrafficMirrorFilterRuleMapOutput() TrafficMirrorFilterRuleMapOutput
func (TrafficMirrorFilterRuleMapOutput) ToTrafficMirrorFilterRuleMapOutputWithContext ¶
func (o TrafficMirrorFilterRuleMapOutput) ToTrafficMirrorFilterRuleMapOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleMapOutput
type TrafficMirrorFilterRuleOutput ¶
type TrafficMirrorFilterRuleOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterRuleOutput) ElementType ¶
func (TrafficMirrorFilterRuleOutput) ElementType() reflect.Type
func (TrafficMirrorFilterRuleOutput) ToTrafficMirrorFilterRuleOutput ¶
func (o TrafficMirrorFilterRuleOutput) ToTrafficMirrorFilterRuleOutput() TrafficMirrorFilterRuleOutput
func (TrafficMirrorFilterRuleOutput) ToTrafficMirrorFilterRuleOutputWithContext ¶
func (o TrafficMirrorFilterRuleOutput) ToTrafficMirrorFilterRuleOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleOutput
type TrafficMirrorFilterRuleSourcePortRangeArgs ¶
type TrafficMirrorFilterRuleSourcePortRangeArgs struct {
// Starting port of the range
FromPort pulumi.IntPtrInput `pulumi:"fromPort"`
// Ending port of the range
ToPort pulumi.IntPtrInput `pulumi:"toPort"`
}
func (TrafficMirrorFilterRuleSourcePortRangeArgs) ElementType ¶
func (TrafficMirrorFilterRuleSourcePortRangeArgs) ElementType() reflect.Type
func (TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangeOutput ¶
func (i TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangeOutput() TrafficMirrorFilterRuleSourcePortRangeOutput
func (TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangeOutputWithContext ¶
func (i TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangeOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangeOutput
func (TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput ¶
func (i TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput() TrafficMirrorFilterRuleSourcePortRangePtrOutput
func (TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext ¶
func (i TrafficMirrorFilterRuleSourcePortRangeArgs) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangePtrOutput
type TrafficMirrorFilterRuleSourcePortRangeInput ¶
type TrafficMirrorFilterRuleSourcePortRangeInput interface {
pulumi.Input
ToTrafficMirrorFilterRuleSourcePortRangeOutput() TrafficMirrorFilterRuleSourcePortRangeOutput
ToTrafficMirrorFilterRuleSourcePortRangeOutputWithContext(context.Context) TrafficMirrorFilterRuleSourcePortRangeOutput
}
TrafficMirrorFilterRuleSourcePortRangeInput is an input type that accepts TrafficMirrorFilterRuleSourcePortRangeArgs and TrafficMirrorFilterRuleSourcePortRangeOutput values. You can construct a concrete instance of `TrafficMirrorFilterRuleSourcePortRangeInput` via:
TrafficMirrorFilterRuleSourcePortRangeArgs{...}
type TrafficMirrorFilterRuleSourcePortRangeOutput ¶
type TrafficMirrorFilterRuleSourcePortRangeOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterRuleSourcePortRangeOutput) ElementType ¶
func (TrafficMirrorFilterRuleSourcePortRangeOutput) ElementType() reflect.Type
func (TrafficMirrorFilterRuleSourcePortRangeOutput) FromPort ¶
func (o TrafficMirrorFilterRuleSourcePortRangeOutput) FromPort() pulumi.IntPtrOutput
Starting port of the range
func (TrafficMirrorFilterRuleSourcePortRangeOutput) ToPort ¶
func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToPort() pulumi.IntPtrOutput
Ending port of the range
func (TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangeOutput ¶
func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangeOutput() TrafficMirrorFilterRuleSourcePortRangeOutput
func (TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangeOutputWithContext ¶
func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangeOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangeOutput
func (TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput ¶
func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput() TrafficMirrorFilterRuleSourcePortRangePtrOutput
func (TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext ¶
func (o TrafficMirrorFilterRuleSourcePortRangeOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangePtrOutput
type TrafficMirrorFilterRuleSourcePortRangePtrInput ¶
type TrafficMirrorFilterRuleSourcePortRangePtrInput interface {
pulumi.Input
ToTrafficMirrorFilterRuleSourcePortRangePtrOutput() TrafficMirrorFilterRuleSourcePortRangePtrOutput
ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext(context.Context) TrafficMirrorFilterRuleSourcePortRangePtrOutput
}
TrafficMirrorFilterRuleSourcePortRangePtrInput is an input type that accepts TrafficMirrorFilterRuleSourcePortRangeArgs, TrafficMirrorFilterRuleSourcePortRangePtr and TrafficMirrorFilterRuleSourcePortRangePtrOutput values. You can construct a concrete instance of `TrafficMirrorFilterRuleSourcePortRangePtrInput` via:
TrafficMirrorFilterRuleSourcePortRangeArgs{...}
or:
nil
func TrafficMirrorFilterRuleSourcePortRangePtr ¶
func TrafficMirrorFilterRuleSourcePortRangePtr(v *TrafficMirrorFilterRuleSourcePortRangeArgs) TrafficMirrorFilterRuleSourcePortRangePtrInput
type TrafficMirrorFilterRuleSourcePortRangePtrOutput ¶
type TrafficMirrorFilterRuleSourcePortRangePtrOutput struct{ *pulumi.OutputState }
func (TrafficMirrorFilterRuleSourcePortRangePtrOutput) ElementType ¶
func (TrafficMirrorFilterRuleSourcePortRangePtrOutput) ElementType() reflect.Type
func (TrafficMirrorFilterRuleSourcePortRangePtrOutput) FromPort ¶
func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) FromPort() pulumi.IntPtrOutput
Starting port of the range
func (TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToPort ¶
func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToPort() pulumi.IntPtrOutput
Ending port of the range
func (TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput ¶
func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutput() TrafficMirrorFilterRuleSourcePortRangePtrOutput
func (TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext ¶
func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToTrafficMirrorFilterRuleSourcePortRangePtrOutputWithContext(ctx context.Context) TrafficMirrorFilterRuleSourcePortRangePtrOutput
type TrafficMirrorFilterRuleState ¶
type TrafficMirrorFilterRuleState struct {
// ARN of the traffic mirror filter rule.
Arn pulumi.StringPtrInput
// Description of the traffic mirror filter rule.
Description pulumi.StringPtrInput
// Destination CIDR block to assign to the Traffic Mirror rule.
DestinationCidrBlock pulumi.StringPtrInput
// Destination port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
DestinationPortRange TrafficMirrorFilterRuleDestinationPortRangePtrInput
// Protocol number, for example 17 (UDP), to assign to the Traffic Mirror rule. For information about the protocol value, see [Protocol Numbers](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) on the Internet Assigned Numbers Authority (IANA) website.
Protocol pulumi.IntPtrInput
// Action to take (accept | reject) on the filtered traffic. Valid values are `accept` and `reject`
RuleAction pulumi.StringPtrInput
// Number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
RuleNumber pulumi.IntPtrInput
// Source CIDR block to assign to the Traffic Mirror rule.
SourceCidrBlock pulumi.StringPtrInput
// Source port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
SourcePortRange TrafficMirrorFilterRuleSourcePortRangePtrInput
// Direction of traffic to be captured. Valid values are `ingress` and `egress`
TrafficDirection pulumi.StringPtrInput
// ID of the traffic mirror filter to which this rule should be added
TrafficMirrorFilterId pulumi.StringPtrInput
}
func (TrafficMirrorFilterRuleState) ElementType ¶
func (TrafficMirrorFilterRuleState) ElementType() reflect.Type
type TrafficMirrorFilterState ¶
type TrafficMirrorFilterState struct {
// The ARN of the traffic mirror filter.
Arn pulumi.StringPtrInput
// A description of the filter.
Description pulumi.StringPtrInput
// List of amazon network services that should be mirrored. Valid values: `amazon-dns`.
NetworkServices pulumi.StringArrayInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (TrafficMirrorFilterState) ElementType ¶
func (TrafficMirrorFilterState) ElementType() reflect.Type
type TrafficMirrorSession ¶
type TrafficMirrorSession struct {
pulumi.CustomResourceState
// The ARN of the traffic mirror session.
Arn pulumi.StringOutput `pulumi:"arn"`
// A description of the traffic mirror session.
Description pulumi.StringPtrOutput `pulumi:"description"`
// ID of the source network interface. Not all network interfaces are eligible as mirror sources. On EC2 instances only nitro based instances support mirroring.
NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
// The AWS account ID of the session owner.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror.
PacketLength pulumi.IntPtrOutput `pulumi:"packetLength"`
// - The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
SessionNumber pulumi.IntOutput `pulumi:"sessionNumber"`
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// ID of the traffic mirror filter to be used
TrafficMirrorFilterId pulumi.StringOutput `pulumi:"trafficMirrorFilterId"`
// ID of the traffic mirror target to be used
TrafficMirrorTargetId pulumi.StringOutput `pulumi:"trafficMirrorTargetId"`
// - The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique id is chosen at random.
VirtualNetworkId pulumi.IntOutput `pulumi:"virtualNetworkId"`
}
Provides an Traffic mirror session.\ Read [limits and considerations](https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-considerations.html) for traffic mirroring
## Example Usage
To create a basic traffic mirror session ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
filter, err := ec2.NewTrafficMirrorFilter(ctx, "filter", &ec2.TrafficMirrorFilterArgs{
Description: pulumi.String("traffic mirror filter - example"),
NetworkServices: pulumi.StringArray{
pulumi.String("amazon-dns"),
},
})
if err != nil {
return err
}
target, err := ec2.NewTrafficMirrorTarget(ctx, "target", &ec2.TrafficMirrorTargetArgs{
NetworkLoadBalancerArn: pulumi.Any(aws_lb.Lb.Arn),
})
if err != nil {
return err
}
_, err = ec2.NewTrafficMirrorSession(ctx, "session", &ec2.TrafficMirrorSessionArgs{
Description: pulumi.String("traffic mirror session - example"),
NetworkInterfaceId: pulumi.Any(aws_instance.Test.Primary_network_interface_id),
SessionNumber: pulumi.Int(1),
TrafficMirrorFilterId: filter.ID(),
TrafficMirrorTargetId: target.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Traffic mirror sessions can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/trafficMirrorSession:TrafficMirrorSession session tms-0d8aa3ca35897b82e
```
func GetTrafficMirrorSession ¶
func GetTrafficMirrorSession(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TrafficMirrorSessionState, opts ...pulumi.ResourceOption) (*TrafficMirrorSession, error)
GetTrafficMirrorSession gets an existing TrafficMirrorSession 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 NewTrafficMirrorSession ¶
func NewTrafficMirrorSession(ctx *pulumi.Context, name string, args *TrafficMirrorSessionArgs, opts ...pulumi.ResourceOption) (*TrafficMirrorSession, error)
NewTrafficMirrorSession registers a new resource with the given unique name, arguments, and options.
func (*TrafficMirrorSession) ElementType ¶
func (*TrafficMirrorSession) ElementType() reflect.Type
func (*TrafficMirrorSession) ToTrafficMirrorSessionOutput ¶
func (i *TrafficMirrorSession) ToTrafficMirrorSessionOutput() TrafficMirrorSessionOutput
func (*TrafficMirrorSession) ToTrafficMirrorSessionOutputWithContext ¶
func (i *TrafficMirrorSession) ToTrafficMirrorSessionOutputWithContext(ctx context.Context) TrafficMirrorSessionOutput
type TrafficMirrorSessionArgs ¶
type TrafficMirrorSessionArgs struct {
// A description of the traffic mirror session.
Description pulumi.StringPtrInput
// ID of the source network interface. Not all network interfaces are eligible as mirror sources. On EC2 instances only nitro based instances support mirroring.
NetworkInterfaceId pulumi.StringInput
// The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror.
PacketLength pulumi.IntPtrInput
// - The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
SessionNumber pulumi.IntInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// ID of the traffic mirror filter to be used
TrafficMirrorFilterId pulumi.StringInput
// ID of the traffic mirror target to be used
TrafficMirrorTargetId pulumi.StringInput
// - The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique id is chosen at random.
VirtualNetworkId pulumi.IntPtrInput
}
The set of arguments for constructing a TrafficMirrorSession resource.
func (TrafficMirrorSessionArgs) ElementType ¶
func (TrafficMirrorSessionArgs) ElementType() reflect.Type
type TrafficMirrorSessionArray ¶
type TrafficMirrorSessionArray []TrafficMirrorSessionInput
func (TrafficMirrorSessionArray) ElementType ¶
func (TrafficMirrorSessionArray) ElementType() reflect.Type
func (TrafficMirrorSessionArray) ToTrafficMirrorSessionArrayOutput ¶
func (i TrafficMirrorSessionArray) ToTrafficMirrorSessionArrayOutput() TrafficMirrorSessionArrayOutput
func (TrafficMirrorSessionArray) ToTrafficMirrorSessionArrayOutputWithContext ¶
func (i TrafficMirrorSessionArray) ToTrafficMirrorSessionArrayOutputWithContext(ctx context.Context) TrafficMirrorSessionArrayOutput
type TrafficMirrorSessionArrayInput ¶
type TrafficMirrorSessionArrayInput interface {
pulumi.Input
ToTrafficMirrorSessionArrayOutput() TrafficMirrorSessionArrayOutput
ToTrafficMirrorSessionArrayOutputWithContext(context.Context) TrafficMirrorSessionArrayOutput
}
TrafficMirrorSessionArrayInput is an input type that accepts TrafficMirrorSessionArray and TrafficMirrorSessionArrayOutput values. You can construct a concrete instance of `TrafficMirrorSessionArrayInput` via:
TrafficMirrorSessionArray{ TrafficMirrorSessionArgs{...} }
type TrafficMirrorSessionArrayOutput ¶
type TrafficMirrorSessionArrayOutput struct{ *pulumi.OutputState }
func (TrafficMirrorSessionArrayOutput) ElementType ¶
func (TrafficMirrorSessionArrayOutput) ElementType() reflect.Type
func (TrafficMirrorSessionArrayOutput) Index ¶
func (o TrafficMirrorSessionArrayOutput) Index(i pulumi.IntInput) TrafficMirrorSessionOutput
func (TrafficMirrorSessionArrayOutput) ToTrafficMirrorSessionArrayOutput ¶
func (o TrafficMirrorSessionArrayOutput) ToTrafficMirrorSessionArrayOutput() TrafficMirrorSessionArrayOutput
func (TrafficMirrorSessionArrayOutput) ToTrafficMirrorSessionArrayOutputWithContext ¶
func (o TrafficMirrorSessionArrayOutput) ToTrafficMirrorSessionArrayOutputWithContext(ctx context.Context) TrafficMirrorSessionArrayOutput
type TrafficMirrorSessionInput ¶
type TrafficMirrorSessionInput interface {
pulumi.Input
ToTrafficMirrorSessionOutput() TrafficMirrorSessionOutput
ToTrafficMirrorSessionOutputWithContext(ctx context.Context) TrafficMirrorSessionOutput
}
type TrafficMirrorSessionMap ¶
type TrafficMirrorSessionMap map[string]TrafficMirrorSessionInput
func (TrafficMirrorSessionMap) ElementType ¶
func (TrafficMirrorSessionMap) ElementType() reflect.Type
func (TrafficMirrorSessionMap) ToTrafficMirrorSessionMapOutput ¶
func (i TrafficMirrorSessionMap) ToTrafficMirrorSessionMapOutput() TrafficMirrorSessionMapOutput
func (TrafficMirrorSessionMap) ToTrafficMirrorSessionMapOutputWithContext ¶
func (i TrafficMirrorSessionMap) ToTrafficMirrorSessionMapOutputWithContext(ctx context.Context) TrafficMirrorSessionMapOutput
type TrafficMirrorSessionMapInput ¶
type TrafficMirrorSessionMapInput interface {
pulumi.Input
ToTrafficMirrorSessionMapOutput() TrafficMirrorSessionMapOutput
ToTrafficMirrorSessionMapOutputWithContext(context.Context) TrafficMirrorSessionMapOutput
}
TrafficMirrorSessionMapInput is an input type that accepts TrafficMirrorSessionMap and TrafficMirrorSessionMapOutput values. You can construct a concrete instance of `TrafficMirrorSessionMapInput` via:
TrafficMirrorSessionMap{ "key": TrafficMirrorSessionArgs{...} }
type TrafficMirrorSessionMapOutput ¶
type TrafficMirrorSessionMapOutput struct{ *pulumi.OutputState }
func (TrafficMirrorSessionMapOutput) ElementType ¶
func (TrafficMirrorSessionMapOutput) ElementType() reflect.Type
func (TrafficMirrorSessionMapOutput) MapIndex ¶
func (o TrafficMirrorSessionMapOutput) MapIndex(k pulumi.StringInput) TrafficMirrorSessionOutput
func (TrafficMirrorSessionMapOutput) ToTrafficMirrorSessionMapOutput ¶
func (o TrafficMirrorSessionMapOutput) ToTrafficMirrorSessionMapOutput() TrafficMirrorSessionMapOutput
func (TrafficMirrorSessionMapOutput) ToTrafficMirrorSessionMapOutputWithContext ¶
func (o TrafficMirrorSessionMapOutput) ToTrafficMirrorSessionMapOutputWithContext(ctx context.Context) TrafficMirrorSessionMapOutput
type TrafficMirrorSessionOutput ¶
type TrafficMirrorSessionOutput struct{ *pulumi.OutputState }
func (TrafficMirrorSessionOutput) ElementType ¶
func (TrafficMirrorSessionOutput) ElementType() reflect.Type
func (TrafficMirrorSessionOutput) ToTrafficMirrorSessionOutput ¶
func (o TrafficMirrorSessionOutput) ToTrafficMirrorSessionOutput() TrafficMirrorSessionOutput
func (TrafficMirrorSessionOutput) ToTrafficMirrorSessionOutputWithContext ¶
func (o TrafficMirrorSessionOutput) ToTrafficMirrorSessionOutputWithContext(ctx context.Context) TrafficMirrorSessionOutput
type TrafficMirrorSessionState ¶
type TrafficMirrorSessionState struct {
// The ARN of the traffic mirror session.
Arn pulumi.StringPtrInput
// A description of the traffic mirror session.
Description pulumi.StringPtrInput
// ID of the source network interface. Not all network interfaces are eligible as mirror sources. On EC2 instances only nitro based instances support mirroring.
NetworkInterfaceId pulumi.StringPtrInput
// The AWS account ID of the session owner.
OwnerId pulumi.StringPtrInput
// The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror.
PacketLength pulumi.IntPtrInput
// - The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
SessionNumber pulumi.IntPtrInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// ID of the traffic mirror filter to be used
TrafficMirrorFilterId pulumi.StringPtrInput
// ID of the traffic mirror target to be used
TrafficMirrorTargetId pulumi.StringPtrInput
// - The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique id is chosen at random.
VirtualNetworkId pulumi.IntPtrInput
}
func (TrafficMirrorSessionState) ElementType ¶
func (TrafficMirrorSessionState) ElementType() reflect.Type
type TrafficMirrorTarget ¶
type TrafficMirrorTarget struct {
pulumi.CustomResourceState
// The ARN of the traffic mirror target.
Arn pulumi.StringOutput `pulumi:"arn"`
// A description of the traffic mirror session.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The network interface ID that is associated with the target.
NetworkInterfaceId pulumi.StringPtrOutput `pulumi:"networkInterfaceId"`
// The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
NetworkLoadBalancerArn pulumi.StringPtrOutput `pulumi:"networkLoadBalancerArn"`
// The ID of the AWS account that owns the traffic mirror target.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides a Traffic mirror target.\ Read [limits and considerations](https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-considerations.html) for traffic mirroring
## Example Usage
To create a basic traffic mirror session ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewTrafficMirrorTarget(ctx, "nlb", &ec2.TrafficMirrorTargetArgs{
Description: pulumi.String("NLB target"),
NetworkLoadBalancerArn: pulumi.Any(aws_lb.Lb.Arn),
})
if err != nil {
return err
}
_, err = ec2.NewTrafficMirrorTarget(ctx, "eni", &ec2.TrafficMirrorTargetArgs{
Description: pulumi.String("ENI target"),
NetworkInterfaceId: pulumi.Any(aws_instance.Test.Primary_network_interface_id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Traffic mirror targets can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ec2/trafficMirrorTarget:TrafficMirrorTarget target tmt-0c13a005422b86606
```
func GetTrafficMirrorTarget ¶
func GetTrafficMirrorTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TrafficMirrorTargetState, opts ...pulumi.ResourceOption) (*TrafficMirrorTarget, error)
GetTrafficMirrorTarget gets an existing TrafficMirrorTarget 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 NewTrafficMirrorTarget ¶
func NewTrafficMirrorTarget(ctx *pulumi.Context, name string, args *TrafficMirrorTargetArgs, opts ...pulumi.ResourceOption) (*TrafficMirrorTarget, error)
NewTrafficMirrorTarget registers a new resource with the given unique name, arguments, and options.
func (*TrafficMirrorTarget) ElementType ¶
func (*TrafficMirrorTarget) ElementType() reflect.Type
func (*TrafficMirrorTarget) ToTrafficMirrorTargetOutput ¶
func (i *TrafficMirrorTarget) ToTrafficMirrorTargetOutput() TrafficMirrorTargetOutput
func (*TrafficMirrorTarget) ToTrafficMirrorTargetOutputWithContext ¶
func (i *TrafficMirrorTarget) ToTrafficMirrorTargetOutputWithContext(ctx context.Context) TrafficMirrorTargetOutput
type TrafficMirrorTargetArgs ¶
type TrafficMirrorTargetArgs struct {
// A description of the traffic mirror session.
Description pulumi.StringPtrInput
// The network interface ID that is associated with the target.
NetworkInterfaceId pulumi.StringPtrInput
// The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
NetworkLoadBalancerArn pulumi.StringPtrInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a TrafficMirrorTarget resource.
func (TrafficMirrorTargetArgs) ElementType ¶
func (TrafficMirrorTargetArgs) ElementType() reflect.Type
type TrafficMirrorTargetArray ¶
type TrafficMirrorTargetArray []TrafficMirrorTargetInput
func (TrafficMirrorTargetArray) ElementType ¶
func (TrafficMirrorTargetArray) ElementType() reflect.Type
func (TrafficMirrorTargetArray) ToTrafficMirrorTargetArrayOutput ¶
func (i TrafficMirrorTargetArray) ToTrafficMirrorTargetArrayOutput() TrafficMirrorTargetArrayOutput
func (TrafficMirrorTargetArray) ToTrafficMirrorTargetArrayOutputWithContext ¶
func (i TrafficMirrorTargetArray) ToTrafficMirrorTargetArrayOutputWithContext(ctx context.Context) TrafficMirrorTargetArrayOutput
type TrafficMirrorTargetArrayInput ¶
type TrafficMirrorTargetArrayInput interface {
pulumi.Input
ToTrafficMirrorTargetArrayOutput() TrafficMirrorTargetArrayOutput
ToTrafficMirrorTargetArrayOutputWithContext(context.Context) TrafficMirrorTargetArrayOutput
}
TrafficMirrorTargetArrayInput is an input type that accepts TrafficMirrorTargetArray and TrafficMirrorTargetArrayOutput values. You can construct a concrete instance of `TrafficMirrorTargetArrayInput` via:
TrafficMirrorTargetArray{ TrafficMirrorTargetArgs{...} }
type TrafficMirrorTargetArrayOutput ¶
type TrafficMirrorTargetArrayOutput struct{ *pulumi.OutputState }
func (TrafficMirrorTargetArrayOutput) ElementType ¶
func (TrafficMirrorTargetArrayOutput) ElementType() reflect.Type
func (TrafficMirrorTargetArrayOutput) Index ¶
func (o TrafficMirrorTargetArrayOutput) Index(i pulumi.IntInput) TrafficMirrorTargetOutput
func (TrafficMirrorTargetArrayOutput) ToTrafficMirrorTargetArrayOutput ¶
func (o TrafficMirrorTargetArrayOutput) ToTrafficMirrorTargetArrayOutput() TrafficMirrorTargetArrayOutput
func (TrafficMirrorTargetArrayOutput) ToTrafficMirrorTargetArrayOutputWithContext ¶
func (o TrafficMirrorTargetArrayOutput) ToTrafficMirrorTargetArrayOutputWithContext(ctx context.Context) TrafficMirrorTargetArrayOutput
type TrafficMirrorTargetInput ¶
type TrafficMirrorTargetInput interface {
pulumi.Input
ToTrafficMirrorTargetOutput() TrafficMirrorTargetOutput
ToTrafficMirrorTargetOutputWithContext(ctx context.Context) TrafficMirrorTargetOutput
}
type TrafficMirrorTargetMap ¶
type TrafficMirrorTargetMap map[string]TrafficMirrorTargetInput
func (TrafficMirrorTargetMap) ElementType ¶
func (TrafficMirrorTargetMap) ElementType() reflect.Type
func (TrafficMirrorTargetMap) ToTrafficMirrorTargetMapOutput ¶
func (i TrafficMirrorTargetMap) ToTrafficMirrorTargetMapOutput() TrafficMirrorTargetMapOutput
func (TrafficMirrorTargetMap) ToTrafficMirrorTargetMapOutputWithContext ¶
func (i TrafficMirrorTargetMap) ToTrafficMirrorTargetMapOutputWithContext(ctx context.Context) TrafficMirrorTargetMapOutput
type TrafficMirrorTargetMapInput ¶
type TrafficMirrorTargetMapInput interface {
pulumi.Input
ToTrafficMirrorTargetMapOutput() TrafficMirrorTargetMapOutput
ToTrafficMirrorTargetMapOutputWithContext(context.Context) TrafficMirrorTargetMapOutput
}
TrafficMirrorTargetMapInput is an input type that accepts TrafficMirrorTargetMap and TrafficMirrorTargetMapOutput values. You can construct a concrete instance of `TrafficMirrorTargetMapInput` via:
TrafficMirrorTargetMap{ "key": TrafficMirrorTargetArgs{...} }
type TrafficMirrorTargetMapOutput ¶
type TrafficMirrorTargetMapOutput struct{ *pulumi.OutputState }
func (TrafficMirrorTargetMapOutput) ElementType ¶
func (TrafficMirrorTargetMapOutput) ElementType() reflect.Type
func (TrafficMirrorTargetMapOutput) MapIndex ¶
func (o TrafficMirrorTargetMapOutput) MapIndex(k pulumi.StringInput) TrafficMirrorTargetOutput
func (TrafficMirrorTargetMapOutput) ToTrafficMirrorTargetMapOutput ¶
func (o TrafficMirrorTargetMapOutput) ToTrafficMirrorTargetMapOutput() TrafficMirrorTargetMapOutput
func (TrafficMirrorTargetMapOutput) ToTrafficMirrorTargetMapOutputWithContext ¶
func (o TrafficMirrorTargetMapOutput) ToTrafficMirrorTargetMapOutputWithContext(ctx context.Context) TrafficMirrorTargetMapOutput
type TrafficMirrorTargetOutput ¶
type TrafficMirrorTargetOutput struct{ *pulumi.OutputState }
func (TrafficMirrorTargetOutput) ElementType ¶
func (TrafficMirrorTargetOutput) ElementType() reflect.Type
func (TrafficMirrorTargetOutput) ToTrafficMirrorTargetOutput ¶
func (o TrafficMirrorTargetOutput) ToTrafficMirrorTargetOutput() TrafficMirrorTargetOutput
func (TrafficMirrorTargetOutput) ToTrafficMirrorTargetOutputWithContext ¶
func (o TrafficMirrorTargetOutput) ToTrafficMirrorTargetOutputWithContext(ctx context.Context) TrafficMirrorTargetOutput
type TrafficMirrorTargetState ¶
type TrafficMirrorTargetState struct {
// The ARN of the traffic mirror target.
Arn pulumi.StringPtrInput
// A description of the traffic mirror session.
Description pulumi.StringPtrInput
// The network interface ID that is associated with the target.
NetworkInterfaceId pulumi.StringPtrInput
// The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
NetworkLoadBalancerArn pulumi.StringPtrInput
// The ID of the AWS account that owns the traffic mirror target.
OwnerId pulumi.StringPtrInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (TrafficMirrorTargetState) ElementType ¶
func (TrafficMirrorTargetState) ElementType() reflect.Type
type TransitGatewayPeeringAttachmentAccepter ¶
type TransitGatewayPeeringAttachmentAccepter struct {
pulumi.CustomResourceState
// Identifier of the AWS account that owns the EC2 TGW peering.
PeerAccountId pulumi.StringOutput `pulumi:"peerAccountId"`
PeerRegion pulumi.StringOutput `pulumi:"peerRegion"`
// Identifier of EC2 Transit Gateway to peer with.
PeerTransitGatewayId pulumi.StringOutput `pulumi:"peerTransitGatewayId"`
// Key-value tags for the EC2 Transit Gateway Peering Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The ID of the EC2 Transit Gateway Peering Attachment to manage.
TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
// Identifier of EC2 Transit Gateway.
TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
}
Manages the accepter's side of an EC2 Transit Gateway Peering Attachment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewTransitGatewayPeeringAttachmentAccepter(ctx, "example", &ec2.TransitGatewayPeeringAttachmentAccepterArgs{
TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_peering_attachment.Example.Id),
Tags: pulumi.StringMap{
"Name": pulumi.String("Example cross-account attachment"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_ec2_transit_gateway_peering_attachment_accepter` can be imported by using the EC2 Transit Gateway Attachment identifier, e.g.,
```sh
$ pulumi import aws:ec2/transitGatewayPeeringAttachmentAccepter:TransitGatewayPeeringAttachmentAccepter example tgw-attach-12345678
```
func GetTransitGatewayPeeringAttachmentAccepter ¶
func GetTransitGatewayPeeringAttachmentAccepter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TransitGatewayPeeringAttachmentAccepterState, opts ...pulumi.ResourceOption) (*TransitGatewayPeeringAttachmentAccepter, error)
GetTransitGatewayPeeringAttachmentAccepter gets an existing TransitGatewayPeeringAttachmentAccepter 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 NewTransitGatewayPeeringAttachmentAccepter ¶
func NewTransitGatewayPeeringAttachmentAccepter(ctx *pulumi.Context, name string, args *TransitGatewayPeeringAttachmentAccepterArgs, opts ...pulumi.ResourceOption) (*TransitGatewayPeeringAttachmentAccepter, error)
NewTransitGatewayPeeringAttachmentAccepter registers a new resource with the given unique name, arguments, and options.
func (*TransitGatewayPeeringAttachmentAccepter) ElementType ¶
func (*TransitGatewayPeeringAttachmentAccepter) ElementType() reflect.Type
func (*TransitGatewayPeeringAttachmentAccepter) ToTransitGatewayPeeringAttachmentAccepterOutput ¶
func (i *TransitGatewayPeeringAttachmentAccepter) ToTransitGatewayPeeringAttachmentAccepterOutput() TransitGatewayPeeringAttachmentAccepterOutput
func (*TransitGatewayPeeringAttachmentAccepter) ToTransitGatewayPeeringAttachmentAccepterOutputWithContext ¶
func (i *TransitGatewayPeeringAttachmentAccepter) ToTransitGatewayPeeringAttachmentAccepterOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterOutput
type TransitGatewayPeeringAttachmentAccepterArgs ¶
type TransitGatewayPeeringAttachmentAccepterArgs struct {
// Key-value tags for the EC2 Transit Gateway Peering Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The ID of the EC2 Transit Gateway Peering Attachment to manage.
TransitGatewayAttachmentId pulumi.StringInput
}
The set of arguments for constructing a TransitGatewayPeeringAttachmentAccepter resource.
func (TransitGatewayPeeringAttachmentAccepterArgs) ElementType ¶
func (TransitGatewayPeeringAttachmentAccepterArgs) ElementType() reflect.Type
type TransitGatewayPeeringAttachmentAccepterArray ¶
type TransitGatewayPeeringAttachmentAccepterArray []TransitGatewayPeeringAttachmentAccepterInput
func (TransitGatewayPeeringAttachmentAccepterArray) ElementType ¶
func (TransitGatewayPeeringAttachmentAccepterArray) ElementType() reflect.Type
func (TransitGatewayPeeringAttachmentAccepterArray) ToTransitGatewayPeeringAttachmentAccepterArrayOutput ¶
func (i TransitGatewayPeeringAttachmentAccepterArray) ToTransitGatewayPeeringAttachmentAccepterArrayOutput() TransitGatewayPeeringAttachmentAccepterArrayOutput
func (TransitGatewayPeeringAttachmentAccepterArray) ToTransitGatewayPeeringAttachmentAccepterArrayOutputWithContext ¶
func (i TransitGatewayPeeringAttachmentAccepterArray) ToTransitGatewayPeeringAttachmentAccepterArrayOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterArrayOutput
type TransitGatewayPeeringAttachmentAccepterArrayInput ¶
type TransitGatewayPeeringAttachmentAccepterArrayInput interface {
pulumi.Input
ToTransitGatewayPeeringAttachmentAccepterArrayOutput() TransitGatewayPeeringAttachmentAccepterArrayOutput
ToTransitGatewayPeeringAttachmentAccepterArrayOutputWithContext(context.Context) TransitGatewayPeeringAttachmentAccepterArrayOutput
}
TransitGatewayPeeringAttachmentAccepterArrayInput is an input type that accepts TransitGatewayPeeringAttachmentAccepterArray and TransitGatewayPeeringAttachmentAccepterArrayOutput values. You can construct a concrete instance of `TransitGatewayPeeringAttachmentAccepterArrayInput` via:
TransitGatewayPeeringAttachmentAccepterArray{ TransitGatewayPeeringAttachmentAccepterArgs{...} }
type TransitGatewayPeeringAttachmentAccepterArrayOutput ¶
type TransitGatewayPeeringAttachmentAccepterArrayOutput struct{ *pulumi.OutputState }
func (TransitGatewayPeeringAttachmentAccepterArrayOutput) ElementType ¶
func (TransitGatewayPeeringAttachmentAccepterArrayOutput) ElementType() reflect.Type
func (TransitGatewayPeeringAttachmentAccepterArrayOutput) ToTransitGatewayPeeringAttachmentAccepterArrayOutput ¶
func (o TransitGatewayPeeringAttachmentAccepterArrayOutput) ToTransitGatewayPeeringAttachmentAccepterArrayOutput() TransitGatewayPeeringAttachmentAccepterArrayOutput
func (TransitGatewayPeeringAttachmentAccepterArrayOutput) ToTransitGatewayPeeringAttachmentAccepterArrayOutputWithContext ¶
func (o TransitGatewayPeeringAttachmentAccepterArrayOutput) ToTransitGatewayPeeringAttachmentAccepterArrayOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterArrayOutput
type TransitGatewayPeeringAttachmentAccepterInput ¶
type TransitGatewayPeeringAttachmentAccepterInput interface {
pulumi.Input
ToTransitGatewayPeeringAttachmentAccepterOutput() TransitGatewayPeeringAttachmentAccepterOutput
ToTransitGatewayPeeringAttachmentAccepterOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterOutput
}
type TransitGatewayPeeringAttachmentAccepterMap ¶
type TransitGatewayPeeringAttachmentAccepterMap map[string]TransitGatewayPeeringAttachmentAccepterInput
func (TransitGatewayPeeringAttachmentAccepterMap) ElementType ¶
func (TransitGatewayPeeringAttachmentAccepterMap) ElementType() reflect.Type
func (TransitGatewayPeeringAttachmentAccepterMap) ToTransitGatewayPeeringAttachmentAccepterMapOutput ¶
func (i TransitGatewayPeeringAttachmentAccepterMap) ToTransitGatewayPeeringAttachmentAccepterMapOutput() TransitGatewayPeeringAttachmentAccepterMapOutput
func (TransitGatewayPeeringAttachmentAccepterMap) ToTransitGatewayPeeringAttachmentAccepterMapOutputWithContext ¶
func (i TransitGatewayPeeringAttachmentAccepterMap) ToTransitGatewayPeeringAttachmentAccepterMapOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterMapOutput
type TransitGatewayPeeringAttachmentAccepterMapInput ¶
type TransitGatewayPeeringAttachmentAccepterMapInput interface {
pulumi.Input
ToTransitGatewayPeeringAttachmentAccepterMapOutput() TransitGatewayPeeringAttachmentAccepterMapOutput
ToTransitGatewayPeeringAttachmentAccepterMapOutputWithContext(context.Context) TransitGatewayPeeringAttachmentAccepterMapOutput
}
TransitGatewayPeeringAttachmentAccepterMapInput is an input type that accepts TransitGatewayPeeringAttachmentAccepterMap and TransitGatewayPeeringAttachmentAccepterMapOutput values. You can construct a concrete instance of `TransitGatewayPeeringAttachmentAccepterMapInput` via:
TransitGatewayPeeringAttachmentAccepterMap{ "key": TransitGatewayPeeringAttachmentAccepterArgs{...} }
type TransitGatewayPeeringAttachmentAccepterMapOutput ¶
type TransitGatewayPeeringAttachmentAccepterMapOutput struct{ *pulumi.OutputState }
func (TransitGatewayPeeringAttachmentAccepterMapOutput) ElementType ¶
func (TransitGatewayPeeringAttachmentAccepterMapOutput) ElementType() reflect.Type
func (TransitGatewayPeeringAttachmentAccepterMapOutput) ToTransitGatewayPeeringAttachmentAccepterMapOutput ¶
func (o TransitGatewayPeeringAttachmentAccepterMapOutput) ToTransitGatewayPeeringAttachmentAccepterMapOutput() TransitGatewayPeeringAttachmentAccepterMapOutput
func (TransitGatewayPeeringAttachmentAccepterMapOutput) ToTransitGatewayPeeringAttachmentAccepterMapOutputWithContext ¶
func (o TransitGatewayPeeringAttachmentAccepterMapOutput) ToTransitGatewayPeeringAttachmentAccepterMapOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterMapOutput
type TransitGatewayPeeringAttachmentAccepterOutput ¶
type TransitGatewayPeeringAttachmentAccepterOutput struct{ *pulumi.OutputState }
func (TransitGatewayPeeringAttachmentAccepterOutput) ElementType ¶
func (TransitGatewayPeeringAttachmentAccepterOutput) ElementType() reflect.Type
func (TransitGatewayPeeringAttachmentAccepterOutput) ToTransitGatewayPeeringAttachmentAccepterOutput ¶
func (o TransitGatewayPeeringAttachmentAccepterOutput) ToTransitGatewayPeeringAttachmentAccepterOutput() TransitGatewayPeeringAttachmentAccepterOutput
func (TransitGatewayPeeringAttachmentAccepterOutput) ToTransitGatewayPeeringAttachmentAccepterOutputWithContext ¶
func (o TransitGatewayPeeringAttachmentAccepterOutput) ToTransitGatewayPeeringAttachmentAccepterOutputWithContext(ctx context.Context) TransitGatewayPeeringAttachmentAccepterOutput
type TransitGatewayPeeringAttachmentAccepterState ¶
type TransitGatewayPeeringAttachmentAccepterState struct {
// Identifier of the AWS account that owns the EC2 TGW peering.
PeerAccountId pulumi.StringPtrInput
PeerRegion pulumi.StringPtrInput
// Identifier of EC2 Transit Gateway to peer with.
PeerTransitGatewayId pulumi.StringPtrInput
// Key-value tags for the EC2 Transit Gateway Peering Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// The ID of the EC2 Transit Gateway Peering Attachment to manage.
TransitGatewayAttachmentId pulumi.StringPtrInput
// Identifier of EC2 Transit Gateway.
TransitGatewayId pulumi.StringPtrInput
}
func (TransitGatewayPeeringAttachmentAccepterState) ElementType ¶
func (TransitGatewayPeeringAttachmentAccepterState) 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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html#available-ec2-device-names) and [Device Naming on Windows Instances](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/device_naming.html#available-ec2-device-names) 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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html) 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"`
// Set this to true to ensure that the target instance is stopped
// before trying to detach the volume. Stops the instance, if it is not already stopped.
StopInstanceBeforeDetaching pulumi.BoolPtrOutput `pulumi:"stopInstanceBeforeDetaching"`
// 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` + `ec2.VolumeAttachment` resources for a given instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ebs" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
web, err := ec2.NewInstance(ctx, "web", &ec2.InstanceArgs{
Ami: pulumi.String("ami-21f78e11"),
AvailabilityZone: pulumi.String("us-west-2a"),
InstanceType: pulumi.String("t2.micro"),
Tags: pulumi.StringMap{
"Name": pulumi.String("HelloWorld"),
},
})
if err != nil {
return err
}
example, err := ebs.NewVolume(ctx, "example", &ebs.VolumeArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
Size: pulumi.Int(1),
})
if err != nil {
return err
}
_, err = ec2.NewVolumeAttachment(ctx, "ebsAtt", &ec2.VolumeAttachmentArgs{
DeviceName: pulumi.String("/dev/sdh"),
VolumeId: example.ID(),
InstanceId: web.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
EBS Volume Attachments can be imported using `DEVICE_NAME:VOLUME_ID:INSTANCE_ID`, e.g.,
```sh
$ pulumi import aws:ec2/volumeAttachment:VolumeAttachment example /dev/sdh:vol-049df61146c4d7901:i-12345678
```
[1]https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html#available-ec2-device-names [2]https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/device_naming.html#available-ec2-device-names [3]https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html
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.
func (*VolumeAttachment) ElementType ¶
func (*VolumeAttachment) ElementType() reflect.Type
func (*VolumeAttachment) ToVolumeAttachmentOutput ¶
func (i *VolumeAttachment) ToVolumeAttachmentOutput() VolumeAttachmentOutput
func (*VolumeAttachment) ToVolumeAttachmentOutputWithContext ¶
func (i *VolumeAttachment) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html#available-ec2-device-names) and [Device Naming on Windows Instances](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/device_naming.html#available-ec2-device-names) 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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html) 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
// Set this to true to ensure that the target instance is stopped
// before trying to detach the volume. Stops the instance, if it is not already stopped.
StopInstanceBeforeDetaching pulumi.BoolPtrInput
// ID of the Volume to be attached
VolumeId pulumi.StringInput
}
The set of arguments for constructing a VolumeAttachment resource.
func (VolumeAttachmentArgs) ElementType ¶
func (VolumeAttachmentArgs) ElementType() reflect.Type
type VolumeAttachmentArray ¶
type VolumeAttachmentArray []VolumeAttachmentInput
func (VolumeAttachmentArray) ElementType ¶
func (VolumeAttachmentArray) ElementType() reflect.Type
func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutput ¶
func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext ¶
func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
type VolumeAttachmentArrayInput ¶
type VolumeAttachmentArrayInput interface {
pulumi.Input
ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
ToVolumeAttachmentArrayOutputWithContext(context.Context) VolumeAttachmentArrayOutput
}
VolumeAttachmentArrayInput is an input type that accepts VolumeAttachmentArray and VolumeAttachmentArrayOutput values. You can construct a concrete instance of `VolumeAttachmentArrayInput` via:
VolumeAttachmentArray{ VolumeAttachmentArgs{...} }
type VolumeAttachmentArrayOutput ¶
type VolumeAttachmentArrayOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentArrayOutput) ElementType ¶
func (VolumeAttachmentArrayOutput) ElementType() reflect.Type
func (VolumeAttachmentArrayOutput) Index ¶
func (o VolumeAttachmentArrayOutput) Index(i pulumi.IntInput) VolumeAttachmentOutput
func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput ¶
func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext ¶
func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
type VolumeAttachmentInput ¶
type VolumeAttachmentInput interface {
pulumi.Input
ToVolumeAttachmentOutput() VolumeAttachmentOutput
ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
}
type VolumeAttachmentMap ¶
type VolumeAttachmentMap map[string]VolumeAttachmentInput
func (VolumeAttachmentMap) ElementType ¶
func (VolumeAttachmentMap) ElementType() reflect.Type
func (VolumeAttachmentMap) ToVolumeAttachmentMapOutput ¶
func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
func (VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext ¶
func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
type VolumeAttachmentMapInput ¶
type VolumeAttachmentMapInput interface {
pulumi.Input
ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
ToVolumeAttachmentMapOutputWithContext(context.Context) VolumeAttachmentMapOutput
}
VolumeAttachmentMapInput is an input type that accepts VolumeAttachmentMap and VolumeAttachmentMapOutput values. You can construct a concrete instance of `VolumeAttachmentMapInput` via:
VolumeAttachmentMap{ "key": VolumeAttachmentArgs{...} }
type VolumeAttachmentMapOutput ¶
type VolumeAttachmentMapOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentMapOutput) ElementType ¶
func (VolumeAttachmentMapOutput) ElementType() reflect.Type
func (VolumeAttachmentMapOutput) MapIndex ¶
func (o VolumeAttachmentMapOutput) MapIndex(k pulumi.StringInput) VolumeAttachmentOutput
func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput ¶
func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext ¶
func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
type VolumeAttachmentOutput ¶
type VolumeAttachmentOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentOutput) ElementType ¶
func (VolumeAttachmentOutput) ElementType() reflect.Type
func (VolumeAttachmentOutput) ToVolumeAttachmentOutput ¶
func (o VolumeAttachmentOutput) ToVolumeAttachmentOutput() VolumeAttachmentOutput
func (VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext ¶
func (o VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html#available-ec2-device-names) and [Device Naming on Windows Instances](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/device_naming.html#available-ec2-device-names) 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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html) 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
// Set this to true to ensure that the target instance is stopped
// before trying to detach the volume. Stops the instance, if it is not already stopped.
StopInstanceBeforeDetaching pulumi.BoolPtrInput
// ID of the Volume to be attached
VolumeId pulumi.StringPtrInput
}
func (VolumeAttachmentState) ElementType ¶
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`. Conflicts with `ipv6IpamPoolId`
AssignGeneratedIpv6CidrBlock pulumi.BoolPtrOutput `pulumi:"assignGeneratedIpv6CidrBlock"`
// The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) 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. Default is `default`, which makes your instances shared on the host. Using either of the other options (`dedicated` or `host`) costs at least $2/hr.
InstanceTenancy pulumi.StringPtrOutput `pulumi:"instanceTenancy"`
// The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
Ipv4IpamPoolId pulumi.StringPtrOutput `pulumi:"ipv4IpamPoolId"`
// The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
Ipv4NetmaskLength pulumi.IntPtrOutput `pulumi:"ipv4NetmaskLength"`
// The association ID for the IPv6 CIDR block.
Ipv6AssociationId pulumi.StringOutput `pulumi:"ipv6AssociationId"`
// IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using `ipv6NetmaskLength`.
Ipv6CidrBlock pulumi.StringOutput `pulumi:"ipv6CidrBlock"`
// By default when an IPv6 CIDR is assigned to a VPC a default ipv6CidrBlockNetworkBorderGroup will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones.
Ipv6CidrBlockNetworkBorderGroup pulumi.StringOutput `pulumi:"ipv6CidrBlockNetworkBorderGroup"`
// IPAM Pool ID for a IPv6 pool. Conflicts with `assignGeneratedIpv6CidrBlock`.
Ipv6IpamPoolId pulumi.StringPtrOutput `pulumi:"ipv6IpamPoolId"`
// Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`.
Ipv6NetmaskLength pulumi.IntPtrOutput `pulumi:"ipv6NetmaskLength"`
// 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`.
MainRouteTableId pulumi.StringOutput `pulumi:"mainRouteTableId"`
// The ID of the AWS account that owns the VPC.
OwnerId pulumi.StringOutput `pulumi:"ownerId"`
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides a VPC resource.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
return nil
})
}
```
Basic usage with tags:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
InstanceTenancy: pulumi.String("default"),
Tags: pulumi.StringMap{
"Name": pulumi.String("main"),
},
})
if err != nil {
return err
}
return nil
})
}
```
VPC with CIDR from AWS IPAM:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
testVpcIpam, err := ec2.NewVpcIpam(ctx, "testVpcIpam", &ec2.VpcIpamArgs{
OperatingRegions: ec2.VpcIpamOperatingRegionArray{
&ec2.VpcIpamOperatingRegionArgs{
RegionName: pulumi.String(current.Name),
},
},
})
if err != nil {
return err
}
testVpcIpamPool, err := ec2.NewVpcIpamPool(ctx, "testVpcIpamPool", &ec2.VpcIpamPoolArgs{
AddressFamily: pulumi.String("ipv4"),
IpamScopeId: testVpcIpam.PrivateDefaultScopeId,
Locale: pulumi.String(current.Name),
})
if err != nil {
return err
}
testVpcIpamPoolCidr, err := ec2.NewVpcIpamPoolCidr(ctx, "testVpcIpamPoolCidr", &ec2.VpcIpamPoolCidrArgs{
IpamPoolId: testVpcIpamPool.ID(),
Cidr: pulumi.String("172.2.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewVpc(ctx, "testVpc", &ec2.VpcArgs{
Ipv4IpamPoolId: testVpcIpamPool.ID(),
Ipv4NetmaskLength: pulumi.Int(28),
}, pulumi.DependsOn([]pulumi.Resource{
testVpcIpamPoolCidr,
}))
if err != nil {
return err
}
return nil
})
}
```
## Import
VPCs can be imported using the `vpc id`, e.g.,
```sh
$ pulumi import aws:ec2/vpc:Vpc test_vpc vpc-a01106c2
```
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.
func (*Vpc) ElementType ¶
func (*Vpc) ToVpcOutput ¶
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`. Conflicts with `ipv6IpamPoolId`
AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput
// The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
CidrBlock 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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) 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. Default is `default`, which makes your instances shared on the host. Using either of the other options (`dedicated` or `host`) costs at least $2/hr.
InstanceTenancy pulumi.StringPtrInput
// The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
Ipv4IpamPoolId pulumi.StringPtrInput
// The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
Ipv4NetmaskLength pulumi.IntPtrInput
// IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using `ipv6NetmaskLength`.
Ipv6CidrBlock pulumi.StringPtrInput
// By default when an IPv6 CIDR is assigned to a VPC a default ipv6CidrBlockNetworkBorderGroup will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones.
Ipv6CidrBlockNetworkBorderGroup pulumi.StringPtrInput
// IPAM Pool ID for a IPv6 pool. Conflicts with `assignGeneratedIpv6CidrBlock`.
Ipv6IpamPoolId pulumi.StringPtrInput
// Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`.
Ipv6NetmaskLength pulumi.IntPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a Vpc resource.
func (VpcArgs) ElementType ¶
type VpcArray ¶
type VpcArray []VpcInput
func (VpcArray) ElementType ¶
func (VpcArray) ToVpcArrayOutput ¶
func (i VpcArray) ToVpcArrayOutput() VpcArrayOutput
func (VpcArray) ToVpcArrayOutputWithContext ¶
func (i VpcArray) ToVpcArrayOutputWithContext(ctx context.Context) VpcArrayOutput
type VpcArrayInput ¶
type VpcArrayInput interface {
pulumi.Input
ToVpcArrayOutput() VpcArrayOutput
ToVpcArrayOutputWithContext(context.Context) VpcArrayOutput
}
VpcArrayInput is an input type that accepts VpcArray and VpcArrayOutput values. You can construct a concrete instance of `VpcArrayInput` via:
VpcArray{ VpcArgs{...} }
type VpcArrayOutput ¶
type VpcArrayOutput struct{ *pulumi.OutputState }
func (VpcArrayOutput) ElementType ¶
func (VpcArrayOutput) ElementType() reflect.Type
func (VpcArrayOutput) ToVpcArrayOutput ¶
func (o VpcArrayOutput) ToVpcArrayOutput() VpcArrayOutput
func (VpcArrayOutput) ToVpcArrayOutputWithContext ¶
func (o VpcArrayOutput) ToVpcArrayOutputWithContext(ctx context.Context) VpcArrayOutput
type VpcDhcpOptions ¶
type VpcDhcpOptions struct {
pulumi.CustomResourceState
// The ARN of the DHCP Options Set.
Arn pulumi.StringOutput `pulumi:"arn"`
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides a VPC DHCP Options resource.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcDhcpOptions(ctx, "dnsResolver", &ec2.VpcDhcpOptionsArgs{
DomainNameServers: pulumi.StringArray{
pulumi.String("8.8.8.8"),
pulumi.String("8.8.4.4"),
},
})
if err != nil {
return err
}
return nil
})
}
```
Full usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcDhcpOptions(ctx, "foo", &ec2.VpcDhcpOptionsArgs{
DomainName: pulumi.String("service.consul"),
DomainNameServers: pulumi.StringArray{
pulumi.String("127.0.0.1"),
pulumi.String("10.0.0.2"),
},
NetbiosNameServers: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
NetbiosNodeType: pulumi.String("2"),
NtpServers: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
Tags: pulumi.StringMap{
"Name": pulumi.String("foo-name"),
},
})
if err != nil {
return err
}
return nil
})
}
``` ## 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`. * 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`.
## Import
VPC DHCP Options can be imported using the `dhcp options id`, e.g.,
```sh
$ pulumi import aws:ec2/vpcDhcpOptions:VpcDhcpOptions my_options dopt-d9070ebb
```
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.
func (*VpcDhcpOptions) ElementType ¶
func (*VpcDhcpOptions) ElementType() reflect.Type
func (*VpcDhcpOptions) ToVpcDhcpOptionsOutput ¶
func (i *VpcDhcpOptions) ToVpcDhcpOptionsOutput() VpcDhcpOptionsOutput
func (*VpcDhcpOptions) ToVpcDhcpOptionsOutputWithContext ¶
func (i *VpcDhcpOptions) ToVpcDhcpOptionsOutputWithContext(ctx context.Context) VpcDhcpOptionsOutput
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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a VpcDhcpOptions resource.
func (VpcDhcpOptionsArgs) ElementType ¶
func (VpcDhcpOptionsArgs) ElementType() reflect.Type
type VpcDhcpOptionsArray ¶
type VpcDhcpOptionsArray []VpcDhcpOptionsInput
func (VpcDhcpOptionsArray) ElementType ¶
func (VpcDhcpOptionsArray) ElementType() reflect.Type
func (VpcDhcpOptionsArray) ToVpcDhcpOptionsArrayOutput ¶
func (i VpcDhcpOptionsArray) ToVpcDhcpOptionsArrayOutput() VpcDhcpOptionsArrayOutput
func (VpcDhcpOptionsArray) ToVpcDhcpOptionsArrayOutputWithContext ¶
func (i VpcDhcpOptionsArray) ToVpcDhcpOptionsArrayOutputWithContext(ctx context.Context) VpcDhcpOptionsArrayOutput
type VpcDhcpOptionsArrayInput ¶
type VpcDhcpOptionsArrayInput interface {
pulumi.Input
ToVpcDhcpOptionsArrayOutput() VpcDhcpOptionsArrayOutput
ToVpcDhcpOptionsArrayOutputWithContext(context.Context) VpcDhcpOptionsArrayOutput
}
VpcDhcpOptionsArrayInput is an input type that accepts VpcDhcpOptionsArray and VpcDhcpOptionsArrayOutput values. You can construct a concrete instance of `VpcDhcpOptionsArrayInput` via:
VpcDhcpOptionsArray{ VpcDhcpOptionsArgs{...} }
type VpcDhcpOptionsArrayOutput ¶
type VpcDhcpOptionsArrayOutput struct{ *pulumi.OutputState }
func (VpcDhcpOptionsArrayOutput) ElementType ¶
func (VpcDhcpOptionsArrayOutput) ElementType() reflect.Type
func (VpcDhcpOptionsArrayOutput) Index ¶
func (o VpcDhcpOptionsArrayOutput) Index(i pulumi.IntInput) VpcDhcpOptionsOutput
func (VpcDhcpOptionsArrayOutput) ToVpcDhcpOptionsArrayOutput ¶
func (o VpcDhcpOptionsArrayOutput) ToVpcDhcpOptionsArrayOutput() VpcDhcpOptionsArrayOutput
func (VpcDhcpOptionsArrayOutput) ToVpcDhcpOptionsArrayOutputWithContext ¶
func (o VpcDhcpOptionsArrayOutput) ToVpcDhcpOptionsArrayOutputWithContext(ctx context.Context) VpcDhcpOptionsArrayOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcDhcpOptionsAssociation(ctx, "dnsResolver", &ec2.VpcDhcpOptionsAssociationArgs{
VpcId: pulumi.Any(aws_vpc.Foo.Id),
DhcpOptionsId: pulumi.Any(aws_vpc_dhcp_options.Foo.Id),
})
if err != nil {
return err
}
return nil
})
}
``` ## 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.
## Import
DHCP associations can be imported by providing the VPC ID associated with the options ¶
```sh
$ pulumi import aws:ec2/vpcDhcpOptionsAssociation:VpcDhcpOptionsAssociation imported vpc-0f001273ec18911b1
```
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.
func (*VpcDhcpOptionsAssociation) ElementType ¶
func (*VpcDhcpOptionsAssociation) ElementType() reflect.Type
func (*VpcDhcpOptionsAssociation) ToVpcDhcpOptionsAssociationOutput ¶
func (i *VpcDhcpOptionsAssociation) ToVpcDhcpOptionsAssociationOutput() VpcDhcpOptionsAssociationOutput
func (*VpcDhcpOptionsAssociation) ToVpcDhcpOptionsAssociationOutputWithContext ¶
func (i *VpcDhcpOptionsAssociation) ToVpcDhcpOptionsAssociationOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationOutput
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 ¶
func (VpcDhcpOptionsAssociationArgs) ElementType() reflect.Type
type VpcDhcpOptionsAssociationArray ¶
type VpcDhcpOptionsAssociationArray []VpcDhcpOptionsAssociationInput
func (VpcDhcpOptionsAssociationArray) ElementType ¶
func (VpcDhcpOptionsAssociationArray) ElementType() reflect.Type
func (VpcDhcpOptionsAssociationArray) ToVpcDhcpOptionsAssociationArrayOutput ¶
func (i VpcDhcpOptionsAssociationArray) ToVpcDhcpOptionsAssociationArrayOutput() VpcDhcpOptionsAssociationArrayOutput
func (VpcDhcpOptionsAssociationArray) ToVpcDhcpOptionsAssociationArrayOutputWithContext ¶
func (i VpcDhcpOptionsAssociationArray) ToVpcDhcpOptionsAssociationArrayOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationArrayOutput
type VpcDhcpOptionsAssociationArrayInput ¶
type VpcDhcpOptionsAssociationArrayInput interface {
pulumi.Input
ToVpcDhcpOptionsAssociationArrayOutput() VpcDhcpOptionsAssociationArrayOutput
ToVpcDhcpOptionsAssociationArrayOutputWithContext(context.Context) VpcDhcpOptionsAssociationArrayOutput
}
VpcDhcpOptionsAssociationArrayInput is an input type that accepts VpcDhcpOptionsAssociationArray and VpcDhcpOptionsAssociationArrayOutput values. You can construct a concrete instance of `VpcDhcpOptionsAssociationArrayInput` via:
VpcDhcpOptionsAssociationArray{ VpcDhcpOptionsAssociationArgs{...} }
type VpcDhcpOptionsAssociationArrayOutput ¶
type VpcDhcpOptionsAssociationArrayOutput struct{ *pulumi.OutputState }
func (VpcDhcpOptionsAssociationArrayOutput) ElementType ¶
func (VpcDhcpOptionsAssociationArrayOutput) ElementType() reflect.Type
func (VpcDhcpOptionsAssociationArrayOutput) Index ¶
func (o VpcDhcpOptionsAssociationArrayOutput) Index(i pulumi.IntInput) VpcDhcpOptionsAssociationOutput
func (VpcDhcpOptionsAssociationArrayOutput) ToVpcDhcpOptionsAssociationArrayOutput ¶
func (o VpcDhcpOptionsAssociationArrayOutput) ToVpcDhcpOptionsAssociationArrayOutput() VpcDhcpOptionsAssociationArrayOutput
func (VpcDhcpOptionsAssociationArrayOutput) ToVpcDhcpOptionsAssociationArrayOutputWithContext ¶
func (o VpcDhcpOptionsAssociationArrayOutput) ToVpcDhcpOptionsAssociationArrayOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationArrayOutput
type VpcDhcpOptionsAssociationInput ¶
type VpcDhcpOptionsAssociationInput interface {
pulumi.Input
ToVpcDhcpOptionsAssociationOutput() VpcDhcpOptionsAssociationOutput
ToVpcDhcpOptionsAssociationOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationOutput
}
type VpcDhcpOptionsAssociationMap ¶
type VpcDhcpOptionsAssociationMap map[string]VpcDhcpOptionsAssociationInput
func (VpcDhcpOptionsAssociationMap) ElementType ¶
func (VpcDhcpOptionsAssociationMap) ElementType() reflect.Type
func (VpcDhcpOptionsAssociationMap) ToVpcDhcpOptionsAssociationMapOutput ¶
func (i VpcDhcpOptionsAssociationMap) ToVpcDhcpOptionsAssociationMapOutput() VpcDhcpOptionsAssociationMapOutput
func (VpcDhcpOptionsAssociationMap) ToVpcDhcpOptionsAssociationMapOutputWithContext ¶
func (i VpcDhcpOptionsAssociationMap) ToVpcDhcpOptionsAssociationMapOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationMapOutput
type VpcDhcpOptionsAssociationMapInput ¶
type VpcDhcpOptionsAssociationMapInput interface {
pulumi.Input
ToVpcDhcpOptionsAssociationMapOutput() VpcDhcpOptionsAssociationMapOutput
ToVpcDhcpOptionsAssociationMapOutputWithContext(context.Context) VpcDhcpOptionsAssociationMapOutput
}
VpcDhcpOptionsAssociationMapInput is an input type that accepts VpcDhcpOptionsAssociationMap and VpcDhcpOptionsAssociationMapOutput values. You can construct a concrete instance of `VpcDhcpOptionsAssociationMapInput` via:
VpcDhcpOptionsAssociationMap{ "key": VpcDhcpOptionsAssociationArgs{...} }
type VpcDhcpOptionsAssociationMapOutput ¶
type VpcDhcpOptionsAssociationMapOutput struct{ *pulumi.OutputState }
func (VpcDhcpOptionsAssociationMapOutput) ElementType ¶
func (VpcDhcpOptionsAssociationMapOutput) ElementType() reflect.Type
func (VpcDhcpOptionsAssociationMapOutput) MapIndex ¶
func (o VpcDhcpOptionsAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcDhcpOptionsAssociationOutput
func (VpcDhcpOptionsAssociationMapOutput) ToVpcDhcpOptionsAssociationMapOutput ¶
func (o VpcDhcpOptionsAssociationMapOutput) ToVpcDhcpOptionsAssociationMapOutput() VpcDhcpOptionsAssociationMapOutput
func (VpcDhcpOptionsAssociationMapOutput) ToVpcDhcpOptionsAssociationMapOutputWithContext ¶
func (o VpcDhcpOptionsAssociationMapOutput) ToVpcDhcpOptionsAssociationMapOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationMapOutput
type VpcDhcpOptionsAssociationOutput ¶
type VpcDhcpOptionsAssociationOutput struct{ *pulumi.OutputState }
func (VpcDhcpOptionsAssociationOutput) ElementType ¶
func (VpcDhcpOptionsAssociationOutput) ElementType() reflect.Type
func (VpcDhcpOptionsAssociationOutput) ToVpcDhcpOptionsAssociationOutput ¶
func (o VpcDhcpOptionsAssociationOutput) ToVpcDhcpOptionsAssociationOutput() VpcDhcpOptionsAssociationOutput
func (VpcDhcpOptionsAssociationOutput) ToVpcDhcpOptionsAssociationOutputWithContext ¶
func (o VpcDhcpOptionsAssociationOutput) ToVpcDhcpOptionsAssociationOutputWithContext(ctx context.Context) VpcDhcpOptionsAssociationOutput
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 ¶
func (VpcDhcpOptionsAssociationState) ElementType() reflect.Type
type VpcDhcpOptionsInput ¶
type VpcDhcpOptionsInput interface {
pulumi.Input
ToVpcDhcpOptionsOutput() VpcDhcpOptionsOutput
ToVpcDhcpOptionsOutputWithContext(ctx context.Context) VpcDhcpOptionsOutput
}
type VpcDhcpOptionsMap ¶
type VpcDhcpOptionsMap map[string]VpcDhcpOptionsInput
func (VpcDhcpOptionsMap) ElementType ¶
func (VpcDhcpOptionsMap) ElementType() reflect.Type
func (VpcDhcpOptionsMap) ToVpcDhcpOptionsMapOutput ¶
func (i VpcDhcpOptionsMap) ToVpcDhcpOptionsMapOutput() VpcDhcpOptionsMapOutput
func (VpcDhcpOptionsMap) ToVpcDhcpOptionsMapOutputWithContext ¶
func (i VpcDhcpOptionsMap) ToVpcDhcpOptionsMapOutputWithContext(ctx context.Context) VpcDhcpOptionsMapOutput
type VpcDhcpOptionsMapInput ¶
type VpcDhcpOptionsMapInput interface {
pulumi.Input
ToVpcDhcpOptionsMapOutput() VpcDhcpOptionsMapOutput
ToVpcDhcpOptionsMapOutputWithContext(context.Context) VpcDhcpOptionsMapOutput
}
VpcDhcpOptionsMapInput is an input type that accepts VpcDhcpOptionsMap and VpcDhcpOptionsMapOutput values. You can construct a concrete instance of `VpcDhcpOptionsMapInput` via:
VpcDhcpOptionsMap{ "key": VpcDhcpOptionsArgs{...} }
type VpcDhcpOptionsMapOutput ¶
type VpcDhcpOptionsMapOutput struct{ *pulumi.OutputState }
func (VpcDhcpOptionsMapOutput) ElementType ¶
func (VpcDhcpOptionsMapOutput) ElementType() reflect.Type
func (VpcDhcpOptionsMapOutput) MapIndex ¶
func (o VpcDhcpOptionsMapOutput) MapIndex(k pulumi.StringInput) VpcDhcpOptionsOutput
func (VpcDhcpOptionsMapOutput) ToVpcDhcpOptionsMapOutput ¶
func (o VpcDhcpOptionsMapOutput) ToVpcDhcpOptionsMapOutput() VpcDhcpOptionsMapOutput
func (VpcDhcpOptionsMapOutput) ToVpcDhcpOptionsMapOutputWithContext ¶
func (o VpcDhcpOptionsMapOutput) ToVpcDhcpOptionsMapOutputWithContext(ctx context.Context) VpcDhcpOptionsMapOutput
type VpcDhcpOptionsOutput ¶
type VpcDhcpOptionsOutput struct{ *pulumi.OutputState }
func (VpcDhcpOptionsOutput) ElementType ¶
func (VpcDhcpOptionsOutput) ElementType() reflect.Type
func (VpcDhcpOptionsOutput) ToVpcDhcpOptionsOutput ¶
func (o VpcDhcpOptionsOutput) ToVpcDhcpOptionsOutput() VpcDhcpOptionsOutput
func (VpcDhcpOptionsOutput) ToVpcDhcpOptionsOutputWithContext ¶
func (o VpcDhcpOptionsOutput) ToVpcDhcpOptionsOutputWithContext(ctx context.Context) VpcDhcpOptionsOutput
type VpcDhcpOptionsState ¶
type VpcDhcpOptionsState struct {
// The ARN of the DHCP Options Set.
Arn pulumi.StringPtrInput
// 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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
}
func (VpcDhcpOptionsState) ElementType ¶
func (VpcDhcpOptionsState) ElementType() reflect.Type
type VpcEndpoint ¶
type VpcEndpoint struct {
pulumi.CustomResourceState
// The Amazon Resource Name (ARN) of the VPC endpoint.
Arn pulumi.StringOutput `pulumi:"arn"`
// 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"`
// A policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All `Gateway` and some `Interface` endpoints support policies - see the [relevant AWS documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-access.html) for more details.
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. Applicable for endpoints of type `Interface`.
// If no security groups are specified, the VPC's [default security group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#DefaultSecurityGroup) is associated with the endpoint.
SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
// The service name. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
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 `GatewayLoadBalancer` and `Interface`.
SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The VPC endpoint type, `Gateway`, `GatewayLoadBalancer`, 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"`
}
## Example Usage ### Basic
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcEndpoint(ctx, "s3", &ec2.VpcEndpointArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
ServiceName: pulumi.String("com.amazonaws.us-west-2.s3"),
})
if err != nil {
return err
}
return nil
})
}
``` ### Basic w/ Tags
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcEndpoint(ctx, "s3", &ec2.VpcEndpointArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
ServiceName: pulumi.String("com.amazonaws.us-west-2.s3"),
Tags: pulumi.StringMap{
"Environment": pulumi.String("test"),
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Interface Endpoint Type
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcEndpoint(ctx, "ec2", &ec2.VpcEndpointArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
ServiceName: pulumi.String("com.amazonaws.us-west-2.ec2"),
VpcEndpointType: pulumi.String("Interface"),
SecurityGroupIds: pulumi.StringArray{
pulumi.Any(aws_security_group.Sg1.Id),
},
PrivateDnsEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
``` ### Gateway Load Balancer Endpoint Type
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetCallerIdentity(ctx, nil, nil)
if err != nil {
return err
}
exampleVpcEndpointService, err := ec2.NewVpcEndpointService(ctx, "exampleVpcEndpointService", &ec2.VpcEndpointServiceArgs{
AcceptanceRequired: pulumi.Bool(false),
AllowedPrincipals: pulumi.StringArray{
pulumi.String(current.Arn),
},
GatewayLoadBalancerArns: pulumi.StringArray{
pulumi.Any(aws_lb.Example.Arn),
},
})
if err != nil {
return err
}
_, err = ec2.NewVpcEndpoint(ctx, "exampleVpcEndpoint", &ec2.VpcEndpointArgs{
ServiceName: exampleVpcEndpointService.ServiceName,
SubnetIds: pulumi.StringArray{
pulumi.Any(aws_subnet.Example.Id),
},
VpcEndpointType: exampleVpcEndpointService.ServiceType,
VpcId: pulumi.Any(aws_vpc.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Endpoints can be imported using the `vpc endpoint id`, e.g.,
```sh
$ pulumi import aws:ec2/vpcEndpoint:VpcEndpoint endpoint1 vpce-3ecf2a57
```
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.
func (*VpcEndpoint) ElementType ¶
func (*VpcEndpoint) ElementType() reflect.Type
func (*VpcEndpoint) ToVpcEndpointOutput ¶
func (i *VpcEndpoint) ToVpcEndpointOutput() VpcEndpointOutput
func (*VpcEndpoint) ToVpcEndpointOutputWithContext ¶
func (i *VpcEndpoint) ToVpcEndpointOutputWithContext(ctx context.Context) VpcEndpointOutput
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
// A policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All `Gateway` and some `Interface` endpoints support policies - see the [relevant AWS documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-access.html) for more details.
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. Applicable for endpoints of type `Interface`.
// If no security groups are specified, the VPC's [default security group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#DefaultSecurityGroup) is associated with the endpoint.
SecurityGroupIds pulumi.StringArrayInput
// The service name. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
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 `GatewayLoadBalancer` and `Interface`.
SubnetIds pulumi.StringArrayInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The VPC endpoint type, `Gateway`, `GatewayLoadBalancer`, 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 ¶
func (VpcEndpointArgs) ElementType() reflect.Type
type VpcEndpointArray ¶
type VpcEndpointArray []VpcEndpointInput
func (VpcEndpointArray) ElementType ¶
func (VpcEndpointArray) ElementType() reflect.Type
func (VpcEndpointArray) ToVpcEndpointArrayOutput ¶
func (i VpcEndpointArray) ToVpcEndpointArrayOutput() VpcEndpointArrayOutput
func (VpcEndpointArray) ToVpcEndpointArrayOutputWithContext ¶
func (i VpcEndpointArray) ToVpcEndpointArrayOutputWithContext(ctx context.Context) VpcEndpointArrayOutput
type VpcEndpointArrayInput ¶
type VpcEndpointArrayInput interface {
pulumi.Input
ToVpcEndpointArrayOutput() VpcEndpointArrayOutput
ToVpcEndpointArrayOutputWithContext(context.Context) VpcEndpointArrayOutput
}
VpcEndpointArrayInput is an input type that accepts VpcEndpointArray and VpcEndpointArrayOutput values. You can construct a concrete instance of `VpcEndpointArrayInput` via:
VpcEndpointArray{ VpcEndpointArgs{...} }
type VpcEndpointArrayOutput ¶
type VpcEndpointArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointArrayOutput) ElementType ¶
func (VpcEndpointArrayOutput) ElementType() reflect.Type
func (VpcEndpointArrayOutput) Index ¶
func (o VpcEndpointArrayOutput) Index(i pulumi.IntInput) VpcEndpointOutput
func (VpcEndpointArrayOutput) ToVpcEndpointArrayOutput ¶
func (o VpcEndpointArrayOutput) ToVpcEndpointArrayOutput() VpcEndpointArrayOutput
func (VpcEndpointArrayOutput) ToVpcEndpointArrayOutputWithContext ¶
func (o VpcEndpointArrayOutput) ToVpcEndpointArrayOutputWithContext(ctx context.Context) VpcEndpointArrayOutput
type VpcEndpointConnectionAccepter ¶
type VpcEndpointConnectionAccepter struct {
pulumi.CustomResourceState
// AWS VPC Endpoint ID.
VpcEndpointId pulumi.StringOutput `pulumi:"vpcEndpointId"`
// AWS VPC Endpoint Service ID.
VpcEndpointServiceId pulumi.StringOutput `pulumi:"vpcEndpointServiceId"`
// State of the VPC Endpoint.
VpcEndpointState pulumi.StringOutput `pulumi:"vpcEndpointState"`
}
Provides a resource to accept a pending VPC Endpoint Connection accept request to VPC Endpoint Service.
## Example Usage ### Accept cross-account request
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleVpcEndpointService, err := ec2.NewVpcEndpointService(ctx, "exampleVpcEndpointService", &ec2.VpcEndpointServiceArgs{
AcceptanceRequired: pulumi.Bool(false),
NetworkLoadBalancerArns: pulumi.StringArray{
pulumi.Any(aws_lb.Example.Arn),
},
})
if err != nil {
return err
}
exampleVpcEndpoint, err := ec2.NewVpcEndpoint(ctx, "exampleVpcEndpoint", &ec2.VpcEndpointArgs{
VpcId: pulumi.Any(aws_vpc.Test_alternate.Id),
ServiceName: pulumi.Any(aws_vpc_endpoint_service.Test.Service_name),
VpcEndpointType: pulumi.String("Interface"),
PrivateDnsEnabled: pulumi.Bool(false),
SecurityGroupIds: pulumi.StringArray{
pulumi.Any(aws_security_group.Test.Id),
},
}, pulumi.Provider("aws.alternate"))
if err != nil {
return err
}
_, err = ec2.NewVpcEndpointConnectionAccepter(ctx, "exampleVpcEndpointConnectionAccepter", &ec2.VpcEndpointConnectionAccepterArgs{
VpcEndpointServiceId: exampleVpcEndpointService.ID(),
VpcEndpointId: exampleVpcEndpoint.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Endpoint Services can be imported using ID of the connection, which is the `VPC Endpoint Service ID` and `VPC Endpoint ID` separated by underscore (`_`). e.g.
```sh
$ pulumi import aws:ec2/vpcEndpointConnectionAccepter:VpcEndpointConnectionAccepter foo vpce-svc-0f97a19d3fa8220bc_vpce-010601a6db371e263
```
func GetVpcEndpointConnectionAccepter ¶
func GetVpcEndpointConnectionAccepter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcEndpointConnectionAccepterState, opts ...pulumi.ResourceOption) (*VpcEndpointConnectionAccepter, error)
GetVpcEndpointConnectionAccepter gets an existing VpcEndpointConnectionAccepter 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 NewVpcEndpointConnectionAccepter ¶
func NewVpcEndpointConnectionAccepter(ctx *pulumi.Context, name string, args *VpcEndpointConnectionAccepterArgs, opts ...pulumi.ResourceOption) (*VpcEndpointConnectionAccepter, error)
NewVpcEndpointConnectionAccepter registers a new resource with the given unique name, arguments, and options.
func (*VpcEndpointConnectionAccepter) ElementType ¶
func (*VpcEndpointConnectionAccepter) ElementType() reflect.Type
func (*VpcEndpointConnectionAccepter) ToVpcEndpointConnectionAccepterOutput ¶
func (i *VpcEndpointConnectionAccepter) ToVpcEndpointConnectionAccepterOutput() VpcEndpointConnectionAccepterOutput
func (*VpcEndpointConnectionAccepter) ToVpcEndpointConnectionAccepterOutputWithContext ¶
func (i *VpcEndpointConnectionAccepter) ToVpcEndpointConnectionAccepterOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterOutput
type VpcEndpointConnectionAccepterArgs ¶
type VpcEndpointConnectionAccepterArgs struct {
// AWS VPC Endpoint ID.
VpcEndpointId pulumi.StringInput
// AWS VPC Endpoint Service ID.
VpcEndpointServiceId pulumi.StringInput
}
The set of arguments for constructing a VpcEndpointConnectionAccepter resource.
func (VpcEndpointConnectionAccepterArgs) ElementType ¶
func (VpcEndpointConnectionAccepterArgs) ElementType() reflect.Type
type VpcEndpointConnectionAccepterArray ¶
type VpcEndpointConnectionAccepterArray []VpcEndpointConnectionAccepterInput
func (VpcEndpointConnectionAccepterArray) ElementType ¶
func (VpcEndpointConnectionAccepterArray) ElementType() reflect.Type
func (VpcEndpointConnectionAccepterArray) ToVpcEndpointConnectionAccepterArrayOutput ¶
func (i VpcEndpointConnectionAccepterArray) ToVpcEndpointConnectionAccepterArrayOutput() VpcEndpointConnectionAccepterArrayOutput
func (VpcEndpointConnectionAccepterArray) ToVpcEndpointConnectionAccepterArrayOutputWithContext ¶
func (i VpcEndpointConnectionAccepterArray) ToVpcEndpointConnectionAccepterArrayOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterArrayOutput
type VpcEndpointConnectionAccepterArrayInput ¶
type VpcEndpointConnectionAccepterArrayInput interface {
pulumi.Input
ToVpcEndpointConnectionAccepterArrayOutput() VpcEndpointConnectionAccepterArrayOutput
ToVpcEndpointConnectionAccepterArrayOutputWithContext(context.Context) VpcEndpointConnectionAccepterArrayOutput
}
VpcEndpointConnectionAccepterArrayInput is an input type that accepts VpcEndpointConnectionAccepterArray and VpcEndpointConnectionAccepterArrayOutput values. You can construct a concrete instance of `VpcEndpointConnectionAccepterArrayInput` via:
VpcEndpointConnectionAccepterArray{ VpcEndpointConnectionAccepterArgs{...} }
type VpcEndpointConnectionAccepterArrayOutput ¶
type VpcEndpointConnectionAccepterArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointConnectionAccepterArrayOutput) ElementType ¶
func (VpcEndpointConnectionAccepterArrayOutput) ElementType() reflect.Type
func (VpcEndpointConnectionAccepterArrayOutput) ToVpcEndpointConnectionAccepterArrayOutput ¶
func (o VpcEndpointConnectionAccepterArrayOutput) ToVpcEndpointConnectionAccepterArrayOutput() VpcEndpointConnectionAccepterArrayOutput
func (VpcEndpointConnectionAccepterArrayOutput) ToVpcEndpointConnectionAccepterArrayOutputWithContext ¶
func (o VpcEndpointConnectionAccepterArrayOutput) ToVpcEndpointConnectionAccepterArrayOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterArrayOutput
type VpcEndpointConnectionAccepterInput ¶
type VpcEndpointConnectionAccepterInput interface {
pulumi.Input
ToVpcEndpointConnectionAccepterOutput() VpcEndpointConnectionAccepterOutput
ToVpcEndpointConnectionAccepterOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterOutput
}
type VpcEndpointConnectionAccepterMap ¶
type VpcEndpointConnectionAccepterMap map[string]VpcEndpointConnectionAccepterInput
func (VpcEndpointConnectionAccepterMap) ElementType ¶
func (VpcEndpointConnectionAccepterMap) ElementType() reflect.Type
func (VpcEndpointConnectionAccepterMap) ToVpcEndpointConnectionAccepterMapOutput ¶
func (i VpcEndpointConnectionAccepterMap) ToVpcEndpointConnectionAccepterMapOutput() VpcEndpointConnectionAccepterMapOutput
func (VpcEndpointConnectionAccepterMap) ToVpcEndpointConnectionAccepterMapOutputWithContext ¶
func (i VpcEndpointConnectionAccepterMap) ToVpcEndpointConnectionAccepterMapOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterMapOutput
type VpcEndpointConnectionAccepterMapInput ¶
type VpcEndpointConnectionAccepterMapInput interface {
pulumi.Input
ToVpcEndpointConnectionAccepterMapOutput() VpcEndpointConnectionAccepterMapOutput
ToVpcEndpointConnectionAccepterMapOutputWithContext(context.Context) VpcEndpointConnectionAccepterMapOutput
}
VpcEndpointConnectionAccepterMapInput is an input type that accepts VpcEndpointConnectionAccepterMap and VpcEndpointConnectionAccepterMapOutput values. You can construct a concrete instance of `VpcEndpointConnectionAccepterMapInput` via:
VpcEndpointConnectionAccepterMap{ "key": VpcEndpointConnectionAccepterArgs{...} }
type VpcEndpointConnectionAccepterMapOutput ¶
type VpcEndpointConnectionAccepterMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointConnectionAccepterMapOutput) ElementType ¶
func (VpcEndpointConnectionAccepterMapOutput) ElementType() reflect.Type
func (VpcEndpointConnectionAccepterMapOutput) MapIndex ¶
func (o VpcEndpointConnectionAccepterMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointConnectionAccepterOutput
func (VpcEndpointConnectionAccepterMapOutput) ToVpcEndpointConnectionAccepterMapOutput ¶
func (o VpcEndpointConnectionAccepterMapOutput) ToVpcEndpointConnectionAccepterMapOutput() VpcEndpointConnectionAccepterMapOutput
func (VpcEndpointConnectionAccepterMapOutput) ToVpcEndpointConnectionAccepterMapOutputWithContext ¶
func (o VpcEndpointConnectionAccepterMapOutput) ToVpcEndpointConnectionAccepterMapOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterMapOutput
type VpcEndpointConnectionAccepterOutput ¶
type VpcEndpointConnectionAccepterOutput struct{ *pulumi.OutputState }
func (VpcEndpointConnectionAccepterOutput) ElementType ¶
func (VpcEndpointConnectionAccepterOutput) ElementType() reflect.Type
func (VpcEndpointConnectionAccepterOutput) ToVpcEndpointConnectionAccepterOutput ¶
func (o VpcEndpointConnectionAccepterOutput) ToVpcEndpointConnectionAccepterOutput() VpcEndpointConnectionAccepterOutput
func (VpcEndpointConnectionAccepterOutput) ToVpcEndpointConnectionAccepterOutputWithContext ¶
func (o VpcEndpointConnectionAccepterOutput) ToVpcEndpointConnectionAccepterOutputWithContext(ctx context.Context) VpcEndpointConnectionAccepterOutput
type VpcEndpointConnectionAccepterState ¶
type VpcEndpointConnectionAccepterState struct {
// AWS VPC Endpoint ID.
VpcEndpointId pulumi.StringPtrInput
// AWS VPC Endpoint Service ID.
VpcEndpointServiceId pulumi.StringPtrInput
// State of the VPC Endpoint.
VpcEndpointState pulumi.StringPtrInput
}
func (VpcEndpointConnectionAccepterState) ElementType ¶
func (VpcEndpointConnectionAccepterState) 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.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
topic, err := sns.NewTopic(ctx, "topic", &sns.TopicArgs{
Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\":\"2012-10-17\",\n", " \"Statement\":[{\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"Service\": \"vpce.amazonaws.com\"\n", " },\n", " \"Action\": \"SNS:Publish\",\n", " \"Resource\": \"arn:aws:sns:*:*:vpce-notification-topic\"\n", " }]\n", "}\n")),
})
if err != nil {
return err
}
fooVpcEndpointService, err := ec2.NewVpcEndpointService(ctx, "fooVpcEndpointService", &ec2.VpcEndpointServiceArgs{
AcceptanceRequired: pulumi.Bool(false),
NetworkLoadBalancerArns: pulumi.StringArray{
pulumi.Any(aws_lb.Test.Arn),
},
})
if err != nil {
return err
}
_, err = ec2.NewVpcEndpointConnectionNotification(ctx, "fooVpcEndpointConnectionNotification", &ec2.VpcEndpointConnectionNotificationArgs{
VpcEndpointServiceId: fooVpcEndpointService.ID(),
ConnectionNotificationArn: topic.Arn,
ConnectionEvents: pulumi.StringArray{
pulumi.String("Accept"),
pulumi.String("Reject"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Endpoint connection notifications can be imported using the `VPC endpoint connection notification id`, e.g.,
```sh
$ pulumi import aws:ec2/vpcEndpointConnectionNotification:VpcEndpointConnectionNotification foo vpce-nfn-09e6ed3b4efba2263
```
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.
func (*VpcEndpointConnectionNotification) ElementType ¶
func (*VpcEndpointConnectionNotification) ElementType() reflect.Type
func (*VpcEndpointConnectionNotification) ToVpcEndpointConnectionNotificationOutput ¶
func (i *VpcEndpointConnectionNotification) ToVpcEndpointConnectionNotificationOutput() VpcEndpointConnectionNotificationOutput
func (*VpcEndpointConnectionNotification) ToVpcEndpointConnectionNotificationOutputWithContext ¶
func (i *VpcEndpointConnectionNotification) ToVpcEndpointConnectionNotificationOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationOutput
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 ¶
func (VpcEndpointConnectionNotificationArgs) ElementType() reflect.Type
type VpcEndpointConnectionNotificationArray ¶
type VpcEndpointConnectionNotificationArray []VpcEndpointConnectionNotificationInput
func (VpcEndpointConnectionNotificationArray) ElementType ¶
func (VpcEndpointConnectionNotificationArray) ElementType() reflect.Type
func (VpcEndpointConnectionNotificationArray) ToVpcEndpointConnectionNotificationArrayOutput ¶
func (i VpcEndpointConnectionNotificationArray) ToVpcEndpointConnectionNotificationArrayOutput() VpcEndpointConnectionNotificationArrayOutput
func (VpcEndpointConnectionNotificationArray) ToVpcEndpointConnectionNotificationArrayOutputWithContext ¶
func (i VpcEndpointConnectionNotificationArray) ToVpcEndpointConnectionNotificationArrayOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationArrayOutput
type VpcEndpointConnectionNotificationArrayInput ¶
type VpcEndpointConnectionNotificationArrayInput interface {
pulumi.Input
ToVpcEndpointConnectionNotificationArrayOutput() VpcEndpointConnectionNotificationArrayOutput
ToVpcEndpointConnectionNotificationArrayOutputWithContext(context.Context) VpcEndpointConnectionNotificationArrayOutput
}
VpcEndpointConnectionNotificationArrayInput is an input type that accepts VpcEndpointConnectionNotificationArray and VpcEndpointConnectionNotificationArrayOutput values. You can construct a concrete instance of `VpcEndpointConnectionNotificationArrayInput` via:
VpcEndpointConnectionNotificationArray{ VpcEndpointConnectionNotificationArgs{...} }
type VpcEndpointConnectionNotificationArrayOutput ¶
type VpcEndpointConnectionNotificationArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointConnectionNotificationArrayOutput) ElementType ¶
func (VpcEndpointConnectionNotificationArrayOutput) ElementType() reflect.Type
func (VpcEndpointConnectionNotificationArrayOutput) ToVpcEndpointConnectionNotificationArrayOutput ¶
func (o VpcEndpointConnectionNotificationArrayOutput) ToVpcEndpointConnectionNotificationArrayOutput() VpcEndpointConnectionNotificationArrayOutput
func (VpcEndpointConnectionNotificationArrayOutput) ToVpcEndpointConnectionNotificationArrayOutputWithContext ¶
func (o VpcEndpointConnectionNotificationArrayOutput) ToVpcEndpointConnectionNotificationArrayOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationArrayOutput
type VpcEndpointConnectionNotificationInput ¶
type VpcEndpointConnectionNotificationInput interface {
pulumi.Input
ToVpcEndpointConnectionNotificationOutput() VpcEndpointConnectionNotificationOutput
ToVpcEndpointConnectionNotificationOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationOutput
}
type VpcEndpointConnectionNotificationMap ¶
type VpcEndpointConnectionNotificationMap map[string]VpcEndpointConnectionNotificationInput
func (VpcEndpointConnectionNotificationMap) ElementType ¶
func (VpcEndpointConnectionNotificationMap) ElementType() reflect.Type
func (VpcEndpointConnectionNotificationMap) ToVpcEndpointConnectionNotificationMapOutput ¶
func (i VpcEndpointConnectionNotificationMap) ToVpcEndpointConnectionNotificationMapOutput() VpcEndpointConnectionNotificationMapOutput
func (VpcEndpointConnectionNotificationMap) ToVpcEndpointConnectionNotificationMapOutputWithContext ¶
func (i VpcEndpointConnectionNotificationMap) ToVpcEndpointConnectionNotificationMapOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationMapOutput
type VpcEndpointConnectionNotificationMapInput ¶
type VpcEndpointConnectionNotificationMapInput interface {
pulumi.Input
ToVpcEndpointConnectionNotificationMapOutput() VpcEndpointConnectionNotificationMapOutput
ToVpcEndpointConnectionNotificationMapOutputWithContext(context.Context) VpcEndpointConnectionNotificationMapOutput
}
VpcEndpointConnectionNotificationMapInput is an input type that accepts VpcEndpointConnectionNotificationMap and VpcEndpointConnectionNotificationMapOutput values. You can construct a concrete instance of `VpcEndpointConnectionNotificationMapInput` via:
VpcEndpointConnectionNotificationMap{ "key": VpcEndpointConnectionNotificationArgs{...} }
type VpcEndpointConnectionNotificationMapOutput ¶
type VpcEndpointConnectionNotificationMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointConnectionNotificationMapOutput) ElementType ¶
func (VpcEndpointConnectionNotificationMapOutput) ElementType() reflect.Type
func (VpcEndpointConnectionNotificationMapOutput) ToVpcEndpointConnectionNotificationMapOutput ¶
func (o VpcEndpointConnectionNotificationMapOutput) ToVpcEndpointConnectionNotificationMapOutput() VpcEndpointConnectionNotificationMapOutput
func (VpcEndpointConnectionNotificationMapOutput) ToVpcEndpointConnectionNotificationMapOutputWithContext ¶
func (o VpcEndpointConnectionNotificationMapOutput) ToVpcEndpointConnectionNotificationMapOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationMapOutput
type VpcEndpointConnectionNotificationOutput ¶
type VpcEndpointConnectionNotificationOutput struct{ *pulumi.OutputState }
func (VpcEndpointConnectionNotificationOutput) ElementType ¶
func (VpcEndpointConnectionNotificationOutput) ElementType() reflect.Type
func (VpcEndpointConnectionNotificationOutput) ToVpcEndpointConnectionNotificationOutput ¶
func (o VpcEndpointConnectionNotificationOutput) ToVpcEndpointConnectionNotificationOutput() VpcEndpointConnectionNotificationOutput
func (VpcEndpointConnectionNotificationOutput) ToVpcEndpointConnectionNotificationOutputWithContext ¶
func (o VpcEndpointConnectionNotificationOutput) ToVpcEndpointConnectionNotificationOutputWithContext(ctx context.Context) VpcEndpointConnectionNotificationOutput
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 ¶
func (VpcEndpointConnectionNotificationState) ElementType() reflect.Type
type VpcEndpointDnsEntry ¶
type VpcEndpointDnsEntryArgs ¶
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 ¶
func (VpcEndpointDnsEntryArgs) ElementType() reflect.Type
func (VpcEndpointDnsEntryArgs) ToVpcEndpointDnsEntryOutput ¶
func (i VpcEndpointDnsEntryArgs) ToVpcEndpointDnsEntryOutput() VpcEndpointDnsEntryOutput
func (VpcEndpointDnsEntryArgs) ToVpcEndpointDnsEntryOutputWithContext ¶
func (i VpcEndpointDnsEntryArgs) ToVpcEndpointDnsEntryOutputWithContext(ctx context.Context) VpcEndpointDnsEntryOutput
type VpcEndpointDnsEntryArray ¶
type VpcEndpointDnsEntryArray []VpcEndpointDnsEntryInput
func (VpcEndpointDnsEntryArray) ElementType ¶
func (VpcEndpointDnsEntryArray) ElementType() reflect.Type
func (VpcEndpointDnsEntryArray) ToVpcEndpointDnsEntryArrayOutput ¶
func (i VpcEndpointDnsEntryArray) ToVpcEndpointDnsEntryArrayOutput() VpcEndpointDnsEntryArrayOutput
func (VpcEndpointDnsEntryArray) ToVpcEndpointDnsEntryArrayOutputWithContext ¶
func (i VpcEndpointDnsEntryArray) ToVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) VpcEndpointDnsEntryArrayOutput
type VpcEndpointDnsEntryArrayInput ¶
type VpcEndpointDnsEntryArrayInput interface {
pulumi.Input
ToVpcEndpointDnsEntryArrayOutput() VpcEndpointDnsEntryArrayOutput
ToVpcEndpointDnsEntryArrayOutputWithContext(context.Context) VpcEndpointDnsEntryArrayOutput
}
VpcEndpointDnsEntryArrayInput is an input type that accepts VpcEndpointDnsEntryArray and VpcEndpointDnsEntryArrayOutput values. You can construct a concrete instance of `VpcEndpointDnsEntryArrayInput` via:
VpcEndpointDnsEntryArray{ VpcEndpointDnsEntryArgs{...} }
type VpcEndpointDnsEntryArrayOutput ¶
type VpcEndpointDnsEntryArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointDnsEntryArrayOutput) ElementType ¶
func (VpcEndpointDnsEntryArrayOutput) ElementType() reflect.Type
func (VpcEndpointDnsEntryArrayOutput) Index ¶
func (o VpcEndpointDnsEntryArrayOutput) Index(i pulumi.IntInput) VpcEndpointDnsEntryOutput
func (VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutput ¶
func (o VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutput() VpcEndpointDnsEntryArrayOutput
func (VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutputWithContext ¶
func (o VpcEndpointDnsEntryArrayOutput) ToVpcEndpointDnsEntryArrayOutputWithContext(ctx context.Context) VpcEndpointDnsEntryArrayOutput
type VpcEndpointDnsEntryInput ¶
type VpcEndpointDnsEntryInput interface {
pulumi.Input
ToVpcEndpointDnsEntryOutput() VpcEndpointDnsEntryOutput
ToVpcEndpointDnsEntryOutputWithContext(context.Context) VpcEndpointDnsEntryOutput
}
VpcEndpointDnsEntryInput is an input type that accepts VpcEndpointDnsEntryArgs and VpcEndpointDnsEntryOutput values. You can construct a concrete instance of `VpcEndpointDnsEntryInput` via:
VpcEndpointDnsEntryArgs{...}
type VpcEndpointDnsEntryOutput ¶
type VpcEndpointDnsEntryOutput struct{ *pulumi.OutputState }
func (VpcEndpointDnsEntryOutput) DnsName ¶
func (o VpcEndpointDnsEntryOutput) DnsName() pulumi.StringPtrOutput
The DNS name.
func (VpcEndpointDnsEntryOutput) ElementType ¶
func (VpcEndpointDnsEntryOutput) ElementType() reflect.Type
func (VpcEndpointDnsEntryOutput) HostedZoneId ¶
func (o VpcEndpointDnsEntryOutput) HostedZoneId() pulumi.StringPtrOutput
The ID of the private hosted zone.
func (VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutput ¶
func (o VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutput() VpcEndpointDnsEntryOutput
func (VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutputWithContext ¶
func (o VpcEndpointDnsEntryOutput) ToVpcEndpointDnsEntryOutputWithContext(ctx context.Context) VpcEndpointDnsEntryOutput
type VpcEndpointInput ¶
type VpcEndpointInput interface {
pulumi.Input
ToVpcEndpointOutput() VpcEndpointOutput
ToVpcEndpointOutputWithContext(ctx context.Context) VpcEndpointOutput
}
type VpcEndpointMap ¶
type VpcEndpointMap map[string]VpcEndpointInput
func (VpcEndpointMap) ElementType ¶
func (VpcEndpointMap) ElementType() reflect.Type
func (VpcEndpointMap) ToVpcEndpointMapOutput ¶
func (i VpcEndpointMap) ToVpcEndpointMapOutput() VpcEndpointMapOutput
func (VpcEndpointMap) ToVpcEndpointMapOutputWithContext ¶
func (i VpcEndpointMap) ToVpcEndpointMapOutputWithContext(ctx context.Context) VpcEndpointMapOutput
type VpcEndpointMapInput ¶
type VpcEndpointMapInput interface {
pulumi.Input
ToVpcEndpointMapOutput() VpcEndpointMapOutput
ToVpcEndpointMapOutputWithContext(context.Context) VpcEndpointMapOutput
}
VpcEndpointMapInput is an input type that accepts VpcEndpointMap and VpcEndpointMapOutput values. You can construct a concrete instance of `VpcEndpointMapInput` via:
VpcEndpointMap{ "key": VpcEndpointArgs{...} }
type VpcEndpointMapOutput ¶
type VpcEndpointMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointMapOutput) ElementType ¶
func (VpcEndpointMapOutput) ElementType() reflect.Type
func (VpcEndpointMapOutput) MapIndex ¶
func (o VpcEndpointMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointOutput
func (VpcEndpointMapOutput) ToVpcEndpointMapOutput ¶
func (o VpcEndpointMapOutput) ToVpcEndpointMapOutput() VpcEndpointMapOutput
func (VpcEndpointMapOutput) ToVpcEndpointMapOutputWithContext ¶
func (o VpcEndpointMapOutput) ToVpcEndpointMapOutputWithContext(ctx context.Context) VpcEndpointMapOutput
type VpcEndpointOutput ¶
type VpcEndpointOutput struct{ *pulumi.OutputState }
func (VpcEndpointOutput) ElementType ¶
func (VpcEndpointOutput) ElementType() reflect.Type
func (VpcEndpointOutput) ToVpcEndpointOutput ¶
func (o VpcEndpointOutput) ToVpcEndpointOutput() VpcEndpointOutput
func (VpcEndpointOutput) ToVpcEndpointOutputWithContext ¶
func (o VpcEndpointOutput) ToVpcEndpointOutputWithContext(ctx context.Context) VpcEndpointOutput
type VpcEndpointPolicy ¶ added in v5.1.0
type VpcEndpointPolicy struct {
pulumi.CustomResourceState
Policy pulumi.StringOutput `pulumi:"policy"`
// The VPC Endpoint ID.
VpcEndpointId pulumi.StringOutput `pulumi:"vpcEndpointId"`
}
Provides a VPC Endpoint Policy resource.
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleVpcEndpointService, err := ec2.LookupVpcEndpointService(ctx, &ec2.LookupVpcEndpointServiceArgs{
Service: pulumi.StringRef("dynamodb"),
}, nil)
if err != nil {
return err
}
exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
exampleVpcEndpoint, err := ec2.NewVpcEndpoint(ctx, "exampleVpcEndpoint", &ec2.VpcEndpointArgs{
ServiceName: pulumi.String(exampleVpcEndpointService.ServiceName),
VpcId: exampleVpc.ID(),
})
if err != nil {
return err
}
tmpJSON0, err := json.Marshal(map[string]interface{}{
"Version": "2012-10-17",
"Statement": []map[string]interface{}{
map[string]interface{}{
"Sid": "AllowAll",
"Effect": "Allow",
"Principal": map[string]interface{}{
"AWS": "*",
},
"Action": []string{
"dynamodb:*",
},
"Resource": "*",
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = ec2.NewVpcEndpointPolicy(ctx, "exampleVpcEndpointPolicy", &ec2.VpcEndpointPolicyArgs{
VpcEndpointId: exampleVpcEndpoint.ID(),
Policy: pulumi.String(json0),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Endpoint Policies can be imported using the `id`, e.g.
```sh
$ pulumi import aws:ec2/vpcEndpointPolicy:VpcEndpointPolicy example vpce-3ecf2a57
```
func GetVpcEndpointPolicy ¶ added in v5.1.0
func GetVpcEndpointPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcEndpointPolicyState, opts ...pulumi.ResourceOption) (*VpcEndpointPolicy, error)
GetVpcEndpointPolicy gets an existing VpcEndpointPolicy 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 NewVpcEndpointPolicy ¶ added in v5.1.0
func NewVpcEndpointPolicy(ctx *pulumi.Context, name string, args *VpcEndpointPolicyArgs, opts ...pulumi.ResourceOption) (*VpcEndpointPolicy, error)
NewVpcEndpointPolicy registers a new resource with the given unique name, arguments, and options.
func (*VpcEndpointPolicy) ElementType ¶ added in v5.1.0
func (*VpcEndpointPolicy) ElementType() reflect.Type
func (*VpcEndpointPolicy) ToVpcEndpointPolicyOutput ¶ added in v5.1.0
func (i *VpcEndpointPolicy) ToVpcEndpointPolicyOutput() VpcEndpointPolicyOutput
func (*VpcEndpointPolicy) ToVpcEndpointPolicyOutputWithContext ¶ added in v5.1.0
func (i *VpcEndpointPolicy) ToVpcEndpointPolicyOutputWithContext(ctx context.Context) VpcEndpointPolicyOutput
type VpcEndpointPolicyArgs ¶ added in v5.1.0
type VpcEndpointPolicyArgs struct {
Policy pulumi.StringPtrInput
// The VPC Endpoint ID.
VpcEndpointId pulumi.StringInput
}
The set of arguments for constructing a VpcEndpointPolicy resource.
func (VpcEndpointPolicyArgs) ElementType ¶ added in v5.1.0
func (VpcEndpointPolicyArgs) ElementType() reflect.Type
type VpcEndpointPolicyArray ¶ added in v5.1.0
type VpcEndpointPolicyArray []VpcEndpointPolicyInput
func (VpcEndpointPolicyArray) ElementType ¶ added in v5.1.0
func (VpcEndpointPolicyArray) ElementType() reflect.Type
func (VpcEndpointPolicyArray) ToVpcEndpointPolicyArrayOutput ¶ added in v5.1.0
func (i VpcEndpointPolicyArray) ToVpcEndpointPolicyArrayOutput() VpcEndpointPolicyArrayOutput
func (VpcEndpointPolicyArray) ToVpcEndpointPolicyArrayOutputWithContext ¶ added in v5.1.0
func (i VpcEndpointPolicyArray) ToVpcEndpointPolicyArrayOutputWithContext(ctx context.Context) VpcEndpointPolicyArrayOutput
type VpcEndpointPolicyArrayInput ¶ added in v5.1.0
type VpcEndpointPolicyArrayInput interface {
pulumi.Input
ToVpcEndpointPolicyArrayOutput() VpcEndpointPolicyArrayOutput
ToVpcEndpointPolicyArrayOutputWithContext(context.Context) VpcEndpointPolicyArrayOutput
}
VpcEndpointPolicyArrayInput is an input type that accepts VpcEndpointPolicyArray and VpcEndpointPolicyArrayOutput values. You can construct a concrete instance of `VpcEndpointPolicyArrayInput` via:
VpcEndpointPolicyArray{ VpcEndpointPolicyArgs{...} }
type VpcEndpointPolicyArrayOutput ¶ added in v5.1.0
type VpcEndpointPolicyArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointPolicyArrayOutput) ElementType ¶ added in v5.1.0
func (VpcEndpointPolicyArrayOutput) ElementType() reflect.Type
func (VpcEndpointPolicyArrayOutput) Index ¶ added in v5.1.0
func (o VpcEndpointPolicyArrayOutput) Index(i pulumi.IntInput) VpcEndpointPolicyOutput
func (VpcEndpointPolicyArrayOutput) ToVpcEndpointPolicyArrayOutput ¶ added in v5.1.0
func (o VpcEndpointPolicyArrayOutput) ToVpcEndpointPolicyArrayOutput() VpcEndpointPolicyArrayOutput
func (VpcEndpointPolicyArrayOutput) ToVpcEndpointPolicyArrayOutputWithContext ¶ added in v5.1.0
func (o VpcEndpointPolicyArrayOutput) ToVpcEndpointPolicyArrayOutputWithContext(ctx context.Context) VpcEndpointPolicyArrayOutput
type VpcEndpointPolicyInput ¶ added in v5.1.0
type VpcEndpointPolicyInput interface {
pulumi.Input
ToVpcEndpointPolicyOutput() VpcEndpointPolicyOutput
ToVpcEndpointPolicyOutputWithContext(ctx context.Context) VpcEndpointPolicyOutput
}
type VpcEndpointPolicyMap ¶ added in v5.1.0
type VpcEndpointPolicyMap map[string]VpcEndpointPolicyInput
func (VpcEndpointPolicyMap) ElementType ¶ added in v5.1.0
func (VpcEndpointPolicyMap) ElementType() reflect.Type
func (VpcEndpointPolicyMap) ToVpcEndpointPolicyMapOutput ¶ added in v5.1.0
func (i VpcEndpointPolicyMap) ToVpcEndpointPolicyMapOutput() VpcEndpointPolicyMapOutput
func (VpcEndpointPolicyMap) ToVpcEndpointPolicyMapOutputWithContext ¶ added in v5.1.0
func (i VpcEndpointPolicyMap) ToVpcEndpointPolicyMapOutputWithContext(ctx context.Context) VpcEndpointPolicyMapOutput
type VpcEndpointPolicyMapInput ¶ added in v5.1.0
type VpcEndpointPolicyMapInput interface {
pulumi.Input
ToVpcEndpointPolicyMapOutput() VpcEndpointPolicyMapOutput
ToVpcEndpointPolicyMapOutputWithContext(context.Context) VpcEndpointPolicyMapOutput
}
VpcEndpointPolicyMapInput is an input type that accepts VpcEndpointPolicyMap and VpcEndpointPolicyMapOutput values. You can construct a concrete instance of `VpcEndpointPolicyMapInput` via:
VpcEndpointPolicyMap{ "key": VpcEndpointPolicyArgs{...} }
type VpcEndpointPolicyMapOutput ¶ added in v5.1.0
type VpcEndpointPolicyMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointPolicyMapOutput) ElementType ¶ added in v5.1.0
func (VpcEndpointPolicyMapOutput) ElementType() reflect.Type
func (VpcEndpointPolicyMapOutput) MapIndex ¶ added in v5.1.0
func (o VpcEndpointPolicyMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointPolicyOutput
func (VpcEndpointPolicyMapOutput) ToVpcEndpointPolicyMapOutput ¶ added in v5.1.0
func (o VpcEndpointPolicyMapOutput) ToVpcEndpointPolicyMapOutput() VpcEndpointPolicyMapOutput
func (VpcEndpointPolicyMapOutput) ToVpcEndpointPolicyMapOutputWithContext ¶ added in v5.1.0
func (o VpcEndpointPolicyMapOutput) ToVpcEndpointPolicyMapOutputWithContext(ctx context.Context) VpcEndpointPolicyMapOutput
type VpcEndpointPolicyOutput ¶ added in v5.1.0
type VpcEndpointPolicyOutput struct{ *pulumi.OutputState }
func (VpcEndpointPolicyOutput) ElementType ¶ added in v5.1.0
func (VpcEndpointPolicyOutput) ElementType() reflect.Type
func (VpcEndpointPolicyOutput) ToVpcEndpointPolicyOutput ¶ added in v5.1.0
func (o VpcEndpointPolicyOutput) ToVpcEndpointPolicyOutput() VpcEndpointPolicyOutput
func (VpcEndpointPolicyOutput) ToVpcEndpointPolicyOutputWithContext ¶ added in v5.1.0
func (o VpcEndpointPolicyOutput) ToVpcEndpointPolicyOutputWithContext(ctx context.Context) VpcEndpointPolicyOutput
type VpcEndpointPolicyState ¶ added in v5.1.0
type VpcEndpointPolicyState struct {
Policy pulumi.StringPtrInput
// The VPC Endpoint ID.
VpcEndpointId pulumi.StringPtrInput
}
func (VpcEndpointPolicyState) ElementType ¶ added in v5.1.0
func (VpcEndpointPolicyState) ElementType() reflect.Type
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
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcEndpointRouteTableAssociation(ctx, "example", &ec2.VpcEndpointRouteTableAssociationArgs{
RouteTableId: pulumi.Any(aws_route_table.Example.Id),
VpcEndpointId: pulumi.Any(aws_vpc_endpoint.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Endpoint Route Table Associations can be imported using `vpc_endpoint_id` together with `route_table_id`, e.g.,
```sh
$ pulumi import aws:ec2/vpcEndpointRouteTableAssociation:VpcEndpointRouteTableAssociation example vpce-aaaaaaaa/rtb-bbbbbbbb
```
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.
func (*VpcEndpointRouteTableAssociation) ElementType ¶
func (*VpcEndpointRouteTableAssociation) ElementType() reflect.Type
func (*VpcEndpointRouteTableAssociation) ToVpcEndpointRouteTableAssociationOutput ¶
func (i *VpcEndpointRouteTableAssociation) ToVpcEndpointRouteTableAssociationOutput() VpcEndpointRouteTableAssociationOutput
func (*VpcEndpointRouteTableAssociation) ToVpcEndpointRouteTableAssociationOutputWithContext ¶
func (i *VpcEndpointRouteTableAssociation) ToVpcEndpointRouteTableAssociationOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationOutput
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 ¶
func (VpcEndpointRouteTableAssociationArgs) ElementType() reflect.Type
type VpcEndpointRouteTableAssociationArray ¶
type VpcEndpointRouteTableAssociationArray []VpcEndpointRouteTableAssociationInput
func (VpcEndpointRouteTableAssociationArray) ElementType ¶
func (VpcEndpointRouteTableAssociationArray) ElementType() reflect.Type
func (VpcEndpointRouteTableAssociationArray) ToVpcEndpointRouteTableAssociationArrayOutput ¶
func (i VpcEndpointRouteTableAssociationArray) ToVpcEndpointRouteTableAssociationArrayOutput() VpcEndpointRouteTableAssociationArrayOutput
func (VpcEndpointRouteTableAssociationArray) ToVpcEndpointRouteTableAssociationArrayOutputWithContext ¶
func (i VpcEndpointRouteTableAssociationArray) ToVpcEndpointRouteTableAssociationArrayOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationArrayOutput
type VpcEndpointRouteTableAssociationArrayInput ¶
type VpcEndpointRouteTableAssociationArrayInput interface {
pulumi.Input
ToVpcEndpointRouteTableAssociationArrayOutput() VpcEndpointRouteTableAssociationArrayOutput
ToVpcEndpointRouteTableAssociationArrayOutputWithContext(context.Context) VpcEndpointRouteTableAssociationArrayOutput
}
VpcEndpointRouteTableAssociationArrayInput is an input type that accepts VpcEndpointRouteTableAssociationArray and VpcEndpointRouteTableAssociationArrayOutput values. You can construct a concrete instance of `VpcEndpointRouteTableAssociationArrayInput` via:
VpcEndpointRouteTableAssociationArray{ VpcEndpointRouteTableAssociationArgs{...} }
type VpcEndpointRouteTableAssociationArrayOutput ¶
type VpcEndpointRouteTableAssociationArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointRouteTableAssociationArrayOutput) ElementType ¶
func (VpcEndpointRouteTableAssociationArrayOutput) ElementType() reflect.Type
func (VpcEndpointRouteTableAssociationArrayOutput) ToVpcEndpointRouteTableAssociationArrayOutput ¶
func (o VpcEndpointRouteTableAssociationArrayOutput) ToVpcEndpointRouteTableAssociationArrayOutput() VpcEndpointRouteTableAssociationArrayOutput
func (VpcEndpointRouteTableAssociationArrayOutput) ToVpcEndpointRouteTableAssociationArrayOutputWithContext ¶
func (o VpcEndpointRouteTableAssociationArrayOutput) ToVpcEndpointRouteTableAssociationArrayOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationArrayOutput
type VpcEndpointRouteTableAssociationInput ¶
type VpcEndpointRouteTableAssociationInput interface {
pulumi.Input
ToVpcEndpointRouteTableAssociationOutput() VpcEndpointRouteTableAssociationOutput
ToVpcEndpointRouteTableAssociationOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationOutput
}
type VpcEndpointRouteTableAssociationMap ¶
type VpcEndpointRouteTableAssociationMap map[string]VpcEndpointRouteTableAssociationInput
func (VpcEndpointRouteTableAssociationMap) ElementType ¶
func (VpcEndpointRouteTableAssociationMap) ElementType() reflect.Type
func (VpcEndpointRouteTableAssociationMap) ToVpcEndpointRouteTableAssociationMapOutput ¶
func (i VpcEndpointRouteTableAssociationMap) ToVpcEndpointRouteTableAssociationMapOutput() VpcEndpointRouteTableAssociationMapOutput
func (VpcEndpointRouteTableAssociationMap) ToVpcEndpointRouteTableAssociationMapOutputWithContext ¶
func (i VpcEndpointRouteTableAssociationMap) ToVpcEndpointRouteTableAssociationMapOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationMapOutput
type VpcEndpointRouteTableAssociationMapInput ¶
type VpcEndpointRouteTableAssociationMapInput interface {
pulumi.Input
ToVpcEndpointRouteTableAssociationMapOutput() VpcEndpointRouteTableAssociationMapOutput
ToVpcEndpointRouteTableAssociationMapOutputWithContext(context.Context) VpcEndpointRouteTableAssociationMapOutput
}
VpcEndpointRouteTableAssociationMapInput is an input type that accepts VpcEndpointRouteTableAssociationMap and VpcEndpointRouteTableAssociationMapOutput values. You can construct a concrete instance of `VpcEndpointRouteTableAssociationMapInput` via:
VpcEndpointRouteTableAssociationMap{ "key": VpcEndpointRouteTableAssociationArgs{...} }
type VpcEndpointRouteTableAssociationMapOutput ¶
type VpcEndpointRouteTableAssociationMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointRouteTableAssociationMapOutput) ElementType ¶
func (VpcEndpointRouteTableAssociationMapOutput) ElementType() reflect.Type
func (VpcEndpointRouteTableAssociationMapOutput) MapIndex ¶
func (o VpcEndpointRouteTableAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointRouteTableAssociationOutput
func (VpcEndpointRouteTableAssociationMapOutput) ToVpcEndpointRouteTableAssociationMapOutput ¶
func (o VpcEndpointRouteTableAssociationMapOutput) ToVpcEndpointRouteTableAssociationMapOutput() VpcEndpointRouteTableAssociationMapOutput
func (VpcEndpointRouteTableAssociationMapOutput) ToVpcEndpointRouteTableAssociationMapOutputWithContext ¶
func (o VpcEndpointRouteTableAssociationMapOutput) ToVpcEndpointRouteTableAssociationMapOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationMapOutput
type VpcEndpointRouteTableAssociationOutput ¶
type VpcEndpointRouteTableAssociationOutput struct{ *pulumi.OutputState }
func (VpcEndpointRouteTableAssociationOutput) ElementType ¶
func (VpcEndpointRouteTableAssociationOutput) ElementType() reflect.Type
func (VpcEndpointRouteTableAssociationOutput) ToVpcEndpointRouteTableAssociationOutput ¶
func (o VpcEndpointRouteTableAssociationOutput) ToVpcEndpointRouteTableAssociationOutput() VpcEndpointRouteTableAssociationOutput
func (VpcEndpointRouteTableAssociationOutput) ToVpcEndpointRouteTableAssociationOutputWithContext ¶
func (o VpcEndpointRouteTableAssociationOutput) ToVpcEndpointRouteTableAssociationOutputWithContext(ctx context.Context) VpcEndpointRouteTableAssociationOutput
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 ¶
func (VpcEndpointRouteTableAssociationState) ElementType() reflect.Type
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 Amazon Resource Name (ARN) of the VPC endpoint service.
Arn pulumi.StringOutput `pulumi:"arn"`
// 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"`
// Amazon Resource Names (ARNs) of one or more Gateway Load Balancers for the endpoint service.
GatewayLoadBalancerArns pulumi.StringArrayOutput `pulumi:"gatewayLoadBalancerArns"`
// Whether or not the service manages its VPC endpoints - `true` or `false`.
ManagesVpcEndpoints pulumi.BoolOutput `pulumi:"managesVpcEndpoints"`
// Amazon Resource Names (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"`
// List of objects containing information about the endpoint service private DNS name configuration.
PrivateDnsNameConfigurations VpcEndpointServicePrivateDnsNameConfigurationArrayOutput `pulumi:"privateDnsNameConfigurations"`
// The service name.
ServiceName pulumi.StringOutput `pulumi:"serviceName"`
// The service type, `Gateway` or `Interface`.
ServiceType pulumi.StringOutput `pulumi:"serviceType"`
// Verification state of the VPC endpoint service. Consumers of the endpoint service can use the private name only when the state is `verified`.
State pulumi.StringOutput `pulumi:"state"`
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
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.
## Example Usage ### Network Load Balancers
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcEndpointService(ctx, "example", &ec2.VpcEndpointServiceArgs{
AcceptanceRequired: pulumi.Bool(false),
NetworkLoadBalancerArns: pulumi.StringArray{
pulumi.Any(aws_lb.Example.Arn),
},
})
if err != nil {
return err
}
return nil
})
}
``` ### Gateway Load Balancers
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcEndpointService(ctx, "example", &ec2.VpcEndpointServiceArgs{
AcceptanceRequired: pulumi.Bool(false),
GatewayLoadBalancerArns: pulumi.StringArray{
pulumi.Any(aws_lb.Example.Arn),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Endpoint Services can be imported using the `VPC endpoint service id`, e.g.,
```sh
$ pulumi import aws:ec2/vpcEndpointService:VpcEndpointService foo vpce-svc-0f97a19d3fa8220bc
```
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.
func (*VpcEndpointService) ElementType ¶
func (*VpcEndpointService) ElementType() reflect.Type
func (*VpcEndpointService) ToVpcEndpointServiceOutput ¶
func (i *VpcEndpointService) ToVpcEndpointServiceOutput() VpcEndpointServiceOutput
func (*VpcEndpointService) ToVpcEndpointServiceOutputWithContext ¶
func (i *VpcEndpointService) ToVpcEndpointServiceOutputWithContext(ctx context.Context) VpcEndpointServiceOutput
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.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetCallerIdentity(ctx, nil, nil)
if err != nil {
return err
}
_, err = ec2.NewVpcEndpointServiceAllowedPrinciple(ctx, "allowMeToFoo", &ec2.VpcEndpointServiceAllowedPrincipleArgs{
VpcEndpointServiceId: pulumi.Any(aws_vpc_endpoint_service.Foo.Id),
PrincipalArn: pulumi.String(current.Arn),
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*VpcEndpointServiceAllowedPrinciple) ElementType ¶
func (*VpcEndpointServiceAllowedPrinciple) ElementType() reflect.Type
func (*VpcEndpointServiceAllowedPrinciple) ToVpcEndpointServiceAllowedPrincipleOutput ¶
func (i *VpcEndpointServiceAllowedPrinciple) ToVpcEndpointServiceAllowedPrincipleOutput() VpcEndpointServiceAllowedPrincipleOutput
func (*VpcEndpointServiceAllowedPrinciple) ToVpcEndpointServiceAllowedPrincipleOutputWithContext ¶
func (i *VpcEndpointServiceAllowedPrinciple) ToVpcEndpointServiceAllowedPrincipleOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleOutput
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 ¶
func (VpcEndpointServiceAllowedPrincipleArgs) ElementType() reflect.Type
type VpcEndpointServiceAllowedPrincipleArray ¶
type VpcEndpointServiceAllowedPrincipleArray []VpcEndpointServiceAllowedPrincipleInput
func (VpcEndpointServiceAllowedPrincipleArray) ElementType ¶
func (VpcEndpointServiceAllowedPrincipleArray) ElementType() reflect.Type
func (VpcEndpointServiceAllowedPrincipleArray) ToVpcEndpointServiceAllowedPrincipleArrayOutput ¶
func (i VpcEndpointServiceAllowedPrincipleArray) ToVpcEndpointServiceAllowedPrincipleArrayOutput() VpcEndpointServiceAllowedPrincipleArrayOutput
func (VpcEndpointServiceAllowedPrincipleArray) ToVpcEndpointServiceAllowedPrincipleArrayOutputWithContext ¶
func (i VpcEndpointServiceAllowedPrincipleArray) ToVpcEndpointServiceAllowedPrincipleArrayOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleArrayOutput
type VpcEndpointServiceAllowedPrincipleArrayInput ¶
type VpcEndpointServiceAllowedPrincipleArrayInput interface {
pulumi.Input
ToVpcEndpointServiceAllowedPrincipleArrayOutput() VpcEndpointServiceAllowedPrincipleArrayOutput
ToVpcEndpointServiceAllowedPrincipleArrayOutputWithContext(context.Context) VpcEndpointServiceAllowedPrincipleArrayOutput
}
VpcEndpointServiceAllowedPrincipleArrayInput is an input type that accepts VpcEndpointServiceAllowedPrincipleArray and VpcEndpointServiceAllowedPrincipleArrayOutput values. You can construct a concrete instance of `VpcEndpointServiceAllowedPrincipleArrayInput` via:
VpcEndpointServiceAllowedPrincipleArray{ VpcEndpointServiceAllowedPrincipleArgs{...} }
type VpcEndpointServiceAllowedPrincipleArrayOutput ¶
type VpcEndpointServiceAllowedPrincipleArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceAllowedPrincipleArrayOutput) ElementType ¶
func (VpcEndpointServiceAllowedPrincipleArrayOutput) ElementType() reflect.Type
func (VpcEndpointServiceAllowedPrincipleArrayOutput) ToVpcEndpointServiceAllowedPrincipleArrayOutput ¶
func (o VpcEndpointServiceAllowedPrincipleArrayOutput) ToVpcEndpointServiceAllowedPrincipleArrayOutput() VpcEndpointServiceAllowedPrincipleArrayOutput
func (VpcEndpointServiceAllowedPrincipleArrayOutput) ToVpcEndpointServiceAllowedPrincipleArrayOutputWithContext ¶
func (o VpcEndpointServiceAllowedPrincipleArrayOutput) ToVpcEndpointServiceAllowedPrincipleArrayOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleArrayOutput
type VpcEndpointServiceAllowedPrincipleInput ¶
type VpcEndpointServiceAllowedPrincipleInput interface {
pulumi.Input
ToVpcEndpointServiceAllowedPrincipleOutput() VpcEndpointServiceAllowedPrincipleOutput
ToVpcEndpointServiceAllowedPrincipleOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleOutput
}
type VpcEndpointServiceAllowedPrincipleMap ¶
type VpcEndpointServiceAllowedPrincipleMap map[string]VpcEndpointServiceAllowedPrincipleInput
func (VpcEndpointServiceAllowedPrincipleMap) ElementType ¶
func (VpcEndpointServiceAllowedPrincipleMap) ElementType() reflect.Type
func (VpcEndpointServiceAllowedPrincipleMap) ToVpcEndpointServiceAllowedPrincipleMapOutput ¶
func (i VpcEndpointServiceAllowedPrincipleMap) ToVpcEndpointServiceAllowedPrincipleMapOutput() VpcEndpointServiceAllowedPrincipleMapOutput
func (VpcEndpointServiceAllowedPrincipleMap) ToVpcEndpointServiceAllowedPrincipleMapOutputWithContext ¶
func (i VpcEndpointServiceAllowedPrincipleMap) ToVpcEndpointServiceAllowedPrincipleMapOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleMapOutput
type VpcEndpointServiceAllowedPrincipleMapInput ¶
type VpcEndpointServiceAllowedPrincipleMapInput interface {
pulumi.Input
ToVpcEndpointServiceAllowedPrincipleMapOutput() VpcEndpointServiceAllowedPrincipleMapOutput
ToVpcEndpointServiceAllowedPrincipleMapOutputWithContext(context.Context) VpcEndpointServiceAllowedPrincipleMapOutput
}
VpcEndpointServiceAllowedPrincipleMapInput is an input type that accepts VpcEndpointServiceAllowedPrincipleMap and VpcEndpointServiceAllowedPrincipleMapOutput values. You can construct a concrete instance of `VpcEndpointServiceAllowedPrincipleMapInput` via:
VpcEndpointServiceAllowedPrincipleMap{ "key": VpcEndpointServiceAllowedPrincipleArgs{...} }
type VpcEndpointServiceAllowedPrincipleMapOutput ¶
type VpcEndpointServiceAllowedPrincipleMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceAllowedPrincipleMapOutput) ElementType ¶
func (VpcEndpointServiceAllowedPrincipleMapOutput) ElementType() reflect.Type
func (VpcEndpointServiceAllowedPrincipleMapOutput) ToVpcEndpointServiceAllowedPrincipleMapOutput ¶
func (o VpcEndpointServiceAllowedPrincipleMapOutput) ToVpcEndpointServiceAllowedPrincipleMapOutput() VpcEndpointServiceAllowedPrincipleMapOutput
func (VpcEndpointServiceAllowedPrincipleMapOutput) ToVpcEndpointServiceAllowedPrincipleMapOutputWithContext ¶
func (o VpcEndpointServiceAllowedPrincipleMapOutput) ToVpcEndpointServiceAllowedPrincipleMapOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleMapOutput
type VpcEndpointServiceAllowedPrincipleOutput ¶
type VpcEndpointServiceAllowedPrincipleOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceAllowedPrincipleOutput) ElementType ¶
func (VpcEndpointServiceAllowedPrincipleOutput) ElementType() reflect.Type
func (VpcEndpointServiceAllowedPrincipleOutput) ToVpcEndpointServiceAllowedPrincipleOutput ¶
func (o VpcEndpointServiceAllowedPrincipleOutput) ToVpcEndpointServiceAllowedPrincipleOutput() VpcEndpointServiceAllowedPrincipleOutput
func (VpcEndpointServiceAllowedPrincipleOutput) ToVpcEndpointServiceAllowedPrincipleOutputWithContext ¶
func (o VpcEndpointServiceAllowedPrincipleOutput) ToVpcEndpointServiceAllowedPrincipleOutputWithContext(ctx context.Context) VpcEndpointServiceAllowedPrincipleOutput
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 ¶
func (VpcEndpointServiceAllowedPrincipleState) ElementType() reflect.Type
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
// Amazon Resource Names (ARNs) of one or more Gateway Load Balancers for the endpoint service.
GatewayLoadBalancerArns pulumi.StringArrayInput
// Amazon Resource Names (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
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a VpcEndpointService resource.
func (VpcEndpointServiceArgs) ElementType ¶
func (VpcEndpointServiceArgs) ElementType() reflect.Type
type VpcEndpointServiceArray ¶
type VpcEndpointServiceArray []VpcEndpointServiceInput
func (VpcEndpointServiceArray) ElementType ¶
func (VpcEndpointServiceArray) ElementType() reflect.Type
func (VpcEndpointServiceArray) ToVpcEndpointServiceArrayOutput ¶
func (i VpcEndpointServiceArray) ToVpcEndpointServiceArrayOutput() VpcEndpointServiceArrayOutput
func (VpcEndpointServiceArray) ToVpcEndpointServiceArrayOutputWithContext ¶
func (i VpcEndpointServiceArray) ToVpcEndpointServiceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceArrayOutput
type VpcEndpointServiceArrayInput ¶
type VpcEndpointServiceArrayInput interface {
pulumi.Input
ToVpcEndpointServiceArrayOutput() VpcEndpointServiceArrayOutput
ToVpcEndpointServiceArrayOutputWithContext(context.Context) VpcEndpointServiceArrayOutput
}
VpcEndpointServiceArrayInput is an input type that accepts VpcEndpointServiceArray and VpcEndpointServiceArrayOutput values. You can construct a concrete instance of `VpcEndpointServiceArrayInput` via:
VpcEndpointServiceArray{ VpcEndpointServiceArgs{...} }
type VpcEndpointServiceArrayOutput ¶
type VpcEndpointServiceArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceArrayOutput) ElementType ¶
func (VpcEndpointServiceArrayOutput) ElementType() reflect.Type
func (VpcEndpointServiceArrayOutput) Index ¶
func (o VpcEndpointServiceArrayOutput) Index(i pulumi.IntInput) VpcEndpointServiceOutput
func (VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutput ¶
func (o VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutput() VpcEndpointServiceArrayOutput
func (VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutputWithContext ¶
func (o VpcEndpointServiceArrayOutput) ToVpcEndpointServiceArrayOutputWithContext(ctx context.Context) VpcEndpointServiceArrayOutput
type VpcEndpointServiceInput ¶
type VpcEndpointServiceInput interface {
pulumi.Input
ToVpcEndpointServiceOutput() VpcEndpointServiceOutput
ToVpcEndpointServiceOutputWithContext(ctx context.Context) VpcEndpointServiceOutput
}
type VpcEndpointServiceMap ¶
type VpcEndpointServiceMap map[string]VpcEndpointServiceInput
func (VpcEndpointServiceMap) ElementType ¶
func (VpcEndpointServiceMap) ElementType() reflect.Type
func (VpcEndpointServiceMap) ToVpcEndpointServiceMapOutput ¶
func (i VpcEndpointServiceMap) ToVpcEndpointServiceMapOutput() VpcEndpointServiceMapOutput
func (VpcEndpointServiceMap) ToVpcEndpointServiceMapOutputWithContext ¶
func (i VpcEndpointServiceMap) ToVpcEndpointServiceMapOutputWithContext(ctx context.Context) VpcEndpointServiceMapOutput
type VpcEndpointServiceMapInput ¶
type VpcEndpointServiceMapInput interface {
pulumi.Input
ToVpcEndpointServiceMapOutput() VpcEndpointServiceMapOutput
ToVpcEndpointServiceMapOutputWithContext(context.Context) VpcEndpointServiceMapOutput
}
VpcEndpointServiceMapInput is an input type that accepts VpcEndpointServiceMap and VpcEndpointServiceMapOutput values. You can construct a concrete instance of `VpcEndpointServiceMapInput` via:
VpcEndpointServiceMap{ "key": VpcEndpointServiceArgs{...} }
type VpcEndpointServiceMapOutput ¶
type VpcEndpointServiceMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceMapOutput) ElementType ¶
func (VpcEndpointServiceMapOutput) ElementType() reflect.Type
func (VpcEndpointServiceMapOutput) MapIndex ¶
func (o VpcEndpointServiceMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointServiceOutput
func (VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutput ¶
func (o VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutput() VpcEndpointServiceMapOutput
func (VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutputWithContext ¶
func (o VpcEndpointServiceMapOutput) ToVpcEndpointServiceMapOutputWithContext(ctx context.Context) VpcEndpointServiceMapOutput
type VpcEndpointServiceOutput ¶
type VpcEndpointServiceOutput struct{ *pulumi.OutputState }
func (VpcEndpointServiceOutput) ElementType ¶
func (VpcEndpointServiceOutput) ElementType() reflect.Type
func (VpcEndpointServiceOutput) ToVpcEndpointServiceOutput ¶
func (o VpcEndpointServiceOutput) ToVpcEndpointServiceOutput() VpcEndpointServiceOutput
func (VpcEndpointServiceOutput) ToVpcEndpointServiceOutputWithContext ¶
func (o VpcEndpointServiceOutput) ToVpcEndpointServiceOutputWithContext(ctx context.Context) VpcEndpointServiceOutput
type VpcEndpointServicePrivateDnsNameConfiguration ¶
type VpcEndpointServicePrivateDnsNameConfiguration struct {
// Name of the record subdomain the service provider needs to create.
Name *string `pulumi:"name"`
// Verification state of the VPC endpoint service. Consumers of the endpoint service can use the private name only when the state is `verified`.
State *string `pulumi:"state"`
// Endpoint service verification type, for example `TXT`.
Type *string `pulumi:"type"`
// Value the service provider adds to the private DNS name domain record before verification.
Value *string `pulumi:"value"`
}
type VpcEndpointServicePrivateDnsNameConfigurationArgs ¶
type VpcEndpointServicePrivateDnsNameConfigurationArgs struct {
// Name of the record subdomain the service provider needs to create.
Name pulumi.StringPtrInput `pulumi:"name"`
// Verification state of the VPC endpoint service. Consumers of the endpoint service can use the private name only when the state is `verified`.
State pulumi.StringPtrInput `pulumi:"state"`
// Endpoint service verification type, for example `TXT`.
Type pulumi.StringPtrInput `pulumi:"type"`
// Value the service provider adds to the private DNS name domain record before verification.
Value pulumi.StringPtrInput `pulumi:"value"`
}
func (VpcEndpointServicePrivateDnsNameConfigurationArgs) ElementType ¶
func (VpcEndpointServicePrivateDnsNameConfigurationArgs) ElementType() reflect.Type
func (VpcEndpointServicePrivateDnsNameConfigurationArgs) ToVpcEndpointServicePrivateDnsNameConfigurationOutput ¶
func (i VpcEndpointServicePrivateDnsNameConfigurationArgs) ToVpcEndpointServicePrivateDnsNameConfigurationOutput() VpcEndpointServicePrivateDnsNameConfigurationOutput
func (VpcEndpointServicePrivateDnsNameConfigurationArgs) ToVpcEndpointServicePrivateDnsNameConfigurationOutputWithContext ¶
func (i VpcEndpointServicePrivateDnsNameConfigurationArgs) ToVpcEndpointServicePrivateDnsNameConfigurationOutputWithContext(ctx context.Context) VpcEndpointServicePrivateDnsNameConfigurationOutput
type VpcEndpointServicePrivateDnsNameConfigurationArray ¶
type VpcEndpointServicePrivateDnsNameConfigurationArray []VpcEndpointServicePrivateDnsNameConfigurationInput
func (VpcEndpointServicePrivateDnsNameConfigurationArray) ElementType ¶
func (VpcEndpointServicePrivateDnsNameConfigurationArray) ElementType() reflect.Type
func (VpcEndpointServicePrivateDnsNameConfigurationArray) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutput ¶
func (i VpcEndpointServicePrivateDnsNameConfigurationArray) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutput() VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
func (VpcEndpointServicePrivateDnsNameConfigurationArray) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutputWithContext ¶
func (i VpcEndpointServicePrivateDnsNameConfigurationArray) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutputWithContext(ctx context.Context) VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
type VpcEndpointServicePrivateDnsNameConfigurationArrayInput ¶
type VpcEndpointServicePrivateDnsNameConfigurationArrayInput interface {
pulumi.Input
ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutput() VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutputWithContext(context.Context) VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
}
VpcEndpointServicePrivateDnsNameConfigurationArrayInput is an input type that accepts VpcEndpointServicePrivateDnsNameConfigurationArray and VpcEndpointServicePrivateDnsNameConfigurationArrayOutput values. You can construct a concrete instance of `VpcEndpointServicePrivateDnsNameConfigurationArrayInput` via:
VpcEndpointServicePrivateDnsNameConfigurationArray{ VpcEndpointServicePrivateDnsNameConfigurationArgs{...} }
type VpcEndpointServicePrivateDnsNameConfigurationArrayOutput ¶
type VpcEndpointServicePrivateDnsNameConfigurationArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ElementType ¶
func (VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ElementType() reflect.Type
func (VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutput ¶
func (o VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutput() VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
func (VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutputWithContext ¶
func (o VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) ToVpcEndpointServicePrivateDnsNameConfigurationArrayOutputWithContext(ctx context.Context) VpcEndpointServicePrivateDnsNameConfigurationArrayOutput
type VpcEndpointServicePrivateDnsNameConfigurationInput ¶
type VpcEndpointServicePrivateDnsNameConfigurationInput interface {
pulumi.Input
ToVpcEndpointServicePrivateDnsNameConfigurationOutput() VpcEndpointServicePrivateDnsNameConfigurationOutput
ToVpcEndpointServicePrivateDnsNameConfigurationOutputWithContext(context.Context) VpcEndpointServicePrivateDnsNameConfigurationOutput
}
VpcEndpointServicePrivateDnsNameConfigurationInput is an input type that accepts VpcEndpointServicePrivateDnsNameConfigurationArgs and VpcEndpointServicePrivateDnsNameConfigurationOutput values. You can construct a concrete instance of `VpcEndpointServicePrivateDnsNameConfigurationInput` via:
VpcEndpointServicePrivateDnsNameConfigurationArgs{...}
type VpcEndpointServicePrivateDnsNameConfigurationOutput ¶
type VpcEndpointServicePrivateDnsNameConfigurationOutput struct{ *pulumi.OutputState }
func (VpcEndpointServicePrivateDnsNameConfigurationOutput) ElementType ¶
func (VpcEndpointServicePrivateDnsNameConfigurationOutput) ElementType() reflect.Type
func (VpcEndpointServicePrivateDnsNameConfigurationOutput) Name ¶
func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) Name() pulumi.StringPtrOutput
Name of the record subdomain the service provider needs to create.
func (VpcEndpointServicePrivateDnsNameConfigurationOutput) State ¶
func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) State() pulumi.StringPtrOutput
Verification state of the VPC endpoint service. Consumers of the endpoint service can use the private name only when the state is `verified`.
func (VpcEndpointServicePrivateDnsNameConfigurationOutput) ToVpcEndpointServicePrivateDnsNameConfigurationOutput ¶
func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) ToVpcEndpointServicePrivateDnsNameConfigurationOutput() VpcEndpointServicePrivateDnsNameConfigurationOutput
func (VpcEndpointServicePrivateDnsNameConfigurationOutput) ToVpcEndpointServicePrivateDnsNameConfigurationOutputWithContext ¶
func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) ToVpcEndpointServicePrivateDnsNameConfigurationOutputWithContext(ctx context.Context) VpcEndpointServicePrivateDnsNameConfigurationOutput
func (VpcEndpointServicePrivateDnsNameConfigurationOutput) Type ¶
func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) Type() pulumi.StringPtrOutput
Endpoint service verification type, for example `TXT`.
func (VpcEndpointServicePrivateDnsNameConfigurationOutput) Value ¶
func (o VpcEndpointServicePrivateDnsNameConfigurationOutput) Value() pulumi.StringPtrOutput
Value the service provider adds to the private DNS name domain record before verification.
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 Amazon Resource Name (ARN) of the VPC endpoint service.
Arn pulumi.StringPtrInput
// The Availability Zones in which the service is available.
AvailabilityZones pulumi.StringArrayInput
// The DNS names for the service.
BaseEndpointDnsNames pulumi.StringArrayInput
// Amazon Resource Names (ARNs) of one or more Gateway Load Balancers for the endpoint service.
GatewayLoadBalancerArns pulumi.StringArrayInput
// Whether or not the service manages its VPC endpoints - `true` or `false`.
ManagesVpcEndpoints pulumi.BoolPtrInput
// Amazon Resource Names (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
// List of objects containing information about the endpoint service private DNS name configuration.
PrivateDnsNameConfigurations VpcEndpointServicePrivateDnsNameConfigurationArrayInput
// The service name.
ServiceName pulumi.StringPtrInput
// The service type, `Gateway` or `Interface`.
ServiceType pulumi.StringPtrInput
// Verification state of the VPC endpoint service. Consumers of the endpoint service can use the private name only when the state is `verified`.
State pulumi.StringPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
}
func (VpcEndpointServiceState) ElementType ¶
func (VpcEndpointServiceState) ElementType() reflect.Type
type VpcEndpointState ¶
type VpcEndpointState struct {
// The Amazon Resource Name (ARN) of the VPC endpoint.
Arn pulumi.StringPtrInput
// 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
// A policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All `Gateway` and some `Interface` endpoints support policies - see the [relevant AWS documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-access.html) for more details.
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. Applicable for endpoints of type `Interface`.
// If no security groups are specified, the VPC's [default security group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#DefaultSecurityGroup) is associated with the endpoint.
SecurityGroupIds pulumi.StringArrayInput
// The service name. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
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 `GatewayLoadBalancer` and `Interface`.
SubnetIds pulumi.StringArrayInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The VPC endpoint type, `Gateway`, `GatewayLoadBalancer`, 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 ¶
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.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcEndpointSubnetAssociation(ctx, "snEc2", &ec2.VpcEndpointSubnetAssociationArgs{
VpcEndpointId: pulumi.Any(aws_vpc_endpoint.Ec2.Id),
SubnetId: pulumi.Any(aws_subnet.Sn.Id),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Endpoint Subnet Associations can be imported using `vpc_endpoint_id` together with `subnet_id`, e.g.,
```sh
$ pulumi import aws:ec2/vpcEndpointSubnetAssociation:VpcEndpointSubnetAssociation example vpce-aaaaaaaa/subnet-bbbbbbbbbbbbbbbbb
```
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.
func (*VpcEndpointSubnetAssociation) ElementType ¶
func (*VpcEndpointSubnetAssociation) ElementType() reflect.Type
func (*VpcEndpointSubnetAssociation) ToVpcEndpointSubnetAssociationOutput ¶
func (i *VpcEndpointSubnetAssociation) ToVpcEndpointSubnetAssociationOutput() VpcEndpointSubnetAssociationOutput
func (*VpcEndpointSubnetAssociation) ToVpcEndpointSubnetAssociationOutputWithContext ¶
func (i *VpcEndpointSubnetAssociation) ToVpcEndpointSubnetAssociationOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationOutput
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 ¶
func (VpcEndpointSubnetAssociationArgs) ElementType() reflect.Type
type VpcEndpointSubnetAssociationArray ¶
type VpcEndpointSubnetAssociationArray []VpcEndpointSubnetAssociationInput
func (VpcEndpointSubnetAssociationArray) ElementType ¶
func (VpcEndpointSubnetAssociationArray) ElementType() reflect.Type
func (VpcEndpointSubnetAssociationArray) ToVpcEndpointSubnetAssociationArrayOutput ¶
func (i VpcEndpointSubnetAssociationArray) ToVpcEndpointSubnetAssociationArrayOutput() VpcEndpointSubnetAssociationArrayOutput
func (VpcEndpointSubnetAssociationArray) ToVpcEndpointSubnetAssociationArrayOutputWithContext ¶
func (i VpcEndpointSubnetAssociationArray) ToVpcEndpointSubnetAssociationArrayOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationArrayOutput
type VpcEndpointSubnetAssociationArrayInput ¶
type VpcEndpointSubnetAssociationArrayInput interface {
pulumi.Input
ToVpcEndpointSubnetAssociationArrayOutput() VpcEndpointSubnetAssociationArrayOutput
ToVpcEndpointSubnetAssociationArrayOutputWithContext(context.Context) VpcEndpointSubnetAssociationArrayOutput
}
VpcEndpointSubnetAssociationArrayInput is an input type that accepts VpcEndpointSubnetAssociationArray and VpcEndpointSubnetAssociationArrayOutput values. You can construct a concrete instance of `VpcEndpointSubnetAssociationArrayInput` via:
VpcEndpointSubnetAssociationArray{ VpcEndpointSubnetAssociationArgs{...} }
type VpcEndpointSubnetAssociationArrayOutput ¶
type VpcEndpointSubnetAssociationArrayOutput struct{ *pulumi.OutputState }
func (VpcEndpointSubnetAssociationArrayOutput) ElementType ¶
func (VpcEndpointSubnetAssociationArrayOutput) ElementType() reflect.Type
func (VpcEndpointSubnetAssociationArrayOutput) ToVpcEndpointSubnetAssociationArrayOutput ¶
func (o VpcEndpointSubnetAssociationArrayOutput) ToVpcEndpointSubnetAssociationArrayOutput() VpcEndpointSubnetAssociationArrayOutput
func (VpcEndpointSubnetAssociationArrayOutput) ToVpcEndpointSubnetAssociationArrayOutputWithContext ¶
func (o VpcEndpointSubnetAssociationArrayOutput) ToVpcEndpointSubnetAssociationArrayOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationArrayOutput
type VpcEndpointSubnetAssociationInput ¶
type VpcEndpointSubnetAssociationInput interface {
pulumi.Input
ToVpcEndpointSubnetAssociationOutput() VpcEndpointSubnetAssociationOutput
ToVpcEndpointSubnetAssociationOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationOutput
}
type VpcEndpointSubnetAssociationMap ¶
type VpcEndpointSubnetAssociationMap map[string]VpcEndpointSubnetAssociationInput
func (VpcEndpointSubnetAssociationMap) ElementType ¶
func (VpcEndpointSubnetAssociationMap) ElementType() reflect.Type
func (VpcEndpointSubnetAssociationMap) ToVpcEndpointSubnetAssociationMapOutput ¶
func (i VpcEndpointSubnetAssociationMap) ToVpcEndpointSubnetAssociationMapOutput() VpcEndpointSubnetAssociationMapOutput
func (VpcEndpointSubnetAssociationMap) ToVpcEndpointSubnetAssociationMapOutputWithContext ¶
func (i VpcEndpointSubnetAssociationMap) ToVpcEndpointSubnetAssociationMapOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationMapOutput
type VpcEndpointSubnetAssociationMapInput ¶
type VpcEndpointSubnetAssociationMapInput interface {
pulumi.Input
ToVpcEndpointSubnetAssociationMapOutput() VpcEndpointSubnetAssociationMapOutput
ToVpcEndpointSubnetAssociationMapOutputWithContext(context.Context) VpcEndpointSubnetAssociationMapOutput
}
VpcEndpointSubnetAssociationMapInput is an input type that accepts VpcEndpointSubnetAssociationMap and VpcEndpointSubnetAssociationMapOutput values. You can construct a concrete instance of `VpcEndpointSubnetAssociationMapInput` via:
VpcEndpointSubnetAssociationMap{ "key": VpcEndpointSubnetAssociationArgs{...} }
type VpcEndpointSubnetAssociationMapOutput ¶
type VpcEndpointSubnetAssociationMapOutput struct{ *pulumi.OutputState }
func (VpcEndpointSubnetAssociationMapOutput) ElementType ¶
func (VpcEndpointSubnetAssociationMapOutput) ElementType() reflect.Type
func (VpcEndpointSubnetAssociationMapOutput) MapIndex ¶
func (o VpcEndpointSubnetAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcEndpointSubnetAssociationOutput
func (VpcEndpointSubnetAssociationMapOutput) ToVpcEndpointSubnetAssociationMapOutput ¶
func (o VpcEndpointSubnetAssociationMapOutput) ToVpcEndpointSubnetAssociationMapOutput() VpcEndpointSubnetAssociationMapOutput
func (VpcEndpointSubnetAssociationMapOutput) ToVpcEndpointSubnetAssociationMapOutputWithContext ¶
func (o VpcEndpointSubnetAssociationMapOutput) ToVpcEndpointSubnetAssociationMapOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationMapOutput
type VpcEndpointSubnetAssociationOutput ¶
type VpcEndpointSubnetAssociationOutput struct{ *pulumi.OutputState }
func (VpcEndpointSubnetAssociationOutput) ElementType ¶
func (VpcEndpointSubnetAssociationOutput) ElementType() reflect.Type
func (VpcEndpointSubnetAssociationOutput) ToVpcEndpointSubnetAssociationOutput ¶
func (o VpcEndpointSubnetAssociationOutput) ToVpcEndpointSubnetAssociationOutput() VpcEndpointSubnetAssociationOutput
func (VpcEndpointSubnetAssociationOutput) ToVpcEndpointSubnetAssociationOutputWithContext ¶
func (o VpcEndpointSubnetAssociationOutput) ToVpcEndpointSubnetAssociationOutputWithContext(ctx context.Context) VpcEndpointSubnetAssociationOutput
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 ¶
func (VpcEndpointSubnetAssociationState) ElementType() reflect.Type
type VpcIpam ¶
type VpcIpam struct {
pulumi.CustomResourceState
// Amazon Resource Name (ARN) of IPAM
Arn pulumi.StringOutput `pulumi:"arn"`
// A description for the IPAM.
Description pulumi.StringPtrOutput `pulumi:"description"`
// Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region.
OperatingRegions VpcIpamOperatingRegionArrayOutput `pulumi:"operatingRegions"`
// The ID of the IPAM's private scope. A scope is a top-level container in IPAM. Each scope represents an IP-independent network. Scopes enable you to represent networks where you have overlapping IP space. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private scope is intended for private IP space. The public scope is intended for all internet-routable IP space.
PrivateDefaultScopeId pulumi.StringOutput `pulumi:"privateDefaultScopeId"`
// The ID of the IPAM's public scope. A scope is a top-level container in IPAM. Each scope represents an IP-independent network. Scopes enable you to represent networks where you have overlapping IP space. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private scope is intended for private
// IP space. The public scope is intended for all internet-routable IP space.
PublicDefaultScopeId pulumi.StringOutput `pulumi:"publicDefaultScopeId"`
// The number of scopes in the IPAM.
ScopeCount pulumi.IntOutput `pulumi:"scopeCount"`
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides a IPAM resource.
## Import
IPAMs can be imported using the `ipam id`, e.g.
```sh
$ pulumi import aws:ec2/vpcIpam:VpcIpam example ipam-0178368ad2146a492
```
func GetVpcIpam ¶
func GetVpcIpam(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcIpamState, opts ...pulumi.ResourceOption) (*VpcIpam, error)
GetVpcIpam gets an existing VpcIpam 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 NewVpcIpam ¶
func NewVpcIpam(ctx *pulumi.Context, name string, args *VpcIpamArgs, opts ...pulumi.ResourceOption) (*VpcIpam, error)
NewVpcIpam registers a new resource with the given unique name, arguments, and options.
func (*VpcIpam) ElementType ¶
func (*VpcIpam) ToVpcIpamOutput ¶
func (i *VpcIpam) ToVpcIpamOutput() VpcIpamOutput
func (*VpcIpam) ToVpcIpamOutputWithContext ¶
func (i *VpcIpam) ToVpcIpamOutputWithContext(ctx context.Context) VpcIpamOutput
type VpcIpamArgs ¶
type VpcIpamArgs struct {
// A description for the IPAM.
Description pulumi.StringPtrInput
// Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region.
OperatingRegions VpcIpamOperatingRegionArrayInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a VpcIpam resource.
func (VpcIpamArgs) ElementType ¶
func (VpcIpamArgs) ElementType() reflect.Type
type VpcIpamArray ¶
type VpcIpamArray []VpcIpamInput
func (VpcIpamArray) ElementType ¶
func (VpcIpamArray) ElementType() reflect.Type
func (VpcIpamArray) ToVpcIpamArrayOutput ¶
func (i VpcIpamArray) ToVpcIpamArrayOutput() VpcIpamArrayOutput
func (VpcIpamArray) ToVpcIpamArrayOutputWithContext ¶
func (i VpcIpamArray) ToVpcIpamArrayOutputWithContext(ctx context.Context) VpcIpamArrayOutput
type VpcIpamArrayInput ¶
type VpcIpamArrayInput interface {
pulumi.Input
ToVpcIpamArrayOutput() VpcIpamArrayOutput
ToVpcIpamArrayOutputWithContext(context.Context) VpcIpamArrayOutput
}
VpcIpamArrayInput is an input type that accepts VpcIpamArray and VpcIpamArrayOutput values. You can construct a concrete instance of `VpcIpamArrayInput` via:
VpcIpamArray{ VpcIpamArgs{...} }
type VpcIpamArrayOutput ¶
type VpcIpamArrayOutput struct{ *pulumi.OutputState }
func (VpcIpamArrayOutput) ElementType ¶
func (VpcIpamArrayOutput) ElementType() reflect.Type
func (VpcIpamArrayOutput) Index ¶
func (o VpcIpamArrayOutput) Index(i pulumi.IntInput) VpcIpamOutput
func (VpcIpamArrayOutput) ToVpcIpamArrayOutput ¶
func (o VpcIpamArrayOutput) ToVpcIpamArrayOutput() VpcIpamArrayOutput
func (VpcIpamArrayOutput) ToVpcIpamArrayOutputWithContext ¶
func (o VpcIpamArrayOutput) ToVpcIpamArrayOutputWithContext(ctx context.Context) VpcIpamArrayOutput
type VpcIpamInput ¶
type VpcIpamInput interface {
pulumi.Input
ToVpcIpamOutput() VpcIpamOutput
ToVpcIpamOutputWithContext(ctx context.Context) VpcIpamOutput
}
type VpcIpamMap ¶
type VpcIpamMap map[string]VpcIpamInput
func (VpcIpamMap) ElementType ¶
func (VpcIpamMap) ElementType() reflect.Type
func (VpcIpamMap) ToVpcIpamMapOutput ¶
func (i VpcIpamMap) ToVpcIpamMapOutput() VpcIpamMapOutput
func (VpcIpamMap) ToVpcIpamMapOutputWithContext ¶
func (i VpcIpamMap) ToVpcIpamMapOutputWithContext(ctx context.Context) VpcIpamMapOutput
type VpcIpamMapInput ¶
type VpcIpamMapInput interface {
pulumi.Input
ToVpcIpamMapOutput() VpcIpamMapOutput
ToVpcIpamMapOutputWithContext(context.Context) VpcIpamMapOutput
}
VpcIpamMapInput is an input type that accepts VpcIpamMap and VpcIpamMapOutput values. You can construct a concrete instance of `VpcIpamMapInput` via:
VpcIpamMap{ "key": VpcIpamArgs{...} }
type VpcIpamMapOutput ¶
type VpcIpamMapOutput struct{ *pulumi.OutputState }
func (VpcIpamMapOutput) ElementType ¶
func (VpcIpamMapOutput) ElementType() reflect.Type
func (VpcIpamMapOutput) MapIndex ¶
func (o VpcIpamMapOutput) MapIndex(k pulumi.StringInput) VpcIpamOutput
func (VpcIpamMapOutput) ToVpcIpamMapOutput ¶
func (o VpcIpamMapOutput) ToVpcIpamMapOutput() VpcIpamMapOutput
func (VpcIpamMapOutput) ToVpcIpamMapOutputWithContext ¶
func (o VpcIpamMapOutput) ToVpcIpamMapOutputWithContext(ctx context.Context) VpcIpamMapOutput
type VpcIpamOperatingRegion ¶
type VpcIpamOperatingRegion struct {
// The name of the Region you want to add to the IPAM.
RegionName string `pulumi:"regionName"`
}
type VpcIpamOperatingRegionArgs ¶
type VpcIpamOperatingRegionArgs struct {
// The name of the Region you want to add to the IPAM.
RegionName pulumi.StringInput `pulumi:"regionName"`
}
func (VpcIpamOperatingRegionArgs) ElementType ¶
func (VpcIpamOperatingRegionArgs) ElementType() reflect.Type
func (VpcIpamOperatingRegionArgs) ToVpcIpamOperatingRegionOutput ¶
func (i VpcIpamOperatingRegionArgs) ToVpcIpamOperatingRegionOutput() VpcIpamOperatingRegionOutput
func (VpcIpamOperatingRegionArgs) ToVpcIpamOperatingRegionOutputWithContext ¶
func (i VpcIpamOperatingRegionArgs) ToVpcIpamOperatingRegionOutputWithContext(ctx context.Context) VpcIpamOperatingRegionOutput
type VpcIpamOperatingRegionArray ¶
type VpcIpamOperatingRegionArray []VpcIpamOperatingRegionInput
func (VpcIpamOperatingRegionArray) ElementType ¶
func (VpcIpamOperatingRegionArray) ElementType() reflect.Type
func (VpcIpamOperatingRegionArray) ToVpcIpamOperatingRegionArrayOutput ¶
func (i VpcIpamOperatingRegionArray) ToVpcIpamOperatingRegionArrayOutput() VpcIpamOperatingRegionArrayOutput
func (VpcIpamOperatingRegionArray) ToVpcIpamOperatingRegionArrayOutputWithContext ¶
func (i VpcIpamOperatingRegionArray) ToVpcIpamOperatingRegionArrayOutputWithContext(ctx context.Context) VpcIpamOperatingRegionArrayOutput
type VpcIpamOperatingRegionArrayInput ¶
type VpcIpamOperatingRegionArrayInput interface {
pulumi.Input
ToVpcIpamOperatingRegionArrayOutput() VpcIpamOperatingRegionArrayOutput
ToVpcIpamOperatingRegionArrayOutputWithContext(context.Context) VpcIpamOperatingRegionArrayOutput
}
VpcIpamOperatingRegionArrayInput is an input type that accepts VpcIpamOperatingRegionArray and VpcIpamOperatingRegionArrayOutput values. You can construct a concrete instance of `VpcIpamOperatingRegionArrayInput` via:
VpcIpamOperatingRegionArray{ VpcIpamOperatingRegionArgs{...} }
type VpcIpamOperatingRegionArrayOutput ¶
type VpcIpamOperatingRegionArrayOutput struct{ *pulumi.OutputState }
func (VpcIpamOperatingRegionArrayOutput) ElementType ¶
func (VpcIpamOperatingRegionArrayOutput) ElementType() reflect.Type
func (VpcIpamOperatingRegionArrayOutput) Index ¶
func (o VpcIpamOperatingRegionArrayOutput) Index(i pulumi.IntInput) VpcIpamOperatingRegionOutput
func (VpcIpamOperatingRegionArrayOutput) ToVpcIpamOperatingRegionArrayOutput ¶
func (o VpcIpamOperatingRegionArrayOutput) ToVpcIpamOperatingRegionArrayOutput() VpcIpamOperatingRegionArrayOutput
func (VpcIpamOperatingRegionArrayOutput) ToVpcIpamOperatingRegionArrayOutputWithContext ¶
func (o VpcIpamOperatingRegionArrayOutput) ToVpcIpamOperatingRegionArrayOutputWithContext(ctx context.Context) VpcIpamOperatingRegionArrayOutput
type VpcIpamOperatingRegionInput ¶
type VpcIpamOperatingRegionInput interface {
pulumi.Input
ToVpcIpamOperatingRegionOutput() VpcIpamOperatingRegionOutput
ToVpcIpamOperatingRegionOutputWithContext(context.Context) VpcIpamOperatingRegionOutput
}
VpcIpamOperatingRegionInput is an input type that accepts VpcIpamOperatingRegionArgs and VpcIpamOperatingRegionOutput values. You can construct a concrete instance of `VpcIpamOperatingRegionInput` via:
VpcIpamOperatingRegionArgs{...}
type VpcIpamOperatingRegionOutput ¶
type VpcIpamOperatingRegionOutput struct{ *pulumi.OutputState }
func (VpcIpamOperatingRegionOutput) ElementType ¶
func (VpcIpamOperatingRegionOutput) ElementType() reflect.Type
func (VpcIpamOperatingRegionOutput) RegionName ¶
func (o VpcIpamOperatingRegionOutput) RegionName() pulumi.StringOutput
The name of the Region you want to add to the IPAM.
func (VpcIpamOperatingRegionOutput) ToVpcIpamOperatingRegionOutput ¶
func (o VpcIpamOperatingRegionOutput) ToVpcIpamOperatingRegionOutput() VpcIpamOperatingRegionOutput
func (VpcIpamOperatingRegionOutput) ToVpcIpamOperatingRegionOutputWithContext ¶
func (o VpcIpamOperatingRegionOutput) ToVpcIpamOperatingRegionOutputWithContext(ctx context.Context) VpcIpamOperatingRegionOutput
type VpcIpamOrganizationAdminAccount ¶
type VpcIpamOrganizationAdminAccount struct {
pulumi.CustomResourceState
// The Organizations ARN for the delegate account.
Arn pulumi.StringOutput `pulumi:"arn"`
DelegatedAdminAccountId pulumi.StringOutput `pulumi:"delegatedAdminAccountId"`
// The Organizations email for the delegate account.
Email pulumi.StringOutput `pulumi:"email"`
// The Organizations name for the delegate account.
Name pulumi.StringOutput `pulumi:"name"`
// The AWS service principal.
ServicePrincipal pulumi.StringOutput `pulumi:"servicePrincipal"`
}
Enables the IPAM Service and promotes a delegated administrator.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
delegated, err := aws.GetCallerIdentity(ctx, nil, nil)
if err != nil {
return err
}
_, err = ec2.NewVpcIpamOrganizationAdminAccount(ctx, "example", &ec2.VpcIpamOrganizationAdminAccountArgs{
DelegatedAdminAccountId: pulumi.String(delegated.AccountId),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
IPAMs can be imported using the `delegate account id`, e.g.
```sh
$ pulumi import aws:ec2/vpcIpamOrganizationAdminAccount:VpcIpamOrganizationAdminAccount example 12345678901
```
func GetVpcIpamOrganizationAdminAccount ¶
func GetVpcIpamOrganizationAdminAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcIpamOrganizationAdminAccountState, opts ...pulumi.ResourceOption) (*VpcIpamOrganizationAdminAccount, error)
GetVpcIpamOrganizationAdminAccount gets an existing VpcIpamOrganizationAdminAccount 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 NewVpcIpamOrganizationAdminAccount ¶
func NewVpcIpamOrganizationAdminAccount(ctx *pulumi.Context, name string, args *VpcIpamOrganizationAdminAccountArgs, opts ...pulumi.ResourceOption) (*VpcIpamOrganizationAdminAccount, error)
NewVpcIpamOrganizationAdminAccount registers a new resource with the given unique name, arguments, and options.
func (*VpcIpamOrganizationAdminAccount) ElementType ¶
func (*VpcIpamOrganizationAdminAccount) ElementType() reflect.Type
func (*VpcIpamOrganizationAdminAccount) ToVpcIpamOrganizationAdminAccountOutput ¶
func (i *VpcIpamOrganizationAdminAccount) ToVpcIpamOrganizationAdminAccountOutput() VpcIpamOrganizationAdminAccountOutput
func (*VpcIpamOrganizationAdminAccount) ToVpcIpamOrganizationAdminAccountOutputWithContext ¶
func (i *VpcIpamOrganizationAdminAccount) ToVpcIpamOrganizationAdminAccountOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountOutput
type VpcIpamOrganizationAdminAccountArgs ¶
type VpcIpamOrganizationAdminAccountArgs struct {
DelegatedAdminAccountId pulumi.StringInput
}
The set of arguments for constructing a VpcIpamOrganizationAdminAccount resource.
func (VpcIpamOrganizationAdminAccountArgs) ElementType ¶
func (VpcIpamOrganizationAdminAccountArgs) ElementType() reflect.Type
type VpcIpamOrganizationAdminAccountArray ¶
type VpcIpamOrganizationAdminAccountArray []VpcIpamOrganizationAdminAccountInput
func (VpcIpamOrganizationAdminAccountArray) ElementType ¶
func (VpcIpamOrganizationAdminAccountArray) ElementType() reflect.Type
func (VpcIpamOrganizationAdminAccountArray) ToVpcIpamOrganizationAdminAccountArrayOutput ¶
func (i VpcIpamOrganizationAdminAccountArray) ToVpcIpamOrganizationAdminAccountArrayOutput() VpcIpamOrganizationAdminAccountArrayOutput
func (VpcIpamOrganizationAdminAccountArray) ToVpcIpamOrganizationAdminAccountArrayOutputWithContext ¶
func (i VpcIpamOrganizationAdminAccountArray) ToVpcIpamOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountArrayOutput
type VpcIpamOrganizationAdminAccountArrayInput ¶
type VpcIpamOrganizationAdminAccountArrayInput interface {
pulumi.Input
ToVpcIpamOrganizationAdminAccountArrayOutput() VpcIpamOrganizationAdminAccountArrayOutput
ToVpcIpamOrganizationAdminAccountArrayOutputWithContext(context.Context) VpcIpamOrganizationAdminAccountArrayOutput
}
VpcIpamOrganizationAdminAccountArrayInput is an input type that accepts VpcIpamOrganizationAdminAccountArray and VpcIpamOrganizationAdminAccountArrayOutput values. You can construct a concrete instance of `VpcIpamOrganizationAdminAccountArrayInput` via:
VpcIpamOrganizationAdminAccountArray{ VpcIpamOrganizationAdminAccountArgs{...} }
type VpcIpamOrganizationAdminAccountArrayOutput ¶
type VpcIpamOrganizationAdminAccountArrayOutput struct{ *pulumi.OutputState }
func (VpcIpamOrganizationAdminAccountArrayOutput) ElementType ¶
func (VpcIpamOrganizationAdminAccountArrayOutput) ElementType() reflect.Type
func (VpcIpamOrganizationAdminAccountArrayOutput) ToVpcIpamOrganizationAdminAccountArrayOutput ¶
func (o VpcIpamOrganizationAdminAccountArrayOutput) ToVpcIpamOrganizationAdminAccountArrayOutput() VpcIpamOrganizationAdminAccountArrayOutput
func (VpcIpamOrganizationAdminAccountArrayOutput) ToVpcIpamOrganizationAdminAccountArrayOutputWithContext ¶
func (o VpcIpamOrganizationAdminAccountArrayOutput) ToVpcIpamOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountArrayOutput
type VpcIpamOrganizationAdminAccountInput ¶
type VpcIpamOrganizationAdminAccountInput interface {
pulumi.Input
ToVpcIpamOrganizationAdminAccountOutput() VpcIpamOrganizationAdminAccountOutput
ToVpcIpamOrganizationAdminAccountOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountOutput
}
type VpcIpamOrganizationAdminAccountMap ¶
type VpcIpamOrganizationAdminAccountMap map[string]VpcIpamOrganizationAdminAccountInput
func (VpcIpamOrganizationAdminAccountMap) ElementType ¶
func (VpcIpamOrganizationAdminAccountMap) ElementType() reflect.Type
func (VpcIpamOrganizationAdminAccountMap) ToVpcIpamOrganizationAdminAccountMapOutput ¶
func (i VpcIpamOrganizationAdminAccountMap) ToVpcIpamOrganizationAdminAccountMapOutput() VpcIpamOrganizationAdminAccountMapOutput
func (VpcIpamOrganizationAdminAccountMap) ToVpcIpamOrganizationAdminAccountMapOutputWithContext ¶
func (i VpcIpamOrganizationAdminAccountMap) ToVpcIpamOrganizationAdminAccountMapOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountMapOutput
type VpcIpamOrganizationAdminAccountMapInput ¶
type VpcIpamOrganizationAdminAccountMapInput interface {
pulumi.Input
ToVpcIpamOrganizationAdminAccountMapOutput() VpcIpamOrganizationAdminAccountMapOutput
ToVpcIpamOrganizationAdminAccountMapOutputWithContext(context.Context) VpcIpamOrganizationAdminAccountMapOutput
}
VpcIpamOrganizationAdminAccountMapInput is an input type that accepts VpcIpamOrganizationAdminAccountMap and VpcIpamOrganizationAdminAccountMapOutput values. You can construct a concrete instance of `VpcIpamOrganizationAdminAccountMapInput` via:
VpcIpamOrganizationAdminAccountMap{ "key": VpcIpamOrganizationAdminAccountArgs{...} }
type VpcIpamOrganizationAdminAccountMapOutput ¶
type VpcIpamOrganizationAdminAccountMapOutput struct{ *pulumi.OutputState }
func (VpcIpamOrganizationAdminAccountMapOutput) ElementType ¶
func (VpcIpamOrganizationAdminAccountMapOutput) ElementType() reflect.Type
func (VpcIpamOrganizationAdminAccountMapOutput) MapIndex ¶
func (o VpcIpamOrganizationAdminAccountMapOutput) MapIndex(k pulumi.StringInput) VpcIpamOrganizationAdminAccountOutput
func (VpcIpamOrganizationAdminAccountMapOutput) ToVpcIpamOrganizationAdminAccountMapOutput ¶
func (o VpcIpamOrganizationAdminAccountMapOutput) ToVpcIpamOrganizationAdminAccountMapOutput() VpcIpamOrganizationAdminAccountMapOutput
func (VpcIpamOrganizationAdminAccountMapOutput) ToVpcIpamOrganizationAdminAccountMapOutputWithContext ¶
func (o VpcIpamOrganizationAdminAccountMapOutput) ToVpcIpamOrganizationAdminAccountMapOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountMapOutput
type VpcIpamOrganizationAdminAccountOutput ¶
type VpcIpamOrganizationAdminAccountOutput struct{ *pulumi.OutputState }
func (VpcIpamOrganizationAdminAccountOutput) ElementType ¶
func (VpcIpamOrganizationAdminAccountOutput) ElementType() reflect.Type
func (VpcIpamOrganizationAdminAccountOutput) ToVpcIpamOrganizationAdminAccountOutput ¶
func (o VpcIpamOrganizationAdminAccountOutput) ToVpcIpamOrganizationAdminAccountOutput() VpcIpamOrganizationAdminAccountOutput
func (VpcIpamOrganizationAdminAccountOutput) ToVpcIpamOrganizationAdminAccountOutputWithContext ¶
func (o VpcIpamOrganizationAdminAccountOutput) ToVpcIpamOrganizationAdminAccountOutputWithContext(ctx context.Context) VpcIpamOrganizationAdminAccountOutput
type VpcIpamOrganizationAdminAccountState ¶
type VpcIpamOrganizationAdminAccountState struct {
// The Organizations ARN for the delegate account.
Arn pulumi.StringPtrInput
DelegatedAdminAccountId pulumi.StringPtrInput
// The Organizations email for the delegate account.
Email pulumi.StringPtrInput
// The Organizations name for the delegate account.
Name pulumi.StringPtrInput
// The AWS service principal.
ServicePrincipal pulumi.StringPtrInput
}
func (VpcIpamOrganizationAdminAccountState) ElementType ¶
func (VpcIpamOrganizationAdminAccountState) ElementType() reflect.Type
type VpcIpamOutput ¶
type VpcIpamOutput struct{ *pulumi.OutputState }
func (VpcIpamOutput) ElementType ¶
func (VpcIpamOutput) ElementType() reflect.Type
func (VpcIpamOutput) ToVpcIpamOutput ¶
func (o VpcIpamOutput) ToVpcIpamOutput() VpcIpamOutput
func (VpcIpamOutput) ToVpcIpamOutputWithContext ¶
func (o VpcIpamOutput) ToVpcIpamOutputWithContext(ctx context.Context) VpcIpamOutput
type VpcIpamPool ¶
type VpcIpamPool struct {
pulumi.CustomResourceState
// The IP protocol assigned to this pool. You must choose either IPv4 or IPv6 protocol for a pool.
AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
// A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16 (unless you provide a different netmask value when you create the new allocation).
AllocationDefaultNetmaskLength pulumi.IntPtrOutput `pulumi:"allocationDefaultNetmaskLength"`
// The maximum netmask length that will be required for CIDR allocations in this pool.
AllocationMaxNetmaskLength pulumi.IntPtrOutput `pulumi:"allocationMaxNetmaskLength"`
// The minimum netmask length that will be required for CIDR allocations in this pool.
AllocationMinNetmaskLength pulumi.IntPtrOutput `pulumi:"allocationMinNetmaskLength"`
// Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
AllocationResourceTags pulumi.StringMapOutput `pulumi:"allocationResourceTags"`
// Amazon Resource Name (ARN) of IPAM
Arn pulumi.StringOutput `pulumi:"arn"`
// If you include this argument, IPAM automatically imports any VPCs you have in your scope that fall
// within the CIDR range in the pool.
AutoImport pulumi.BoolPtrOutput `pulumi:"autoImport"`
// Limits which AWS service the pool can be used in. Only useable on public scopes. Valid Values: `ec2`.
AwsService pulumi.StringPtrOutput `pulumi:"awsService"`
// A description for the IPAM pool.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The ID of the scope in which you would like to create the IPAM pool.
IpamScopeId pulumi.StringOutput `pulumi:"ipamScopeId"`
IpamScopeType pulumi.StringOutput `pulumi:"ipamScopeType"`
// The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. Possible values: Any AWS region, such as `us-east-1`.
Locale pulumi.StringPtrOutput `pulumi:"locale"`
PoolDepth pulumi.IntOutput `pulumi:"poolDepth"`
// Defines whether or not IPv6 pool space is publicly advertisable over the internet. This option is not available for IPv4 pool space.
PubliclyAdvertisable pulumi.BoolPtrOutput `pulumi:"publiclyAdvertisable"`
// The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool.
SourceIpamPoolId pulumi.StringPtrOutput `pulumi:"sourceIpamPoolId"`
// The ID of the IPAM
State pulumi.StringOutput `pulumi:"state"`
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides an IP address pool resource for IPAM.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
exampleVpcIpam, err := ec2.NewVpcIpam(ctx, "exampleVpcIpam", &ec2.VpcIpamArgs{
OperatingRegions: ec2.VpcIpamOperatingRegionArray{
&ec2.VpcIpamOperatingRegionArgs{
RegionName: pulumi.String(current.Name),
},
},
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpamPool(ctx, "exampleVpcIpamPool", &ec2.VpcIpamPoolArgs{
AddressFamily: pulumi.String("ipv4"),
IpamScopeId: exampleVpcIpam.PrivateDefaultScopeId,
Locale: pulumi.String(current.Name),
})
if err != nil {
return err
}
return nil
})
}
```
Nested Pools:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
example, err := ec2.NewVpcIpam(ctx, "example", &ec2.VpcIpamArgs{
OperatingRegions: ec2.VpcIpamOperatingRegionArray{
&ec2.VpcIpamOperatingRegionArgs{
RegionName: pulumi.String(current.Name),
},
},
})
if err != nil {
return err
}
parent, err := ec2.NewVpcIpamPool(ctx, "parent", &ec2.VpcIpamPoolArgs{
AddressFamily: pulumi.String("ipv4"),
IpamScopeId: example.PrivateDefaultScopeId,
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpamPoolCidr(ctx, "parentTest", &ec2.VpcIpamPoolCidrArgs{
IpamPoolId: parent.ID(),
Cidr: pulumi.String("172.2.0.0/16"),
})
if err != nil {
return err
}
child, err := ec2.NewVpcIpamPool(ctx, "child", &ec2.VpcIpamPoolArgs{
AddressFamily: pulumi.String("ipv4"),
IpamScopeId: example.PrivateDefaultScopeId,
Locale: pulumi.String(current.Name),
SourceIpamPoolId: parent.ID(),
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpamPoolCidr(ctx, "childTest", &ec2.VpcIpamPoolCidrArgs{
IpamPoolId: child.ID(),
Cidr: pulumi.String("172.2.0.0/24"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
IPAMs can be imported using the `ipam pool id`, e.g.
```sh
$ pulumi import aws:ec2/vpcIpamPool:VpcIpamPool example ipam-pool-0958f95207d978e1e
```
func GetVpcIpamPool ¶
func GetVpcIpamPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcIpamPoolState, opts ...pulumi.ResourceOption) (*VpcIpamPool, error)
GetVpcIpamPool gets an existing VpcIpamPool 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 NewVpcIpamPool ¶
func NewVpcIpamPool(ctx *pulumi.Context, name string, args *VpcIpamPoolArgs, opts ...pulumi.ResourceOption) (*VpcIpamPool, error)
NewVpcIpamPool registers a new resource with the given unique name, arguments, and options.
func (*VpcIpamPool) ElementType ¶
func (*VpcIpamPool) ElementType() reflect.Type
func (*VpcIpamPool) ToVpcIpamPoolOutput ¶
func (i *VpcIpamPool) ToVpcIpamPoolOutput() VpcIpamPoolOutput
func (*VpcIpamPool) ToVpcIpamPoolOutputWithContext ¶
func (i *VpcIpamPool) ToVpcIpamPoolOutputWithContext(ctx context.Context) VpcIpamPoolOutput
type VpcIpamPoolArgs ¶
type VpcIpamPoolArgs struct {
// The IP protocol assigned to this pool. You must choose either IPv4 or IPv6 protocol for a pool.
AddressFamily pulumi.StringInput
// A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16 (unless you provide a different netmask value when you create the new allocation).
AllocationDefaultNetmaskLength pulumi.IntPtrInput
// The maximum netmask length that will be required for CIDR allocations in this pool.
AllocationMaxNetmaskLength pulumi.IntPtrInput
// The minimum netmask length that will be required for CIDR allocations in this pool.
AllocationMinNetmaskLength pulumi.IntPtrInput
// Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
AllocationResourceTags pulumi.StringMapInput
// If you include this argument, IPAM automatically imports any VPCs you have in your scope that fall
// within the CIDR range in the pool.
AutoImport pulumi.BoolPtrInput
// Limits which AWS service the pool can be used in. Only useable on public scopes. Valid Values: `ec2`.
AwsService pulumi.StringPtrInput
// A description for the IPAM pool.
Description pulumi.StringPtrInput
// The ID of the scope in which you would like to create the IPAM pool.
IpamScopeId pulumi.StringInput
// The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. Possible values: Any AWS region, such as `us-east-1`.
Locale pulumi.StringPtrInput
// Defines whether or not IPv6 pool space is publicly advertisable over the internet. This option is not available for IPv4 pool space.
PubliclyAdvertisable pulumi.BoolPtrInput
// The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool.
SourceIpamPoolId pulumi.StringPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
}
The set of arguments for constructing a VpcIpamPool resource.
func (VpcIpamPoolArgs) ElementType ¶
func (VpcIpamPoolArgs) ElementType() reflect.Type
type VpcIpamPoolArray ¶
type VpcIpamPoolArray []VpcIpamPoolInput
func (VpcIpamPoolArray) ElementType ¶
func (VpcIpamPoolArray) ElementType() reflect.Type
func (VpcIpamPoolArray) ToVpcIpamPoolArrayOutput ¶
func (i VpcIpamPoolArray) ToVpcIpamPoolArrayOutput() VpcIpamPoolArrayOutput
func (VpcIpamPoolArray) ToVpcIpamPoolArrayOutputWithContext ¶
func (i VpcIpamPoolArray) ToVpcIpamPoolArrayOutputWithContext(ctx context.Context) VpcIpamPoolArrayOutput
type VpcIpamPoolArrayInput ¶
type VpcIpamPoolArrayInput interface {
pulumi.Input
ToVpcIpamPoolArrayOutput() VpcIpamPoolArrayOutput
ToVpcIpamPoolArrayOutputWithContext(context.Context) VpcIpamPoolArrayOutput
}
VpcIpamPoolArrayInput is an input type that accepts VpcIpamPoolArray and VpcIpamPoolArrayOutput values. You can construct a concrete instance of `VpcIpamPoolArrayInput` via:
VpcIpamPoolArray{ VpcIpamPoolArgs{...} }
type VpcIpamPoolArrayOutput ¶
type VpcIpamPoolArrayOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolArrayOutput) ElementType ¶
func (VpcIpamPoolArrayOutput) ElementType() reflect.Type
func (VpcIpamPoolArrayOutput) Index ¶
func (o VpcIpamPoolArrayOutput) Index(i pulumi.IntInput) VpcIpamPoolOutput
func (VpcIpamPoolArrayOutput) ToVpcIpamPoolArrayOutput ¶
func (o VpcIpamPoolArrayOutput) ToVpcIpamPoolArrayOutput() VpcIpamPoolArrayOutput
func (VpcIpamPoolArrayOutput) ToVpcIpamPoolArrayOutputWithContext ¶
func (o VpcIpamPoolArrayOutput) ToVpcIpamPoolArrayOutputWithContext(ctx context.Context) VpcIpamPoolArrayOutput
type VpcIpamPoolCidr ¶
type VpcIpamPoolCidr struct {
pulumi.CustomResourceState
// The CIDR you want to assign to the pool.
Cidr pulumi.StringOutput `pulumi:"cidr"`
// A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP. This is not stored in the state file. See cidrAuthorizationContext for more information.
CidrAuthorizationContext VpcIpamPoolCidrCidrAuthorizationContextPtrOutput `pulumi:"cidrAuthorizationContext"`
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringOutput `pulumi:"ipamPoolId"`
}
Provisions a CIDR from an IPAM address pool.
> **NOTE:** Provisioning Public IPv4 or Public IPv6 require [steps outside the scope of this resource](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#prepare-for-byoip). The resource accepts `message` and `signature` as part of the `cidrAuthorizationContext` attribute but those must be generated ahead of time. Public IPv6 CIDRs that are provisioned into a Pool with `publiclyAdvertisable = true` and all public IPv4 CIDRs also require creating a Route Origin Authorization (ROA) object in your Regional Internet Registry (RIR).
> **NOTE:** In order to deprovision CIDRs all Allocations must be released. Allocations created by a VPC take up to 30 minutes to be released. However, for IPAM to properly manage the removal of allocation records created by VPCs and other resources, you must [grant it permissions](https://docs.aws.amazon.com/vpc/latest/ipam/choose-single-user-or-orgs-ipam.html) in either a single account or organizationally. If you are unable to deprovision a cidr after waiting over 30 minutes, you may be missing the Service Linked Role.
## Import
IPAMs can be imported using the `<cidr>_<ipam-pool-id>`, e.g.
```sh
$ pulumi import aws:ec2/vpcIpamPoolCidr:VpcIpamPoolCidr example 172.2.0.0/24_ipam-pool-0e634f5a1517cccdc
```
func GetVpcIpamPoolCidr ¶
func GetVpcIpamPoolCidr(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcIpamPoolCidrState, opts ...pulumi.ResourceOption) (*VpcIpamPoolCidr, error)
GetVpcIpamPoolCidr gets an existing VpcIpamPoolCidr 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 NewVpcIpamPoolCidr ¶
func NewVpcIpamPoolCidr(ctx *pulumi.Context, name string, args *VpcIpamPoolCidrArgs, opts ...pulumi.ResourceOption) (*VpcIpamPoolCidr, error)
NewVpcIpamPoolCidr registers a new resource with the given unique name, arguments, and options.
func (*VpcIpamPoolCidr) ElementType ¶
func (*VpcIpamPoolCidr) ElementType() reflect.Type
func (*VpcIpamPoolCidr) ToVpcIpamPoolCidrOutput ¶
func (i *VpcIpamPoolCidr) ToVpcIpamPoolCidrOutput() VpcIpamPoolCidrOutput
func (*VpcIpamPoolCidr) ToVpcIpamPoolCidrOutputWithContext ¶
func (i *VpcIpamPoolCidr) ToVpcIpamPoolCidrOutputWithContext(ctx context.Context) VpcIpamPoolCidrOutput
type VpcIpamPoolCidrAllocation ¶
type VpcIpamPoolCidrAllocation struct {
pulumi.CustomResourceState
// The CIDR you want to assign to the pool.
Cidr pulumi.StringOutput `pulumi:"cidr"`
// The description for the allocation.
Description pulumi.StringPtrOutput `pulumi:"description"`
// Exclude a particular CIDR range from being returned by the pool.
DisallowedCidrs pulumi.StringArrayOutput `pulumi:"disallowedCidrs"`
IpamPoolAllocationId pulumi.StringOutput `pulumi:"ipamPoolAllocationId"`
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringOutput `pulumi:"ipamPoolId"`
// The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-32`.
NetmaskLength pulumi.IntPtrOutput `pulumi:"netmaskLength"`
// The ID of the resource.
ResourceId pulumi.StringOutput `pulumi:"resourceId"`
// The owner of the resource.
ResourceOwner pulumi.StringOutput `pulumi:"resourceOwner"`
// The type of the resource.
ResourceType pulumi.StringOutput `pulumi:"resourceType"`
}
Allocates (reserves) a CIDR from an IPAM address pool, preventing usage by IPAM. Only works for private IPv4.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
exampleVpcIpam, err := ec2.NewVpcIpam(ctx, "exampleVpcIpam", &ec2.VpcIpamArgs{
OperatingRegions: ec2.VpcIpamOperatingRegionArray{
&ec2.VpcIpamOperatingRegionArgs{
RegionName: pulumi.String(current.Name),
},
},
})
if err != nil {
return err
}
exampleVpcIpamPool, err := ec2.NewVpcIpamPool(ctx, "exampleVpcIpamPool", &ec2.VpcIpamPoolArgs{
AddressFamily: pulumi.String("ipv4"),
IpamScopeId: exampleVpcIpam.PrivateDefaultScopeId,
Locale: pulumi.String(current.Name),
})
if err != nil {
return err
}
exampleVpcIpamPoolCidr, err := ec2.NewVpcIpamPoolCidr(ctx, "exampleVpcIpamPoolCidr", &ec2.VpcIpamPoolCidrArgs{
IpamPoolId: exampleVpcIpamPool.ID(),
Cidr: pulumi.String("172.2.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpamPoolCidrAllocation(ctx, "exampleVpcIpamPoolCidrAllocation", &ec2.VpcIpamPoolCidrAllocationArgs{
IpamPoolId: exampleVpcIpamPool.ID(),
Cidr: pulumi.String("172.2.0.0/24"),
}, pulumi.DependsOn([]pulumi.Resource{
exampleVpcIpamPoolCidr,
}))
if err != nil {
return err
}
return nil
})
}
```
With the `disallowedCidrs` attribute:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
exampleVpcIpam, err := ec2.NewVpcIpam(ctx, "exampleVpcIpam", &ec2.VpcIpamArgs{
OperatingRegions: ec2.VpcIpamOperatingRegionArray{
&ec2.VpcIpamOperatingRegionArgs{
RegionName: pulumi.String(current.Name),
},
},
})
if err != nil {
return err
}
exampleVpcIpamPool, err := ec2.NewVpcIpamPool(ctx, "exampleVpcIpamPool", &ec2.VpcIpamPoolArgs{
AddressFamily: pulumi.String("ipv4"),
IpamScopeId: exampleVpcIpam.PrivateDefaultScopeId,
Locale: pulumi.String(current.Name),
})
if err != nil {
return err
}
exampleVpcIpamPoolCidr, err := ec2.NewVpcIpamPoolCidr(ctx, "exampleVpcIpamPoolCidr", &ec2.VpcIpamPoolCidrArgs{
IpamPoolId: exampleVpcIpamPool.ID(),
Cidr: pulumi.String("172.2.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpamPoolCidrAllocation(ctx, "exampleVpcIpamPoolCidrAllocation", &ec2.VpcIpamPoolCidrAllocationArgs{
IpamPoolId: exampleVpcIpamPool.ID(),
NetmaskLength: pulumi.Int(28),
DisallowedCidrs: pulumi.StringArray{
pulumi.String("172.2.0.0/28"),
},
}, pulumi.DependsOn([]pulumi.Resource{
exampleVpcIpamPoolCidr,
}))
if err != nil {
return err
}
return nil
})
}
```
## Import
IPAMs can be imported using the `allocation id`, e.g.
```sh
$ pulumi import aws:ec2/vpcIpamPoolCidrAllocation:VpcIpamPoolCidrAllocation example
```
func GetVpcIpamPoolCidrAllocation ¶
func GetVpcIpamPoolCidrAllocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcIpamPoolCidrAllocationState, opts ...pulumi.ResourceOption) (*VpcIpamPoolCidrAllocation, error)
GetVpcIpamPoolCidrAllocation gets an existing VpcIpamPoolCidrAllocation 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 NewVpcIpamPoolCidrAllocation ¶
func NewVpcIpamPoolCidrAllocation(ctx *pulumi.Context, name string, args *VpcIpamPoolCidrAllocationArgs, opts ...pulumi.ResourceOption) (*VpcIpamPoolCidrAllocation, error)
NewVpcIpamPoolCidrAllocation registers a new resource with the given unique name, arguments, and options.
func (*VpcIpamPoolCidrAllocation) ElementType ¶
func (*VpcIpamPoolCidrAllocation) ElementType() reflect.Type
func (*VpcIpamPoolCidrAllocation) ToVpcIpamPoolCidrAllocationOutput ¶
func (i *VpcIpamPoolCidrAllocation) ToVpcIpamPoolCidrAllocationOutput() VpcIpamPoolCidrAllocationOutput
func (*VpcIpamPoolCidrAllocation) ToVpcIpamPoolCidrAllocationOutputWithContext ¶
func (i *VpcIpamPoolCidrAllocation) ToVpcIpamPoolCidrAllocationOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationOutput
type VpcIpamPoolCidrAllocationArgs ¶
type VpcIpamPoolCidrAllocationArgs struct {
// The CIDR you want to assign to the pool.
Cidr pulumi.StringPtrInput
// The description for the allocation.
Description pulumi.StringPtrInput
// Exclude a particular CIDR range from being returned by the pool.
DisallowedCidrs pulumi.StringArrayInput
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringInput
// The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-32`.
NetmaskLength pulumi.IntPtrInput
}
The set of arguments for constructing a VpcIpamPoolCidrAllocation resource.
func (VpcIpamPoolCidrAllocationArgs) ElementType ¶
func (VpcIpamPoolCidrAllocationArgs) ElementType() reflect.Type
type VpcIpamPoolCidrAllocationArray ¶
type VpcIpamPoolCidrAllocationArray []VpcIpamPoolCidrAllocationInput
func (VpcIpamPoolCidrAllocationArray) ElementType ¶
func (VpcIpamPoolCidrAllocationArray) ElementType() reflect.Type
func (VpcIpamPoolCidrAllocationArray) ToVpcIpamPoolCidrAllocationArrayOutput ¶
func (i VpcIpamPoolCidrAllocationArray) ToVpcIpamPoolCidrAllocationArrayOutput() VpcIpamPoolCidrAllocationArrayOutput
func (VpcIpamPoolCidrAllocationArray) ToVpcIpamPoolCidrAllocationArrayOutputWithContext ¶
func (i VpcIpamPoolCidrAllocationArray) ToVpcIpamPoolCidrAllocationArrayOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationArrayOutput
type VpcIpamPoolCidrAllocationArrayInput ¶
type VpcIpamPoolCidrAllocationArrayInput interface {
pulumi.Input
ToVpcIpamPoolCidrAllocationArrayOutput() VpcIpamPoolCidrAllocationArrayOutput
ToVpcIpamPoolCidrAllocationArrayOutputWithContext(context.Context) VpcIpamPoolCidrAllocationArrayOutput
}
VpcIpamPoolCidrAllocationArrayInput is an input type that accepts VpcIpamPoolCidrAllocationArray and VpcIpamPoolCidrAllocationArrayOutput values. You can construct a concrete instance of `VpcIpamPoolCidrAllocationArrayInput` via:
VpcIpamPoolCidrAllocationArray{ VpcIpamPoolCidrAllocationArgs{...} }
type VpcIpamPoolCidrAllocationArrayOutput ¶
type VpcIpamPoolCidrAllocationArrayOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolCidrAllocationArrayOutput) ElementType ¶
func (VpcIpamPoolCidrAllocationArrayOutput) ElementType() reflect.Type
func (VpcIpamPoolCidrAllocationArrayOutput) Index ¶
func (o VpcIpamPoolCidrAllocationArrayOutput) Index(i pulumi.IntInput) VpcIpamPoolCidrAllocationOutput
func (VpcIpamPoolCidrAllocationArrayOutput) ToVpcIpamPoolCidrAllocationArrayOutput ¶
func (o VpcIpamPoolCidrAllocationArrayOutput) ToVpcIpamPoolCidrAllocationArrayOutput() VpcIpamPoolCidrAllocationArrayOutput
func (VpcIpamPoolCidrAllocationArrayOutput) ToVpcIpamPoolCidrAllocationArrayOutputWithContext ¶
func (o VpcIpamPoolCidrAllocationArrayOutput) ToVpcIpamPoolCidrAllocationArrayOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationArrayOutput
type VpcIpamPoolCidrAllocationInput ¶
type VpcIpamPoolCidrAllocationInput interface {
pulumi.Input
ToVpcIpamPoolCidrAllocationOutput() VpcIpamPoolCidrAllocationOutput
ToVpcIpamPoolCidrAllocationOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationOutput
}
type VpcIpamPoolCidrAllocationMap ¶
type VpcIpamPoolCidrAllocationMap map[string]VpcIpamPoolCidrAllocationInput
func (VpcIpamPoolCidrAllocationMap) ElementType ¶
func (VpcIpamPoolCidrAllocationMap) ElementType() reflect.Type
func (VpcIpamPoolCidrAllocationMap) ToVpcIpamPoolCidrAllocationMapOutput ¶
func (i VpcIpamPoolCidrAllocationMap) ToVpcIpamPoolCidrAllocationMapOutput() VpcIpamPoolCidrAllocationMapOutput
func (VpcIpamPoolCidrAllocationMap) ToVpcIpamPoolCidrAllocationMapOutputWithContext ¶
func (i VpcIpamPoolCidrAllocationMap) ToVpcIpamPoolCidrAllocationMapOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationMapOutput
type VpcIpamPoolCidrAllocationMapInput ¶
type VpcIpamPoolCidrAllocationMapInput interface {
pulumi.Input
ToVpcIpamPoolCidrAllocationMapOutput() VpcIpamPoolCidrAllocationMapOutput
ToVpcIpamPoolCidrAllocationMapOutputWithContext(context.Context) VpcIpamPoolCidrAllocationMapOutput
}
VpcIpamPoolCidrAllocationMapInput is an input type that accepts VpcIpamPoolCidrAllocationMap and VpcIpamPoolCidrAllocationMapOutput values. You can construct a concrete instance of `VpcIpamPoolCidrAllocationMapInput` via:
VpcIpamPoolCidrAllocationMap{ "key": VpcIpamPoolCidrAllocationArgs{...} }
type VpcIpamPoolCidrAllocationMapOutput ¶
type VpcIpamPoolCidrAllocationMapOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolCidrAllocationMapOutput) ElementType ¶
func (VpcIpamPoolCidrAllocationMapOutput) ElementType() reflect.Type
func (VpcIpamPoolCidrAllocationMapOutput) MapIndex ¶
func (o VpcIpamPoolCidrAllocationMapOutput) MapIndex(k pulumi.StringInput) VpcIpamPoolCidrAllocationOutput
func (VpcIpamPoolCidrAllocationMapOutput) ToVpcIpamPoolCidrAllocationMapOutput ¶
func (o VpcIpamPoolCidrAllocationMapOutput) ToVpcIpamPoolCidrAllocationMapOutput() VpcIpamPoolCidrAllocationMapOutput
func (VpcIpamPoolCidrAllocationMapOutput) ToVpcIpamPoolCidrAllocationMapOutputWithContext ¶
func (o VpcIpamPoolCidrAllocationMapOutput) ToVpcIpamPoolCidrAllocationMapOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationMapOutput
type VpcIpamPoolCidrAllocationOutput ¶
type VpcIpamPoolCidrAllocationOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolCidrAllocationOutput) ElementType ¶
func (VpcIpamPoolCidrAllocationOutput) ElementType() reflect.Type
func (VpcIpamPoolCidrAllocationOutput) ToVpcIpamPoolCidrAllocationOutput ¶
func (o VpcIpamPoolCidrAllocationOutput) ToVpcIpamPoolCidrAllocationOutput() VpcIpamPoolCidrAllocationOutput
func (VpcIpamPoolCidrAllocationOutput) ToVpcIpamPoolCidrAllocationOutputWithContext ¶
func (o VpcIpamPoolCidrAllocationOutput) ToVpcIpamPoolCidrAllocationOutputWithContext(ctx context.Context) VpcIpamPoolCidrAllocationOutput
type VpcIpamPoolCidrAllocationState ¶
type VpcIpamPoolCidrAllocationState struct {
// The CIDR you want to assign to the pool.
Cidr pulumi.StringPtrInput
// The description for the allocation.
Description pulumi.StringPtrInput
// Exclude a particular CIDR range from being returned by the pool.
DisallowedCidrs pulumi.StringArrayInput
IpamPoolAllocationId pulumi.StringPtrInput
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringPtrInput
// The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-32`.
NetmaskLength pulumi.IntPtrInput
// The ID of the resource.
ResourceId pulumi.StringPtrInput
// The owner of the resource.
ResourceOwner pulumi.StringPtrInput
// The type of the resource.
ResourceType pulumi.StringPtrInput
}
func (VpcIpamPoolCidrAllocationState) ElementType ¶
func (VpcIpamPoolCidrAllocationState) ElementType() reflect.Type
type VpcIpamPoolCidrArgs ¶
type VpcIpamPoolCidrArgs struct {
// The CIDR you want to assign to the pool.
Cidr pulumi.StringPtrInput
// A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP. This is not stored in the state file. See cidrAuthorizationContext for more information.
CidrAuthorizationContext VpcIpamPoolCidrCidrAuthorizationContextPtrInput
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringInput
}
The set of arguments for constructing a VpcIpamPoolCidr resource.
func (VpcIpamPoolCidrArgs) ElementType ¶
func (VpcIpamPoolCidrArgs) ElementType() reflect.Type
type VpcIpamPoolCidrArray ¶
type VpcIpamPoolCidrArray []VpcIpamPoolCidrInput
func (VpcIpamPoolCidrArray) ElementType ¶
func (VpcIpamPoolCidrArray) ElementType() reflect.Type
func (VpcIpamPoolCidrArray) ToVpcIpamPoolCidrArrayOutput ¶
func (i VpcIpamPoolCidrArray) ToVpcIpamPoolCidrArrayOutput() VpcIpamPoolCidrArrayOutput
func (VpcIpamPoolCidrArray) ToVpcIpamPoolCidrArrayOutputWithContext ¶
func (i VpcIpamPoolCidrArray) ToVpcIpamPoolCidrArrayOutputWithContext(ctx context.Context) VpcIpamPoolCidrArrayOutput
type VpcIpamPoolCidrArrayInput ¶
type VpcIpamPoolCidrArrayInput interface {
pulumi.Input
ToVpcIpamPoolCidrArrayOutput() VpcIpamPoolCidrArrayOutput
ToVpcIpamPoolCidrArrayOutputWithContext(context.Context) VpcIpamPoolCidrArrayOutput
}
VpcIpamPoolCidrArrayInput is an input type that accepts VpcIpamPoolCidrArray and VpcIpamPoolCidrArrayOutput values. You can construct a concrete instance of `VpcIpamPoolCidrArrayInput` via:
VpcIpamPoolCidrArray{ VpcIpamPoolCidrArgs{...} }
type VpcIpamPoolCidrArrayOutput ¶
type VpcIpamPoolCidrArrayOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolCidrArrayOutput) ElementType ¶
func (VpcIpamPoolCidrArrayOutput) ElementType() reflect.Type
func (VpcIpamPoolCidrArrayOutput) Index ¶
func (o VpcIpamPoolCidrArrayOutput) Index(i pulumi.IntInput) VpcIpamPoolCidrOutput
func (VpcIpamPoolCidrArrayOutput) ToVpcIpamPoolCidrArrayOutput ¶
func (o VpcIpamPoolCidrArrayOutput) ToVpcIpamPoolCidrArrayOutput() VpcIpamPoolCidrArrayOutput
func (VpcIpamPoolCidrArrayOutput) ToVpcIpamPoolCidrArrayOutputWithContext ¶
func (o VpcIpamPoolCidrArrayOutput) ToVpcIpamPoolCidrArrayOutputWithContext(ctx context.Context) VpcIpamPoolCidrArrayOutput
type VpcIpamPoolCidrCidrAuthorizationContextArgs ¶
type VpcIpamPoolCidrCidrAuthorizationContextArgs struct {
// The plain-text authorization message for the prefix and account.
Message pulumi.StringPtrInput `pulumi:"message"`
// The signed authorization message for the prefix and account.
Signature pulumi.StringPtrInput `pulumi:"signature"`
}
func (VpcIpamPoolCidrCidrAuthorizationContextArgs) ElementType ¶
func (VpcIpamPoolCidrCidrAuthorizationContextArgs) ElementType() reflect.Type
func (VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextOutput ¶
func (i VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextOutput() VpcIpamPoolCidrCidrAuthorizationContextOutput
func (VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextOutputWithContext ¶
func (i VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextOutput
func (VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput ¶
func (i VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput() VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
func (VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext ¶
func (i VpcIpamPoolCidrCidrAuthorizationContextArgs) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
type VpcIpamPoolCidrCidrAuthorizationContextInput ¶
type VpcIpamPoolCidrCidrAuthorizationContextInput interface {
pulumi.Input
ToVpcIpamPoolCidrCidrAuthorizationContextOutput() VpcIpamPoolCidrCidrAuthorizationContextOutput
ToVpcIpamPoolCidrCidrAuthorizationContextOutputWithContext(context.Context) VpcIpamPoolCidrCidrAuthorizationContextOutput
}
VpcIpamPoolCidrCidrAuthorizationContextInput is an input type that accepts VpcIpamPoolCidrCidrAuthorizationContextArgs and VpcIpamPoolCidrCidrAuthorizationContextOutput values. You can construct a concrete instance of `VpcIpamPoolCidrCidrAuthorizationContextInput` via:
VpcIpamPoolCidrCidrAuthorizationContextArgs{...}
type VpcIpamPoolCidrCidrAuthorizationContextOutput ¶
type VpcIpamPoolCidrCidrAuthorizationContextOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolCidrCidrAuthorizationContextOutput) ElementType ¶
func (VpcIpamPoolCidrCidrAuthorizationContextOutput) ElementType() reflect.Type
func (VpcIpamPoolCidrCidrAuthorizationContextOutput) Message ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) Message() pulumi.StringPtrOutput
The plain-text authorization message for the prefix and account.
func (VpcIpamPoolCidrCidrAuthorizationContextOutput) Signature ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) Signature() pulumi.StringPtrOutput
The signed authorization message for the prefix and account.
func (VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextOutput ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextOutput() VpcIpamPoolCidrCidrAuthorizationContextOutput
func (VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextOutputWithContext ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextOutput
func (VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput() VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
func (VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
type VpcIpamPoolCidrCidrAuthorizationContextPtrInput ¶
type VpcIpamPoolCidrCidrAuthorizationContextPtrInput interface {
pulumi.Input
ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput() VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext(context.Context) VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
}
VpcIpamPoolCidrCidrAuthorizationContextPtrInput is an input type that accepts VpcIpamPoolCidrCidrAuthorizationContextArgs, VpcIpamPoolCidrCidrAuthorizationContextPtr and VpcIpamPoolCidrCidrAuthorizationContextPtrOutput values. You can construct a concrete instance of `VpcIpamPoolCidrCidrAuthorizationContextPtrInput` via:
VpcIpamPoolCidrCidrAuthorizationContextArgs{...}
or:
nil
func VpcIpamPoolCidrCidrAuthorizationContextPtr ¶
func VpcIpamPoolCidrCidrAuthorizationContextPtr(v *VpcIpamPoolCidrCidrAuthorizationContextArgs) VpcIpamPoolCidrCidrAuthorizationContextPtrInput
type VpcIpamPoolCidrCidrAuthorizationContextPtrOutput ¶
type VpcIpamPoolCidrCidrAuthorizationContextPtrOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ElementType ¶
func (VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ElementType() reflect.Type
func (VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) Message ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) Message() pulumi.StringPtrOutput
The plain-text authorization message for the prefix and account.
func (VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) Signature ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) Signature() pulumi.StringPtrOutput
The signed authorization message for the prefix and account.
func (VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutput() VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
func (VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext ¶
func (o VpcIpamPoolCidrCidrAuthorizationContextPtrOutput) ToVpcIpamPoolCidrCidrAuthorizationContextPtrOutputWithContext(ctx context.Context) VpcIpamPoolCidrCidrAuthorizationContextPtrOutput
type VpcIpamPoolCidrInput ¶
type VpcIpamPoolCidrInput interface {
pulumi.Input
ToVpcIpamPoolCidrOutput() VpcIpamPoolCidrOutput
ToVpcIpamPoolCidrOutputWithContext(ctx context.Context) VpcIpamPoolCidrOutput
}
type VpcIpamPoolCidrMap ¶
type VpcIpamPoolCidrMap map[string]VpcIpamPoolCidrInput
func (VpcIpamPoolCidrMap) ElementType ¶
func (VpcIpamPoolCidrMap) ElementType() reflect.Type
func (VpcIpamPoolCidrMap) ToVpcIpamPoolCidrMapOutput ¶
func (i VpcIpamPoolCidrMap) ToVpcIpamPoolCidrMapOutput() VpcIpamPoolCidrMapOutput
func (VpcIpamPoolCidrMap) ToVpcIpamPoolCidrMapOutputWithContext ¶
func (i VpcIpamPoolCidrMap) ToVpcIpamPoolCidrMapOutputWithContext(ctx context.Context) VpcIpamPoolCidrMapOutput
type VpcIpamPoolCidrMapInput ¶
type VpcIpamPoolCidrMapInput interface {
pulumi.Input
ToVpcIpamPoolCidrMapOutput() VpcIpamPoolCidrMapOutput
ToVpcIpamPoolCidrMapOutputWithContext(context.Context) VpcIpamPoolCidrMapOutput
}
VpcIpamPoolCidrMapInput is an input type that accepts VpcIpamPoolCidrMap and VpcIpamPoolCidrMapOutput values. You can construct a concrete instance of `VpcIpamPoolCidrMapInput` via:
VpcIpamPoolCidrMap{ "key": VpcIpamPoolCidrArgs{...} }
type VpcIpamPoolCidrMapOutput ¶
type VpcIpamPoolCidrMapOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolCidrMapOutput) ElementType ¶
func (VpcIpamPoolCidrMapOutput) ElementType() reflect.Type
func (VpcIpamPoolCidrMapOutput) MapIndex ¶
func (o VpcIpamPoolCidrMapOutput) MapIndex(k pulumi.StringInput) VpcIpamPoolCidrOutput
func (VpcIpamPoolCidrMapOutput) ToVpcIpamPoolCidrMapOutput ¶
func (o VpcIpamPoolCidrMapOutput) ToVpcIpamPoolCidrMapOutput() VpcIpamPoolCidrMapOutput
func (VpcIpamPoolCidrMapOutput) ToVpcIpamPoolCidrMapOutputWithContext ¶
func (o VpcIpamPoolCidrMapOutput) ToVpcIpamPoolCidrMapOutputWithContext(ctx context.Context) VpcIpamPoolCidrMapOutput
type VpcIpamPoolCidrOutput ¶
type VpcIpamPoolCidrOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolCidrOutput) ElementType ¶
func (VpcIpamPoolCidrOutput) ElementType() reflect.Type
func (VpcIpamPoolCidrOutput) ToVpcIpamPoolCidrOutput ¶
func (o VpcIpamPoolCidrOutput) ToVpcIpamPoolCidrOutput() VpcIpamPoolCidrOutput
func (VpcIpamPoolCidrOutput) ToVpcIpamPoolCidrOutputWithContext ¶
func (o VpcIpamPoolCidrOutput) ToVpcIpamPoolCidrOutputWithContext(ctx context.Context) VpcIpamPoolCidrOutput
type VpcIpamPoolCidrState ¶
type VpcIpamPoolCidrState struct {
// The CIDR you want to assign to the pool.
Cidr pulumi.StringPtrInput
// A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP. This is not stored in the state file. See cidrAuthorizationContext for more information.
CidrAuthorizationContext VpcIpamPoolCidrCidrAuthorizationContextPtrInput
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringPtrInput
}
func (VpcIpamPoolCidrState) ElementType ¶
func (VpcIpamPoolCidrState) ElementType() reflect.Type
type VpcIpamPoolInput ¶
type VpcIpamPoolInput interface {
pulumi.Input
ToVpcIpamPoolOutput() VpcIpamPoolOutput
ToVpcIpamPoolOutputWithContext(ctx context.Context) VpcIpamPoolOutput
}
type VpcIpamPoolMap ¶
type VpcIpamPoolMap map[string]VpcIpamPoolInput
func (VpcIpamPoolMap) ElementType ¶
func (VpcIpamPoolMap) ElementType() reflect.Type
func (VpcIpamPoolMap) ToVpcIpamPoolMapOutput ¶
func (i VpcIpamPoolMap) ToVpcIpamPoolMapOutput() VpcIpamPoolMapOutput
func (VpcIpamPoolMap) ToVpcIpamPoolMapOutputWithContext ¶
func (i VpcIpamPoolMap) ToVpcIpamPoolMapOutputWithContext(ctx context.Context) VpcIpamPoolMapOutput
type VpcIpamPoolMapInput ¶
type VpcIpamPoolMapInput interface {
pulumi.Input
ToVpcIpamPoolMapOutput() VpcIpamPoolMapOutput
ToVpcIpamPoolMapOutputWithContext(context.Context) VpcIpamPoolMapOutput
}
VpcIpamPoolMapInput is an input type that accepts VpcIpamPoolMap and VpcIpamPoolMapOutput values. You can construct a concrete instance of `VpcIpamPoolMapInput` via:
VpcIpamPoolMap{ "key": VpcIpamPoolArgs{...} }
type VpcIpamPoolMapOutput ¶
type VpcIpamPoolMapOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolMapOutput) ElementType ¶
func (VpcIpamPoolMapOutput) ElementType() reflect.Type
func (VpcIpamPoolMapOutput) MapIndex ¶
func (o VpcIpamPoolMapOutput) MapIndex(k pulumi.StringInput) VpcIpamPoolOutput
func (VpcIpamPoolMapOutput) ToVpcIpamPoolMapOutput ¶
func (o VpcIpamPoolMapOutput) ToVpcIpamPoolMapOutput() VpcIpamPoolMapOutput
func (VpcIpamPoolMapOutput) ToVpcIpamPoolMapOutputWithContext ¶
func (o VpcIpamPoolMapOutput) ToVpcIpamPoolMapOutputWithContext(ctx context.Context) VpcIpamPoolMapOutput
type VpcIpamPoolOutput ¶
type VpcIpamPoolOutput struct{ *pulumi.OutputState }
func (VpcIpamPoolOutput) ElementType ¶
func (VpcIpamPoolOutput) ElementType() reflect.Type
func (VpcIpamPoolOutput) ToVpcIpamPoolOutput ¶
func (o VpcIpamPoolOutput) ToVpcIpamPoolOutput() VpcIpamPoolOutput
func (VpcIpamPoolOutput) ToVpcIpamPoolOutputWithContext ¶
func (o VpcIpamPoolOutput) ToVpcIpamPoolOutputWithContext(ctx context.Context) VpcIpamPoolOutput
type VpcIpamPoolState ¶
type VpcIpamPoolState struct {
// The IP protocol assigned to this pool. You must choose either IPv4 or IPv6 protocol for a pool.
AddressFamily pulumi.StringPtrInput
// A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16 (unless you provide a different netmask value when you create the new allocation).
AllocationDefaultNetmaskLength pulumi.IntPtrInput
// The maximum netmask length that will be required for CIDR allocations in this pool.
AllocationMaxNetmaskLength pulumi.IntPtrInput
// The minimum netmask length that will be required for CIDR allocations in this pool.
AllocationMinNetmaskLength pulumi.IntPtrInput
// Tags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
AllocationResourceTags pulumi.StringMapInput
// Amazon Resource Name (ARN) of IPAM
Arn pulumi.StringPtrInput
// If you include this argument, IPAM automatically imports any VPCs you have in your scope that fall
// within the CIDR range in the pool.
AutoImport pulumi.BoolPtrInput
// Limits which AWS service the pool can be used in. Only useable on public scopes. Valid Values: `ec2`.
AwsService pulumi.StringPtrInput
// A description for the IPAM pool.
Description pulumi.StringPtrInput
// The ID of the scope in which you would like to create the IPAM pool.
IpamScopeId pulumi.StringPtrInput
IpamScopeType pulumi.StringPtrInput
// The locale in which you would like to create the IPAM pool. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. Possible values: Any AWS region, such as `us-east-1`.
Locale pulumi.StringPtrInput
PoolDepth pulumi.IntPtrInput
// Defines whether or not IPv6 pool space is publicly advertisable over the internet. This option is not available for IPv4 pool space.
PubliclyAdvertisable pulumi.BoolPtrInput
// The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool.
SourceIpamPoolId pulumi.StringPtrInput
// The ID of the IPAM
State pulumi.StringPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (VpcIpamPoolState) ElementType ¶
func (VpcIpamPoolState) ElementType() reflect.Type
type VpcIpamPreviewNextCidr ¶
type VpcIpamPreviewNextCidr struct {
pulumi.CustomResourceState
// The previewed CIDR from the pool.
Cidr pulumi.StringOutput `pulumi:"cidr"`
// Exclude a particular CIDR range from being returned by the pool.
DisallowedCidrs pulumi.StringArrayOutput `pulumi:"disallowedCidrs"`
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringOutput `pulumi:"ipamPoolId"`
// The netmask length of the CIDR you would like to preview from the IPAM pool.
NetmaskLength pulumi.IntPtrOutput `pulumi:"netmaskLength"`
}
Previews a CIDR from an IPAM address pool. Only works for private IPv4.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
exampleVpcIpam, err := ec2.NewVpcIpam(ctx, "exampleVpcIpam", &ec2.VpcIpamArgs{
OperatingRegions: ec2.VpcIpamOperatingRegionArray{
&ec2.VpcIpamOperatingRegionArgs{
RegionName: pulumi.String(current.Name),
},
},
})
if err != nil {
return err
}
exampleVpcIpamPool, err := ec2.NewVpcIpamPool(ctx, "exampleVpcIpamPool", &ec2.VpcIpamPoolArgs{
AddressFamily: pulumi.String("ipv4"),
IpamScopeId: exampleVpcIpam.PrivateDefaultScopeId,
Locale: pulumi.String(current.Name),
})
if err != nil {
return err
}
exampleVpcIpamPoolCidr, err := ec2.NewVpcIpamPoolCidr(ctx, "exampleVpcIpamPoolCidr", &ec2.VpcIpamPoolCidrArgs{
IpamPoolId: exampleVpcIpamPool.ID(),
Cidr: pulumi.String("172.2.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpamPreviewNextCidr(ctx, "exampleVpcIpamPreviewNextCidr", &ec2.VpcIpamPreviewNextCidrArgs{
IpamPoolId: exampleVpcIpamPool.ID(),
NetmaskLength: pulumi.Int(28),
DisallowedCidrs: pulumi.StringArray{
pulumi.String("172.2.0.0/32"),
},
}, pulumi.DependsOn([]pulumi.Resource{
exampleVpcIpamPoolCidr,
}))
if err != nil {
return err
}
return nil
})
}
```
func GetVpcIpamPreviewNextCidr ¶
func GetVpcIpamPreviewNextCidr(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcIpamPreviewNextCidrState, opts ...pulumi.ResourceOption) (*VpcIpamPreviewNextCidr, error)
GetVpcIpamPreviewNextCidr gets an existing VpcIpamPreviewNextCidr 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 NewVpcIpamPreviewNextCidr ¶
func NewVpcIpamPreviewNextCidr(ctx *pulumi.Context, name string, args *VpcIpamPreviewNextCidrArgs, opts ...pulumi.ResourceOption) (*VpcIpamPreviewNextCidr, error)
NewVpcIpamPreviewNextCidr registers a new resource with the given unique name, arguments, and options.
func (*VpcIpamPreviewNextCidr) ElementType ¶
func (*VpcIpamPreviewNextCidr) ElementType() reflect.Type
func (*VpcIpamPreviewNextCidr) ToVpcIpamPreviewNextCidrOutput ¶
func (i *VpcIpamPreviewNextCidr) ToVpcIpamPreviewNextCidrOutput() VpcIpamPreviewNextCidrOutput
func (*VpcIpamPreviewNextCidr) ToVpcIpamPreviewNextCidrOutputWithContext ¶
func (i *VpcIpamPreviewNextCidr) ToVpcIpamPreviewNextCidrOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrOutput
type VpcIpamPreviewNextCidrArgs ¶
type VpcIpamPreviewNextCidrArgs struct {
// Exclude a particular CIDR range from being returned by the pool.
DisallowedCidrs pulumi.StringArrayInput
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringInput
// The netmask length of the CIDR you would like to preview from the IPAM pool.
NetmaskLength pulumi.IntPtrInput
}
The set of arguments for constructing a VpcIpamPreviewNextCidr resource.
func (VpcIpamPreviewNextCidrArgs) ElementType ¶
func (VpcIpamPreviewNextCidrArgs) ElementType() reflect.Type
type VpcIpamPreviewNextCidrArray ¶
type VpcIpamPreviewNextCidrArray []VpcIpamPreviewNextCidrInput
func (VpcIpamPreviewNextCidrArray) ElementType ¶
func (VpcIpamPreviewNextCidrArray) ElementType() reflect.Type
func (VpcIpamPreviewNextCidrArray) ToVpcIpamPreviewNextCidrArrayOutput ¶
func (i VpcIpamPreviewNextCidrArray) ToVpcIpamPreviewNextCidrArrayOutput() VpcIpamPreviewNextCidrArrayOutput
func (VpcIpamPreviewNextCidrArray) ToVpcIpamPreviewNextCidrArrayOutputWithContext ¶
func (i VpcIpamPreviewNextCidrArray) ToVpcIpamPreviewNextCidrArrayOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrArrayOutput
type VpcIpamPreviewNextCidrArrayInput ¶
type VpcIpamPreviewNextCidrArrayInput interface {
pulumi.Input
ToVpcIpamPreviewNextCidrArrayOutput() VpcIpamPreviewNextCidrArrayOutput
ToVpcIpamPreviewNextCidrArrayOutputWithContext(context.Context) VpcIpamPreviewNextCidrArrayOutput
}
VpcIpamPreviewNextCidrArrayInput is an input type that accepts VpcIpamPreviewNextCidrArray and VpcIpamPreviewNextCidrArrayOutput values. You can construct a concrete instance of `VpcIpamPreviewNextCidrArrayInput` via:
VpcIpamPreviewNextCidrArray{ VpcIpamPreviewNextCidrArgs{...} }
type VpcIpamPreviewNextCidrArrayOutput ¶
type VpcIpamPreviewNextCidrArrayOutput struct{ *pulumi.OutputState }
func (VpcIpamPreviewNextCidrArrayOutput) ElementType ¶
func (VpcIpamPreviewNextCidrArrayOutput) ElementType() reflect.Type
func (VpcIpamPreviewNextCidrArrayOutput) Index ¶
func (o VpcIpamPreviewNextCidrArrayOutput) Index(i pulumi.IntInput) VpcIpamPreviewNextCidrOutput
func (VpcIpamPreviewNextCidrArrayOutput) ToVpcIpamPreviewNextCidrArrayOutput ¶
func (o VpcIpamPreviewNextCidrArrayOutput) ToVpcIpamPreviewNextCidrArrayOutput() VpcIpamPreviewNextCidrArrayOutput
func (VpcIpamPreviewNextCidrArrayOutput) ToVpcIpamPreviewNextCidrArrayOutputWithContext ¶
func (o VpcIpamPreviewNextCidrArrayOutput) ToVpcIpamPreviewNextCidrArrayOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrArrayOutput
type VpcIpamPreviewNextCidrInput ¶
type VpcIpamPreviewNextCidrInput interface {
pulumi.Input
ToVpcIpamPreviewNextCidrOutput() VpcIpamPreviewNextCidrOutput
ToVpcIpamPreviewNextCidrOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrOutput
}
type VpcIpamPreviewNextCidrMap ¶
type VpcIpamPreviewNextCidrMap map[string]VpcIpamPreviewNextCidrInput
func (VpcIpamPreviewNextCidrMap) ElementType ¶
func (VpcIpamPreviewNextCidrMap) ElementType() reflect.Type
func (VpcIpamPreviewNextCidrMap) ToVpcIpamPreviewNextCidrMapOutput ¶
func (i VpcIpamPreviewNextCidrMap) ToVpcIpamPreviewNextCidrMapOutput() VpcIpamPreviewNextCidrMapOutput
func (VpcIpamPreviewNextCidrMap) ToVpcIpamPreviewNextCidrMapOutputWithContext ¶
func (i VpcIpamPreviewNextCidrMap) ToVpcIpamPreviewNextCidrMapOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrMapOutput
type VpcIpamPreviewNextCidrMapInput ¶
type VpcIpamPreviewNextCidrMapInput interface {
pulumi.Input
ToVpcIpamPreviewNextCidrMapOutput() VpcIpamPreviewNextCidrMapOutput
ToVpcIpamPreviewNextCidrMapOutputWithContext(context.Context) VpcIpamPreviewNextCidrMapOutput
}
VpcIpamPreviewNextCidrMapInput is an input type that accepts VpcIpamPreviewNextCidrMap and VpcIpamPreviewNextCidrMapOutput values. You can construct a concrete instance of `VpcIpamPreviewNextCidrMapInput` via:
VpcIpamPreviewNextCidrMap{ "key": VpcIpamPreviewNextCidrArgs{...} }
type VpcIpamPreviewNextCidrMapOutput ¶
type VpcIpamPreviewNextCidrMapOutput struct{ *pulumi.OutputState }
func (VpcIpamPreviewNextCidrMapOutput) ElementType ¶
func (VpcIpamPreviewNextCidrMapOutput) ElementType() reflect.Type
func (VpcIpamPreviewNextCidrMapOutput) MapIndex ¶
func (o VpcIpamPreviewNextCidrMapOutput) MapIndex(k pulumi.StringInput) VpcIpamPreviewNextCidrOutput
func (VpcIpamPreviewNextCidrMapOutput) ToVpcIpamPreviewNextCidrMapOutput ¶
func (o VpcIpamPreviewNextCidrMapOutput) ToVpcIpamPreviewNextCidrMapOutput() VpcIpamPreviewNextCidrMapOutput
func (VpcIpamPreviewNextCidrMapOutput) ToVpcIpamPreviewNextCidrMapOutputWithContext ¶
func (o VpcIpamPreviewNextCidrMapOutput) ToVpcIpamPreviewNextCidrMapOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrMapOutput
type VpcIpamPreviewNextCidrOutput ¶
type VpcIpamPreviewNextCidrOutput struct{ *pulumi.OutputState }
func (VpcIpamPreviewNextCidrOutput) ElementType ¶
func (VpcIpamPreviewNextCidrOutput) ElementType() reflect.Type
func (VpcIpamPreviewNextCidrOutput) ToVpcIpamPreviewNextCidrOutput ¶
func (o VpcIpamPreviewNextCidrOutput) ToVpcIpamPreviewNextCidrOutput() VpcIpamPreviewNextCidrOutput
func (VpcIpamPreviewNextCidrOutput) ToVpcIpamPreviewNextCidrOutputWithContext ¶
func (o VpcIpamPreviewNextCidrOutput) ToVpcIpamPreviewNextCidrOutputWithContext(ctx context.Context) VpcIpamPreviewNextCidrOutput
type VpcIpamPreviewNextCidrState ¶
type VpcIpamPreviewNextCidrState struct {
// The previewed CIDR from the pool.
Cidr pulumi.StringPtrInput
// Exclude a particular CIDR range from being returned by the pool.
DisallowedCidrs pulumi.StringArrayInput
// The ID of the pool to which you want to assign a CIDR.
IpamPoolId pulumi.StringPtrInput
// The netmask length of the CIDR you would like to preview from the IPAM pool.
NetmaskLength pulumi.IntPtrInput
}
func (VpcIpamPreviewNextCidrState) ElementType ¶
func (VpcIpamPreviewNextCidrState) ElementType() reflect.Type
type VpcIpamScope ¶
type VpcIpamScope struct {
pulumi.CustomResourceState
Arn pulumi.StringOutput `pulumi:"arn"`
// A description for the scope you're creating.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The ARN of the IPAM for which you're creating this scope.
IpamArn pulumi.StringOutput `pulumi:"ipamArn"`
// The ID of the IPAM for which you're creating this scope.
IpamId pulumi.StringOutput `pulumi:"ipamId"`
IpamScopeType pulumi.StringOutput `pulumi:"ipamScopeType"`
// Defines if the scope is the default scope or not.
IsDefault pulumi.BoolOutput `pulumi:"isDefault"`
// Count of pools under this scope
PoolCount pulumi.IntOutput `pulumi:"poolCount"`
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Creates a scope for AWS IPAM.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetRegion(ctx, nil, nil)
if err != nil {
return err
}
exampleVpcIpam, err := ec2.NewVpcIpam(ctx, "exampleVpcIpam", &ec2.VpcIpamArgs{
OperatingRegions: ec2.VpcIpamOperatingRegionArray{
&ec2.VpcIpamOperatingRegionArgs{
RegionName: pulumi.String(current.Name),
},
},
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpamScope(ctx, "exampleVpcIpamScope", &ec2.VpcIpamScopeArgs{
IpamId: exampleVpcIpam.ID(),
Description: pulumi.String("Another Scope"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
IPAMs can be imported using the `scope_id`, e.g.
```sh
$ pulumi import aws:ec2/vpcIpamScope:VpcIpamScope example ipam-scope-0513c69f283d11dfb
```
func GetVpcIpamScope ¶
func GetVpcIpamScope(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcIpamScopeState, opts ...pulumi.ResourceOption) (*VpcIpamScope, error)
GetVpcIpamScope gets an existing VpcIpamScope 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 NewVpcIpamScope ¶
func NewVpcIpamScope(ctx *pulumi.Context, name string, args *VpcIpamScopeArgs, opts ...pulumi.ResourceOption) (*VpcIpamScope, error)
NewVpcIpamScope registers a new resource with the given unique name, arguments, and options.
func (*VpcIpamScope) ElementType ¶
func (*VpcIpamScope) ElementType() reflect.Type
func (*VpcIpamScope) ToVpcIpamScopeOutput ¶
func (i *VpcIpamScope) ToVpcIpamScopeOutput() VpcIpamScopeOutput
func (*VpcIpamScope) ToVpcIpamScopeOutputWithContext ¶
func (i *VpcIpamScope) ToVpcIpamScopeOutputWithContext(ctx context.Context) VpcIpamScopeOutput
type VpcIpamScopeArgs ¶
type VpcIpamScopeArgs struct {
// A description for the scope you're creating.
Description pulumi.StringPtrInput
// The ID of the IPAM for which you're creating this scope.
IpamId pulumi.StringInput
Tags pulumi.StringMapInput
}
The set of arguments for constructing a VpcIpamScope resource.
func (VpcIpamScopeArgs) ElementType ¶
func (VpcIpamScopeArgs) ElementType() reflect.Type
type VpcIpamScopeArray ¶
type VpcIpamScopeArray []VpcIpamScopeInput
func (VpcIpamScopeArray) ElementType ¶
func (VpcIpamScopeArray) ElementType() reflect.Type
func (VpcIpamScopeArray) ToVpcIpamScopeArrayOutput ¶
func (i VpcIpamScopeArray) ToVpcIpamScopeArrayOutput() VpcIpamScopeArrayOutput
func (VpcIpamScopeArray) ToVpcIpamScopeArrayOutputWithContext ¶
func (i VpcIpamScopeArray) ToVpcIpamScopeArrayOutputWithContext(ctx context.Context) VpcIpamScopeArrayOutput
type VpcIpamScopeArrayInput ¶
type VpcIpamScopeArrayInput interface {
pulumi.Input
ToVpcIpamScopeArrayOutput() VpcIpamScopeArrayOutput
ToVpcIpamScopeArrayOutputWithContext(context.Context) VpcIpamScopeArrayOutput
}
VpcIpamScopeArrayInput is an input type that accepts VpcIpamScopeArray and VpcIpamScopeArrayOutput values. You can construct a concrete instance of `VpcIpamScopeArrayInput` via:
VpcIpamScopeArray{ VpcIpamScopeArgs{...} }
type VpcIpamScopeArrayOutput ¶
type VpcIpamScopeArrayOutput struct{ *pulumi.OutputState }
func (VpcIpamScopeArrayOutput) ElementType ¶
func (VpcIpamScopeArrayOutput) ElementType() reflect.Type
func (VpcIpamScopeArrayOutput) Index ¶
func (o VpcIpamScopeArrayOutput) Index(i pulumi.IntInput) VpcIpamScopeOutput
func (VpcIpamScopeArrayOutput) ToVpcIpamScopeArrayOutput ¶
func (o VpcIpamScopeArrayOutput) ToVpcIpamScopeArrayOutput() VpcIpamScopeArrayOutput
func (VpcIpamScopeArrayOutput) ToVpcIpamScopeArrayOutputWithContext ¶
func (o VpcIpamScopeArrayOutput) ToVpcIpamScopeArrayOutputWithContext(ctx context.Context) VpcIpamScopeArrayOutput
type VpcIpamScopeInput ¶
type VpcIpamScopeInput interface {
pulumi.Input
ToVpcIpamScopeOutput() VpcIpamScopeOutput
ToVpcIpamScopeOutputWithContext(ctx context.Context) VpcIpamScopeOutput
}
type VpcIpamScopeMap ¶
type VpcIpamScopeMap map[string]VpcIpamScopeInput
func (VpcIpamScopeMap) ElementType ¶
func (VpcIpamScopeMap) ElementType() reflect.Type
func (VpcIpamScopeMap) ToVpcIpamScopeMapOutput ¶
func (i VpcIpamScopeMap) ToVpcIpamScopeMapOutput() VpcIpamScopeMapOutput
func (VpcIpamScopeMap) ToVpcIpamScopeMapOutputWithContext ¶
func (i VpcIpamScopeMap) ToVpcIpamScopeMapOutputWithContext(ctx context.Context) VpcIpamScopeMapOutput
type VpcIpamScopeMapInput ¶
type VpcIpamScopeMapInput interface {
pulumi.Input
ToVpcIpamScopeMapOutput() VpcIpamScopeMapOutput
ToVpcIpamScopeMapOutputWithContext(context.Context) VpcIpamScopeMapOutput
}
VpcIpamScopeMapInput is an input type that accepts VpcIpamScopeMap and VpcIpamScopeMapOutput values. You can construct a concrete instance of `VpcIpamScopeMapInput` via:
VpcIpamScopeMap{ "key": VpcIpamScopeArgs{...} }
type VpcIpamScopeMapOutput ¶
type VpcIpamScopeMapOutput struct{ *pulumi.OutputState }
func (VpcIpamScopeMapOutput) ElementType ¶
func (VpcIpamScopeMapOutput) ElementType() reflect.Type
func (VpcIpamScopeMapOutput) MapIndex ¶
func (o VpcIpamScopeMapOutput) MapIndex(k pulumi.StringInput) VpcIpamScopeOutput
func (VpcIpamScopeMapOutput) ToVpcIpamScopeMapOutput ¶
func (o VpcIpamScopeMapOutput) ToVpcIpamScopeMapOutput() VpcIpamScopeMapOutput
func (VpcIpamScopeMapOutput) ToVpcIpamScopeMapOutputWithContext ¶
func (o VpcIpamScopeMapOutput) ToVpcIpamScopeMapOutputWithContext(ctx context.Context) VpcIpamScopeMapOutput
type VpcIpamScopeOutput ¶
type VpcIpamScopeOutput struct{ *pulumi.OutputState }
func (VpcIpamScopeOutput) ElementType ¶
func (VpcIpamScopeOutput) ElementType() reflect.Type
func (VpcIpamScopeOutput) ToVpcIpamScopeOutput ¶
func (o VpcIpamScopeOutput) ToVpcIpamScopeOutput() VpcIpamScopeOutput
func (VpcIpamScopeOutput) ToVpcIpamScopeOutputWithContext ¶
func (o VpcIpamScopeOutput) ToVpcIpamScopeOutputWithContext(ctx context.Context) VpcIpamScopeOutput
type VpcIpamScopeState ¶
type VpcIpamScopeState struct {
Arn pulumi.StringPtrInput
// A description for the scope you're creating.
Description pulumi.StringPtrInput
// The ARN of the IPAM for which you're creating this scope.
IpamArn pulumi.StringPtrInput
// The ID of the IPAM for which you're creating this scope.
IpamId pulumi.StringPtrInput
IpamScopeType pulumi.StringPtrInput
// Defines if the scope is the default scope or not.
IsDefault pulumi.BoolPtrInput
// Count of pools under this scope
PoolCount pulumi.IntPtrInput
Tags pulumi.StringMapInput
TagsAll pulumi.StringMapInput
}
func (VpcIpamScopeState) ElementType ¶
func (VpcIpamScopeState) ElementType() reflect.Type
type VpcIpamState ¶
type VpcIpamState struct {
// Amazon Resource Name (ARN) of IPAM
Arn pulumi.StringPtrInput
// A description for the IPAM.
Description pulumi.StringPtrInput
// Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region.
OperatingRegions VpcIpamOperatingRegionArrayInput
// The ID of the IPAM's private scope. A scope is a top-level container in IPAM. Each scope represents an IP-independent network. Scopes enable you to represent networks where you have overlapping IP space. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private scope is intended for private IP space. The public scope is intended for all internet-routable IP space.
PrivateDefaultScopeId pulumi.StringPtrInput
// The ID of the IPAM's public scope. A scope is a top-level container in IPAM. Each scope represents an IP-independent network. Scopes enable you to represent networks where you have overlapping IP space. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private scope is intended for private
// IP space. The public scope is intended for all internet-routable IP space.
PublicDefaultScopeId pulumi.StringPtrInput
// The number of scopes in the IPAM.
ScopeCount pulumi.IntPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (VpcIpamState) ElementType ¶
func (VpcIpamState) ElementType() reflect.Type
type VpcIpv4CidrBlockAssociation ¶
type VpcIpv4CidrBlockAssociation struct {
pulumi.CustomResourceState
// The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
// The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
Ipv4IpamPoolId pulumi.StringPtrOutput `pulumi:"ipv4IpamPoolId"`
// The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
Ipv4NetmaskLength pulumi.IntPtrOutput `pulumi:"ipv4NetmaskLength"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpv4CidrBlockAssociation(ctx, "secondaryCidr", &ec2.VpcIpv4CidrBlockAssociationArgs{
VpcId: main.ID(),
CidrBlock: pulumi.String("172.2.0.0/16"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_vpc_ipv4_cidr_block_association` can be imported by using the VPC CIDR Association ID, e.g.,
```sh
$ pulumi import aws:ec2/vpcIpv4CidrBlockAssociation:VpcIpv4CidrBlockAssociation example vpc-cidr-assoc-xxxxxxxx
```
func GetVpcIpv4CidrBlockAssociation ¶
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 ¶
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.
func (*VpcIpv4CidrBlockAssociation) ElementType ¶
func (*VpcIpv4CidrBlockAssociation) ElementType() reflect.Type
func (*VpcIpv4CidrBlockAssociation) ToVpcIpv4CidrBlockAssociationOutput ¶
func (i *VpcIpv4CidrBlockAssociation) ToVpcIpv4CidrBlockAssociationOutput() VpcIpv4CidrBlockAssociationOutput
func (*VpcIpv4CidrBlockAssociation) ToVpcIpv4CidrBlockAssociationOutputWithContext ¶
func (i *VpcIpv4CidrBlockAssociation) ToVpcIpv4CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationOutput
type VpcIpv4CidrBlockAssociationArgs ¶
type VpcIpv4CidrBlockAssociationArgs struct {
// The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
CidrBlock pulumi.StringPtrInput
// The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
Ipv4IpamPoolId pulumi.StringPtrInput
// The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
Ipv4NetmaskLength pulumi.IntPtrInput
// 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 ¶
func (VpcIpv4CidrBlockAssociationArgs) ElementType() reflect.Type
type VpcIpv4CidrBlockAssociationArray ¶
type VpcIpv4CidrBlockAssociationArray []VpcIpv4CidrBlockAssociationInput
func (VpcIpv4CidrBlockAssociationArray) ElementType ¶
func (VpcIpv4CidrBlockAssociationArray) ElementType() reflect.Type
func (VpcIpv4CidrBlockAssociationArray) ToVpcIpv4CidrBlockAssociationArrayOutput ¶
func (i VpcIpv4CidrBlockAssociationArray) ToVpcIpv4CidrBlockAssociationArrayOutput() VpcIpv4CidrBlockAssociationArrayOutput
func (VpcIpv4CidrBlockAssociationArray) ToVpcIpv4CidrBlockAssociationArrayOutputWithContext ¶
func (i VpcIpv4CidrBlockAssociationArray) ToVpcIpv4CidrBlockAssociationArrayOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationArrayOutput
type VpcIpv4CidrBlockAssociationArrayInput ¶
type VpcIpv4CidrBlockAssociationArrayInput interface {
pulumi.Input
ToVpcIpv4CidrBlockAssociationArrayOutput() VpcIpv4CidrBlockAssociationArrayOutput
ToVpcIpv4CidrBlockAssociationArrayOutputWithContext(context.Context) VpcIpv4CidrBlockAssociationArrayOutput
}
VpcIpv4CidrBlockAssociationArrayInput is an input type that accepts VpcIpv4CidrBlockAssociationArray and VpcIpv4CidrBlockAssociationArrayOutput values. You can construct a concrete instance of `VpcIpv4CidrBlockAssociationArrayInput` via:
VpcIpv4CidrBlockAssociationArray{ VpcIpv4CidrBlockAssociationArgs{...} }
type VpcIpv4CidrBlockAssociationArrayOutput ¶
type VpcIpv4CidrBlockAssociationArrayOutput struct{ *pulumi.OutputState }
func (VpcIpv4CidrBlockAssociationArrayOutput) ElementType ¶
func (VpcIpv4CidrBlockAssociationArrayOutput) ElementType() reflect.Type
func (VpcIpv4CidrBlockAssociationArrayOutput) ToVpcIpv4CidrBlockAssociationArrayOutput ¶
func (o VpcIpv4CidrBlockAssociationArrayOutput) ToVpcIpv4CidrBlockAssociationArrayOutput() VpcIpv4CidrBlockAssociationArrayOutput
func (VpcIpv4CidrBlockAssociationArrayOutput) ToVpcIpv4CidrBlockAssociationArrayOutputWithContext ¶
func (o VpcIpv4CidrBlockAssociationArrayOutput) ToVpcIpv4CidrBlockAssociationArrayOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationArrayOutput
type VpcIpv4CidrBlockAssociationInput ¶
type VpcIpv4CidrBlockAssociationInput interface {
pulumi.Input
ToVpcIpv4CidrBlockAssociationOutput() VpcIpv4CidrBlockAssociationOutput
ToVpcIpv4CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationOutput
}
type VpcIpv4CidrBlockAssociationMap ¶
type VpcIpv4CidrBlockAssociationMap map[string]VpcIpv4CidrBlockAssociationInput
func (VpcIpv4CidrBlockAssociationMap) ElementType ¶
func (VpcIpv4CidrBlockAssociationMap) ElementType() reflect.Type
func (VpcIpv4CidrBlockAssociationMap) ToVpcIpv4CidrBlockAssociationMapOutput ¶
func (i VpcIpv4CidrBlockAssociationMap) ToVpcIpv4CidrBlockAssociationMapOutput() VpcIpv4CidrBlockAssociationMapOutput
func (VpcIpv4CidrBlockAssociationMap) ToVpcIpv4CidrBlockAssociationMapOutputWithContext ¶
func (i VpcIpv4CidrBlockAssociationMap) ToVpcIpv4CidrBlockAssociationMapOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationMapOutput
type VpcIpv4CidrBlockAssociationMapInput ¶
type VpcIpv4CidrBlockAssociationMapInput interface {
pulumi.Input
ToVpcIpv4CidrBlockAssociationMapOutput() VpcIpv4CidrBlockAssociationMapOutput
ToVpcIpv4CidrBlockAssociationMapOutputWithContext(context.Context) VpcIpv4CidrBlockAssociationMapOutput
}
VpcIpv4CidrBlockAssociationMapInput is an input type that accepts VpcIpv4CidrBlockAssociationMap and VpcIpv4CidrBlockAssociationMapOutput values. You can construct a concrete instance of `VpcIpv4CidrBlockAssociationMapInput` via:
VpcIpv4CidrBlockAssociationMap{ "key": VpcIpv4CidrBlockAssociationArgs{...} }
type VpcIpv4CidrBlockAssociationMapOutput ¶
type VpcIpv4CidrBlockAssociationMapOutput struct{ *pulumi.OutputState }
func (VpcIpv4CidrBlockAssociationMapOutput) ElementType ¶
func (VpcIpv4CidrBlockAssociationMapOutput) ElementType() reflect.Type
func (VpcIpv4CidrBlockAssociationMapOutput) MapIndex ¶
func (o VpcIpv4CidrBlockAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcIpv4CidrBlockAssociationOutput
func (VpcIpv4CidrBlockAssociationMapOutput) ToVpcIpv4CidrBlockAssociationMapOutput ¶
func (o VpcIpv4CidrBlockAssociationMapOutput) ToVpcIpv4CidrBlockAssociationMapOutput() VpcIpv4CidrBlockAssociationMapOutput
func (VpcIpv4CidrBlockAssociationMapOutput) ToVpcIpv4CidrBlockAssociationMapOutputWithContext ¶
func (o VpcIpv4CidrBlockAssociationMapOutput) ToVpcIpv4CidrBlockAssociationMapOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationMapOutput
type VpcIpv4CidrBlockAssociationOutput ¶
type VpcIpv4CidrBlockAssociationOutput struct{ *pulumi.OutputState }
func (VpcIpv4CidrBlockAssociationOutput) ElementType ¶
func (VpcIpv4CidrBlockAssociationOutput) ElementType() reflect.Type
func (VpcIpv4CidrBlockAssociationOutput) ToVpcIpv4CidrBlockAssociationOutput ¶
func (o VpcIpv4CidrBlockAssociationOutput) ToVpcIpv4CidrBlockAssociationOutput() VpcIpv4CidrBlockAssociationOutput
func (VpcIpv4CidrBlockAssociationOutput) ToVpcIpv4CidrBlockAssociationOutputWithContext ¶
func (o VpcIpv4CidrBlockAssociationOutput) ToVpcIpv4CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv4CidrBlockAssociationOutput
type VpcIpv4CidrBlockAssociationState ¶
type VpcIpv4CidrBlockAssociationState struct {
// The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
CidrBlock pulumi.StringPtrInput
// The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
Ipv4IpamPoolId pulumi.StringPtrInput
// The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
Ipv4NetmaskLength pulumi.IntPtrInput
// The ID of the VPC to make the association with.
VpcId pulumi.StringPtrInput
}
func (VpcIpv4CidrBlockAssociationState) ElementType ¶
func (VpcIpv4CidrBlockAssociationState) ElementType() reflect.Type
type VpcIpv6CidrBlockAssociation ¶
type VpcIpv6CidrBlockAssociation struct {
pulumi.CustomResourceState
// The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and he IPAM pool does not have `allocationDefaultNetmask` set.
Ipv6CidrBlock pulumi.StringOutput `pulumi:"ipv6CidrBlock"`
// The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts.
Ipv6IpamPoolId pulumi.StringOutput `pulumi:"ipv6IpamPoolId"`
// The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required
Ipv6NetmaskLength pulumi.IntPtrOutput `pulumi:"ipv6NetmaskLength"`
// The ID of the VPC to make the association with.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides a resource to associate additional IPv6 CIDR blocks with a VPC.
The `ec2.VpcIpv6CidrBlockAssociation` resource allows IPv6 CIDR blocks to be added to the VPC.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
testVpc, err := ec2.NewVpc(ctx, "testVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewVpcIpv6CidrBlockAssociation(ctx, "testVpcIpv6CidrBlockAssociation", &ec2.VpcIpv6CidrBlockAssociationArgs{
Ipv6IpamPoolId: pulumi.Any(aws_vpc_ipam_pool.Test.Id),
VpcId: testVpc.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
`aws_vpc_ipv6_cidr_block_association` can be imported by using the VPC CIDR Association ID, e.g.,
```sh
$ pulumi import aws:ec2/vpcIpv6CidrBlockAssociation:VpcIpv6CidrBlockAssociation example vpc-cidr-assoc-xxxxxxxx
```
func GetVpcIpv6CidrBlockAssociation ¶
func GetVpcIpv6CidrBlockAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcIpv6CidrBlockAssociationState, opts ...pulumi.ResourceOption) (*VpcIpv6CidrBlockAssociation, error)
GetVpcIpv6CidrBlockAssociation gets an existing VpcIpv6CidrBlockAssociation 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 NewVpcIpv6CidrBlockAssociation ¶
func NewVpcIpv6CidrBlockAssociation(ctx *pulumi.Context, name string, args *VpcIpv6CidrBlockAssociationArgs, opts ...pulumi.ResourceOption) (*VpcIpv6CidrBlockAssociation, error)
NewVpcIpv6CidrBlockAssociation registers a new resource with the given unique name, arguments, and options.
func (*VpcIpv6CidrBlockAssociation) ElementType ¶
func (*VpcIpv6CidrBlockAssociation) ElementType() reflect.Type
func (*VpcIpv6CidrBlockAssociation) ToVpcIpv6CidrBlockAssociationOutput ¶
func (i *VpcIpv6CidrBlockAssociation) ToVpcIpv6CidrBlockAssociationOutput() VpcIpv6CidrBlockAssociationOutput
func (*VpcIpv6CidrBlockAssociation) ToVpcIpv6CidrBlockAssociationOutputWithContext ¶
func (i *VpcIpv6CidrBlockAssociation) ToVpcIpv6CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationOutput
type VpcIpv6CidrBlockAssociationArgs ¶
type VpcIpv6CidrBlockAssociationArgs struct {
// The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and he IPAM pool does not have `allocationDefaultNetmask` set.
Ipv6CidrBlock pulumi.StringPtrInput
// The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts.
Ipv6IpamPoolId pulumi.StringInput
// The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required
Ipv6NetmaskLength pulumi.IntPtrInput
// The ID of the VPC to make the association with.
VpcId pulumi.StringInput
}
The set of arguments for constructing a VpcIpv6CidrBlockAssociation resource.
func (VpcIpv6CidrBlockAssociationArgs) ElementType ¶
func (VpcIpv6CidrBlockAssociationArgs) ElementType() reflect.Type
type VpcIpv6CidrBlockAssociationArray ¶
type VpcIpv6CidrBlockAssociationArray []VpcIpv6CidrBlockAssociationInput
func (VpcIpv6CidrBlockAssociationArray) ElementType ¶
func (VpcIpv6CidrBlockAssociationArray) ElementType() reflect.Type
func (VpcIpv6CidrBlockAssociationArray) ToVpcIpv6CidrBlockAssociationArrayOutput ¶
func (i VpcIpv6CidrBlockAssociationArray) ToVpcIpv6CidrBlockAssociationArrayOutput() VpcIpv6CidrBlockAssociationArrayOutput
func (VpcIpv6CidrBlockAssociationArray) ToVpcIpv6CidrBlockAssociationArrayOutputWithContext ¶
func (i VpcIpv6CidrBlockAssociationArray) ToVpcIpv6CidrBlockAssociationArrayOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationArrayOutput
type VpcIpv6CidrBlockAssociationArrayInput ¶
type VpcIpv6CidrBlockAssociationArrayInput interface {
pulumi.Input
ToVpcIpv6CidrBlockAssociationArrayOutput() VpcIpv6CidrBlockAssociationArrayOutput
ToVpcIpv6CidrBlockAssociationArrayOutputWithContext(context.Context) VpcIpv6CidrBlockAssociationArrayOutput
}
VpcIpv6CidrBlockAssociationArrayInput is an input type that accepts VpcIpv6CidrBlockAssociationArray and VpcIpv6CidrBlockAssociationArrayOutput values. You can construct a concrete instance of `VpcIpv6CidrBlockAssociationArrayInput` via:
VpcIpv6CidrBlockAssociationArray{ VpcIpv6CidrBlockAssociationArgs{...} }
type VpcIpv6CidrBlockAssociationArrayOutput ¶
type VpcIpv6CidrBlockAssociationArrayOutput struct{ *pulumi.OutputState }
func (VpcIpv6CidrBlockAssociationArrayOutput) ElementType ¶
func (VpcIpv6CidrBlockAssociationArrayOutput) ElementType() reflect.Type
func (VpcIpv6CidrBlockAssociationArrayOutput) ToVpcIpv6CidrBlockAssociationArrayOutput ¶
func (o VpcIpv6CidrBlockAssociationArrayOutput) ToVpcIpv6CidrBlockAssociationArrayOutput() VpcIpv6CidrBlockAssociationArrayOutput
func (VpcIpv6CidrBlockAssociationArrayOutput) ToVpcIpv6CidrBlockAssociationArrayOutputWithContext ¶
func (o VpcIpv6CidrBlockAssociationArrayOutput) ToVpcIpv6CidrBlockAssociationArrayOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationArrayOutput
type VpcIpv6CidrBlockAssociationInput ¶
type VpcIpv6CidrBlockAssociationInput interface {
pulumi.Input
ToVpcIpv6CidrBlockAssociationOutput() VpcIpv6CidrBlockAssociationOutput
ToVpcIpv6CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationOutput
}
type VpcIpv6CidrBlockAssociationMap ¶
type VpcIpv6CidrBlockAssociationMap map[string]VpcIpv6CidrBlockAssociationInput
func (VpcIpv6CidrBlockAssociationMap) ElementType ¶
func (VpcIpv6CidrBlockAssociationMap) ElementType() reflect.Type
func (VpcIpv6CidrBlockAssociationMap) ToVpcIpv6CidrBlockAssociationMapOutput ¶
func (i VpcIpv6CidrBlockAssociationMap) ToVpcIpv6CidrBlockAssociationMapOutput() VpcIpv6CidrBlockAssociationMapOutput
func (VpcIpv6CidrBlockAssociationMap) ToVpcIpv6CidrBlockAssociationMapOutputWithContext ¶
func (i VpcIpv6CidrBlockAssociationMap) ToVpcIpv6CidrBlockAssociationMapOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationMapOutput
type VpcIpv6CidrBlockAssociationMapInput ¶
type VpcIpv6CidrBlockAssociationMapInput interface {
pulumi.Input
ToVpcIpv6CidrBlockAssociationMapOutput() VpcIpv6CidrBlockAssociationMapOutput
ToVpcIpv6CidrBlockAssociationMapOutputWithContext(context.Context) VpcIpv6CidrBlockAssociationMapOutput
}
VpcIpv6CidrBlockAssociationMapInput is an input type that accepts VpcIpv6CidrBlockAssociationMap and VpcIpv6CidrBlockAssociationMapOutput values. You can construct a concrete instance of `VpcIpv6CidrBlockAssociationMapInput` via:
VpcIpv6CidrBlockAssociationMap{ "key": VpcIpv6CidrBlockAssociationArgs{...} }
type VpcIpv6CidrBlockAssociationMapOutput ¶
type VpcIpv6CidrBlockAssociationMapOutput struct{ *pulumi.OutputState }
func (VpcIpv6CidrBlockAssociationMapOutput) ElementType ¶
func (VpcIpv6CidrBlockAssociationMapOutput) ElementType() reflect.Type
func (VpcIpv6CidrBlockAssociationMapOutput) MapIndex ¶
func (o VpcIpv6CidrBlockAssociationMapOutput) MapIndex(k pulumi.StringInput) VpcIpv6CidrBlockAssociationOutput
func (VpcIpv6CidrBlockAssociationMapOutput) ToVpcIpv6CidrBlockAssociationMapOutput ¶
func (o VpcIpv6CidrBlockAssociationMapOutput) ToVpcIpv6CidrBlockAssociationMapOutput() VpcIpv6CidrBlockAssociationMapOutput
func (VpcIpv6CidrBlockAssociationMapOutput) ToVpcIpv6CidrBlockAssociationMapOutputWithContext ¶
func (o VpcIpv6CidrBlockAssociationMapOutput) ToVpcIpv6CidrBlockAssociationMapOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationMapOutput
type VpcIpv6CidrBlockAssociationOutput ¶
type VpcIpv6CidrBlockAssociationOutput struct{ *pulumi.OutputState }
func (VpcIpv6CidrBlockAssociationOutput) ElementType ¶
func (VpcIpv6CidrBlockAssociationOutput) ElementType() reflect.Type
func (VpcIpv6CidrBlockAssociationOutput) ToVpcIpv6CidrBlockAssociationOutput ¶
func (o VpcIpv6CidrBlockAssociationOutput) ToVpcIpv6CidrBlockAssociationOutput() VpcIpv6CidrBlockAssociationOutput
func (VpcIpv6CidrBlockAssociationOutput) ToVpcIpv6CidrBlockAssociationOutputWithContext ¶
func (o VpcIpv6CidrBlockAssociationOutput) ToVpcIpv6CidrBlockAssociationOutputWithContext(ctx context.Context) VpcIpv6CidrBlockAssociationOutput
type VpcIpv6CidrBlockAssociationState ¶
type VpcIpv6CidrBlockAssociationState struct {
// The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and he IPAM pool does not have `allocationDefaultNetmask` set.
Ipv6CidrBlock pulumi.StringPtrInput
// The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts.
Ipv6IpamPoolId pulumi.StringPtrInput
// The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required
Ipv6NetmaskLength pulumi.IntPtrInput
// The ID of the VPC to make the association with.
VpcId pulumi.StringPtrInput
}
func (VpcIpv6CidrBlockAssociationState) ElementType ¶
func (VpcIpv6CidrBlockAssociationState) ElementType() reflect.Type
type VpcMap ¶
func (VpcMap) ElementType ¶
func (VpcMap) ToVpcMapOutput ¶
func (i VpcMap) ToVpcMapOutput() VpcMapOutput
func (VpcMap) ToVpcMapOutputWithContext ¶
func (i VpcMap) ToVpcMapOutputWithContext(ctx context.Context) VpcMapOutput
type VpcMapInput ¶
type VpcMapInput interface {
pulumi.Input
ToVpcMapOutput() VpcMapOutput
ToVpcMapOutputWithContext(context.Context) VpcMapOutput
}
VpcMapInput is an input type that accepts VpcMap and VpcMapOutput values. You can construct a concrete instance of `VpcMapInput` via:
VpcMap{ "key": VpcArgs{...} }
type VpcMapOutput ¶
type VpcMapOutput struct{ *pulumi.OutputState }
func (VpcMapOutput) ElementType ¶
func (VpcMapOutput) ElementType() reflect.Type
func (VpcMapOutput) MapIndex ¶
func (o VpcMapOutput) MapIndex(k pulumi.StringInput) VpcOutput
func (VpcMapOutput) ToVpcMapOutput ¶
func (o VpcMapOutput) ToVpcMapOutput() VpcMapOutput
func (VpcMapOutput) ToVpcMapOutputWithContext ¶
func (o VpcMapOutput) ToVpcMapOutputWithContext(ctx context.Context) VpcMapOutput
type VpcOutput ¶
type VpcOutput struct{ *pulumi.OutputState }
func (VpcOutput) ElementType ¶
func (VpcOutput) ToVpcOutput ¶
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](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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 and region).
AutoAccept pulumi.BoolPtrOutput `pulumi:"autoAccept"`
// The AWS account ID of the owner of the peer VPC.
// Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) 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](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to be set for the VPC that requests
// the peering connection (a maximum of one).
Requester VpcPeeringConnectionRequesterOutput `pulumi:"requester"`
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcPeeringConnection(ctx, "foo", &ec2.VpcPeeringConnectionArgs{
PeerOwnerId: pulumi.Any(_var.Peer_owner_id),
PeerVpcId: pulumi.Any(aws_vpc.Bar.Id),
VpcId: pulumi.Any(aws_vpc.Foo.Id),
})
if err != nil {
return err
}
return nil
})
}
```
Basic usage with connection options:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpcPeeringConnection(ctx, "foo", &ec2.VpcPeeringConnectionArgs{
PeerOwnerId: pulumi.Any(_var.Peer_owner_id),
PeerVpcId: pulumi.Any(aws_vpc.Bar.Id),
VpcId: pulumi.Any(aws_vpc.Foo.Id),
Accepter: &ec2.VpcPeeringConnectionAccepterArgs{
AllowRemoteVpcDnsResolution: pulumi.Bool(true),
},
Requester: &ec2.VpcPeeringConnectionRequesterArgs{
AllowRemoteVpcDnsResolution: pulumi.Bool(true),
},
})
if err != nil {
return err
}
return nil
})
}
```
Basic usage with tags:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooVpc, err := ec2.NewVpc(ctx, "fooVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
})
if err != nil {
return err
}
bar, err := ec2.NewVpc(ctx, "bar", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.2.0.0/16"),
})
if err != nil {
return err
}
_, err = ec2.NewVpcPeeringConnection(ctx, "fooVpcPeeringConnection", &ec2.VpcPeeringConnectionArgs{
PeerOwnerId: pulumi.Any(_var.Peer_owner_id),
PeerVpcId: bar.ID(),
VpcId: fooVpc.ID(),
AutoAccept: pulumi.Bool(true),
Tags: pulumi.StringMap{
"Name": pulumi.String("VPC Peering between foo and bar"),
},
})
if err != nil {
return err
}
return nil
})
}
```
Basic usage with region:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooVpc, err := ec2.NewVpc(ctx, "fooVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
}, pulumi.Provider(aws.Us-west-2))
if err != nil {
return err
}
bar, err := ec2.NewVpc(ctx, "bar", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.2.0.0/16"),
}, pulumi.Provider(aws.Us-east-1))
if err != nil {
return err
}
_, err = ec2.NewVpcPeeringConnection(ctx, "fooVpcPeeringConnection", &ec2.VpcPeeringConnectionArgs{
PeerOwnerId: pulumi.Any(_var.Peer_owner_id),
PeerVpcId: bar.ID(),
VpcId: fooVpc.ID(),
PeerRegion: pulumi.String("us-east-1"),
})
if err != nil {
return err
}
return nil
})
}
``` ## Notes
If both VPCs are not in the same AWS account and region 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.
## Import
VPC Peering resources can be imported using the `vpc peering id`, e.g.,
```sh
$ pulumi import aws:ec2/vpcPeeringConnection:VpcPeeringConnection test_connection pcx-111aaa111
```
[1]/docs/providers/aws/index.html
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.
func (*VpcPeeringConnection) ElementType ¶
func (*VpcPeeringConnection) ElementType() reflect.Type
func (*VpcPeeringConnection) ToVpcPeeringConnectionOutput ¶
func (i *VpcPeeringConnection) ToVpcPeeringConnectionOutput() VpcPeeringConnectionOutput
func (*VpcPeeringConnection) ToVpcPeeringConnectionOutputWithContext ¶
func (i *VpcPeeringConnection) ToVpcPeeringConnectionOutputWithContext(ctx context.Context) VpcPeeringConnectionOutput
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]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
Requester VpcPeeringConnectionAccepterRequesterOutput `pulumi:"requester"`
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/providers" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := providers.Newaws(ctx, "peer", &providers.awsArgs{
Region: "us-west-2",
})
if err != nil {
return err
}
main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
peerVpc, err := ec2.NewVpc(ctx, "peerVpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.1.0.0/16"),
}, pulumi.Provider(aws.Peer))
if err != nil {
return err
}
peerCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
if err != nil {
return err
}
peerVpcPeeringConnection, err := ec2.NewVpcPeeringConnection(ctx, "peerVpcPeeringConnection", &ec2.VpcPeeringConnectionArgs{
VpcId: main.ID(),
PeerVpcId: peerVpc.ID(),
PeerOwnerId: pulumi.String(peerCallerIdentity.AccountId),
PeerRegion: pulumi.String("us-west-2"),
AutoAccept: pulumi.Bool(false),
Tags: pulumi.StringMap{
"Side": pulumi.String("Requester"),
},
})
if err != nil {
return err
}
_, err = ec2.NewVpcPeeringConnectionAccepter(ctx, "peerVpcPeeringConnectionAccepter", &ec2.VpcPeeringConnectionAccepterArgs{
VpcPeeringConnectionId: peerVpcPeeringConnection.ID(),
AutoAccept: pulumi.Bool(true),
Tags: pulumi.StringMap{
"Side": pulumi.String("Accepter"),
},
}, pulumi.Provider(aws.Peer))
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Peering Connection Accepters can be imported by using the Peering Connection ID, e.g.,
```sh
$ pulumi import aws:ec2/vpcPeeringConnectionAccepter:VpcPeeringConnectionAccepter example pcx-12345678
```
Certain resource arguments, like `auto_accept`, do not have an EC2 API method for reading the information after peering connection creation. If the argument is set in the provider configuration on an imported resource, this provder will always show a difference. To workaround this behavior, either omit the argument from the configuration or use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to hide the difference, e.g. terraform resource "aws_vpc_peering_connection_accepter" "example" {
... other configuration ... ¶
There is no AWS EC2 API for reading auto_accept ¶
lifecycle {
ignore_changes = [auto_accept]
} }
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.
func (*VpcPeeringConnectionAccepter) ElementType ¶
func (*VpcPeeringConnectionAccepter) ElementType() reflect.Type
func (*VpcPeeringConnectionAccepter) ToVpcPeeringConnectionAccepterOutput ¶
func (i *VpcPeeringConnectionAccepter) ToVpcPeeringConnectionAccepterOutput() VpcPeeringConnectionAccepterOutput
func (*VpcPeeringConnectionAccepter) ToVpcPeeringConnectionAccepterOutputWithContext ¶
func (i *VpcPeeringConnectionAccepter) ToVpcPeeringConnectionAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterOutput
type VpcPeeringConnectionAccepterAccepter ¶
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 ¶
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 ¶
func (VpcPeeringConnectionAccepterAccepterArgs) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutput ¶
func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutput() VpcPeeringConnectionAccepterAccepterOutput
func (VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutputWithContext ¶
func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterOutput
func (VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutput ¶
func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput
func (VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext ¶
func (i VpcPeeringConnectionAccepterAccepterArgs) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput
type VpcPeeringConnectionAccepterAccepterInput ¶
type VpcPeeringConnectionAccepterAccepterInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterAccepterOutput() VpcPeeringConnectionAccepterAccepterOutput
ToVpcPeeringConnectionAccepterAccepterOutputWithContext(context.Context) VpcPeeringConnectionAccepterAccepterOutput
}
VpcPeeringConnectionAccepterAccepterInput is an input type that accepts VpcPeeringConnectionAccepterAccepterArgs and VpcPeeringConnectionAccepterAccepterOutput values. You can construct a concrete instance of `VpcPeeringConnectionAccepterAccepterInput` via:
VpcPeeringConnectionAccepterAccepterArgs{...}
type VpcPeeringConnectionAccepterAccepterOutput ¶
type VpcPeeringConnectionAccepterAccepterOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterAccepterOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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 (VpcPeeringConnectionAccepterAccepterOutput) AllowVpcToRemoteClassicLink ¶
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 ¶
func (VpcPeeringConnectionAccepterAccepterOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutput ¶
func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutput() VpcPeeringConnectionAccepterAccepterOutput
func (VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutputWithContext ¶
func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterOutput
func (VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput ¶
func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput
func (VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext ¶
func (o VpcPeeringConnectionAccepterAccepterOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput
type VpcPeeringConnectionAccepterAccepterPtrInput ¶
type VpcPeeringConnectionAccepterAccepterPtrInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput
ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput
}
VpcPeeringConnectionAccepterAccepterPtrInput is an input type that accepts VpcPeeringConnectionAccepterAccepterArgs, VpcPeeringConnectionAccepterAccepterPtr and VpcPeeringConnectionAccepterAccepterPtrOutput values. You can construct a concrete instance of `VpcPeeringConnectionAccepterAccepterPtrInput` via:
VpcPeeringConnectionAccepterAccepterArgs{...}
or:
nil
func VpcPeeringConnectionAccepterAccepterPtr ¶
func VpcPeeringConnectionAccepterAccepterPtr(v *VpcPeeringConnectionAccepterAccepterArgs) VpcPeeringConnectionAccepterAccepterPtrInput
type VpcPeeringConnectionAccepterAccepterPtrOutput ¶
type VpcPeeringConnectionAccepterAccepterPtrOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterAccepterPtrOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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 (VpcPeeringConnectionAccepterAccepterPtrOutput) AllowVpcToRemoteClassicLink ¶
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) ElementType ¶
func (VpcPeeringConnectionAccepterAccepterPtrOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput ¶
func (o VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutput() VpcPeeringConnectionAccepterAccepterPtrOutput
func (VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext ¶
func (o VpcPeeringConnectionAccepterAccepterPtrOutput) ToVpcPeeringConnectionAccepterAccepterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterAccepterPtrOutput
type VpcPeeringConnectionAccepterArgs ¶
type VpcPeeringConnectionAccepterArgs struct {
// A configuration block that describes [VPC Peering Connection]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
Requester VpcPeeringConnectionAccepterRequesterPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The VPC Peering Connection ID to manage.
VpcPeeringConnectionId pulumi.StringInput
}
The set of arguments for constructing a VpcPeeringConnectionAccepter resource.
func (VpcPeeringConnectionAccepterArgs) ElementType ¶
func (VpcPeeringConnectionAccepterArgs) ElementType() reflect.Type
type VpcPeeringConnectionAccepterArray ¶
type VpcPeeringConnectionAccepterArray []VpcPeeringConnectionAccepterInput
func (VpcPeeringConnectionAccepterArray) ElementType ¶
func (VpcPeeringConnectionAccepterArray) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterArray) ToVpcPeeringConnectionAccepterArrayOutput ¶
func (i VpcPeeringConnectionAccepterArray) ToVpcPeeringConnectionAccepterArrayOutput() VpcPeeringConnectionAccepterArrayOutput
func (VpcPeeringConnectionAccepterArray) ToVpcPeeringConnectionAccepterArrayOutputWithContext ¶
func (i VpcPeeringConnectionAccepterArray) ToVpcPeeringConnectionAccepterArrayOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterArrayOutput
type VpcPeeringConnectionAccepterArrayInput ¶
type VpcPeeringConnectionAccepterArrayInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterArrayOutput() VpcPeeringConnectionAccepterArrayOutput
ToVpcPeeringConnectionAccepterArrayOutputWithContext(context.Context) VpcPeeringConnectionAccepterArrayOutput
}
VpcPeeringConnectionAccepterArrayInput is an input type that accepts VpcPeeringConnectionAccepterArray and VpcPeeringConnectionAccepterArrayOutput values. You can construct a concrete instance of `VpcPeeringConnectionAccepterArrayInput` via:
VpcPeeringConnectionAccepterArray{ VpcPeeringConnectionAccepterArgs{...} }
type VpcPeeringConnectionAccepterArrayOutput ¶
type VpcPeeringConnectionAccepterArrayOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterArrayOutput) ElementType ¶
func (VpcPeeringConnectionAccepterArrayOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterArrayOutput) ToVpcPeeringConnectionAccepterArrayOutput ¶
func (o VpcPeeringConnectionAccepterArrayOutput) ToVpcPeeringConnectionAccepterArrayOutput() VpcPeeringConnectionAccepterArrayOutput
func (VpcPeeringConnectionAccepterArrayOutput) ToVpcPeeringConnectionAccepterArrayOutputWithContext ¶
func (o VpcPeeringConnectionAccepterArrayOutput) ToVpcPeeringConnectionAccepterArrayOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterArrayOutput
type VpcPeeringConnectionAccepterInput ¶
type VpcPeeringConnectionAccepterInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterOutput() VpcPeeringConnectionAccepterOutput
ToVpcPeeringConnectionAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterOutput
}
type VpcPeeringConnectionAccepterMap ¶
type VpcPeeringConnectionAccepterMap map[string]VpcPeeringConnectionAccepterInput
func (VpcPeeringConnectionAccepterMap) ElementType ¶
func (VpcPeeringConnectionAccepterMap) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterMap) ToVpcPeeringConnectionAccepterMapOutput ¶
func (i VpcPeeringConnectionAccepterMap) ToVpcPeeringConnectionAccepterMapOutput() VpcPeeringConnectionAccepterMapOutput
func (VpcPeeringConnectionAccepterMap) ToVpcPeeringConnectionAccepterMapOutputWithContext ¶
func (i VpcPeeringConnectionAccepterMap) ToVpcPeeringConnectionAccepterMapOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterMapOutput
type VpcPeeringConnectionAccepterMapInput ¶
type VpcPeeringConnectionAccepterMapInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterMapOutput() VpcPeeringConnectionAccepterMapOutput
ToVpcPeeringConnectionAccepterMapOutputWithContext(context.Context) VpcPeeringConnectionAccepterMapOutput
}
VpcPeeringConnectionAccepterMapInput is an input type that accepts VpcPeeringConnectionAccepterMap and VpcPeeringConnectionAccepterMapOutput values. You can construct a concrete instance of `VpcPeeringConnectionAccepterMapInput` via:
VpcPeeringConnectionAccepterMap{ "key": VpcPeeringConnectionAccepterArgs{...} }
type VpcPeeringConnectionAccepterMapOutput ¶
type VpcPeeringConnectionAccepterMapOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterMapOutput) ElementType ¶
func (VpcPeeringConnectionAccepterMapOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterMapOutput) MapIndex ¶
func (o VpcPeeringConnectionAccepterMapOutput) MapIndex(k pulumi.StringInput) VpcPeeringConnectionAccepterOutput
func (VpcPeeringConnectionAccepterMapOutput) ToVpcPeeringConnectionAccepterMapOutput ¶
func (o VpcPeeringConnectionAccepterMapOutput) ToVpcPeeringConnectionAccepterMapOutput() VpcPeeringConnectionAccepterMapOutput
func (VpcPeeringConnectionAccepterMapOutput) ToVpcPeeringConnectionAccepterMapOutputWithContext ¶
func (o VpcPeeringConnectionAccepterMapOutput) ToVpcPeeringConnectionAccepterMapOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterMapOutput
type VpcPeeringConnectionAccepterOutput ¶
type VpcPeeringConnectionAccepterOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterOutput) ElementType ¶
func (VpcPeeringConnectionAccepterOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterOutput) ToVpcPeeringConnectionAccepterOutput ¶
func (o VpcPeeringConnectionAccepterOutput) ToVpcPeeringConnectionAccepterOutput() VpcPeeringConnectionAccepterOutput
func (VpcPeeringConnectionAccepterOutput) ToVpcPeeringConnectionAccepterOutputWithContext ¶
func (o VpcPeeringConnectionAccepterOutput) ToVpcPeeringConnectionAccepterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterOutput
type VpcPeeringConnectionAccepterRequester ¶
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 ¶
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 ¶
func (VpcPeeringConnectionAccepterRequesterArgs) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutput ¶
func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutput() VpcPeeringConnectionAccepterRequesterOutput
func (VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutputWithContext ¶
func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterOutput
func (VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutput ¶
func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput
func (VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext ¶
func (i VpcPeeringConnectionAccepterRequesterArgs) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput
type VpcPeeringConnectionAccepterRequesterInput ¶
type VpcPeeringConnectionAccepterRequesterInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterRequesterOutput() VpcPeeringConnectionAccepterRequesterOutput
ToVpcPeeringConnectionAccepterRequesterOutputWithContext(context.Context) VpcPeeringConnectionAccepterRequesterOutput
}
VpcPeeringConnectionAccepterRequesterInput is an input type that accepts VpcPeeringConnectionAccepterRequesterArgs and VpcPeeringConnectionAccepterRequesterOutput values. You can construct a concrete instance of `VpcPeeringConnectionAccepterRequesterInput` via:
VpcPeeringConnectionAccepterRequesterArgs{...}
type VpcPeeringConnectionAccepterRequesterOutput ¶
type VpcPeeringConnectionAccepterRequesterOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterRequesterOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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 (VpcPeeringConnectionAccepterRequesterOutput) AllowVpcToRemoteClassicLink ¶
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 ¶
func (VpcPeeringConnectionAccepterRequesterOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutput ¶
func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutput() VpcPeeringConnectionAccepterRequesterOutput
func (VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutputWithContext ¶
func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterOutput
func (VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput ¶
func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput
func (VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext ¶
func (o VpcPeeringConnectionAccepterRequesterOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput
type VpcPeeringConnectionAccepterRequesterPtrInput ¶
type VpcPeeringConnectionAccepterRequesterPtrInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput
ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext(context.Context) VpcPeeringConnectionAccepterRequesterPtrOutput
}
VpcPeeringConnectionAccepterRequesterPtrInput is an input type that accepts VpcPeeringConnectionAccepterRequesterArgs, VpcPeeringConnectionAccepterRequesterPtr and VpcPeeringConnectionAccepterRequesterPtrOutput values. You can construct a concrete instance of `VpcPeeringConnectionAccepterRequesterPtrInput` via:
VpcPeeringConnectionAccepterRequesterArgs{...}
or:
nil
func VpcPeeringConnectionAccepterRequesterPtr ¶
func VpcPeeringConnectionAccepterRequesterPtr(v *VpcPeeringConnectionAccepterRequesterArgs) VpcPeeringConnectionAccepterRequesterPtrInput
type VpcPeeringConnectionAccepterRequesterPtrOutput ¶
type VpcPeeringConnectionAccepterRequesterPtrOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterRequesterPtrOutput) AllowClassicLinkToRemoteVpc ¶
func (o VpcPeeringConnectionAccepterRequesterPtrOutput) AllowClassicLinkToRemoteVpc() pulumi.BoolPtrOutput
Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC Peering Connection.
func (VpcPeeringConnectionAccepterRequesterPtrOutput) AllowRemoteVpcDnsResolution ¶
func (o VpcPeeringConnectionAccepterRequesterPtrOutput) 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 (VpcPeeringConnectionAccepterRequesterPtrOutput) AllowVpcToRemoteClassicLink ¶
func (o VpcPeeringConnectionAccepterRequesterPtrOutput) AllowVpcToRemoteClassicLink() pulumi.BoolPtrOutput
Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC Peering Connection.
func (VpcPeeringConnectionAccepterRequesterPtrOutput) ElementType ¶
func (VpcPeeringConnectionAccepterRequesterPtrOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput ¶
func (o VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutput() VpcPeeringConnectionAccepterRequesterPtrOutput
func (VpcPeeringConnectionAccepterRequesterPtrOutput) ToVpcPeeringConnectionAccepterRequesterPtrOutputWithContext ¶
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]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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]
// (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
Requester VpcPeeringConnectionAccepterRequesterPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The ID of the accepter VPC.
VpcId pulumi.StringPtrInput
// The VPC Peering Connection ID to manage.
VpcPeeringConnectionId pulumi.StringPtrInput
}
func (VpcPeeringConnectionAccepterState) ElementType ¶
func (VpcPeeringConnectionAccepterState) ElementType() reflect.Type
type VpcPeeringConnectionAccepterType ¶
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.
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 ¶
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.
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 ¶
func (VpcPeeringConnectionAccepterTypeArgs) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutput ¶
func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutput() VpcPeeringConnectionAccepterTypeOutput
func (VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutputWithContext ¶
func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypeOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypeOutput
func (VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutput ¶
func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput
func (VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext ¶
func (i VpcPeeringConnectionAccepterTypeArgs) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput
type VpcPeeringConnectionAccepterTypeInput ¶
type VpcPeeringConnectionAccepterTypeInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterTypeOutput() VpcPeeringConnectionAccepterTypeOutput
ToVpcPeeringConnectionAccepterTypeOutputWithContext(context.Context) VpcPeeringConnectionAccepterTypeOutput
}
VpcPeeringConnectionAccepterTypeInput is an input type that accepts VpcPeeringConnectionAccepterTypeArgs and VpcPeeringConnectionAccepterTypeOutput values. You can construct a concrete instance of `VpcPeeringConnectionAccepterTypeInput` via:
VpcPeeringConnectionAccepterTypeArgs{...}
type VpcPeeringConnectionAccepterTypeOutput ¶
type VpcPeeringConnectionAccepterTypeOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterTypeOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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.
func (VpcPeeringConnectionAccepterTypeOutput) AllowVpcToRemoteClassicLink ¶
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 ¶
func (VpcPeeringConnectionAccepterTypeOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutput ¶
func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutput() VpcPeeringConnectionAccepterTypeOutput
func (VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutputWithContext ¶
func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypeOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypeOutput
func (VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutput ¶
func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput
func (VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext ¶
func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput
type VpcPeeringConnectionAccepterTypePtrInput ¶
type VpcPeeringConnectionAccepterTypePtrInput interface {
pulumi.Input
ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput
ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(context.Context) VpcPeeringConnectionAccepterTypePtrOutput
}
VpcPeeringConnectionAccepterTypePtrInput is an input type that accepts VpcPeeringConnectionAccepterTypeArgs, VpcPeeringConnectionAccepterTypePtr and VpcPeeringConnectionAccepterTypePtrOutput values. You can construct a concrete instance of `VpcPeeringConnectionAccepterTypePtrInput` via:
VpcPeeringConnectionAccepterTypeArgs{...}
or:
nil
func VpcPeeringConnectionAccepterTypePtr ¶
func VpcPeeringConnectionAccepterTypePtr(v *VpcPeeringConnectionAccepterTypeArgs) VpcPeeringConnectionAccepterTypePtrInput
type VpcPeeringConnectionAccepterTypePtrOutput ¶
type VpcPeeringConnectionAccepterTypePtrOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionAccepterTypePtrOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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.
func (VpcPeeringConnectionAccepterTypePtrOutput) AllowVpcToRemoteClassicLink ¶
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) ElementType ¶
func (VpcPeeringConnectionAccepterTypePtrOutput) ElementType() reflect.Type
func (VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutput ¶
func (o VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutput() VpcPeeringConnectionAccepterTypePtrOutput
func (VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext ¶
func (o VpcPeeringConnectionAccepterTypePtrOutput) ToVpcPeeringConnectionAccepterTypePtrOutputWithContext(ctx context.Context) VpcPeeringConnectionAccepterTypePtrOutput
type VpcPeeringConnectionArgs ¶
type VpcPeeringConnectionArgs struct {
// An optional configuration block that allows for [VPC Peering Connection](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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 and region).
AutoAccept pulumi.BoolPtrInput
// The AWS account ID of the owner of the peer VPC.
// Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) 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](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to be set for the VPC that requests
// the peering connection (a maximum of one).
Requester VpcPeeringConnectionRequesterPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The ID of the requester VPC.
VpcId pulumi.StringInput
}
The set of arguments for constructing a VpcPeeringConnection resource.
func (VpcPeeringConnectionArgs) ElementType ¶
func (VpcPeeringConnectionArgs) ElementType() reflect.Type
type VpcPeeringConnectionArray ¶
type VpcPeeringConnectionArray []VpcPeeringConnectionInput
func (VpcPeeringConnectionArray) ElementType ¶
func (VpcPeeringConnectionArray) ElementType() reflect.Type
func (VpcPeeringConnectionArray) ToVpcPeeringConnectionArrayOutput ¶
func (i VpcPeeringConnectionArray) ToVpcPeeringConnectionArrayOutput() VpcPeeringConnectionArrayOutput
func (VpcPeeringConnectionArray) ToVpcPeeringConnectionArrayOutputWithContext ¶
func (i VpcPeeringConnectionArray) ToVpcPeeringConnectionArrayOutputWithContext(ctx context.Context) VpcPeeringConnectionArrayOutput
type VpcPeeringConnectionArrayInput ¶
type VpcPeeringConnectionArrayInput interface {
pulumi.Input
ToVpcPeeringConnectionArrayOutput() VpcPeeringConnectionArrayOutput
ToVpcPeeringConnectionArrayOutputWithContext(context.Context) VpcPeeringConnectionArrayOutput
}
VpcPeeringConnectionArrayInput is an input type that accepts VpcPeeringConnectionArray and VpcPeeringConnectionArrayOutput values. You can construct a concrete instance of `VpcPeeringConnectionArrayInput` via:
VpcPeeringConnectionArray{ VpcPeeringConnectionArgs{...} }
type VpcPeeringConnectionArrayOutput ¶
type VpcPeeringConnectionArrayOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionArrayOutput) ElementType ¶
func (VpcPeeringConnectionArrayOutput) ElementType() reflect.Type
func (VpcPeeringConnectionArrayOutput) Index ¶
func (o VpcPeeringConnectionArrayOutput) Index(i pulumi.IntInput) VpcPeeringConnectionOutput
func (VpcPeeringConnectionArrayOutput) ToVpcPeeringConnectionArrayOutput ¶
func (o VpcPeeringConnectionArrayOutput) ToVpcPeeringConnectionArrayOutput() VpcPeeringConnectionArrayOutput
func (VpcPeeringConnectionArrayOutput) ToVpcPeeringConnectionArrayOutputWithContext ¶
func (o VpcPeeringConnectionArrayOutput) ToVpcPeeringConnectionArrayOutputWithContext(ctx context.Context) VpcPeeringConnectionArrayOutput
type VpcPeeringConnectionInput ¶
type VpcPeeringConnectionInput interface {
pulumi.Input
ToVpcPeeringConnectionOutput() VpcPeeringConnectionOutput
ToVpcPeeringConnectionOutputWithContext(ctx context.Context) VpcPeeringConnectionOutput
}
type VpcPeeringConnectionMap ¶
type VpcPeeringConnectionMap map[string]VpcPeeringConnectionInput
func (VpcPeeringConnectionMap) ElementType ¶
func (VpcPeeringConnectionMap) ElementType() reflect.Type
func (VpcPeeringConnectionMap) ToVpcPeeringConnectionMapOutput ¶
func (i VpcPeeringConnectionMap) ToVpcPeeringConnectionMapOutput() VpcPeeringConnectionMapOutput
func (VpcPeeringConnectionMap) ToVpcPeeringConnectionMapOutputWithContext ¶
func (i VpcPeeringConnectionMap) ToVpcPeeringConnectionMapOutputWithContext(ctx context.Context) VpcPeeringConnectionMapOutput
type VpcPeeringConnectionMapInput ¶
type VpcPeeringConnectionMapInput interface {
pulumi.Input
ToVpcPeeringConnectionMapOutput() VpcPeeringConnectionMapOutput
ToVpcPeeringConnectionMapOutputWithContext(context.Context) VpcPeeringConnectionMapOutput
}
VpcPeeringConnectionMapInput is an input type that accepts VpcPeeringConnectionMap and VpcPeeringConnectionMapOutput values. You can construct a concrete instance of `VpcPeeringConnectionMapInput` via:
VpcPeeringConnectionMap{ "key": VpcPeeringConnectionArgs{...} }
type VpcPeeringConnectionMapOutput ¶
type VpcPeeringConnectionMapOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionMapOutput) ElementType ¶
func (VpcPeeringConnectionMapOutput) ElementType() reflect.Type
func (VpcPeeringConnectionMapOutput) MapIndex ¶
func (o VpcPeeringConnectionMapOutput) MapIndex(k pulumi.StringInput) VpcPeeringConnectionOutput
func (VpcPeeringConnectionMapOutput) ToVpcPeeringConnectionMapOutput ¶
func (o VpcPeeringConnectionMapOutput) ToVpcPeeringConnectionMapOutput() VpcPeeringConnectionMapOutput
func (VpcPeeringConnectionMapOutput) ToVpcPeeringConnectionMapOutputWithContext ¶
func (o VpcPeeringConnectionMapOutput) ToVpcPeeringConnectionMapOutputWithContext(ctx context.Context) VpcPeeringConnectionMapOutput
type VpcPeeringConnectionOutput ¶
type VpcPeeringConnectionOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionOutput) ElementType ¶
func (VpcPeeringConnectionOutput) ElementType() reflect.Type
func (VpcPeeringConnectionOutput) ToVpcPeeringConnectionOutput ¶
func (o VpcPeeringConnectionOutput) ToVpcPeeringConnectionOutput() VpcPeeringConnectionOutput
func (VpcPeeringConnectionOutput) ToVpcPeeringConnectionOutputWithContext ¶
func (o VpcPeeringConnectionOutput) ToVpcPeeringConnectionOutputWithContext(ctx context.Context) VpcPeeringConnectionOutput
type VpcPeeringConnectionRequester ¶
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.
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 ¶
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.
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 ¶
func (VpcPeeringConnectionRequesterArgs) ElementType() reflect.Type
func (VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutput ¶
func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutput() VpcPeeringConnectionRequesterOutput
func (VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutputWithContext ¶
func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterOutput
func (VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutput ¶
func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput
func (VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutputWithContext ¶
func (i VpcPeeringConnectionRequesterArgs) ToVpcPeeringConnectionRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterPtrOutput
type VpcPeeringConnectionRequesterInput ¶
type VpcPeeringConnectionRequesterInput interface {
pulumi.Input
ToVpcPeeringConnectionRequesterOutput() VpcPeeringConnectionRequesterOutput
ToVpcPeeringConnectionRequesterOutputWithContext(context.Context) VpcPeeringConnectionRequesterOutput
}
VpcPeeringConnectionRequesterInput is an input type that accepts VpcPeeringConnectionRequesterArgs and VpcPeeringConnectionRequesterOutput values. You can construct a concrete instance of `VpcPeeringConnectionRequesterInput` via:
VpcPeeringConnectionRequesterArgs{...}
type VpcPeeringConnectionRequesterOutput ¶
type VpcPeeringConnectionRequesterOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionRequesterOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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.
func (VpcPeeringConnectionRequesterOutput) AllowVpcToRemoteClassicLink ¶
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 ¶
func (VpcPeeringConnectionRequesterOutput) ElementType() reflect.Type
func (VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutput ¶
func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutput() VpcPeeringConnectionRequesterOutput
func (VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutputWithContext ¶
func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterOutput
func (VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutput ¶
func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput
func (VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext ¶
func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext(ctx context.Context) VpcPeeringConnectionRequesterPtrOutput
type VpcPeeringConnectionRequesterPtrInput ¶
type VpcPeeringConnectionRequesterPtrInput interface {
pulumi.Input
ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput
ToVpcPeeringConnectionRequesterPtrOutputWithContext(context.Context) VpcPeeringConnectionRequesterPtrOutput
}
VpcPeeringConnectionRequesterPtrInput is an input type that accepts VpcPeeringConnectionRequesterArgs, VpcPeeringConnectionRequesterPtr and VpcPeeringConnectionRequesterPtrOutput values. You can construct a concrete instance of `VpcPeeringConnectionRequesterPtrInput` via:
VpcPeeringConnectionRequesterArgs{...}
or:
nil
func VpcPeeringConnectionRequesterPtr ¶
func VpcPeeringConnectionRequesterPtr(v *VpcPeeringConnectionRequesterArgs) VpcPeeringConnectionRequesterPtrInput
type VpcPeeringConnectionRequesterPtrOutput ¶
type VpcPeeringConnectionRequesterPtrOutput struct{ *pulumi.OutputState }
func (VpcPeeringConnectionRequesterPtrOutput) AllowClassicLinkToRemoteVpc ¶
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 ¶
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.
func (VpcPeeringConnectionRequesterPtrOutput) AllowVpcToRemoteClassicLink ¶
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) ElementType ¶
func (VpcPeeringConnectionRequesterPtrOutput) ElementType() reflect.Type
func (VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutput ¶
func (o VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutput() VpcPeeringConnectionRequesterPtrOutput
func (VpcPeeringConnectionRequesterPtrOutput) ToVpcPeeringConnectionRequesterPtrOutputWithContext ¶
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](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) 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 and region).
AutoAccept pulumi.BoolPtrInput
// The AWS account ID of the owner of the peer VPC.
// Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) 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](https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to be set for the VPC that requests
// the peering connection (a maximum of one).
Requester VpcPeeringConnectionRequesterPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The ID of the requester VPC.
VpcId pulumi.StringPtrInput
}
func (VpcPeeringConnectionState) ElementType ¶
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`. Conflicts with `ipv6IpamPoolId`
AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput
// The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) 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. Default is `default`, which makes your instances shared on the host. Using either of the other options (`dedicated` or `host`) costs at least $2/hr.
InstanceTenancy pulumi.StringPtrInput
// The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
Ipv4IpamPoolId pulumi.StringPtrInput
// The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
Ipv4NetmaskLength pulumi.IntPtrInput
// The association ID for the IPv6 CIDR block.
Ipv6AssociationId pulumi.StringPtrInput
// IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using `ipv6NetmaskLength`.
Ipv6CidrBlock pulumi.StringPtrInput
// By default when an IPv6 CIDR is assigned to a VPC a default ipv6CidrBlockNetworkBorderGroup will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones.
Ipv6CidrBlockNetworkBorderGroup pulumi.StringPtrInput
// IPAM Pool ID for a IPv6 pool. Conflicts with `assignGeneratedIpv6CidrBlock`.
Ipv6IpamPoolId pulumi.StringPtrInput
// Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`.
Ipv6NetmaskLength pulumi.IntPtrInput
// 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`.
MainRouteTableId pulumi.StringPtrInput
// The ID of the AWS account that owns the VPC.
OwnerId pulumi.StringPtrInput
// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
}
func (VpcState) ElementType ¶
type VpnConnection ¶
type VpnConnection struct {
pulumi.CustomResourceState
// Amazon Resource Name (ARN) of the VPN Connection.
Arn pulumi.StringOutput `pulumi:"arn"`
// 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"`
// Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway.
EnableAcceleration pulumi.BoolOutput `pulumi:"enableAcceleration"`
// The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
LocalIpv4NetworkCidr pulumi.StringOutput `pulumi:"localIpv4NetworkCidr"`
// The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
LocalIpv6NetworkCidr pulumi.StringOutput `pulumi:"localIpv6NetworkCidr"`
// The IPv4 CIDR on the AWS side of the VPN connection.
RemoteIpv4NetworkCidr pulumi.StringOutput `pulumi:"remoteIpv4NetworkCidr"`
// The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
RemoteIpv6NetworkCidr pulumi.StringOutput `pulumi:"remoteIpv6NetworkCidr"`
// The static routes associated with the VPN connection. Detailed below.
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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. See also the `ec2.Tag` for tagging the EC2 Transit Gateway VPN Attachment.
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 action to take after DPD timeout occurs for the first VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
Tunnel1DpdTimeoutAction pulumi.StringPtrOutput `pulumi:"tunnel1DpdTimeoutAction"`
// The number of seconds after which a DPD timeout occurs for the first VPN tunnel. Valid value is equal or higher than `30`.
Tunnel1DpdTimeoutSeconds pulumi.IntPtrOutput `pulumi:"tunnel1DpdTimeoutSeconds"`
// The IKE versions that are permitted for the first VPN tunnel. Valid values are `ikev1 | ikev2`.
Tunnel1IkeVersions pulumi.StringArrayOutput `pulumi:"tunnel1IkeVersions"`
// The CIDR block of the inside IP addresses for the first VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
Tunnel1InsideCidr pulumi.StringOutput `pulumi:"tunnel1InsideCidr"`
// The range of inside IPv6 addresses for the first VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
Tunnel1InsideIpv6Cidr pulumi.StringOutput `pulumi:"tunnel1InsideIpv6Cidr"`
// List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
Tunnel1Phase1DhGroupNumbers pulumi.IntArrayOutput `pulumi:"tunnel1Phase1DhGroupNumbers"`
// List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel1Phase1EncryptionAlgorithms pulumi.StringArrayOutput `pulumi:"tunnel1Phase1EncryptionAlgorithms"`
// One or more integrity algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel1Phase1IntegrityAlgorithms pulumi.StringArrayOutput `pulumi:"tunnel1Phase1IntegrityAlgorithms"`
// The lifetime for phase 1 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `28800`.
Tunnel1Phase1LifetimeSeconds pulumi.IntPtrOutput `pulumi:"tunnel1Phase1LifetimeSeconds"`
// List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
Tunnel1Phase2DhGroupNumbers pulumi.IntArrayOutput `pulumi:"tunnel1Phase2DhGroupNumbers"`
// List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel1Phase2EncryptionAlgorithms pulumi.StringArrayOutput `pulumi:"tunnel1Phase2EncryptionAlgorithms"`
// List of one or more integrity algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel1Phase2IntegrityAlgorithms pulumi.StringArrayOutput `pulumi:"tunnel1Phase2IntegrityAlgorithms"`
// The lifetime for phase 2 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `3600`.
Tunnel1Phase2LifetimeSeconds pulumi.IntPtrOutput `pulumi:"tunnel1Phase2LifetimeSeconds"`
Tunnel1PresharedKey pulumi.StringOutput `pulumi:"tunnel1PresharedKey"`
// The percentage of the rekey window for the first VPN tunnel (determined by `tunnel1RekeyMarginTimeSeconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
Tunnel1RekeyFuzzPercentage pulumi.IntPtrOutput `pulumi:"tunnel1RekeyFuzzPercentage"`
// The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the first VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel1RekeyFuzzPercentage`. Valid value is between `60` and half of `tunnel1Phase2LifetimeSeconds`.
Tunnel1RekeyMarginTimeSeconds pulumi.IntPtrOutput `pulumi:"tunnel1RekeyMarginTimeSeconds"`
// The number of packets in an IKE replay window for the first VPN tunnel. Valid value is between `64` and `2048`.
Tunnel1ReplayWindowSize pulumi.IntPtrOutput `pulumi:"tunnel1ReplayWindowSize"`
// The action to take when the establishing the tunnel for the first VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
Tunnel1StartupAction pulumi.StringPtrOutput `pulumi:"tunnel1StartupAction"`
// 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 action to take after DPD timeout occurs for the second VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
Tunnel2DpdTimeoutAction pulumi.StringPtrOutput `pulumi:"tunnel2DpdTimeoutAction"`
// The number of seconds after which a DPD timeout occurs for the second VPN tunnel. Valid value is equal or higher than `30`.
Tunnel2DpdTimeoutSeconds pulumi.IntPtrOutput `pulumi:"tunnel2DpdTimeoutSeconds"`
// The IKE versions that are permitted for the second VPN tunnel. Valid values are `ikev1 | ikev2`.
Tunnel2IkeVersions pulumi.StringArrayOutput `pulumi:"tunnel2IkeVersions"`
// The CIDR block of the inside IP addresses for the second VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
Tunnel2InsideCidr pulumi.StringOutput `pulumi:"tunnel2InsideCidr"`
// The range of inside IPv6 addresses for the second VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
Tunnel2InsideIpv6Cidr pulumi.StringOutput `pulumi:"tunnel2InsideIpv6Cidr"`
// List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
Tunnel2Phase1DhGroupNumbers pulumi.IntArrayOutput `pulumi:"tunnel2Phase1DhGroupNumbers"`
// List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel2Phase1EncryptionAlgorithms pulumi.StringArrayOutput `pulumi:"tunnel2Phase1EncryptionAlgorithms"`
// One or more integrity algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel2Phase1IntegrityAlgorithms pulumi.StringArrayOutput `pulumi:"tunnel2Phase1IntegrityAlgorithms"`
// The lifetime for phase 1 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `28800`.
Tunnel2Phase1LifetimeSeconds pulumi.IntPtrOutput `pulumi:"tunnel2Phase1LifetimeSeconds"`
// List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
Tunnel2Phase2DhGroupNumbers pulumi.IntArrayOutput `pulumi:"tunnel2Phase2DhGroupNumbers"`
// List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel2Phase2EncryptionAlgorithms pulumi.StringArrayOutput `pulumi:"tunnel2Phase2EncryptionAlgorithms"`
// List of one or more integrity algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel2Phase2IntegrityAlgorithms pulumi.StringArrayOutput `pulumi:"tunnel2Phase2IntegrityAlgorithms"`
// The lifetime for phase 2 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `3600`.
Tunnel2Phase2LifetimeSeconds pulumi.IntPtrOutput `pulumi:"tunnel2Phase2LifetimeSeconds"`
Tunnel2PresharedKey pulumi.StringOutput `pulumi:"tunnel2PresharedKey"`
// The percentage of the rekey window for the second VPN tunnel (determined by `tunnel2RekeyMarginTimeSeconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
Tunnel2RekeyFuzzPercentage pulumi.IntPtrOutput `pulumi:"tunnel2RekeyFuzzPercentage"`
// The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the second VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel2RekeyFuzzPercentage`. Valid value is between `60` and half of `tunnel2Phase2LifetimeSeconds`.
Tunnel2RekeyMarginTimeSeconds pulumi.IntPtrOutput `pulumi:"tunnel2RekeyMarginTimeSeconds"`
// The number of packets in an IKE replay window for the second VPN tunnel. Valid value is between `64` and `2048`.
Tunnel2ReplayWindowSize pulumi.IntPtrOutput `pulumi:"tunnel2ReplayWindowSize"`
// The action to take when the establishing the tunnel for the second VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
Tunnel2StartupAction pulumi.StringPtrOutput `pulumi:"tunnel2StartupAction"`
// The RFC 6890 link-local address of the second VPN tunnel (VPN Gateway Side).
Tunnel2VgwInsideAddress pulumi.StringOutput `pulumi:"tunnel2VgwInsideAddress"`
// Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Valid values are `ipv4 | ipv6`. `ipv6` Supports only EC2 Transit Gateway.
TunnelInsideIpVersion pulumi.StringOutput `pulumi:"tunnelInsideIpVersion"`
// The type of VPN connection. The only type AWS supports at this time is "ipsec.1".
Type pulumi.StringOutput `pulumi:"type"`
// Telemetry for the VPN tunnels. Detailed below.
VgwTelemetries VpnConnectionVgwTelemetryArrayOutput `pulumi:"vgwTelemetries"`
// The ID of the Virtual Private Gateway.
VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"`
}
Manages a Site-to-Site VPN connection. A Site-to-Site VPN connection is an Internet Protocol security (IPsec) VPN connection between a VPC and an on-premises network. Any new Site-to-Site VPN connection that you create is an [AWS VPN connection](https://docs.aws.amazon.com/vpn/latest/s2svpn/vpn-categories.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).
## Example Usage ### EC2 Transit Gateway
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2transitgateway" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "exampleTransitGateway", nil)
if err != nil {
return err
}
exampleCustomerGateway, err := ec2.NewCustomerGateway(ctx, "exampleCustomerGateway", &ec2.CustomerGatewayArgs{
BgpAsn: pulumi.String("65000"),
IpAddress: pulumi.String("172.0.0.1"),
Type: pulumi.String("ipsec.1"),
})
if err != nil {
return err
}
_, err = ec2.NewVpnConnection(ctx, "exampleVpnConnection", &ec2.VpnConnectionArgs{
CustomerGatewayId: exampleCustomerGateway.ID(),
TransitGatewayId: exampleTransitGateway.ID(),
Type: exampleCustomerGateway.Type,
})
if err != nil {
return err
}
return nil
})
}
``` ### Virtual Private Gateway
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc, err := ec2.NewVpc(ctx, "vpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
vpnGateway, err := ec2.NewVpnGateway(ctx, "vpnGateway", &ec2.VpnGatewayArgs{
VpcId: vpc.ID(),
})
if err != nil {
return err
}
customerGateway, err := ec2.NewCustomerGateway(ctx, "customerGateway", &ec2.CustomerGatewayArgs{
BgpAsn: pulumi.String("65000"),
IpAddress: pulumi.String("172.0.0.1"),
Type: pulumi.String("ipsec.1"),
})
if err != nil {
return err
}
_, err = ec2.NewVpnConnection(ctx, "main", &ec2.VpnConnectionArgs{
VpnGatewayId: vpnGateway.ID(),
CustomerGatewayId: customerGateway.ID(),
Type: pulumi.String("ipsec.1"),
StaticRoutesOnly: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPN Connections can be imported using the `vpn connection id`, e.g.,
```sh
$ pulumi import aws:ec2/vpnConnection:VpnConnection testvpnconnection vpn-40f41529
```
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.
func (*VpnConnection) ElementType ¶
func (*VpnConnection) ElementType() reflect.Type
func (*VpnConnection) ToVpnConnectionOutput ¶
func (i *VpnConnection) ToVpnConnectionOutput() VpnConnectionOutput
func (*VpnConnection) ToVpnConnectionOutputWithContext ¶
func (i *VpnConnection) ToVpnConnectionOutputWithContext(ctx context.Context) VpnConnectionOutput
type VpnConnectionArgs ¶
type VpnConnectionArgs struct {
// The ID of the customer gateway.
CustomerGatewayId pulumi.StringInput
// Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway.
EnableAcceleration pulumi.BoolPtrInput
// The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
LocalIpv4NetworkCidr pulumi.StringPtrInput
// The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
LocalIpv6NetworkCidr pulumi.StringPtrInput
// The IPv4 CIDR on the AWS side of the VPN connection.
RemoteIpv4NetworkCidr pulumi.StringPtrInput
// The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
RemoteIpv6NetworkCidr pulumi.StringPtrInput
// 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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The ID of the EC2 Transit Gateway.
TransitGatewayId pulumi.StringPtrInput
// The action to take after DPD timeout occurs for the first VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
Tunnel1DpdTimeoutAction pulumi.StringPtrInput
// The number of seconds after which a DPD timeout occurs for the first VPN tunnel. Valid value is equal or higher than `30`.
Tunnel1DpdTimeoutSeconds pulumi.IntPtrInput
// The IKE versions that are permitted for the first VPN tunnel. Valid values are `ikev1 | ikev2`.
Tunnel1IkeVersions pulumi.StringArrayInput
// The CIDR block of the inside IP addresses for the first VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
Tunnel1InsideCidr pulumi.StringPtrInput
// The range of inside IPv6 addresses for the first VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
Tunnel1InsideIpv6Cidr pulumi.StringPtrInput
// List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
Tunnel1Phase1DhGroupNumbers pulumi.IntArrayInput
// List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel1Phase1EncryptionAlgorithms pulumi.StringArrayInput
// One or more integrity algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel1Phase1IntegrityAlgorithms pulumi.StringArrayInput
// The lifetime for phase 1 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `28800`.
Tunnel1Phase1LifetimeSeconds pulumi.IntPtrInput
// List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
Tunnel1Phase2DhGroupNumbers pulumi.IntArrayInput
// List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel1Phase2EncryptionAlgorithms pulumi.StringArrayInput
// List of one or more integrity algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel1Phase2IntegrityAlgorithms pulumi.StringArrayInput
// The lifetime for phase 2 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `3600`.
Tunnel1Phase2LifetimeSeconds pulumi.IntPtrInput
Tunnel1PresharedKey pulumi.StringPtrInput
// The percentage of the rekey window for the first VPN tunnel (determined by `tunnel1RekeyMarginTimeSeconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
Tunnel1RekeyFuzzPercentage pulumi.IntPtrInput
// The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the first VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel1RekeyFuzzPercentage`. Valid value is between `60` and half of `tunnel1Phase2LifetimeSeconds`.
Tunnel1RekeyMarginTimeSeconds pulumi.IntPtrInput
// The number of packets in an IKE replay window for the first VPN tunnel. Valid value is between `64` and `2048`.
Tunnel1ReplayWindowSize pulumi.IntPtrInput
// The action to take when the establishing the tunnel for the first VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
Tunnel1StartupAction pulumi.StringPtrInput
// The action to take after DPD timeout occurs for the second VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
Tunnel2DpdTimeoutAction pulumi.StringPtrInput
// The number of seconds after which a DPD timeout occurs for the second VPN tunnel. Valid value is equal or higher than `30`.
Tunnel2DpdTimeoutSeconds pulumi.IntPtrInput
// The IKE versions that are permitted for the second VPN tunnel. Valid values are `ikev1 | ikev2`.
Tunnel2IkeVersions pulumi.StringArrayInput
// The CIDR block of the inside IP addresses for the second VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
Tunnel2InsideCidr pulumi.StringPtrInput
// The range of inside IPv6 addresses for the second VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
Tunnel2InsideIpv6Cidr pulumi.StringPtrInput
// List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
Tunnel2Phase1DhGroupNumbers pulumi.IntArrayInput
// List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel2Phase1EncryptionAlgorithms pulumi.StringArrayInput
// One or more integrity algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel2Phase1IntegrityAlgorithms pulumi.StringArrayInput
// The lifetime for phase 1 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `28800`.
Tunnel2Phase1LifetimeSeconds pulumi.IntPtrInput
// List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
Tunnel2Phase2DhGroupNumbers pulumi.IntArrayInput
// List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel2Phase2EncryptionAlgorithms pulumi.StringArrayInput
// List of one or more integrity algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel2Phase2IntegrityAlgorithms pulumi.StringArrayInput
// The lifetime for phase 2 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `3600`.
Tunnel2Phase2LifetimeSeconds pulumi.IntPtrInput
Tunnel2PresharedKey pulumi.StringPtrInput
// The percentage of the rekey window for the second VPN tunnel (determined by `tunnel2RekeyMarginTimeSeconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
Tunnel2RekeyFuzzPercentage pulumi.IntPtrInput
// The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the second VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel2RekeyFuzzPercentage`. Valid value is between `60` and half of `tunnel2Phase2LifetimeSeconds`.
Tunnel2RekeyMarginTimeSeconds pulumi.IntPtrInput
// The number of packets in an IKE replay window for the second VPN tunnel. Valid value is between `64` and `2048`.
Tunnel2ReplayWindowSize pulumi.IntPtrInput
// The action to take when the establishing the tunnel for the second VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
Tunnel2StartupAction pulumi.StringPtrInput
// Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Valid values are `ipv4 | ipv6`. `ipv6` Supports only EC2 Transit Gateway.
TunnelInsideIpVersion 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 ¶
func (VpnConnectionArgs) ElementType() reflect.Type
type VpnConnectionArray ¶
type VpnConnectionArray []VpnConnectionInput
func (VpnConnectionArray) ElementType ¶
func (VpnConnectionArray) ElementType() reflect.Type
func (VpnConnectionArray) ToVpnConnectionArrayOutput ¶
func (i VpnConnectionArray) ToVpnConnectionArrayOutput() VpnConnectionArrayOutput
func (VpnConnectionArray) ToVpnConnectionArrayOutputWithContext ¶
func (i VpnConnectionArray) ToVpnConnectionArrayOutputWithContext(ctx context.Context) VpnConnectionArrayOutput
type VpnConnectionArrayInput ¶
type VpnConnectionArrayInput interface {
pulumi.Input
ToVpnConnectionArrayOutput() VpnConnectionArrayOutput
ToVpnConnectionArrayOutputWithContext(context.Context) VpnConnectionArrayOutput
}
VpnConnectionArrayInput is an input type that accepts VpnConnectionArray and VpnConnectionArrayOutput values. You can construct a concrete instance of `VpnConnectionArrayInput` via:
VpnConnectionArray{ VpnConnectionArgs{...} }
type VpnConnectionArrayOutput ¶
type VpnConnectionArrayOutput struct{ *pulumi.OutputState }
func (VpnConnectionArrayOutput) ElementType ¶
func (VpnConnectionArrayOutput) ElementType() reflect.Type
func (VpnConnectionArrayOutput) Index ¶
func (o VpnConnectionArrayOutput) Index(i pulumi.IntInput) VpnConnectionOutput
func (VpnConnectionArrayOutput) ToVpnConnectionArrayOutput ¶
func (o VpnConnectionArrayOutput) ToVpnConnectionArrayOutput() VpnConnectionArrayOutput
func (VpnConnectionArrayOutput) ToVpnConnectionArrayOutputWithContext ¶
func (o VpnConnectionArrayOutput) ToVpnConnectionArrayOutputWithContext(ctx context.Context) VpnConnectionArrayOutput
type VpnConnectionInput ¶
type VpnConnectionInput interface {
pulumi.Input
ToVpnConnectionOutput() VpnConnectionOutput
ToVpnConnectionOutputWithContext(ctx context.Context) VpnConnectionOutput
}
type VpnConnectionMap ¶
type VpnConnectionMap map[string]VpnConnectionInput
func (VpnConnectionMap) ElementType ¶
func (VpnConnectionMap) ElementType() reflect.Type
func (VpnConnectionMap) ToVpnConnectionMapOutput ¶
func (i VpnConnectionMap) ToVpnConnectionMapOutput() VpnConnectionMapOutput
func (VpnConnectionMap) ToVpnConnectionMapOutputWithContext ¶
func (i VpnConnectionMap) ToVpnConnectionMapOutputWithContext(ctx context.Context) VpnConnectionMapOutput
type VpnConnectionMapInput ¶
type VpnConnectionMapInput interface {
pulumi.Input
ToVpnConnectionMapOutput() VpnConnectionMapOutput
ToVpnConnectionMapOutputWithContext(context.Context) VpnConnectionMapOutput
}
VpnConnectionMapInput is an input type that accepts VpnConnectionMap and VpnConnectionMapOutput values. You can construct a concrete instance of `VpnConnectionMapInput` via:
VpnConnectionMap{ "key": VpnConnectionArgs{...} }
type VpnConnectionMapOutput ¶
type VpnConnectionMapOutput struct{ *pulumi.OutputState }
func (VpnConnectionMapOutput) ElementType ¶
func (VpnConnectionMapOutput) ElementType() reflect.Type
func (VpnConnectionMapOutput) MapIndex ¶
func (o VpnConnectionMapOutput) MapIndex(k pulumi.StringInput) VpnConnectionOutput
func (VpnConnectionMapOutput) ToVpnConnectionMapOutput ¶
func (o VpnConnectionMapOutput) ToVpnConnectionMapOutput() VpnConnectionMapOutput
func (VpnConnectionMapOutput) ToVpnConnectionMapOutputWithContext ¶
func (o VpnConnectionMapOutput) ToVpnConnectionMapOutputWithContext(ctx context.Context) VpnConnectionMapOutput
type VpnConnectionOutput ¶
type VpnConnectionOutput struct{ *pulumi.OutputState }
func (VpnConnectionOutput) ElementType ¶
func (VpnConnectionOutput) ElementType() reflect.Type
func (VpnConnectionOutput) ToVpnConnectionOutput ¶
func (o VpnConnectionOutput) ToVpnConnectionOutput() VpnConnectionOutput
func (VpnConnectionOutput) ToVpnConnectionOutputWithContext ¶
func (o VpnConnectionOutput) ToVpnConnectionOutputWithContext(ctx context.Context) VpnConnectionOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc, err := ec2.NewVpc(ctx, "vpc", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
vpnGateway, err := ec2.NewVpnGateway(ctx, "vpnGateway", &ec2.VpnGatewayArgs{
VpcId: vpc.ID(),
})
if err != nil {
return err
}
customerGateway, err := ec2.NewCustomerGateway(ctx, "customerGateway", &ec2.CustomerGatewayArgs{
BgpAsn: pulumi.String("65000"),
IpAddress: pulumi.String("172.0.0.1"),
Type: pulumi.String("ipsec.1"),
})
if err != nil {
return err
}
main, err := ec2.NewVpnConnection(ctx, "main", &ec2.VpnConnectionArgs{
VpnGatewayId: vpnGateway.ID(),
CustomerGatewayId: customerGateway.ID(),
Type: pulumi.String("ipsec.1"),
StaticRoutesOnly: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = ec2.NewVpnConnectionRoute(ctx, "office", &ec2.VpnConnectionRouteArgs{
DestinationCidrBlock: pulumi.String("192.168.10.0/24"),
VpnConnectionId: main.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*VpnConnectionRoute) ElementType ¶
func (*VpnConnectionRoute) ElementType() reflect.Type
func (*VpnConnectionRoute) ToVpnConnectionRouteOutput ¶
func (i *VpnConnectionRoute) ToVpnConnectionRouteOutput() VpnConnectionRouteOutput
func (*VpnConnectionRoute) ToVpnConnectionRouteOutputWithContext ¶
func (i *VpnConnectionRoute) ToVpnConnectionRouteOutputWithContext(ctx context.Context) VpnConnectionRouteOutput
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 ¶
func (VpnConnectionRouteArgs) ElementType() reflect.Type
type VpnConnectionRouteArray ¶
type VpnConnectionRouteArray []VpnConnectionRouteInput
func (VpnConnectionRouteArray) ElementType ¶
func (VpnConnectionRouteArray) ElementType() reflect.Type
func (VpnConnectionRouteArray) ToVpnConnectionRouteArrayOutput ¶
func (i VpnConnectionRouteArray) ToVpnConnectionRouteArrayOutput() VpnConnectionRouteArrayOutput
func (VpnConnectionRouteArray) ToVpnConnectionRouteArrayOutputWithContext ¶
func (i VpnConnectionRouteArray) ToVpnConnectionRouteArrayOutputWithContext(ctx context.Context) VpnConnectionRouteArrayOutput
type VpnConnectionRouteArrayInput ¶
type VpnConnectionRouteArrayInput interface {
pulumi.Input
ToVpnConnectionRouteArrayOutput() VpnConnectionRouteArrayOutput
ToVpnConnectionRouteArrayOutputWithContext(context.Context) VpnConnectionRouteArrayOutput
}
VpnConnectionRouteArrayInput is an input type that accepts VpnConnectionRouteArray and VpnConnectionRouteArrayOutput values. You can construct a concrete instance of `VpnConnectionRouteArrayInput` via:
VpnConnectionRouteArray{ VpnConnectionRouteArgs{...} }
type VpnConnectionRouteArrayOutput ¶
type VpnConnectionRouteArrayOutput struct{ *pulumi.OutputState }
func (VpnConnectionRouteArrayOutput) ElementType ¶
func (VpnConnectionRouteArrayOutput) ElementType() reflect.Type
func (VpnConnectionRouteArrayOutput) Index ¶
func (o VpnConnectionRouteArrayOutput) Index(i pulumi.IntInput) VpnConnectionRouteOutput
func (VpnConnectionRouteArrayOutput) ToVpnConnectionRouteArrayOutput ¶
func (o VpnConnectionRouteArrayOutput) ToVpnConnectionRouteArrayOutput() VpnConnectionRouteArrayOutput
func (VpnConnectionRouteArrayOutput) ToVpnConnectionRouteArrayOutputWithContext ¶
func (o VpnConnectionRouteArrayOutput) ToVpnConnectionRouteArrayOutputWithContext(ctx context.Context) VpnConnectionRouteArrayOutput
type VpnConnectionRouteInput ¶
type VpnConnectionRouteInput interface {
pulumi.Input
ToVpnConnectionRouteOutput() VpnConnectionRouteOutput
ToVpnConnectionRouteOutputWithContext(ctx context.Context) VpnConnectionRouteOutput
}
type VpnConnectionRouteMap ¶
type VpnConnectionRouteMap map[string]VpnConnectionRouteInput
func (VpnConnectionRouteMap) ElementType ¶
func (VpnConnectionRouteMap) ElementType() reflect.Type
func (VpnConnectionRouteMap) ToVpnConnectionRouteMapOutput ¶
func (i VpnConnectionRouteMap) ToVpnConnectionRouteMapOutput() VpnConnectionRouteMapOutput
func (VpnConnectionRouteMap) ToVpnConnectionRouteMapOutputWithContext ¶
func (i VpnConnectionRouteMap) ToVpnConnectionRouteMapOutputWithContext(ctx context.Context) VpnConnectionRouteMapOutput
type VpnConnectionRouteMapInput ¶
type VpnConnectionRouteMapInput interface {
pulumi.Input
ToVpnConnectionRouteMapOutput() VpnConnectionRouteMapOutput
ToVpnConnectionRouteMapOutputWithContext(context.Context) VpnConnectionRouteMapOutput
}
VpnConnectionRouteMapInput is an input type that accepts VpnConnectionRouteMap and VpnConnectionRouteMapOutput values. You can construct a concrete instance of `VpnConnectionRouteMapInput` via:
VpnConnectionRouteMap{ "key": VpnConnectionRouteArgs{...} }
type VpnConnectionRouteMapOutput ¶
type VpnConnectionRouteMapOutput struct{ *pulumi.OutputState }
func (VpnConnectionRouteMapOutput) ElementType ¶
func (VpnConnectionRouteMapOutput) ElementType() reflect.Type
func (VpnConnectionRouteMapOutput) MapIndex ¶
func (o VpnConnectionRouteMapOutput) MapIndex(k pulumi.StringInput) VpnConnectionRouteOutput
func (VpnConnectionRouteMapOutput) ToVpnConnectionRouteMapOutput ¶
func (o VpnConnectionRouteMapOutput) ToVpnConnectionRouteMapOutput() VpnConnectionRouteMapOutput
func (VpnConnectionRouteMapOutput) ToVpnConnectionRouteMapOutputWithContext ¶
func (o VpnConnectionRouteMapOutput) ToVpnConnectionRouteMapOutputWithContext(ctx context.Context) VpnConnectionRouteMapOutput
type VpnConnectionRouteOutput ¶
type VpnConnectionRouteOutput struct{ *pulumi.OutputState }
func (VpnConnectionRouteOutput) ElementType ¶
func (VpnConnectionRouteOutput) ElementType() reflect.Type
func (VpnConnectionRouteOutput) ToVpnConnectionRouteOutput ¶
func (o VpnConnectionRouteOutput) ToVpnConnectionRouteOutput() VpnConnectionRouteOutput
func (VpnConnectionRouteOutput) ToVpnConnectionRouteOutputWithContext ¶
func (o VpnConnectionRouteOutput) ToVpnConnectionRouteOutputWithContext(ctx context.Context) VpnConnectionRouteOutput
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 ¶
func (VpnConnectionRouteState) ElementType() reflect.Type
type VpnConnectionRouteType ¶
type VpnConnectionRouteType struct {
// The CIDR block associated with the local subnet of the customer data center.
DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
// Indicates how the routes were provided.
Source *string `pulumi:"source"`
// The current state of the static route.
State *string `pulumi:"state"`
}
type VpnConnectionRouteTypeArgs ¶
type VpnConnectionRouteTypeArgs struct {
// The CIDR block associated with the local subnet of the customer data center.
DestinationCidrBlock pulumi.StringPtrInput `pulumi:"destinationCidrBlock"`
// Indicates how the routes were provided.
Source pulumi.StringPtrInput `pulumi:"source"`
// The current state of the static route.
State pulumi.StringPtrInput `pulumi:"state"`
}
func (VpnConnectionRouteTypeArgs) ElementType ¶
func (VpnConnectionRouteTypeArgs) ElementType() reflect.Type
func (VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutput ¶
func (i VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput
func (VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutputWithContext ¶
func (i VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutputWithContext(ctx context.Context) VpnConnectionRouteTypeOutput
type VpnConnectionRouteTypeArray ¶
type VpnConnectionRouteTypeArray []VpnConnectionRouteTypeInput
func (VpnConnectionRouteTypeArray) ElementType ¶
func (VpnConnectionRouteTypeArray) ElementType() reflect.Type
func (VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutput ¶
func (i VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput
func (VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutputWithContext ¶
func (i VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) VpnConnectionRouteTypeArrayOutput
type VpnConnectionRouteTypeArrayInput ¶
type VpnConnectionRouteTypeArrayInput interface {
pulumi.Input
ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput
ToVpnConnectionRouteTypeArrayOutputWithContext(context.Context) VpnConnectionRouteTypeArrayOutput
}
VpnConnectionRouteTypeArrayInput is an input type that accepts VpnConnectionRouteTypeArray and VpnConnectionRouteTypeArrayOutput values. You can construct a concrete instance of `VpnConnectionRouteTypeArrayInput` via:
VpnConnectionRouteTypeArray{ VpnConnectionRouteTypeArgs{...} }
type VpnConnectionRouteTypeArrayOutput ¶
type VpnConnectionRouteTypeArrayOutput struct{ *pulumi.OutputState }
func (VpnConnectionRouteTypeArrayOutput) ElementType ¶
func (VpnConnectionRouteTypeArrayOutput) ElementType() reflect.Type
func (VpnConnectionRouteTypeArrayOutput) Index ¶
func (o VpnConnectionRouteTypeArrayOutput) Index(i pulumi.IntInput) VpnConnectionRouteTypeOutput
func (VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutput ¶
func (o VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput
func (VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutputWithContext ¶
func (o VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) VpnConnectionRouteTypeArrayOutput
type VpnConnectionRouteTypeInput ¶
type VpnConnectionRouteTypeInput interface {
pulumi.Input
ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput
ToVpnConnectionRouteTypeOutputWithContext(context.Context) VpnConnectionRouteTypeOutput
}
VpnConnectionRouteTypeInput is an input type that accepts VpnConnectionRouteTypeArgs and VpnConnectionRouteTypeOutput values. You can construct a concrete instance of `VpnConnectionRouteTypeInput` via:
VpnConnectionRouteTypeArgs{...}
type VpnConnectionRouteTypeOutput ¶
type VpnConnectionRouteTypeOutput struct{ *pulumi.OutputState }
func (VpnConnectionRouteTypeOutput) DestinationCidrBlock ¶
func (o VpnConnectionRouteTypeOutput) DestinationCidrBlock() pulumi.StringPtrOutput
The CIDR block associated with the local subnet of the customer data center.
func (VpnConnectionRouteTypeOutput) ElementType ¶
func (VpnConnectionRouteTypeOutput) ElementType() reflect.Type
func (VpnConnectionRouteTypeOutput) Source ¶
func (o VpnConnectionRouteTypeOutput) Source() pulumi.StringPtrOutput
Indicates how the routes were provided.
func (VpnConnectionRouteTypeOutput) State ¶
func (o VpnConnectionRouteTypeOutput) State() pulumi.StringPtrOutput
The current state of the static route.
func (VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutput ¶
func (o VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput
func (VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutputWithContext ¶
func (o VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutputWithContext(ctx context.Context) VpnConnectionRouteTypeOutput
type VpnConnectionState ¶
type VpnConnectionState struct {
// Amazon Resource Name (ARN) of the VPN Connection.
Arn pulumi.StringPtrInput
// 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
// Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway.
EnableAcceleration pulumi.BoolPtrInput
// The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
LocalIpv4NetworkCidr pulumi.StringPtrInput
// The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
LocalIpv6NetworkCidr pulumi.StringPtrInput
// The IPv4 CIDR on the AWS side of the VPN connection.
RemoteIpv4NetworkCidr pulumi.StringPtrInput
// The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
RemoteIpv6NetworkCidr pulumi.StringPtrInput
// The static routes associated with the VPN connection. Detailed below.
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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider.
TagsAll pulumi.StringMapInput
// When associated with an EC2 Transit Gateway (`transitGatewayId` argument), the attachment ID. See also the `ec2.Tag` for tagging the EC2 Transit Gateway VPN Attachment.
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 action to take after DPD timeout occurs for the first VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
Tunnel1DpdTimeoutAction pulumi.StringPtrInput
// The number of seconds after which a DPD timeout occurs for the first VPN tunnel. Valid value is equal or higher than `30`.
Tunnel1DpdTimeoutSeconds pulumi.IntPtrInput
// The IKE versions that are permitted for the first VPN tunnel. Valid values are `ikev1 | ikev2`.
Tunnel1IkeVersions pulumi.StringArrayInput
// The CIDR block of the inside IP addresses for the first VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
Tunnel1InsideCidr pulumi.StringPtrInput
// The range of inside IPv6 addresses for the first VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
Tunnel1InsideIpv6Cidr pulumi.StringPtrInput
// List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
Tunnel1Phase1DhGroupNumbers pulumi.IntArrayInput
// List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel1Phase1EncryptionAlgorithms pulumi.StringArrayInput
// One or more integrity algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel1Phase1IntegrityAlgorithms pulumi.StringArrayInput
// The lifetime for phase 1 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `28800`.
Tunnel1Phase1LifetimeSeconds pulumi.IntPtrInput
// List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
Tunnel1Phase2DhGroupNumbers pulumi.IntArrayInput
// List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel1Phase2EncryptionAlgorithms pulumi.StringArrayInput
// List of one or more integrity algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel1Phase2IntegrityAlgorithms pulumi.StringArrayInput
// The lifetime for phase 2 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `3600`.
Tunnel1Phase2LifetimeSeconds pulumi.IntPtrInput
Tunnel1PresharedKey pulumi.StringPtrInput
// The percentage of the rekey window for the first VPN tunnel (determined by `tunnel1RekeyMarginTimeSeconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
Tunnel1RekeyFuzzPercentage pulumi.IntPtrInput
// The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the first VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel1RekeyFuzzPercentage`. Valid value is between `60` and half of `tunnel1Phase2LifetimeSeconds`.
Tunnel1RekeyMarginTimeSeconds pulumi.IntPtrInput
// The number of packets in an IKE replay window for the first VPN tunnel. Valid value is between `64` and `2048`.
Tunnel1ReplayWindowSize pulumi.IntPtrInput
// The action to take when the establishing the tunnel for the first VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
Tunnel1StartupAction 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 action to take after DPD timeout occurs for the second VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
Tunnel2DpdTimeoutAction pulumi.StringPtrInput
// The number of seconds after which a DPD timeout occurs for the second VPN tunnel. Valid value is equal or higher than `30`.
Tunnel2DpdTimeoutSeconds pulumi.IntPtrInput
// The IKE versions that are permitted for the second VPN tunnel. Valid values are `ikev1 | ikev2`.
Tunnel2IkeVersions pulumi.StringArrayInput
// The CIDR block of the inside IP addresses for the second VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
Tunnel2InsideCidr pulumi.StringPtrInput
// The range of inside IPv6 addresses for the second VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
Tunnel2InsideIpv6Cidr pulumi.StringPtrInput
// List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
Tunnel2Phase1DhGroupNumbers pulumi.IntArrayInput
// List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel2Phase1EncryptionAlgorithms pulumi.StringArrayInput
// One or more integrity algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel2Phase1IntegrityAlgorithms pulumi.StringArrayInput
// The lifetime for phase 1 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `28800`.
Tunnel2Phase1LifetimeSeconds pulumi.IntPtrInput
// List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
Tunnel2Phase2DhGroupNumbers pulumi.IntArrayInput
// List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
Tunnel2Phase2EncryptionAlgorithms pulumi.StringArrayInput
// List of one or more integrity algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
Tunnel2Phase2IntegrityAlgorithms pulumi.StringArrayInput
// The lifetime for phase 2 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `3600`.
Tunnel2Phase2LifetimeSeconds pulumi.IntPtrInput
Tunnel2PresharedKey pulumi.StringPtrInput
// The percentage of the rekey window for the second VPN tunnel (determined by `tunnel2RekeyMarginTimeSeconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
Tunnel2RekeyFuzzPercentage pulumi.IntPtrInput
// The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the second VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel2RekeyFuzzPercentage`. Valid value is between `60` and half of `tunnel2Phase2LifetimeSeconds`.
Tunnel2RekeyMarginTimeSeconds pulumi.IntPtrInput
// The number of packets in an IKE replay window for the second VPN tunnel. Valid value is between `64` and `2048`.
Tunnel2ReplayWindowSize pulumi.IntPtrInput
// The action to take when the establishing the tunnel for the second VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
Tunnel2StartupAction pulumi.StringPtrInput
// The RFC 6890 link-local address of the second VPN tunnel (VPN Gateway Side).
Tunnel2VgwInsideAddress pulumi.StringPtrInput
// Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Valid values are `ipv4 | ipv6`. `ipv6` Supports only EC2 Transit Gateway.
TunnelInsideIpVersion pulumi.StringPtrInput
// The type of VPN connection. The only type AWS supports at this time is "ipsec.1".
Type pulumi.StringPtrInput
// Telemetry for the VPN tunnels. Detailed below.
VgwTelemetries VpnConnectionVgwTelemetryArrayInput
// The ID of the Virtual Private Gateway.
VpnGatewayId pulumi.StringPtrInput
}
func (VpnConnectionState) ElementType ¶
func (VpnConnectionState) ElementType() reflect.Type
type VpnConnectionVgwTelemetry ¶
type VpnConnectionVgwTelemetry struct {
// The number of accepted routes.
AcceptedRouteCount *int `pulumi:"acceptedRouteCount"`
// The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
CertificateArn *string `pulumi:"certificateArn"`
// The date and time of the last change in status.
LastStatusChange *string `pulumi:"lastStatusChange"`
// The Internet-routable IP address of the virtual private gateway's outside interface.
OutsideIpAddress *string `pulumi:"outsideIpAddress"`
// The status of the VPN tunnel.
Status *string `pulumi:"status"`
// If an error occurs, a description of the error.
StatusMessage *string `pulumi:"statusMessage"`
}
type VpnConnectionVgwTelemetryArgs ¶
type VpnConnectionVgwTelemetryArgs struct {
// The number of accepted routes.
AcceptedRouteCount pulumi.IntPtrInput `pulumi:"acceptedRouteCount"`
// The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
CertificateArn pulumi.StringPtrInput `pulumi:"certificateArn"`
// The date and time of the last change in status.
LastStatusChange pulumi.StringPtrInput `pulumi:"lastStatusChange"`
// The Internet-routable IP address of the virtual private gateway's outside interface.
OutsideIpAddress pulumi.StringPtrInput `pulumi:"outsideIpAddress"`
// The status of the VPN tunnel.
Status pulumi.StringPtrInput `pulumi:"status"`
// If an error occurs, a description of the error.
StatusMessage pulumi.StringPtrInput `pulumi:"statusMessage"`
}
func (VpnConnectionVgwTelemetryArgs) ElementType ¶
func (VpnConnectionVgwTelemetryArgs) ElementType() reflect.Type
func (VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutput ¶
func (i VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput
func (VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutputWithContext ¶
func (i VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryOutput
type VpnConnectionVgwTelemetryArray ¶
type VpnConnectionVgwTelemetryArray []VpnConnectionVgwTelemetryInput
func (VpnConnectionVgwTelemetryArray) ElementType ¶
func (VpnConnectionVgwTelemetryArray) ElementType() reflect.Type
func (VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutput ¶
func (i VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput
func (VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutputWithContext ¶
func (i VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryArrayOutput
type VpnConnectionVgwTelemetryArrayInput ¶
type VpnConnectionVgwTelemetryArrayInput interface {
pulumi.Input
ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput
ToVpnConnectionVgwTelemetryArrayOutputWithContext(context.Context) VpnConnectionVgwTelemetryArrayOutput
}
VpnConnectionVgwTelemetryArrayInput is an input type that accepts VpnConnectionVgwTelemetryArray and VpnConnectionVgwTelemetryArrayOutput values. You can construct a concrete instance of `VpnConnectionVgwTelemetryArrayInput` via:
VpnConnectionVgwTelemetryArray{ VpnConnectionVgwTelemetryArgs{...} }
type VpnConnectionVgwTelemetryArrayOutput ¶
type VpnConnectionVgwTelemetryArrayOutput struct{ *pulumi.OutputState }
func (VpnConnectionVgwTelemetryArrayOutput) ElementType ¶
func (VpnConnectionVgwTelemetryArrayOutput) ElementType() reflect.Type
func (VpnConnectionVgwTelemetryArrayOutput) Index ¶
func (o VpnConnectionVgwTelemetryArrayOutput) Index(i pulumi.IntInput) VpnConnectionVgwTelemetryOutput
func (VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutput ¶
func (o VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput
func (VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutputWithContext ¶
func (o VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryArrayOutput
type VpnConnectionVgwTelemetryInput ¶
type VpnConnectionVgwTelemetryInput interface {
pulumi.Input
ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput
ToVpnConnectionVgwTelemetryOutputWithContext(context.Context) VpnConnectionVgwTelemetryOutput
}
VpnConnectionVgwTelemetryInput is an input type that accepts VpnConnectionVgwTelemetryArgs and VpnConnectionVgwTelemetryOutput values. You can construct a concrete instance of `VpnConnectionVgwTelemetryInput` via:
VpnConnectionVgwTelemetryArgs{...}
type VpnConnectionVgwTelemetryOutput ¶
type VpnConnectionVgwTelemetryOutput struct{ *pulumi.OutputState }
func (VpnConnectionVgwTelemetryOutput) AcceptedRouteCount ¶
func (o VpnConnectionVgwTelemetryOutput) AcceptedRouteCount() pulumi.IntPtrOutput
The number of accepted routes.
func (VpnConnectionVgwTelemetryOutput) CertificateArn ¶
func (o VpnConnectionVgwTelemetryOutput) CertificateArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
func (VpnConnectionVgwTelemetryOutput) ElementType ¶
func (VpnConnectionVgwTelemetryOutput) ElementType() reflect.Type
func (VpnConnectionVgwTelemetryOutput) LastStatusChange ¶
func (o VpnConnectionVgwTelemetryOutput) LastStatusChange() pulumi.StringPtrOutput
The date and time of the last change in status.
func (VpnConnectionVgwTelemetryOutput) OutsideIpAddress ¶
func (o VpnConnectionVgwTelemetryOutput) OutsideIpAddress() pulumi.StringPtrOutput
The Internet-routable IP address of the virtual private gateway's outside interface.
func (VpnConnectionVgwTelemetryOutput) Status ¶
func (o VpnConnectionVgwTelemetryOutput) Status() pulumi.StringPtrOutput
The status of the VPN tunnel.
func (VpnConnectionVgwTelemetryOutput) StatusMessage ¶
func (o VpnConnectionVgwTelemetryOutput) StatusMessage() pulumi.StringPtrOutput
If an error occurs, a description of the error.
func (VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutput ¶
func (o VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput
func (VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutputWithContext ¶
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"`
// Amazon Resource Name (ARN) of the VPN Gateway.
Arn pulumi.StringOutput `pulumi:"arn"`
// The Availability Zone for the virtual private gateway.
AvailabilityZone pulumi.StringPtrOutput `pulumi:"availabilityZone"`
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// The VPC ID to create in.
VpcId pulumi.StringOutput `pulumi:"vpcId"`
}
Provides a resource to create a VPC VPN Gateway.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpnGateway(ctx, "vpnGw", &ec2.VpnGatewayArgs{
VpcId: pulumi.Any(aws_vpc.Main.Id),
Tags: pulumi.StringMap{
"Name": pulumi.String("main"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPN Gateways can be imported using the `vpn gateway id`, e.g.,
```sh
$ pulumi import aws:ec2/vpnGateway:VpnGateway testvpngateway vgw-9a4cacf3
```
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.
func (*VpnGateway) ElementType ¶
func (*VpnGateway) ElementType() reflect.Type
func (*VpnGateway) ToVpnGatewayOutput ¶
func (i *VpnGateway) ToVpnGatewayOutput() VpnGatewayOutput
func (*VpnGateway) ToVpnGatewayOutputWithContext ¶
func (i *VpnGateway) ToVpnGatewayOutputWithContext(ctx context.Context) VpnGatewayOutput
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 map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The VPC ID to create in.
VpcId pulumi.StringPtrInput
}
The set of arguments for constructing a VpnGateway resource.
func (VpnGatewayArgs) ElementType ¶
func (VpnGatewayArgs) ElementType() reflect.Type
type VpnGatewayArray ¶
type VpnGatewayArray []VpnGatewayInput
func (VpnGatewayArray) ElementType ¶
func (VpnGatewayArray) ElementType() reflect.Type
func (VpnGatewayArray) ToVpnGatewayArrayOutput ¶
func (i VpnGatewayArray) ToVpnGatewayArrayOutput() VpnGatewayArrayOutput
func (VpnGatewayArray) ToVpnGatewayArrayOutputWithContext ¶
func (i VpnGatewayArray) ToVpnGatewayArrayOutputWithContext(ctx context.Context) VpnGatewayArrayOutput
type VpnGatewayArrayInput ¶
type VpnGatewayArrayInput interface {
pulumi.Input
ToVpnGatewayArrayOutput() VpnGatewayArrayOutput
ToVpnGatewayArrayOutputWithContext(context.Context) VpnGatewayArrayOutput
}
VpnGatewayArrayInput is an input type that accepts VpnGatewayArray and VpnGatewayArrayOutput values. You can construct a concrete instance of `VpnGatewayArrayInput` via:
VpnGatewayArray{ VpnGatewayArgs{...} }
type VpnGatewayArrayOutput ¶
type VpnGatewayArrayOutput struct{ *pulumi.OutputState }
func (VpnGatewayArrayOutput) ElementType ¶
func (VpnGatewayArrayOutput) ElementType() reflect.Type
func (VpnGatewayArrayOutput) Index ¶
func (o VpnGatewayArrayOutput) Index(i pulumi.IntInput) VpnGatewayOutput
func (VpnGatewayArrayOutput) ToVpnGatewayArrayOutput ¶
func (o VpnGatewayArrayOutput) ToVpnGatewayArrayOutput() VpnGatewayArrayOutput
func (VpnGatewayArrayOutput) ToVpnGatewayArrayOutputWithContext ¶
func (o VpnGatewayArrayOutput) ToVpnGatewayArrayOutputWithContext(ctx context.Context) VpnGatewayArrayOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
network, err := ec2.NewVpc(ctx, "network", &ec2.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
vpn, err := ec2.NewVpnGateway(ctx, "vpn", &ec2.VpnGatewayArgs{
Tags: pulumi.StringMap{
"Name": pulumi.String("example-vpn-gateway"),
},
})
if err != nil {
return err
}
_, err = ec2.NewVpnGatewayAttachment(ctx, "vpnAttachment", &ec2.VpnGatewayAttachmentArgs{
VpcId: network.ID(),
VpnGatewayId: vpn.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
See [Virtual Private Cloud](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Introduction.html) and [Virtual Private Gateway](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_VPN.html) user guides for more information.
## Import
This resource does not support importing.
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.
func (*VpnGatewayAttachment) ElementType ¶
func (*VpnGatewayAttachment) ElementType() reflect.Type
func (*VpnGatewayAttachment) ToVpnGatewayAttachmentOutput ¶
func (i *VpnGatewayAttachment) ToVpnGatewayAttachmentOutput() VpnGatewayAttachmentOutput
func (*VpnGatewayAttachment) ToVpnGatewayAttachmentOutputWithContext ¶
func (i *VpnGatewayAttachment) ToVpnGatewayAttachmentOutputWithContext(ctx context.Context) VpnGatewayAttachmentOutput
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 ¶
func (VpnGatewayAttachmentArgs) ElementType() reflect.Type
type VpnGatewayAttachmentArray ¶
type VpnGatewayAttachmentArray []VpnGatewayAttachmentInput
func (VpnGatewayAttachmentArray) ElementType ¶
func (VpnGatewayAttachmentArray) ElementType() reflect.Type
func (VpnGatewayAttachmentArray) ToVpnGatewayAttachmentArrayOutput ¶
func (i VpnGatewayAttachmentArray) ToVpnGatewayAttachmentArrayOutput() VpnGatewayAttachmentArrayOutput
func (VpnGatewayAttachmentArray) ToVpnGatewayAttachmentArrayOutputWithContext ¶
func (i VpnGatewayAttachmentArray) ToVpnGatewayAttachmentArrayOutputWithContext(ctx context.Context) VpnGatewayAttachmentArrayOutput
type VpnGatewayAttachmentArrayInput ¶
type VpnGatewayAttachmentArrayInput interface {
pulumi.Input
ToVpnGatewayAttachmentArrayOutput() VpnGatewayAttachmentArrayOutput
ToVpnGatewayAttachmentArrayOutputWithContext(context.Context) VpnGatewayAttachmentArrayOutput
}
VpnGatewayAttachmentArrayInput is an input type that accepts VpnGatewayAttachmentArray and VpnGatewayAttachmentArrayOutput values. You can construct a concrete instance of `VpnGatewayAttachmentArrayInput` via:
VpnGatewayAttachmentArray{ VpnGatewayAttachmentArgs{...} }
type VpnGatewayAttachmentArrayOutput ¶
type VpnGatewayAttachmentArrayOutput struct{ *pulumi.OutputState }
func (VpnGatewayAttachmentArrayOutput) ElementType ¶
func (VpnGatewayAttachmentArrayOutput) ElementType() reflect.Type
func (VpnGatewayAttachmentArrayOutput) Index ¶
func (o VpnGatewayAttachmentArrayOutput) Index(i pulumi.IntInput) VpnGatewayAttachmentOutput
func (VpnGatewayAttachmentArrayOutput) ToVpnGatewayAttachmentArrayOutput ¶
func (o VpnGatewayAttachmentArrayOutput) ToVpnGatewayAttachmentArrayOutput() VpnGatewayAttachmentArrayOutput
func (VpnGatewayAttachmentArrayOutput) ToVpnGatewayAttachmentArrayOutputWithContext ¶
func (o VpnGatewayAttachmentArrayOutput) ToVpnGatewayAttachmentArrayOutputWithContext(ctx context.Context) VpnGatewayAttachmentArrayOutput
type VpnGatewayAttachmentInput ¶
type VpnGatewayAttachmentInput interface {
pulumi.Input
ToVpnGatewayAttachmentOutput() VpnGatewayAttachmentOutput
ToVpnGatewayAttachmentOutputWithContext(ctx context.Context) VpnGatewayAttachmentOutput
}
type VpnGatewayAttachmentMap ¶
type VpnGatewayAttachmentMap map[string]VpnGatewayAttachmentInput
func (VpnGatewayAttachmentMap) ElementType ¶
func (VpnGatewayAttachmentMap) ElementType() reflect.Type
func (VpnGatewayAttachmentMap) ToVpnGatewayAttachmentMapOutput ¶
func (i VpnGatewayAttachmentMap) ToVpnGatewayAttachmentMapOutput() VpnGatewayAttachmentMapOutput
func (VpnGatewayAttachmentMap) ToVpnGatewayAttachmentMapOutputWithContext ¶
func (i VpnGatewayAttachmentMap) ToVpnGatewayAttachmentMapOutputWithContext(ctx context.Context) VpnGatewayAttachmentMapOutput
type VpnGatewayAttachmentMapInput ¶
type VpnGatewayAttachmentMapInput interface {
pulumi.Input
ToVpnGatewayAttachmentMapOutput() VpnGatewayAttachmentMapOutput
ToVpnGatewayAttachmentMapOutputWithContext(context.Context) VpnGatewayAttachmentMapOutput
}
VpnGatewayAttachmentMapInput is an input type that accepts VpnGatewayAttachmentMap and VpnGatewayAttachmentMapOutput values. You can construct a concrete instance of `VpnGatewayAttachmentMapInput` via:
VpnGatewayAttachmentMap{ "key": VpnGatewayAttachmentArgs{...} }
type VpnGatewayAttachmentMapOutput ¶
type VpnGatewayAttachmentMapOutput struct{ *pulumi.OutputState }
func (VpnGatewayAttachmentMapOutput) ElementType ¶
func (VpnGatewayAttachmentMapOutput) ElementType() reflect.Type
func (VpnGatewayAttachmentMapOutput) MapIndex ¶
func (o VpnGatewayAttachmentMapOutput) MapIndex(k pulumi.StringInput) VpnGatewayAttachmentOutput
func (VpnGatewayAttachmentMapOutput) ToVpnGatewayAttachmentMapOutput ¶
func (o VpnGatewayAttachmentMapOutput) ToVpnGatewayAttachmentMapOutput() VpnGatewayAttachmentMapOutput
func (VpnGatewayAttachmentMapOutput) ToVpnGatewayAttachmentMapOutputWithContext ¶
func (o VpnGatewayAttachmentMapOutput) ToVpnGatewayAttachmentMapOutputWithContext(ctx context.Context) VpnGatewayAttachmentMapOutput
type VpnGatewayAttachmentOutput ¶
type VpnGatewayAttachmentOutput struct{ *pulumi.OutputState }
func (VpnGatewayAttachmentOutput) ElementType ¶
func (VpnGatewayAttachmentOutput) ElementType() reflect.Type
func (VpnGatewayAttachmentOutput) ToVpnGatewayAttachmentOutput ¶
func (o VpnGatewayAttachmentOutput) ToVpnGatewayAttachmentOutput() VpnGatewayAttachmentOutput
func (VpnGatewayAttachmentOutput) ToVpnGatewayAttachmentOutputWithContext ¶
func (o VpnGatewayAttachmentOutput) ToVpnGatewayAttachmentOutputWithContext(ctx context.Context) VpnGatewayAttachmentOutput
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 ¶
func (VpnGatewayAttachmentState) ElementType() reflect.Type
type VpnGatewayInput ¶
type VpnGatewayInput interface {
pulumi.Input
ToVpnGatewayOutput() VpnGatewayOutput
ToVpnGatewayOutputWithContext(ctx context.Context) VpnGatewayOutput
}
type VpnGatewayMap ¶
type VpnGatewayMap map[string]VpnGatewayInput
func (VpnGatewayMap) ElementType ¶
func (VpnGatewayMap) ElementType() reflect.Type
func (VpnGatewayMap) ToVpnGatewayMapOutput ¶
func (i VpnGatewayMap) ToVpnGatewayMapOutput() VpnGatewayMapOutput
func (VpnGatewayMap) ToVpnGatewayMapOutputWithContext ¶
func (i VpnGatewayMap) ToVpnGatewayMapOutputWithContext(ctx context.Context) VpnGatewayMapOutput
type VpnGatewayMapInput ¶
type VpnGatewayMapInput interface {
pulumi.Input
ToVpnGatewayMapOutput() VpnGatewayMapOutput
ToVpnGatewayMapOutputWithContext(context.Context) VpnGatewayMapOutput
}
VpnGatewayMapInput is an input type that accepts VpnGatewayMap and VpnGatewayMapOutput values. You can construct a concrete instance of `VpnGatewayMapInput` via:
VpnGatewayMap{ "key": VpnGatewayArgs{...} }
type VpnGatewayMapOutput ¶
type VpnGatewayMapOutput struct{ *pulumi.OutputState }
func (VpnGatewayMapOutput) ElementType ¶
func (VpnGatewayMapOutput) ElementType() reflect.Type
func (VpnGatewayMapOutput) MapIndex ¶
func (o VpnGatewayMapOutput) MapIndex(k pulumi.StringInput) VpnGatewayOutput
func (VpnGatewayMapOutput) ToVpnGatewayMapOutput ¶
func (o VpnGatewayMapOutput) ToVpnGatewayMapOutput() VpnGatewayMapOutput
func (VpnGatewayMapOutput) ToVpnGatewayMapOutputWithContext ¶
func (o VpnGatewayMapOutput) ToVpnGatewayMapOutputWithContext(ctx context.Context) VpnGatewayMapOutput
type VpnGatewayOutput ¶
type VpnGatewayOutput struct{ *pulumi.OutputState }
func (VpnGatewayOutput) ElementType ¶
func (VpnGatewayOutput) ElementType() reflect.Type
func (VpnGatewayOutput) ToVpnGatewayOutput ¶
func (o VpnGatewayOutput) ToVpnGatewayOutput() VpnGatewayOutput
func (VpnGatewayOutput) ToVpnGatewayOutputWithContext ¶
func (o VpnGatewayOutput) ToVpnGatewayOutputWithContext(ctx context.Context) VpnGatewayOutput
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.NewVpnGatewayRoutePropagation(ctx, "example", &ec2.VpnGatewayRoutePropagationArgs{
VpnGatewayId: pulumi.Any(aws_vpn_gateway.Example.Id),
RouteTableId: pulumi.Any(aws_route_table.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
```
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.
func (*VpnGatewayRoutePropagation) ElementType ¶
func (*VpnGatewayRoutePropagation) ElementType() reflect.Type
func (*VpnGatewayRoutePropagation) ToVpnGatewayRoutePropagationOutput ¶
func (i *VpnGatewayRoutePropagation) ToVpnGatewayRoutePropagationOutput() VpnGatewayRoutePropagationOutput
func (*VpnGatewayRoutePropagation) ToVpnGatewayRoutePropagationOutputWithContext ¶
func (i *VpnGatewayRoutePropagation) ToVpnGatewayRoutePropagationOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationOutput
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 ¶
func (VpnGatewayRoutePropagationArgs) ElementType() reflect.Type
type VpnGatewayRoutePropagationArray ¶
type VpnGatewayRoutePropagationArray []VpnGatewayRoutePropagationInput
func (VpnGatewayRoutePropagationArray) ElementType ¶
func (VpnGatewayRoutePropagationArray) ElementType() reflect.Type
func (VpnGatewayRoutePropagationArray) ToVpnGatewayRoutePropagationArrayOutput ¶
func (i VpnGatewayRoutePropagationArray) ToVpnGatewayRoutePropagationArrayOutput() VpnGatewayRoutePropagationArrayOutput
func (VpnGatewayRoutePropagationArray) ToVpnGatewayRoutePropagationArrayOutputWithContext ¶
func (i VpnGatewayRoutePropagationArray) ToVpnGatewayRoutePropagationArrayOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationArrayOutput
type VpnGatewayRoutePropagationArrayInput ¶
type VpnGatewayRoutePropagationArrayInput interface {
pulumi.Input
ToVpnGatewayRoutePropagationArrayOutput() VpnGatewayRoutePropagationArrayOutput
ToVpnGatewayRoutePropagationArrayOutputWithContext(context.Context) VpnGatewayRoutePropagationArrayOutput
}
VpnGatewayRoutePropagationArrayInput is an input type that accepts VpnGatewayRoutePropagationArray and VpnGatewayRoutePropagationArrayOutput values. You can construct a concrete instance of `VpnGatewayRoutePropagationArrayInput` via:
VpnGatewayRoutePropagationArray{ VpnGatewayRoutePropagationArgs{...} }
type VpnGatewayRoutePropagationArrayOutput ¶
type VpnGatewayRoutePropagationArrayOutput struct{ *pulumi.OutputState }
func (VpnGatewayRoutePropagationArrayOutput) ElementType ¶
func (VpnGatewayRoutePropagationArrayOutput) ElementType() reflect.Type
func (VpnGatewayRoutePropagationArrayOutput) Index ¶
func (o VpnGatewayRoutePropagationArrayOutput) Index(i pulumi.IntInput) VpnGatewayRoutePropagationOutput
func (VpnGatewayRoutePropagationArrayOutput) ToVpnGatewayRoutePropagationArrayOutput ¶
func (o VpnGatewayRoutePropagationArrayOutput) ToVpnGatewayRoutePropagationArrayOutput() VpnGatewayRoutePropagationArrayOutput
func (VpnGatewayRoutePropagationArrayOutput) ToVpnGatewayRoutePropagationArrayOutputWithContext ¶
func (o VpnGatewayRoutePropagationArrayOutput) ToVpnGatewayRoutePropagationArrayOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationArrayOutput
type VpnGatewayRoutePropagationInput ¶
type VpnGatewayRoutePropagationInput interface {
pulumi.Input
ToVpnGatewayRoutePropagationOutput() VpnGatewayRoutePropagationOutput
ToVpnGatewayRoutePropagationOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationOutput
}
type VpnGatewayRoutePropagationMap ¶
type VpnGatewayRoutePropagationMap map[string]VpnGatewayRoutePropagationInput
func (VpnGatewayRoutePropagationMap) ElementType ¶
func (VpnGatewayRoutePropagationMap) ElementType() reflect.Type
func (VpnGatewayRoutePropagationMap) ToVpnGatewayRoutePropagationMapOutput ¶
func (i VpnGatewayRoutePropagationMap) ToVpnGatewayRoutePropagationMapOutput() VpnGatewayRoutePropagationMapOutput
func (VpnGatewayRoutePropagationMap) ToVpnGatewayRoutePropagationMapOutputWithContext ¶
func (i VpnGatewayRoutePropagationMap) ToVpnGatewayRoutePropagationMapOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationMapOutput
type VpnGatewayRoutePropagationMapInput ¶
type VpnGatewayRoutePropagationMapInput interface {
pulumi.Input
ToVpnGatewayRoutePropagationMapOutput() VpnGatewayRoutePropagationMapOutput
ToVpnGatewayRoutePropagationMapOutputWithContext(context.Context) VpnGatewayRoutePropagationMapOutput
}
VpnGatewayRoutePropagationMapInput is an input type that accepts VpnGatewayRoutePropagationMap and VpnGatewayRoutePropagationMapOutput values. You can construct a concrete instance of `VpnGatewayRoutePropagationMapInput` via:
VpnGatewayRoutePropagationMap{ "key": VpnGatewayRoutePropagationArgs{...} }
type VpnGatewayRoutePropagationMapOutput ¶
type VpnGatewayRoutePropagationMapOutput struct{ *pulumi.OutputState }
func (VpnGatewayRoutePropagationMapOutput) ElementType ¶
func (VpnGatewayRoutePropagationMapOutput) ElementType() reflect.Type
func (VpnGatewayRoutePropagationMapOutput) MapIndex ¶
func (o VpnGatewayRoutePropagationMapOutput) MapIndex(k pulumi.StringInput) VpnGatewayRoutePropagationOutput
func (VpnGatewayRoutePropagationMapOutput) ToVpnGatewayRoutePropagationMapOutput ¶
func (o VpnGatewayRoutePropagationMapOutput) ToVpnGatewayRoutePropagationMapOutput() VpnGatewayRoutePropagationMapOutput
func (VpnGatewayRoutePropagationMapOutput) ToVpnGatewayRoutePropagationMapOutputWithContext ¶
func (o VpnGatewayRoutePropagationMapOutput) ToVpnGatewayRoutePropagationMapOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationMapOutput
type VpnGatewayRoutePropagationOutput ¶
type VpnGatewayRoutePropagationOutput struct{ *pulumi.OutputState }
func (VpnGatewayRoutePropagationOutput) ElementType ¶
func (VpnGatewayRoutePropagationOutput) ElementType() reflect.Type
func (VpnGatewayRoutePropagationOutput) ToVpnGatewayRoutePropagationOutput ¶
func (o VpnGatewayRoutePropagationOutput) ToVpnGatewayRoutePropagationOutput() VpnGatewayRoutePropagationOutput
func (VpnGatewayRoutePropagationOutput) ToVpnGatewayRoutePropagationOutputWithContext ¶
func (o VpnGatewayRoutePropagationOutput) ToVpnGatewayRoutePropagationOutputWithContext(ctx context.Context) VpnGatewayRoutePropagationOutput
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 ¶
func (VpnGatewayRoutePropagationState) ElementType() reflect.Type
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
// Amazon Resource Name (ARN) of the VPN Gateway.
Arn pulumi.StringPtrInput
// The Availability Zone for the virtual private gateway.
AvailabilityZone pulumi.StringPtrInput
// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider .
TagsAll pulumi.StringMapInput
// The VPC ID to create in.
VpcId pulumi.StringPtrInput
}
func (VpnGatewayState) ElementType ¶
func (VpnGatewayState) ElementType() reflect.Type
Source Files
¶
- ami.go
- amiCopy.go
- amiFromInstance.go
- amiLaunchPermission.go
- availabilityZoneGroup.go
- capacityReservation.go
- carrierGateway.go
- customerGateway.go
- dedicatedHost.go
- defaultNetworkAcl.go
- defaultRouteTable.go
- defaultSecurityGroup.go
- defaultSubnet.go
- defaultVpc.go
- defaultVpcDhcpOptions.go
- egressOnlyInternetGateway.go
- eip.go
- eipAssociation.go
- fleet.go
- flowLog.go
- getAmi.go
- getAmiIds.go
- getCoipPool.go
- getCoipPools.go
- getCustomerGateway.go
- getDedicatedHost.go
- getEips.go
- getElasticIp.go
- getInstance.go
- getInstanceType.go
- getInstanceTypeOffering.go
- getInstanceTypeOfferings.go
- getInstanceTypes.go
- getInstances.go
- getInternetGateway.go
- getIpamPreviewNextCidr.go
- getKeyPair.go
- getLaunchConfiguration.go
- getLaunchTemplate.go
- getLocalGateway.go
- getLocalGatewayRouteTable.go
- getLocalGatewayRouteTables.go
- getLocalGatewayVirtualInterface.go
- getLocalGatewayVirtualInterfaceGroup.go
- getLocalGatewayVirtualInterfaceGroups.go
- getLocalGateways.go
- getManagedPrefixList.go
- getNatGateway.go
- getNetworkAcls.go
- getNetworkInterface.go
- getNetworkInterfaces.go
- getPrefixList.go
- getRoute.go
- getRouteTable.go
- getRouteTables.go
- getSecurityGroup.go
- getSecurityGroups.go
- getSerialConsoleAccess.go
- getSpotPrice.go
- getSubnet.go
- getSubnetIds.go
- getSubnets.go
- getTransitGatewayRouteTables.go
- getVpc.go
- getVpcDhcpOptions.go
- getVpcEndpoint.go
- getVpcEndpointService.go
- getVpcIamPool.go
- getVpcPeeringConnection.go
- getVpcPeeringConnections.go
- getVpcs.go
- getVpnGateway.go
- init.go
- instance.go
- internetGateway.go
- internetGatewayAttachment.go
- keyPair.go
- launchConfiguration.go
- launchTemplate.go
- localGatewayRoute.go
- localGatewayRouteTableVpcAssociation.go
- mainRouteTableAssociation.go
- managedPrefixList.go
- managedPrefixListEntry.go
- natGateway.go
- networkAcl.go
- networkAclAssociation.go
- networkAclRule.go
- networkInsightsPath.go
- networkInterface.go
- networkInterfaceAttachment.go
- networkInterfaceSecurityGroupAttachment.go
- peeringConnectionOptions.go
- placementGroup.go
- proxyProtocolPolicy.go
- pulumiEnums.go
- pulumiTypes.go
- pulumiUtilities.go
- route.go
- routeTable.go
- routeTableAssociation.go
- securityGroup.go
- securityGroupAssociation.go
- securityGroupRule.go
- serialConsoleAccess.go
- snapshotCreateVolumePermission.go
- spotDatafeedSubscription.go
- spotFleetRequest.go
- spotInstanceRequest.go
- subnet.go
- subnetCidrReservation.go
- tag.go
- trafficMirrorFilter.go
- trafficMirrorFilterRule.go
- trafficMirrorSession.go
- trafficMirrorTarget.go
- transitGatewayPeeringAttachmentAccepter.go
- volumeAttachment.go
- vpc.go
- vpcDhcpOptions.go
- vpcDhcpOptionsAssociation.go
- vpcEndpoint.go
- vpcEndpointConnectionAccepter.go
- vpcEndpointConnectionNotification.go
- vpcEndpointPolicy.go
- vpcEndpointRouteTableAssociation.go
- vpcEndpointService.go
- vpcEndpointServiceAllowedPrinciple.go
- vpcEndpointSubnetAssociation.go
- vpcIpam.go
- vpcIpamOrganizationAdminAccount.go
- vpcIpamPool.go
- vpcIpamPoolCidr.go
- vpcIpamPoolCidrAllocation.go
- vpcIpamPreviewNextCidr.go
- vpcIpamScope.go
- vpcIpv4CidrBlockAssociation.go
- vpcIpv6CidrBlockAssociation.go
- vpcPeeringConnection.go
- vpcPeeringConnectionAccepter.go
- vpnConnection.go
- vpnConnectionRoute.go
- vpnGateway.go
- vpnGatewayAttachment.go
- vpnGatewayRoutePropagation.go