AWS SDK for .NET Documentation
CreateDeploymentRequest Class
AmazonAmazon.OpsWorks.ModelCreateDeploymentRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the CreateDeployment operation. Deploys a stack or app.

For more information, see Deploying Apps and Run Stack Commands.

Required Permissions: To use this action, an IAM user must have a Deploy or 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 CreateDeploymentRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



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

AppId
Gets and sets the property AppId.

The app ID. This parameter is required for app deployments, but not for other deployment commands.


Command
Gets and sets the property Command.

A

CopyC#
DeploymentCommand
object that specifies the deployment command and any associated arguments.


Comment
Gets and sets the property Comment.

A user-defined comment.


CustomJson
Gets and sets the property CustomJson.

A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"'.:

CopyC#
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.


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.)
InstanceIds
Gets and sets the property InstanceIds.

The instance IDs for the deployment targets.


StackId
Gets and sets the property StackId.

The stack ID.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAppId(String) Obsolete.
Sets the AppId property

WithCommand(DeploymentCommand) Obsolete.
Sets the Command property

WithComment(String) Obsolete.
Sets the Comment property

WithCustomJson(String) Obsolete.
Sets the CustomJson property

WithInstanceIds(array<String>[]()[][]) Obsolete.
Sets the InstanceIds property

WithInstanceIds(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the InstanceIds property

WithStackId(String) Obsolete.
Sets the StackId property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 CreateDeploymentRequest

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