CfnInstanceProps

class aws_cdk.aws_opsworks.CfnInstanceProps(*, instance_type, layer_ids, stack_id, agent_version=None, ami_id=None, architecture=None, auto_scaling_type=None, availability_zone=None, block_device_mappings=None, ebs_optimized=None, elastic_ips=None, hostname=None, install_updates_on_boot=None, os=None, root_device_type=None, ssh_key_name=None, subnet_id=None, tenancy=None, time_based_auto_scaling=None, virtualization_type=None, volumes=None)

Bases: object

__init__(*, instance_type, layer_ids, stack_id, agent_version=None, ami_id=None, architecture=None, auto_scaling_type=None, availability_zone=None, block_device_mappings=None, ebs_optimized=None, elastic_ips=None, hostname=None, install_updates_on_boot=None, os=None, root_device_type=None, ssh_key_name=None, subnet_id=None, tenancy=None, time_based_auto_scaling=None, virtualization_type=None, volumes=None)

Properties for defining a AWS::OpsWorks::Instance.

Parameters
  • instance_type (str) – AWS::OpsWorks::Instance.InstanceType.

  • layer_ids (List[str]) – AWS::OpsWorks::Instance.LayerIds.

  • stack_id (str) – AWS::OpsWorks::Instance.StackId.

  • agent_version (Optional[str]) – AWS::OpsWorks::Instance.AgentVersion.

  • ami_id (Optional[str]) – AWS::OpsWorks::Instance.AmiId.

  • architecture (Optional[str]) – AWS::OpsWorks::Instance.Architecture.

  • auto_scaling_type (Optional[str]) – AWS::OpsWorks::Instance.AutoScalingType.

  • availability_zone (Optional[str]) – AWS::OpsWorks::Instance.AvailabilityZone.

  • block_device_mappings (Union[IResolvable, List[Union[IResolvable, BlockDeviceMappingProperty]], None]) – AWS::OpsWorks::Instance.BlockDeviceMappings.

  • ebs_optimized (Union[bool, IResolvable, None]) – AWS::OpsWorks::Instance.EbsOptimized.

  • elastic_ips (Optional[List[str]]) – AWS::OpsWorks::Instance.ElasticIps.

  • hostname (Optional[str]) – AWS::OpsWorks::Instance.Hostname.

  • install_updates_on_boot (Union[bool, IResolvable, None]) – AWS::OpsWorks::Instance.InstallUpdatesOnBoot.

  • os (Optional[str]) – AWS::OpsWorks::Instance.Os.

  • root_device_type (Optional[str]) – AWS::OpsWorks::Instance.RootDeviceType.

  • ssh_key_name (Optional[str]) – AWS::OpsWorks::Instance.SshKeyName.

  • subnet_id (Optional[str]) – AWS::OpsWorks::Instance.SubnetId.

  • tenancy (Optional[str]) – AWS::OpsWorks::Instance.Tenancy.

  • time_based_auto_scaling (Union[IResolvable, TimeBasedAutoScalingProperty, None]) – AWS::OpsWorks::Instance.TimeBasedAutoScaling.

  • virtualization_type (Optional[str]) – AWS::OpsWorks::Instance.VirtualizationType.

  • volumes (Optional[List[str]]) – AWS::OpsWorks::Instance.Volumes.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html

Return type

None

Attributes

agent_version

AWS::OpsWorks::Instance.AgentVersion.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-agentversion

Return type

Optional[str]

ami_id

AWS::OpsWorks::Instance.AmiId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-amiid

Return type

Optional[str]

architecture

AWS::OpsWorks::Instance.Architecture.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-architecture

Return type

Optional[str]

auto_scaling_type

AWS::OpsWorks::Instance.AutoScalingType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-autoscalingtype

Return type

Optional[str]

availability_zone

AWS::OpsWorks::Instance.AvailabilityZone.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-availabilityzone

Return type

Optional[str]

block_device_mappings

AWS::OpsWorks::Instance.BlockDeviceMappings.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-blockdevicemappings

Return type

Union[IResolvable, List[Union[IResolvable, BlockDeviceMappingProperty]], None]

ebs_optimized

AWS::OpsWorks::Instance.EbsOptimized.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-ebsoptimized

Return type

Union[bool, IResolvable, None]

elastic_ips

AWS::OpsWorks::Instance.ElasticIps.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-elasticips

Return type

Optional[List[str]]

hostname

AWS::OpsWorks::Instance.Hostname.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-hostname

Return type

Optional[str]

install_updates_on_boot

AWS::OpsWorks::Instance.InstallUpdatesOnBoot.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-installupdatesonboot

Return type

Union[bool, IResolvable, None]

instance_type

AWS::OpsWorks::Instance.InstanceType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-instancetype

Return type

str

layer_ids

AWS::OpsWorks::Instance.LayerIds.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-layerids

Return type

List[str]

os

AWS::OpsWorks::Instance.Os.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-os

Return type

Optional[str]

root_device_type

AWS::OpsWorks::Instance.RootDeviceType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-rootdevicetype

Return type

Optional[str]

ssh_key_name

AWS::OpsWorks::Instance.SshKeyName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-sshkeyname

Return type

Optional[str]

stack_id

AWS::OpsWorks::Instance.StackId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-stackid

Return type

str

subnet_id

AWS::OpsWorks::Instance.SubnetId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-subnetid

Return type

Optional[str]

tenancy

AWS::OpsWorks::Instance.Tenancy.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-tenancy

Return type

Optional[str]

time_based_auto_scaling

AWS::OpsWorks::Instance.TimeBasedAutoScaling.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-timebasedautoscaling

Return type

Union[IResolvable, TimeBasedAutoScalingProperty, None]

virtualization_type

AWS::OpsWorks::Instance.VirtualizationType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-virtualizationtype

Return type

Optional[str]

volumes

AWS::OpsWorks::Instance.Volumes.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-volumes

Return type

Optional[List[str]]