Documentation
¶
Index ¶
- func Instance_IsConstruct(x interface{}) *bool
- func Instance_IsTerraformElement(x interface{}) *bool
- func Instance_IsTerraformResource(x interface{}) *bool
- func Instance_TfResourceType() *string
- func NewInstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference_Override(...)
- func NewInstanceCapacityReservationSpecificationOutputReference_Override(i InstanceCapacityReservationSpecificationOutputReference, ...)
- func NewInstanceCreditSpecificationOutputReference_Override(i InstanceCreditSpecificationOutputReference, ...)
- func NewInstanceEbsBlockDeviceList_Override(i InstanceEbsBlockDeviceList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewInstanceEbsBlockDeviceOutputReference_Override(i InstanceEbsBlockDeviceOutputReference, ...)
- func NewInstanceEnclaveOptionsOutputReference_Override(i InstanceEnclaveOptionsOutputReference, ...)
- func NewInstanceEphemeralBlockDeviceList_Override(i InstanceEphemeralBlockDeviceList, ...)
- func NewInstanceEphemeralBlockDeviceOutputReference_Override(i InstanceEphemeralBlockDeviceOutputReference, ...)
- func NewInstanceLaunchTemplateOutputReference_Override(i InstanceLaunchTemplateOutputReference, ...)
- func NewInstanceMaintenanceOptionsOutputReference_Override(i InstanceMaintenanceOptionsOutputReference, ...)
- func NewInstanceMetadataOptionsOutputReference_Override(i InstanceMetadataOptionsOutputReference, ...)
- func NewInstanceNetworkInterfaceList_Override(i InstanceNetworkInterfaceList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewInstanceNetworkInterfaceOutputReference_Override(i InstanceNetworkInterfaceOutputReference, ...)
- func NewInstancePrivateDnsNameOptionsOutputReference_Override(i InstancePrivateDnsNameOptionsOutputReference, ...)
- func NewInstanceRootBlockDeviceOutputReference_Override(i InstanceRootBlockDeviceOutputReference, ...)
- func NewInstanceTimeoutsOutputReference_Override(i InstanceTimeoutsOutputReference, ...)
- func NewInstance_Override(i Instance, scope constructs.Construct, id *string, config *InstanceConfig)
- type Instance
- type InstanceCapacityReservationSpecification
- type InstanceCapacityReservationSpecificationCapacityReservationTarget
- type InstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference
- type InstanceCapacityReservationSpecificationOutputReference
- type InstanceConfig
- type InstanceCreditSpecification
- type InstanceCreditSpecificationOutputReference
- type InstanceEbsBlockDevice
- type InstanceEbsBlockDeviceList
- type InstanceEbsBlockDeviceOutputReference
- type InstanceEnclaveOptions
- type InstanceEnclaveOptionsOutputReference
- type InstanceEphemeralBlockDevice
- type InstanceEphemeralBlockDeviceList
- type InstanceEphemeralBlockDeviceOutputReference
- type InstanceLaunchTemplate
- type InstanceLaunchTemplateOutputReference
- type InstanceMaintenanceOptions
- type InstanceMaintenanceOptionsOutputReference
- type InstanceMetadataOptions
- type InstanceMetadataOptionsOutputReference
- type InstanceNetworkInterface
- type InstanceNetworkInterfaceList
- type InstanceNetworkInterfaceOutputReference
- type InstancePrivateDnsNameOptions
- type InstancePrivateDnsNameOptionsOutputReference
- type InstanceRootBlockDevice
- type InstanceRootBlockDeviceOutputReference
- type InstanceTimeouts
- type InstanceTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Instance_IsConstruct ¶
func Instance_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Instance_IsTerraformElement ¶
func Instance_IsTerraformElement(x interface{}) *bool
Experimental.
func Instance_IsTerraformResource ¶
func Instance_IsTerraformResource(x interface{}) *bool
Experimental.
func Instance_TfResourceType ¶
func Instance_TfResourceType() *string
func NewInstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference_Override ¶
func NewInstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference_Override(i InstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceCapacityReservationSpecificationOutputReference_Override ¶
func NewInstanceCapacityReservationSpecificationOutputReference_Override(i InstanceCapacityReservationSpecificationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceCreditSpecificationOutputReference_Override ¶
func NewInstanceCreditSpecificationOutputReference_Override(i InstanceCreditSpecificationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceEbsBlockDeviceList_Override ¶
func NewInstanceEbsBlockDeviceList_Override(i InstanceEbsBlockDeviceList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewInstanceEbsBlockDeviceOutputReference_Override ¶
func NewInstanceEbsBlockDeviceOutputReference_Override(i InstanceEbsBlockDeviceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewInstanceEnclaveOptionsOutputReference_Override ¶
func NewInstanceEnclaveOptionsOutputReference_Override(i InstanceEnclaveOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceEphemeralBlockDeviceList_Override ¶
func NewInstanceEphemeralBlockDeviceList_Override(i InstanceEphemeralBlockDeviceList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewInstanceEphemeralBlockDeviceOutputReference_Override ¶
func NewInstanceEphemeralBlockDeviceOutputReference_Override(i InstanceEphemeralBlockDeviceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewInstanceLaunchTemplateOutputReference_Override ¶
func NewInstanceLaunchTemplateOutputReference_Override(i InstanceLaunchTemplateOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceMaintenanceOptionsOutputReference_Override ¶
func NewInstanceMaintenanceOptionsOutputReference_Override(i InstanceMaintenanceOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceMetadataOptionsOutputReference_Override ¶
func NewInstanceMetadataOptionsOutputReference_Override(i InstanceMetadataOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceNetworkInterfaceList_Override ¶
func NewInstanceNetworkInterfaceList_Override(i InstanceNetworkInterfaceList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewInstanceNetworkInterfaceOutputReference_Override ¶
func NewInstanceNetworkInterfaceOutputReference_Override(i InstanceNetworkInterfaceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewInstancePrivateDnsNameOptionsOutputReference_Override ¶
func NewInstancePrivateDnsNameOptionsOutputReference_Override(i InstancePrivateDnsNameOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceRootBlockDeviceOutputReference_Override ¶
func NewInstanceRootBlockDeviceOutputReference_Override(i InstanceRootBlockDeviceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstanceTimeoutsOutputReference_Override ¶
func NewInstanceTimeoutsOutputReference_Override(i InstanceTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewInstance_Override ¶
func NewInstance_Override(i Instance, scope constructs.Construct, id *string, config *InstanceConfig)
Create a new {@link https://www.terraform.io/docs/providers/aws/r/instance aws_instance} Resource.
Types ¶
type Instance ¶
type Instance interface {
cdktf.TerraformResource
Ami() *string
SetAmi(val *string)
AmiInput() *string
Arn() *string
AssociatePublicIpAddress() interface{}
SetAssociatePublicIpAddress(val interface{})
AssociatePublicIpAddressInput() interface{}
AvailabilityZone() *string
SetAvailabilityZone(val *string)
AvailabilityZoneInput() *string
CapacityReservationSpecification() InstanceCapacityReservationSpecificationOutputReference
CapacityReservationSpecificationInput() *InstanceCapacityReservationSpecification
// Experimental.
CdktfStack() cdktf.TerraformStack
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
// Experimental.
ConstructNodeMetadata() *map[string]interface{}
// Experimental.
Count() *float64
// Experimental.
SetCount(val *float64)
CpuCoreCount() *float64
SetCpuCoreCount(val *float64)
CpuCoreCountInput() *float64
CpuThreadsPerCore() *float64
SetCpuThreadsPerCore(val *float64)
CpuThreadsPerCoreInput() *float64
CreditSpecification() InstanceCreditSpecificationOutputReference
CreditSpecificationInput() *InstanceCreditSpecification
// Experimental.
DependsOn() *[]*string
// Experimental.
SetDependsOn(val *[]*string)
DisableApiStop() interface{}
SetDisableApiStop(val interface{})
DisableApiStopInput() interface{}
DisableApiTermination() interface{}
SetDisableApiTermination(val interface{})
DisableApiTerminationInput() interface{}
EbsBlockDevice() InstanceEbsBlockDeviceList
EbsBlockDeviceInput() interface{}
EbsOptimized() interface{}
SetEbsOptimized(val interface{})
EbsOptimizedInput() interface{}
EnclaveOptions() InstanceEnclaveOptionsOutputReference
EnclaveOptionsInput() *InstanceEnclaveOptions
EphemeralBlockDevice() InstanceEphemeralBlockDeviceList
EphemeralBlockDeviceInput() interface{}
FetchPasswordData() interface{}
SetFetchPasswordData(val interface{})
FetchPasswordDataInput() interface{}
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
Hibernation() interface{}
SetHibernation(val interface{})
HibernationInput() interface{}
HostId() *string
SetHostId(val *string)
HostIdInput() *string
HostResourceGroupArn() *string
SetHostResourceGroupArn(val *string)
HostResourceGroupArnInput() *string
IamInstanceProfile() *string
SetIamInstanceProfile(val *string)
IamInstanceProfileInput() *string
Id() *string
SetId(val *string)
IdInput() *string
InstanceInitiatedShutdownBehavior() *string
SetInstanceInitiatedShutdownBehavior(val *string)
InstanceInitiatedShutdownBehaviorInput() *string
InstanceState() *string
InstanceType() *string
SetInstanceType(val *string)
InstanceTypeInput() *string
Ipv6AddressCount() *float64
SetIpv6AddressCount(val *float64)
Ipv6AddressCountInput() *float64
Ipv6Addresses() *[]*string
SetIpv6Addresses(val *[]*string)
Ipv6AddressesInput() *[]*string
KeyName() *string
SetKeyName(val *string)
KeyNameInput() *string
LaunchTemplate() InstanceLaunchTemplateOutputReference
LaunchTemplateInput() *InstanceLaunchTemplate
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
MaintenanceOptions() InstanceMaintenanceOptionsOutputReference
MaintenanceOptionsInput() *InstanceMaintenanceOptions
MetadataOptions() InstanceMetadataOptionsOutputReference
MetadataOptionsInput() *InstanceMetadataOptions
Monitoring() interface{}
SetMonitoring(val interface{})
MonitoringInput() interface{}
NetworkInterface() InstanceNetworkInterfaceList
NetworkInterfaceInput() interface{}
// The tree node.
Node() constructs.Node
OutpostArn() *string
PasswordData() *string
PlacementGroup() *string
SetPlacementGroup(val *string)
PlacementGroupInput() *string
PlacementPartitionNumber() *float64
SetPlacementPartitionNumber(val *float64)
PlacementPartitionNumberInput() *float64
PrimaryNetworkInterfaceId() *string
PrivateDns() *string
PrivateDnsNameOptions() InstancePrivateDnsNameOptionsOutputReference
PrivateDnsNameOptionsInput() *InstancePrivateDnsNameOptions
PrivateIp() *string
SetPrivateIp(val *string)
PrivateIpInput() *string
// Experimental.
Provider() cdktf.TerraformProvider
// Experimental.
SetProvider(val cdktf.TerraformProvider)
// Experimental.
Provisioners() *[]interface{}
// Experimental.
SetProvisioners(val *[]interface{})
PublicDns() *string
PublicIp() *string
// Experimental.
RawOverrides() interface{}
RootBlockDevice() InstanceRootBlockDeviceOutputReference
RootBlockDeviceInput() *InstanceRootBlockDevice
SecondaryPrivateIps() *[]*string
SetSecondaryPrivateIps(val *[]*string)
SecondaryPrivateIpsInput() *[]*string
SecurityGroups() *[]*string
SetSecurityGroups(val *[]*string)
SecurityGroupsInput() *[]*string
SourceDestCheck() interface{}
SetSourceDestCheck(val interface{})
SourceDestCheckInput() interface{}
SubnetId() *string
SetSubnetId(val *string)
SubnetIdInput() *string
Tags() *map[string]*string
SetTags(val *map[string]*string)
TagsAll() *map[string]*string
SetTagsAll(val *map[string]*string)
TagsAllInput() *map[string]*string
TagsInput() *map[string]*string
Tenancy() *string
SetTenancy(val *string)
TenancyInput() *string
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Timeouts() InstanceTimeoutsOutputReference
TimeoutsInput() interface{}
UserData() *string
SetUserData(val *string)
UserDataBase64() *string
SetUserDataBase64(val *string)
UserDataBase64Input() *string
UserDataInput() *string
UserDataReplaceOnChange() interface{}
SetUserDataReplaceOnChange(val interface{})
UserDataReplaceOnChangeInput() interface{}
VolumeTags() *map[string]*string
SetVolumeTags(val *map[string]*string)
VolumeTagsInput() *map[string]*string
VpcSecurityGroupIds() *[]*string
SetVpcSecurityGroupIds(val *[]*string)
VpcSecurityGroupIdsInput() *[]*string
// Experimental.
AddOverride(path *string, value interface{})
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
PutCapacityReservationSpecification(value *InstanceCapacityReservationSpecification)
PutCreditSpecification(value *InstanceCreditSpecification)
PutEbsBlockDevice(value interface{})
PutEnclaveOptions(value *InstanceEnclaveOptions)
PutEphemeralBlockDevice(value interface{})
PutLaunchTemplate(value *InstanceLaunchTemplate)
PutMaintenanceOptions(value *InstanceMaintenanceOptions)
PutMetadataOptions(value *InstanceMetadataOptions)
PutNetworkInterface(value interface{})
PutPrivateDnsNameOptions(value *InstancePrivateDnsNameOptions)
PutRootBlockDevice(value *InstanceRootBlockDevice)
PutTimeouts(value *InstanceTimeouts)
ResetAmi()
ResetAssociatePublicIpAddress()
ResetAvailabilityZone()
ResetCapacityReservationSpecification()
ResetCpuCoreCount()
ResetCpuThreadsPerCore()
ResetCreditSpecification()
ResetDisableApiStop()
ResetDisableApiTermination()
ResetEbsBlockDevice()
ResetEbsOptimized()
ResetEnclaveOptions()
ResetEphemeralBlockDevice()
ResetFetchPasswordData()
ResetHibernation()
ResetHostId()
ResetHostResourceGroupArn()
ResetIamInstanceProfile()
ResetId()
ResetInstanceInitiatedShutdownBehavior()
ResetInstanceType()
ResetIpv6AddressCount()
ResetIpv6Addresses()
ResetKeyName()
ResetLaunchTemplate()
ResetMaintenanceOptions()
ResetMetadataOptions()
ResetMonitoring()
ResetNetworkInterface()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetPlacementGroup()
ResetPlacementPartitionNumber()
ResetPrivateDnsNameOptions()
ResetPrivateIp()
ResetRootBlockDevice()
ResetSecondaryPrivateIps()
ResetSecurityGroups()
ResetSourceDestCheck()
ResetSubnetId()
ResetTags()
ResetTagsAll()
ResetTenancy()
ResetTimeouts()
ResetUserData()
ResetUserDataBase64()
ResetUserDataReplaceOnChange()
ResetVolumeTags()
ResetVpcSecurityGroupIds()
SynthesizeAttributes() *map[string]interface{}
// Experimental.
ToMetadata() interface{}
// Returns a string representation of this construct.
ToString() *string
// Adds this resource to the terraform JSON output.
// Experimental.
ToTerraform() interface{}
}
Represents a {@link https://www.terraform.io/docs/providers/aws/r/instance aws_instance}.
func NewInstance ¶
func NewInstance(scope constructs.Construct, id *string, config *InstanceConfig) Instance
Create a new {@link https://www.terraform.io/docs/providers/aws/r/instance aws_instance} Resource.
type InstanceCapacityReservationSpecification ¶
type InstanceCapacityReservationSpecification struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#capacity_reservation_preference Instance#capacity_reservation_preference}.
CapacityReservationPreference *string `field:"optional" json:"capacityReservationPreference" yaml:"capacityReservationPreference"`
// capacity_reservation_target block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#capacity_reservation_target Instance#capacity_reservation_target}
CapacityReservationTarget *InstanceCapacityReservationSpecificationCapacityReservationTarget `field:"optional" json:"capacityReservationTarget" yaml:"capacityReservationTarget"`
}
type InstanceCapacityReservationSpecificationCapacityReservationTarget ¶
type InstanceCapacityReservationSpecificationCapacityReservationTarget struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#capacity_reservation_id Instance#capacity_reservation_id}.
CapacityReservationId *string `field:"optional" json:"capacityReservationId" yaml:"capacityReservationId"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#capacity_reservation_resource_group_arn Instance#capacity_reservation_resource_group_arn}.
CapacityReservationResourceGroupArn *string `field:"optional" json:"capacityReservationResourceGroupArn" yaml:"capacityReservationResourceGroupArn"`
}
type InstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference ¶
type InstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference interface {
cdktf.ComplexObject
CapacityReservationId() *string
SetCapacityReservationId(val *string)
CapacityReservationIdInput() *string
CapacityReservationResourceGroupArn() *string
SetCapacityReservationResourceGroupArn(val *string)
CapacityReservationResourceGroupArnInput() *string
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *InstanceCapacityReservationSpecificationCapacityReservationTarget
SetInternalValue(val *InstanceCapacityReservationSpecificationCapacityReservationTarget)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetCapacityReservationId()
ResetCapacityReservationResourceGroupArn()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference ¶
func NewInstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference
type InstanceCapacityReservationSpecificationOutputReference ¶
type InstanceCapacityReservationSpecificationOutputReference interface {
cdktf.ComplexObject
CapacityReservationPreference() *string
SetCapacityReservationPreference(val *string)
CapacityReservationPreferenceInput() *string
CapacityReservationTarget() InstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference
CapacityReservationTargetInput() *InstanceCapacityReservationSpecificationCapacityReservationTarget
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *InstanceCapacityReservationSpecification
SetInternalValue(val *InstanceCapacityReservationSpecification)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
PutCapacityReservationTarget(value *InstanceCapacityReservationSpecificationCapacityReservationTarget)
ResetCapacityReservationPreference()
ResetCapacityReservationTarget()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceCapacityReservationSpecificationOutputReference ¶
func NewInstanceCapacityReservationSpecificationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceCapacityReservationSpecificationOutputReference
type InstanceConfig ¶
type InstanceConfig struct {
// Experimental.
Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
// Experimental.
Count *float64 `field:"optional" json:"count" yaml:"count"`
// Experimental.
DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
// Experimental.
ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
// Experimental.
Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
// Experimental.
Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
// Experimental.
Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#ami Instance#ami}.
Ami *string `field:"optional" json:"ami" yaml:"ami"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#associate_public_ip_address Instance#associate_public_ip_address}.
AssociatePublicIpAddress interface{} `field:"optional" json:"associatePublicIpAddress" yaml:"associatePublicIpAddress"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#availability_zone Instance#availability_zone}.
AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"`
// capacity_reservation_specification block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#capacity_reservation_specification Instance#capacity_reservation_specification}
CapacityReservationSpecification *InstanceCapacityReservationSpecification `field:"optional" json:"capacityReservationSpecification" yaml:"capacityReservationSpecification"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#cpu_core_count Instance#cpu_core_count}.
CpuCoreCount *float64 `field:"optional" json:"cpuCoreCount" yaml:"cpuCoreCount"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#cpu_threads_per_core Instance#cpu_threads_per_core}.
CpuThreadsPerCore *float64 `field:"optional" json:"cpuThreadsPerCore" yaml:"cpuThreadsPerCore"`
// credit_specification block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#credit_specification Instance#credit_specification}
CreditSpecification *InstanceCreditSpecification `field:"optional" json:"creditSpecification" yaml:"creditSpecification"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#disable_api_stop Instance#disable_api_stop}.
DisableApiStop interface{} `field:"optional" json:"disableApiStop" yaml:"disableApiStop"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#disable_api_termination Instance#disable_api_termination}.
DisableApiTermination interface{} `field:"optional" json:"disableApiTermination" yaml:"disableApiTermination"`
// ebs_block_device block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#ebs_block_device Instance#ebs_block_device}
EbsBlockDevice interface{} `field:"optional" json:"ebsBlockDevice" yaml:"ebsBlockDevice"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#ebs_optimized Instance#ebs_optimized}.
EbsOptimized interface{} `field:"optional" json:"ebsOptimized" yaml:"ebsOptimized"`
// enclave_options block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#enclave_options Instance#enclave_options}
EnclaveOptions *InstanceEnclaveOptions `field:"optional" json:"enclaveOptions" yaml:"enclaveOptions"`
// ephemeral_block_device block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#ephemeral_block_device Instance#ephemeral_block_device}
EphemeralBlockDevice interface{} `field:"optional" json:"ephemeralBlockDevice" yaml:"ephemeralBlockDevice"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#get_password_data Instance#get_password_data}.
FetchPasswordData interface{} `field:"optional" json:"fetchPasswordData" yaml:"fetchPasswordData"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#hibernation Instance#hibernation}.
Hibernation interface{} `field:"optional" json:"hibernation" yaml:"hibernation"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#host_id Instance#host_id}.
HostId *string `field:"optional" json:"hostId" yaml:"hostId"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#host_resource_group_arn Instance#host_resource_group_arn}.
HostResourceGroupArn *string `field:"optional" json:"hostResourceGroupArn" yaml:"hostResourceGroupArn"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#iam_instance_profile Instance#iam_instance_profile}.
IamInstanceProfile *string `field:"optional" json:"iamInstanceProfile" yaml:"iamInstanceProfile"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#id Instance#id}.
//
// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
Id *string `field:"optional" json:"id" yaml:"id"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#instance_initiated_shutdown_behavior Instance#instance_initiated_shutdown_behavior}.
InstanceInitiatedShutdownBehavior *string `field:"optional" json:"instanceInitiatedShutdownBehavior" yaml:"instanceInitiatedShutdownBehavior"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#instance_type Instance#instance_type}.
InstanceType *string `field:"optional" json:"instanceType" yaml:"instanceType"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#ipv6_address_count Instance#ipv6_address_count}.
Ipv6AddressCount *float64 `field:"optional" json:"ipv6AddressCount" yaml:"ipv6AddressCount"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#ipv6_addresses Instance#ipv6_addresses}.
Ipv6Addresses *[]*string `field:"optional" json:"ipv6Addresses" yaml:"ipv6Addresses"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#key_name Instance#key_name}.
KeyName *string `field:"optional" json:"keyName" yaml:"keyName"`
// launch_template block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#launch_template Instance#launch_template}
LaunchTemplate *InstanceLaunchTemplate `field:"optional" json:"launchTemplate" yaml:"launchTemplate"`
// maintenance_options block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#maintenance_options Instance#maintenance_options}
MaintenanceOptions *InstanceMaintenanceOptions `field:"optional" json:"maintenanceOptions" yaml:"maintenanceOptions"`
// metadata_options block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#metadata_options Instance#metadata_options}
MetadataOptions *InstanceMetadataOptions `field:"optional" json:"metadataOptions" yaml:"metadataOptions"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#monitoring Instance#monitoring}.
Monitoring interface{} `field:"optional" json:"monitoring" yaml:"monitoring"`
// network_interface block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#network_interface Instance#network_interface}
NetworkInterface interface{} `field:"optional" json:"networkInterface" yaml:"networkInterface"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#placement_group Instance#placement_group}.
PlacementGroup *string `field:"optional" json:"placementGroup" yaml:"placementGroup"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#placement_partition_number Instance#placement_partition_number}.
PlacementPartitionNumber *float64 `field:"optional" json:"placementPartitionNumber" yaml:"placementPartitionNumber"`
// private_dns_name_options block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#private_dns_name_options Instance#private_dns_name_options}
PrivateDnsNameOptions *InstancePrivateDnsNameOptions `field:"optional" json:"privateDnsNameOptions" yaml:"privateDnsNameOptions"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#private_ip Instance#private_ip}.
PrivateIp *string `field:"optional" json:"privateIp" yaml:"privateIp"`
// root_block_device block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#root_block_device Instance#root_block_device}
RootBlockDevice *InstanceRootBlockDevice `field:"optional" json:"rootBlockDevice" yaml:"rootBlockDevice"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#secondary_private_ips Instance#secondary_private_ips}.
SecondaryPrivateIps *[]*string `field:"optional" json:"secondaryPrivateIps" yaml:"secondaryPrivateIps"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#security_groups Instance#security_groups}.
SecurityGroups *[]*string `field:"optional" json:"securityGroups" yaml:"securityGroups"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#source_dest_check Instance#source_dest_check}.
SourceDestCheck interface{} `field:"optional" json:"sourceDestCheck" yaml:"sourceDestCheck"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#subnet_id Instance#subnet_id}.
SubnetId *string `field:"optional" json:"subnetId" yaml:"subnetId"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#tags Instance#tags}.
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#tags_all Instance#tags_all}.
TagsAll *map[string]*string `field:"optional" json:"tagsAll" yaml:"tagsAll"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#tenancy Instance#tenancy}.
Tenancy *string `field:"optional" json:"tenancy" yaml:"tenancy"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#timeouts Instance#timeouts}
Timeouts *InstanceTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#user_data Instance#user_data}.
UserData *string `field:"optional" json:"userData" yaml:"userData"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#user_data_base64 Instance#user_data_base64}.
UserDataBase64 *string `field:"optional" json:"userDataBase64" yaml:"userDataBase64"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#user_data_replace_on_change Instance#user_data_replace_on_change}.
UserDataReplaceOnChange interface{} `field:"optional" json:"userDataReplaceOnChange" yaml:"userDataReplaceOnChange"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#volume_tags Instance#volume_tags}.
VolumeTags *map[string]*string `field:"optional" json:"volumeTags" yaml:"volumeTags"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#vpc_security_group_ids Instance#vpc_security_group_ids}.
VpcSecurityGroupIds *[]*string `field:"optional" json:"vpcSecurityGroupIds" yaml:"vpcSecurityGroupIds"`
}
type InstanceCreditSpecification ¶
type InstanceCreditSpecification struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#cpu_credits Instance#cpu_credits}.
CpuCredits *string `field:"optional" json:"cpuCredits" yaml:"cpuCredits"`
}
type InstanceCreditSpecificationOutputReference ¶
type InstanceCreditSpecificationOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
CpuCredits() *string
SetCpuCredits(val *string)
CpuCreditsInput() *string
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *InstanceCreditSpecification
SetInternalValue(val *InstanceCreditSpecification)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetCpuCredits()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceCreditSpecificationOutputReference ¶
func NewInstanceCreditSpecificationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceCreditSpecificationOutputReference
type InstanceEbsBlockDevice ¶
type InstanceEbsBlockDevice struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#device_name Instance#device_name}.
DeviceName *string `field:"required" json:"deviceName" yaml:"deviceName"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#delete_on_termination Instance#delete_on_termination}.
DeleteOnTermination interface{} `field:"optional" json:"deleteOnTermination" yaml:"deleteOnTermination"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#encrypted Instance#encrypted}.
Encrypted interface{} `field:"optional" json:"encrypted" yaml:"encrypted"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#iops Instance#iops}.
Iops *float64 `field:"optional" json:"iops" yaml:"iops"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#kms_key_id Instance#kms_key_id}.
KmsKeyId *string `field:"optional" json:"kmsKeyId" yaml:"kmsKeyId"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#snapshot_id Instance#snapshot_id}.
SnapshotId *string `field:"optional" json:"snapshotId" yaml:"snapshotId"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#tags Instance#tags}.
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#throughput Instance#throughput}.
Throughput *float64 `field:"optional" json:"throughput" yaml:"throughput"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#volume_size Instance#volume_size}.
VolumeSize *float64 `field:"optional" json:"volumeSize" yaml:"volumeSize"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#volume_type Instance#volume_type}.
VolumeType *string `field:"optional" json:"volumeType" yaml:"volumeType"`
}
type InstanceEbsBlockDeviceList ¶
type InstanceEbsBlockDeviceList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Experimental.
ComputeFqn() *string
Get(index *float64) InstanceEbsBlockDeviceOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceEbsBlockDeviceList ¶
func NewInstanceEbsBlockDeviceList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) InstanceEbsBlockDeviceList
type InstanceEbsBlockDeviceOutputReference ¶
type InstanceEbsBlockDeviceOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
DeleteOnTermination() interface{}
SetDeleteOnTermination(val interface{})
DeleteOnTerminationInput() interface{}
DeviceName() *string
SetDeviceName(val *string)
DeviceNameInput() *string
Encrypted() interface{}
SetEncrypted(val interface{})
EncryptedInput() interface{}
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
Iops() *float64
SetIops(val *float64)
IopsInput() *float64
KmsKeyId() *string
SetKmsKeyId(val *string)
KmsKeyIdInput() *string
SnapshotId() *string
SetSnapshotId(val *string)
SnapshotIdInput() *string
Tags() *map[string]*string
SetTags(val *map[string]*string)
TagsInput() *map[string]*string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Throughput() *float64
SetThroughput(val *float64)
ThroughputInput() *float64
VolumeId() *string
VolumeSize() *float64
SetVolumeSize(val *float64)
VolumeSizeInput() *float64
VolumeType() *string
SetVolumeType(val *string)
VolumeTypeInput() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetDeleteOnTermination()
ResetEncrypted()
ResetIops()
ResetKmsKeyId()
ResetSnapshotId()
ResetTags()
ResetThroughput()
ResetVolumeSize()
ResetVolumeType()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceEbsBlockDeviceOutputReference ¶
func NewInstanceEbsBlockDeviceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) InstanceEbsBlockDeviceOutputReference
type InstanceEnclaveOptions ¶
type InstanceEnclaveOptions struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#enabled Instance#enabled}.
Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
}
type InstanceEnclaveOptionsOutputReference ¶
type InstanceEnclaveOptionsOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
Enabled() interface{}
SetEnabled(val interface{})
EnabledInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *InstanceEnclaveOptions
SetInternalValue(val *InstanceEnclaveOptions)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetEnabled()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceEnclaveOptionsOutputReference ¶
func NewInstanceEnclaveOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceEnclaveOptionsOutputReference
type InstanceEphemeralBlockDevice ¶
type InstanceEphemeralBlockDevice struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#device_name Instance#device_name}.
DeviceName *string `field:"required" json:"deviceName" yaml:"deviceName"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#no_device Instance#no_device}.
NoDevice interface{} `field:"optional" json:"noDevice" yaml:"noDevice"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#virtual_name Instance#virtual_name}.
VirtualName *string `field:"optional" json:"virtualName" yaml:"virtualName"`
}
type InstanceEphemeralBlockDeviceList ¶
type InstanceEphemeralBlockDeviceList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Experimental.
ComputeFqn() *string
Get(index *float64) InstanceEphemeralBlockDeviceOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceEphemeralBlockDeviceList ¶
func NewInstanceEphemeralBlockDeviceList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) InstanceEphemeralBlockDeviceList
type InstanceEphemeralBlockDeviceOutputReference ¶
type InstanceEphemeralBlockDeviceOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
DeviceName() *string
SetDeviceName(val *string)
DeviceNameInput() *string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
NoDevice() interface{}
SetNoDevice(val interface{})
NoDeviceInput() interface{}
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
VirtualName() *string
SetVirtualName(val *string)
VirtualNameInput() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetNoDevice()
ResetVirtualName()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceEphemeralBlockDeviceOutputReference ¶
func NewInstanceEphemeralBlockDeviceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) InstanceEphemeralBlockDeviceOutputReference
type InstanceLaunchTemplate ¶
type InstanceLaunchTemplate struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#id Instance#id}.
//
// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
Id *string `field:"optional" json:"id" yaml:"id"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#name Instance#name}.
Name *string `field:"optional" json:"name" yaml:"name"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#version Instance#version}.
Version *string `field:"optional" json:"version" yaml:"version"`
}
type InstanceLaunchTemplateOutputReference ¶
type InstanceLaunchTemplateOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
Id() *string
SetId(val *string)
IdInput() *string
InternalValue() *InstanceLaunchTemplate
SetInternalValue(val *InstanceLaunchTemplate)
Name() *string
SetName(val *string)
NameInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Version() *string
SetVersion(val *string)
VersionInput() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetId()
ResetName()
ResetVersion()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceLaunchTemplateOutputReference ¶
func NewInstanceLaunchTemplateOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceLaunchTemplateOutputReference
type InstanceMaintenanceOptions ¶
type InstanceMaintenanceOptions struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#auto_recovery Instance#auto_recovery}.
AutoRecovery *string `field:"optional" json:"autoRecovery" yaml:"autoRecovery"`
}
type InstanceMaintenanceOptionsOutputReference ¶
type InstanceMaintenanceOptionsOutputReference interface {
cdktf.ComplexObject
AutoRecovery() *string
SetAutoRecovery(val *string)
AutoRecoveryInput() *string
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *InstanceMaintenanceOptions
SetInternalValue(val *InstanceMaintenanceOptions)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetAutoRecovery()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceMaintenanceOptionsOutputReference ¶
func NewInstanceMaintenanceOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceMaintenanceOptionsOutputReference
type InstanceMetadataOptions ¶
type InstanceMetadataOptions struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#http_endpoint Instance#http_endpoint}.
HttpEndpoint *string `field:"optional" json:"httpEndpoint" yaml:"httpEndpoint"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#http_put_response_hop_limit Instance#http_put_response_hop_limit}.
HttpPutResponseHopLimit *float64 `field:"optional" json:"httpPutResponseHopLimit" yaml:"httpPutResponseHopLimit"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#http_tokens Instance#http_tokens}.
HttpTokens *string `field:"optional" json:"httpTokens" yaml:"httpTokens"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#instance_metadata_tags Instance#instance_metadata_tags}.
InstanceMetadataTags *string `field:"optional" json:"instanceMetadataTags" yaml:"instanceMetadataTags"`
}
type InstanceMetadataOptionsOutputReference ¶
type InstanceMetadataOptionsOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
HttpEndpoint() *string
SetHttpEndpoint(val *string)
HttpEndpointInput() *string
HttpPutResponseHopLimit() *float64
SetHttpPutResponseHopLimit(val *float64)
HttpPutResponseHopLimitInput() *float64
HttpTokens() *string
SetHttpTokens(val *string)
HttpTokensInput() *string
InstanceMetadataTags() *string
SetInstanceMetadataTags(val *string)
InstanceMetadataTagsInput() *string
InternalValue() *InstanceMetadataOptions
SetInternalValue(val *InstanceMetadataOptions)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetHttpEndpoint()
ResetHttpPutResponseHopLimit()
ResetHttpTokens()
ResetInstanceMetadataTags()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceMetadataOptionsOutputReference ¶
func NewInstanceMetadataOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceMetadataOptionsOutputReference
type InstanceNetworkInterface ¶
type InstanceNetworkInterface struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#device_index Instance#device_index}.
DeviceIndex *float64 `field:"required" json:"deviceIndex" yaml:"deviceIndex"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#network_interface_id Instance#network_interface_id}.
NetworkInterfaceId *string `field:"required" json:"networkInterfaceId" yaml:"networkInterfaceId"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#delete_on_termination Instance#delete_on_termination}.
DeleteOnTermination interface{} `field:"optional" json:"deleteOnTermination" yaml:"deleteOnTermination"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#network_card_index Instance#network_card_index}.
NetworkCardIndex *float64 `field:"optional" json:"networkCardIndex" yaml:"networkCardIndex"`
}
type InstanceNetworkInterfaceList ¶
type InstanceNetworkInterfaceList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Experimental.
ComputeFqn() *string
Get(index *float64) InstanceNetworkInterfaceOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceNetworkInterfaceList ¶
func NewInstanceNetworkInterfaceList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) InstanceNetworkInterfaceList
type InstanceNetworkInterfaceOutputReference ¶
type InstanceNetworkInterfaceOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
DeleteOnTermination() interface{}
SetDeleteOnTermination(val interface{})
DeleteOnTerminationInput() interface{}
DeviceIndex() *float64
SetDeviceIndex(val *float64)
DeviceIndexInput() *float64
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
NetworkCardIndex() *float64
SetNetworkCardIndex(val *float64)
NetworkCardIndexInput() *float64
NetworkInterfaceId() *string
SetNetworkInterfaceId(val *string)
NetworkInterfaceIdInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetDeleteOnTermination()
ResetNetworkCardIndex()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceNetworkInterfaceOutputReference ¶
func NewInstanceNetworkInterfaceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) InstanceNetworkInterfaceOutputReference
type InstancePrivateDnsNameOptions ¶
type InstancePrivateDnsNameOptions struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#enable_resource_name_dns_aaaa_record Instance#enable_resource_name_dns_aaaa_record}.
EnableResourceNameDnsAaaaRecord interface{} `field:"optional" json:"enableResourceNameDnsAaaaRecord" yaml:"enableResourceNameDnsAaaaRecord"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#enable_resource_name_dns_a_record Instance#enable_resource_name_dns_a_record}.
EnableResourceNameDnsARecord interface{} `field:"optional" json:"enableResourceNameDnsARecord" yaml:"enableResourceNameDnsARecord"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#hostname_type Instance#hostname_type}.
HostnameType *string `field:"optional" json:"hostnameType" yaml:"hostnameType"`
}
type InstancePrivateDnsNameOptionsOutputReference ¶
type InstancePrivateDnsNameOptionsOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
EnableResourceNameDnsAaaaRecord() interface{}
SetEnableResourceNameDnsAaaaRecord(val interface{})
EnableResourceNameDnsAaaaRecordInput() interface{}
EnableResourceNameDnsARecord() interface{}
SetEnableResourceNameDnsARecord(val interface{})
EnableResourceNameDnsARecordInput() interface{}
// Experimental.
Fqn() *string
HostnameType() *string
SetHostnameType(val *string)
HostnameTypeInput() *string
InternalValue() *InstancePrivateDnsNameOptions
SetInternalValue(val *InstancePrivateDnsNameOptions)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetEnableResourceNameDnsAaaaRecord()
ResetEnableResourceNameDnsARecord()
ResetHostnameType()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstancePrivateDnsNameOptionsOutputReference ¶
func NewInstancePrivateDnsNameOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstancePrivateDnsNameOptionsOutputReference
type InstanceRootBlockDevice ¶
type InstanceRootBlockDevice struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#delete_on_termination Instance#delete_on_termination}.
DeleteOnTermination interface{} `field:"optional" json:"deleteOnTermination" yaml:"deleteOnTermination"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#encrypted Instance#encrypted}.
Encrypted interface{} `field:"optional" json:"encrypted" yaml:"encrypted"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#iops Instance#iops}.
Iops *float64 `field:"optional" json:"iops" yaml:"iops"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#kms_key_id Instance#kms_key_id}.
KmsKeyId *string `field:"optional" json:"kmsKeyId" yaml:"kmsKeyId"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#tags Instance#tags}.
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#throughput Instance#throughput}.
Throughput *float64 `field:"optional" json:"throughput" yaml:"throughput"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#volume_size Instance#volume_size}.
VolumeSize *float64 `field:"optional" json:"volumeSize" yaml:"volumeSize"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#volume_type Instance#volume_type}.
VolumeType *string `field:"optional" json:"volumeType" yaml:"volumeType"`
}
type InstanceRootBlockDeviceOutputReference ¶
type InstanceRootBlockDeviceOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
DeleteOnTermination() interface{}
SetDeleteOnTermination(val interface{})
DeleteOnTerminationInput() interface{}
DeviceName() *string
Encrypted() interface{}
SetEncrypted(val interface{})
EncryptedInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *InstanceRootBlockDevice
SetInternalValue(val *InstanceRootBlockDevice)
Iops() *float64
SetIops(val *float64)
IopsInput() *float64
KmsKeyId() *string
SetKmsKeyId(val *string)
KmsKeyIdInput() *string
Tags() *map[string]*string
SetTags(val *map[string]*string)
TagsInput() *map[string]*string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Throughput() *float64
SetThroughput(val *float64)
ThroughputInput() *float64
VolumeId() *string
VolumeSize() *float64
SetVolumeSize(val *float64)
VolumeSizeInput() *float64
VolumeType() *string
SetVolumeType(val *string)
VolumeTypeInput() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetDeleteOnTermination()
ResetEncrypted()
ResetIops()
ResetKmsKeyId()
ResetTags()
ResetThroughput()
ResetVolumeSize()
ResetVolumeType()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceRootBlockDeviceOutputReference ¶
func NewInstanceRootBlockDeviceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceRootBlockDeviceOutputReference
type InstanceTimeouts ¶
type InstanceTimeouts struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#create Instance#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#delete Instance#delete}.
Delete *string `field:"optional" json:"delete" yaml:"delete"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/instance#update Instance#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type InstanceTimeoutsOutputReference ¶
type InstanceTimeoutsOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
Create() *string
SetCreate(val *string)
CreateInput() *string
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
Delete() *string
SetDelete(val *string)
DeleteInput() *string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Update() *string
SetUpdate(val *string)
UpdateInput() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetCreate()
ResetDelete()
ResetUpdate()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewInstanceTimeoutsOutputReference ¶
func NewInstanceTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) InstanceTimeoutsOutputReference
Source Files
¶
- Instance.go
- InstanceCapacityReservationSpecification.go
- InstanceCapacityReservationSpecificationCapacityReservationTarget.go
- InstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference.go
- InstanceCapacityReservationSpecificationCapacityReservationTargetOutputReference__checks.go
- InstanceCapacityReservationSpecificationOutputReference.go
- InstanceCapacityReservationSpecificationOutputReference__checks.go
- InstanceConfig.go
- InstanceCreditSpecification.go
- InstanceCreditSpecificationOutputReference.go
- InstanceCreditSpecificationOutputReference__checks.go
- InstanceEbsBlockDevice.go
- InstanceEbsBlockDeviceList.go
- InstanceEbsBlockDeviceList__checks.go
- InstanceEbsBlockDeviceOutputReference.go
- InstanceEbsBlockDeviceOutputReference__checks.go
- InstanceEnclaveOptions.go
- InstanceEnclaveOptionsOutputReference.go
- InstanceEnclaveOptionsOutputReference__checks.go
- InstanceEphemeralBlockDevice.go
- InstanceEphemeralBlockDeviceList.go
- InstanceEphemeralBlockDeviceList__checks.go
- InstanceEphemeralBlockDeviceOutputReference.go
- InstanceEphemeralBlockDeviceOutputReference__checks.go
- InstanceLaunchTemplate.go
- InstanceLaunchTemplateOutputReference.go
- InstanceLaunchTemplateOutputReference__checks.go
- InstanceMaintenanceOptions.go
- InstanceMaintenanceOptionsOutputReference.go
- InstanceMaintenanceOptionsOutputReference__checks.go
- InstanceMetadataOptions.go
- InstanceMetadataOptionsOutputReference.go
- InstanceMetadataOptionsOutputReference__checks.go
- InstanceNetworkInterface.go
- InstanceNetworkInterfaceList.go
- InstanceNetworkInterfaceList__checks.go
- InstanceNetworkInterfaceOutputReference.go
- InstanceNetworkInterfaceOutputReference__checks.go
- InstancePrivateDnsNameOptions.go
- InstancePrivateDnsNameOptionsOutputReference.go
- InstancePrivateDnsNameOptionsOutputReference__checks.go
- InstanceRootBlockDevice.go
- InstanceRootBlockDeviceOutputReference.go
- InstanceRootBlockDeviceOutputReference__checks.go
- InstanceTimeouts.go
- InstanceTimeoutsOutputReference.go
- InstanceTimeoutsOutputReference__checks.go
- Instance__checks.go
- main.go