1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. m2
  5. Deployment

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.m2.Deployment

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Represents a deployment resource of an AWS Mainframe Modernization (M2) application to a specified environment

Create Deployment Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
@overload
def Deployment(resource_name: str,
               args: DeploymentArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def Deployment(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               application_id: Optional[str] = None,
               application_version: Optional[int] = None,
               environment_id: Optional[str] = None)
func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
public Deployment(String name, DeploymentArgs args)
public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
type: aws-native:m2:Deployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Deployment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Deployment resource accepts the following input properties:

ApplicationId This property is required. string
The application ID.
ApplicationVersion This property is required. int
The version number of the application to deploy
EnvironmentId This property is required. string
The environment ID.
ApplicationId This property is required. string
The application ID.
ApplicationVersion This property is required. int
The version number of the application to deploy
EnvironmentId This property is required. string
The environment ID.
applicationId This property is required. String
The application ID.
applicationVersion This property is required. Integer
The version number of the application to deploy
environmentId This property is required. String
The environment ID.
applicationId This property is required. string
The application ID.
applicationVersion This property is required. number
The version number of the application to deploy
environmentId This property is required. string
The environment ID.
application_id This property is required. str
The application ID.
application_version This property is required. int
The version number of the application to deploy
environment_id This property is required. str
The environment ID.
applicationId This property is required. String
The application ID.
applicationVersion This property is required. Number
The version number of the application to deploy
environmentId This property is required. String
The environment ID.

Outputs

All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:

DeploymentId string
The deployment ID.
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the deployment.
DeploymentId string
The deployment ID.
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the deployment.
deploymentId String
The deployment ID.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the deployment.
deploymentId string
The deployment ID.
id string
The provider-assigned unique ID for this managed resource.
status string
The status of the deployment.
deployment_id str
The deployment ID.
id str
The provider-assigned unique ID for this managed resource.
status str
The status of the deployment.
deploymentId String
The deployment ID.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the deployment.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi