AWS SDK for .NET Documentation
UpdateLayerRequest Class
AmazonAmazon.OpsWorks.ModelUpdateLayerRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the UpdateLayer operation. Updates a specified layer.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Declaration Syntax
C#
public class UpdateLayerRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
UpdateLayerRequest()()()()
Initializes a new instance of the UpdateLayerRequest class

Attributes
Gets and sets the property Attributes.

One or more user-defined key/value pairs to be added to the stack attributes.


AutoAssignElasticIps
Gets and sets the property AutoAssignElasticIps.

Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.


AutoAssignPublicIps
Gets and sets the property AutoAssignPublicIps.

For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.


CustomInstanceProfileArn
Gets and sets the property CustomInstanceProfileArn.

The ARN of an IAM profile to be used for all of the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.


CustomRecipes
Gets and sets the property CustomRecipes.

A

CopyC#
LayerCustomRecipes
object that specifies the layer's custom recipes.


CustomSecurityGroupIds
Gets and sets the property CustomSecurityGroupIds.

An array containing the layer's custom security group IDs.


EnableAutoHealing
Gets and sets the property EnableAutoHealing.

Whether to disable auto healing for the layer.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InstallUpdatesOnBoot
Gets and sets the property InstallUpdatesOnBoot.

Whether to install operating system and package updates when the instance boots. The default value is

CopyC#
true
. To control when updates are installed, set this value to
CopyC#
false
. You must then update your instances manually by using CreateDeployment to run the
CopyC#
update_dependencies
stack command or manually running
CopyC#
yum
(Amazon Linux) or
CopyC#
apt-get
(Ubuntu) on the instances.

Note:

We strongly recommend using the default value of

CopyC#
true
, to ensure that your instances have the latest security updates.


LayerId
Gets and sets the property LayerId.

The layer ID.


Name
Gets and sets the property Name.

The layer name, which is used by the console.


Packages
Gets and sets the property Packages.

An array of

CopyC#
Package
objects that describe the layer's packages.


Shortname
Gets and sets the property Shortname.

The layer short name, which is used internally by AWS OpsWorksand by Chef. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters and must be in the following format: /\A[a-z0-9\-\_\.]+\Z/.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UseEbsOptimizedInstances
Gets and sets the property UseEbsOptimizedInstances.

Whether to use Amazon EBS-optimized instances.


VolumeConfigurations
Gets and sets the property VolumeConfigurations.

A

CopyC#
VolumeConfigurations
object that describes the layer's Amazon EBS volumes.


WithAttributes(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Attributes dictionary.

WithAutoAssignElasticIps(Boolean) Obsolete.
Sets the AutoAssignElasticIps property

WithAutoAssignPublicIps(Boolean) Obsolete.
Sets the AutoAssignPublicIps property

WithCustomInstanceProfileArn(String) Obsolete.
Sets the CustomInstanceProfileArn property

WithCustomRecipes(Recipes) Obsolete.
Sets the CustomRecipes property

WithCustomSecurityGroupIds(array<String>[]()[][]) Obsolete.
Sets the CustomSecurityGroupIds property

WithCustomSecurityGroupIds(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the CustomSecurityGroupIds property

WithEnableAutoHealing(Boolean) Obsolete.
Sets the EnableAutoHealing property

WithInstallUpdatesOnBoot(Boolean) Obsolete.
Sets the InstallUpdatesOnBoot property

WithLayerId(String) Obsolete.
Sets the LayerId property

WithName(String) Obsolete.
Sets the Name property

WithPackages(array<String>[]()[][]) Obsolete.
Sets the Packages property

WithPackages(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the Packages property

WithShortname(String) Obsolete.
Sets the Shortname property

WithUseEbsOptimizedInstances(Boolean) Obsolete.
Sets the UseEbsOptimizedInstances property

WithVolumeConfigurations(array<VolumeConfiguration>[]()[][]) Obsolete.
Sets the VolumeConfigurations property

WithVolumeConfigurations(IEnumerable<(Of <<'(VolumeConfiguration>)>>)) Obsolete.
Sets the VolumeConfigurations property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 UpdateLayerRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)