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
additional_info: Option<Value<String>>
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.
affinity: Option<Value<String>>
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.
availability_zone: Option<Value<String>>
Property AvailabilityZone
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
block_device_mappings: Option<ValueList<BlockDeviceMapping>>
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.
credit_specification: Option<Value<CreditSpecification>>
Property CreditSpecification
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
disable_api_termination: Option<Value<bool>>
Property DisableApiTermination
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
ebs_optimized: Option<Value<bool>>
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.
elastic_gpu_specifications: Option<ValueList<ElasticGpuSpecification>>
Property ElasticGpuSpecifications
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
host_id: Option<Value<String>>
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.
iam_instance_profile: Option<Value<String>>
Property IamInstanceProfile
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
image_id: Value<String>
Property ImageId
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
instance_initiated_shutdown_behavior: Option<Value<String>>
Property InstanceInitiatedShutdownBehavior
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
instance_type: Option<Value<String>>
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.
ipv6_address_count: Option<Value<u32>>
Property Ipv6AddressCount
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
ipv6_addresses: Option<ValueList<InstanceIpv6Address>>
Property Ipv6Addresses
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
kernel_id: Option<Value<String>>
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.
key_name: Option<Value<String>>
Property KeyName
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
monitoring: Option<Value<bool>>
Property Monitoring
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
network_interfaces: Option<ValueList<NetworkInterface>>
Property NetworkInterfaces
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
placement_group_name: Option<Value<String>>
Property PlacementGroupName
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
private_ip_address: Option<Value<String>>
Property PrivateIpAddress
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
ramdisk_id: Option<Value<String>>
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.
security_group_ids: Option<ValueList<String>>
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.
security_groups: Option<ValueList<String>>
Property SecurityGroups
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
source_dest_check: Option<Value<bool>>
Property SourceDestCheck
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
ssm_associations: Option<ValueList<SsmAssociation>>
Property SsmAssociations
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
subnet_id: Option<Value<String>>
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.
tenancy: Option<Value<String>>
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.
user_data: Option<Value<String>>
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.
volumes: Option<ValueList<Volume>>
Property Volumes
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
Trait Implementations
impl Debug for InstanceProperties
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Serialize for InstanceProperties
[src]
fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>
[src]
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for InstanceProperties
[src]
fn deserialize<D: Deserializer<'de>>(
d: D
) -> Result<InstanceProperties, D::Error>
[src]
d: D
) -> Result<InstanceProperties, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl From<InstanceProperties> for Instance
[src]
fn from(properties: InstanceProperties) -> Instance
[src]
Performs the conversion.