Class: Instance

OpsWorks.Instance

new Instance()

Properties:
Name Type Description
AmiId String Required: No. The ID of the custom Amazon Machine Image (AMI) to be used to create the instance. For more information about custom AMIs, see Using Custom AMIs in the AWS OpsWorks User Guide. NoteIf you specify this property, you must set the Os property to Custom. Update requires: Updates are not supported.
Architecture String Required: No. The instance architecture.Update requires: Some interruptions
AutoScalingType String Required: No. For scaling instances, the type of scaling. If you specify load-based scaling, do not specify a time-based scaling configuration. For valid values, see CreateInstance in the AWS OpsWorks API Reference.Update requires: Replacement
AvailabilityZone String Required: No. The instance Availability Zone.Update requires: Replacement
EbsOptimized Boolean Required: No. Whether the instance is optimized for Amazon Elastic Block Store (Amazon EBS) I/O. If you specify an Amazon EBS-optimized instance type, AWS OpsWorks enables EBS optimization by default. For more information, see Amazon EBS–Optimized Instances in the Amazon EC2 User Guide for Linux Instances.Update requires: Replacement
InstallUpdatesOnBoot Boolean Required: No. Whether to install operating system and package updates when the instance boots.Update requires: Some interruptions
InstanceType String Required: Yes. The instance type, which must be supported by AWS OpsWorks. For more information, see CreateInstance in the AWS OpsWorks API Reference.If you specify an Amazon EBS-optimized instance type, AWS OpsWorks enables EBS optimization by default. For more information about Amazon EBS-optimized instance types, see Amazon EBS–Optimized Instances in the Amazon EC2 User Guide for Linux Instances.Update requires: Some interruptions
LayerIds String Required: Yes. The IDs of the AWS OpsWorks layers to associate with this instance.Update requires: Some interruptions
Os String Required: No. The instance operating system. For more information, see CreateInstance in the AWS OpsWorks API Reference.Update requires: Replacement
RootDeviceType String Required: No. The root device type of the instance.Update requires: Replacement
SshKeyName String Required: No. The SSH key name of the instance.Update requires: Some interruptions
StackId String Required: Yes. The ID of the AWS OpsWorks stack that this instance will be associated with.Update requires: Replacement
SubnetId String Required: No. The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct AWS OpsWorks to launch the instance in a different subnet. Update requires: Replacement
TimeBasedAutoScaling AWSOpsWorksTimeBasedAutoScalingType Required: No. The time-based scaling configuration for the instance.Update requires: Replacement
Source:

Extends

  • WKResource

OpsWorks.Instance

new Instance()

Properties:
Name Type Description
AmiId String Required: No. The ID of the custom Amazon Machine Image (AMI) to be used to create the instance. For more information about custom AMIs, see Using Custom AMIs in the AWS OpsWorks User Guide. NoteIf you specify this property, you must set the Os property to Custom. Update requires: Updates are not supported.
Architecture String Required: No. The instance architecture.Update requires: Some interruptions
AutoScalingType String Required: No. For scaling instances, the type of scaling. If you specify load-based scaling, do not specify a time-based scaling configuration. For valid values, see CreateInstance in the AWS OpsWorks API Reference.Update requires: Replacement
AvailabilityZone String Required: No. The instance Availability Zone.Update requires: Replacement
EbsOptimized Boolean Required: No. Whether the instance is optimized for Amazon Elastic Block Store (Amazon EBS) I/O. If you specify an Amazon EBS-optimized instance type, AWS OpsWorks enables EBS optimization by default. For more information, see Amazon EBS–Optimized Instances in the Amazon EC2 User Guide for Linux Instances.Update requires: Replacement
InstallUpdatesOnBoot Boolean Required: No. Whether to install operating system and package updates when the instance boots.Update requires: Some interruptions
InstanceType String Required: Yes. The instance type, which must be supported by AWS OpsWorks. For more information, see CreateInstance in the AWS OpsWorks API Reference.If you specify an Amazon EBS-optimized instance type, AWS OpsWorks enables EBS optimization by default. For more information about Amazon EBS-optimized instance types, see Amazon EBS–Optimized Instances in the Amazon EC2 User Guide for Linux Instances.Update requires: Some interruptions
LayerIds String Required: Yes. The IDs of the AWS OpsWorks layers to associate with this instance.Update requires: Some interruptions
Os String Required: No. The instance operating system. For more information, see CreateInstance in the AWS OpsWorks API Reference.Update requires: Replacement
RootDeviceType String Required: No. The root device type of the instance.Update requires: Replacement
SshKeyName String Required: No. The SSH key name of the instance.Update requires: Some interruptions
StackId String Required: Yes. The ID of the AWS OpsWorks stack that this instance will be associated with.Update requires: Replacement
SubnetId String Required: No. The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct AWS OpsWorks to launch the instance in a different subnet. Update requires: Replacement
TimeBasedAutoScaling AWSOpsWorksTimeBasedAutoScalingType Required: No. The time-based scaling configuration for the instance.Update requires: Replacement
Source:

Extends

  • WKResource