Struct cfn::aws::ec2::InstanceProperties [] [src]

pub struct InstanceProperties {
    pub additional_info: Option<Value<String>>,
    pub affinity: Option<Value<String>>,
    pub availability_zone: Option<Value<String>>,
    pub block_device_mappings: Option<ValueList<BlockDeviceMapping>>,
    pub credit_specification: Option<Value<CreditSpecification>>,
    pub disable_api_termination: Option<Value<bool>>,
    pub ebs_optimized: Option<Value<bool>>,
    pub elastic_gpu_specifications: Option<ValueList<ElasticGpuSpecification>>,
    pub host_id: Option<Value<String>>,
    pub iam_instance_profile: Option<Value<String>>,
    pub image_id: Value<String>,
    pub instance_initiated_shutdown_behavior: Option<Value<String>>,
    pub instance_type: Option<Value<String>>,
    pub ipv6_address_count: Option<Value<u32>>,
    pub ipv6_addresses: Option<ValueList<InstanceIpv6Address>>,
    pub kernel_id: Option<Value<String>>,
    pub key_name: Option<Value<String>>,
    pub monitoring: Option<Value<bool>>,
    pub network_interfaces: Option<ValueList<NetworkInterface>>,
    pub placement_group_name: Option<Value<String>>,
    pub private_ip_address: Option<Value<String>>,
    pub ramdisk_id: Option<Value<String>>,
    pub security_group_ids: Option<ValueList<String>>,
    pub security_groups: Option<ValueList<String>>,
    pub source_dest_check: Option<Value<bool>>,
    pub ssm_associations: Option<ValueList<SsmAssociation>>,
    pub subnet_id: Option<Value<String>>,
    pub tags: Option<ValueList<Tag>>,
    pub tenancy: Option<Value<String>>,
    pub user_data: Option<Value<String>>,
    pub volumes: Option<ValueList<Volume>>,
}

Properties for the Instance resource.

Fields

Property AdditionalInfo.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property Affinity.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property AvailabilityZone.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property BlockDeviceMappings.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property CreditSpecification.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Property DisableApiTermination.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Property EbsOptimized.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property ElasticGpuSpecifications.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property HostId.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property IamInstanceProfile.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Property ImageId.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property InstanceInitiatedShutdownBehavior.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Property InstanceType.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property Ipv6AddressCount.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property Ipv6Addresses.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property KernelId.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property KeyName.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property Monitoring.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Property NetworkInterfaces.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property PlacementGroupName.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property PrivateIpAddress.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property RamdiskId.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property SecurityGroupIds.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property SecurityGroups.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property SourceDestCheck.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Property SsmAssociations.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Property SubnetId.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Property Tags.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Property Tenancy.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property UserData.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

Property Volumes.

Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.

Trait Implementations

impl Debug for InstanceProperties
[src]

[src]

Formats the value using the given formatter. Read more

impl Serialize for InstanceProperties
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for InstanceProperties
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl From<InstanceProperties> for Instance
[src]

[src]

Performs the conversion.

Auto Trait Implementations