Try AWS Native preview for resources not in the classic version.
aws.m2.Application
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Resource for managing an AWS Mainframe Modernization Application.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.m2.Application("example", {
name: "Example",
engineType: "bluage",
definition: {
content: `{
"definition": {
"listeners": [
{
"port": 8196,
"type": "http"
}
],
"ba-application": {
"app-location": "${s3_source}/PlanetsDemo-v1.zip"
}
},
"source-locations": [
{
"source-id": "s3-source",
"source-type": "s3",
"properties": {
"s3-bucket": "example-bucket",
"s3-key-prefix": "v1"
}
}
],
"template-version": "2.0"
}
`,
},
});
import pulumi
import pulumi_aws as aws
example = aws.m2.Application("example",
name="Example",
engine_type="bluage",
definition={
"content": f"""{{
"definition": {{
"listeners": [
{{
"port": 8196,
"type": "http"
}}
],
"ba-application": {{
"app-location": "{s3_source}/PlanetsDemo-v1.zip"
}}
}},
"source-locations": [
{{
"source-id": "s3-source",
"source-type": "s3",
"properties": {{
"s3-bucket": "example-bucket",
"s3-key-prefix": "v1"
}}
}}
],
"template-version": "2.0"
}}
""",
})
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/m2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := m2.NewApplication(ctx, "example", &m2.ApplicationArgs{
Name: pulumi.String("Example"),
EngineType: pulumi.String("bluage"),
Definition: &m2.ApplicationDefinitionArgs{
Content: pulumi.String(fmt.Sprintf(`{
"definition": {
"listeners": [
{
"port": 8196,
"type": "http"
}
],
"ba-application": {
"app-location": "%v/PlanetsDemo-v1.zip"
}
},
"source-locations": [
{
"source-id": "s3-source",
"source-type": "s3",
"properties": {
"s3-bucket": "example-bucket",
"s3-key-prefix": "v1"
}
}
],
"template-version": "2.0"
}
`, s3_source)),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.M2.Application("example", new()
{
Name = "Example",
EngineType = "bluage",
Definition = new Aws.M2.Inputs.ApplicationDefinitionArgs
{
Content = @$"{{
""definition"": {{
""listeners"": [
{{
""port"": 8196,
""type"": ""http""
}}
],
""ba-application"": {{
""app-location"": ""{s3_source}/PlanetsDemo-v1.zip""
}}
}},
""source-locations"": [
{{
""source-id"": ""s3-source"",
""source-type"": ""s3"",
""properties"": {{
""s3-bucket"": ""example-bucket"",
""s3-key-prefix"": ""v1""
}}
}}
],
""template-version"": ""2.0""
}}
",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.m2.Application;
import com.pulumi.aws.m2.ApplicationArgs;
import com.pulumi.aws.m2.inputs.ApplicationDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Application("example", ApplicationArgs.builder()
.name("Example")
.engineType("bluage")
.definition(ApplicationDefinitionArgs.builder()
.content("""
{
"definition": {
"listeners": [
{
"port": 8196,
"type": "http"
}
],
"ba-application": {
"app-location": "%s/PlanetsDemo-v1.zip"
}
},
"source-locations": [
{
"source-id": "s3-source",
"source-type": "s3",
"properties": {
"s3-bucket": "example-bucket",
"s3-key-prefix": "v1"
}
}
],
"template-version": "2.0"
}
", s3_source))
.build())
.build());
}
}
resources:
example:
type: aws:m2:Application
properties:
name: Example
engineType: bluage
definition:
content: |+
{
"definition": {
"listeners": [
{
"port": 8196,
"type": "http"
}
],
"ba-application": {
"app-location": "${["s3-source"]}/PlanetsDemo-v1.zip"
}
},
"source-locations": [
{
"source-id": "s3-source",
"source-type": "s3",
"properties": {
"s3-bucket": "example-bucket",
"s3-key-prefix": "v1"
}
}
],
"template-version": "2.0"
}
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_type: Optional[str] = None,
definition: Optional[ApplicationDefinitionArgs] = None,
description: Optional[str] = None,
kms_key_id: Optional[str] = None,
name: Optional[str] = None,
role_arn: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ApplicationTimeoutsArgs] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: aws:m2:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleapplicationResourceResourceFromM2application = new Aws.M2.Application("exampleapplicationResourceResourceFromM2application", new()
{
EngineType = "string",
Definition = new Aws.M2.Inputs.ApplicationDefinitionArgs
{
Content = "string",
S3Location = "string",
},
Description = "string",
KmsKeyId = "string",
Name = "string",
RoleArn = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.M2.Inputs.ApplicationTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := m2.NewApplication(ctx, "exampleapplicationResourceResourceFromM2application", &m2.ApplicationArgs{
EngineType: pulumi.String("string"),
Definition: &m2.ApplicationDefinitionArgs{
Content: pulumi.String("string"),
S3Location: pulumi.String("string"),
},
Description: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
Name: pulumi.String("string"),
RoleArn: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &m2.ApplicationTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var exampleapplicationResourceResourceFromM2application = new Application("exampleapplicationResourceResourceFromM2application", ApplicationArgs.builder()
.engineType("string")
.definition(ApplicationDefinitionArgs.builder()
.content("string")
.s3Location("string")
.build())
.description("string")
.kmsKeyId("string")
.name("string")
.roleArn("string")
.tags(Map.of("string", "string"))
.timeouts(ApplicationTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
exampleapplication_resource_resource_from_m2application = aws.m2.Application("exampleapplicationResourceResourceFromM2application",
engine_type="string",
definition={
"content": "string",
"s3Location": "string",
},
description="string",
kms_key_id="string",
name="string",
role_arn="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const exampleapplicationResourceResourceFromM2application = new aws.m2.Application("exampleapplicationResourceResourceFromM2application", {
engineType: "string",
definition: {
content: "string",
s3Location: "string",
},
description: "string",
kmsKeyId: "string",
name: "string",
roleArn: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:m2:Application
properties:
definition:
content: string
s3Location: string
description: string
engineType: string
kmsKeyId: string
name: string
roleArn: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
Application Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Application resource accepts the following input properties:
- Engine
Type string - Engine type must be
microfocus | bluage
. - Definition
Application
Definition - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- Description string
- Description of the application.
- Kms
Key stringId - KMS Key to use for the Application.
- Name string
Unique identifier of the application.
The following arguments are optional:
- Role
Arn string - ARN of role for application to use to access AWS resources.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Application
Timeouts
- Engine
Type string - Engine type must be
microfocus | bluage
. - Definition
Application
Definition Args - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- Description string
- Description of the application.
- Kms
Key stringId - KMS Key to use for the Application.
- Name string
Unique identifier of the application.
The following arguments are optional:
- Role
Arn string - ARN of role for application to use to access AWS resources.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Application
Timeouts Args
- engine
Type String - Engine type must be
microfocus | bluage
. - definition
Application
Definition - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- description String
- Description of the application.
- kms
Key StringId - KMS Key to use for the Application.
- name String
Unique identifier of the application.
The following arguments are optional:
- role
Arn String - ARN of role for application to use to access AWS resources.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Application
Timeouts
- engine
Type string - Engine type must be
microfocus | bluage
. - definition
Application
Definition - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- description string
- Description of the application.
- kms
Key stringId - KMS Key to use for the Application.
- name string
Unique identifier of the application.
The following arguments are optional:
- role
Arn string - ARN of role for application to use to access AWS resources.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Application
Timeouts
- engine_
type str - Engine type must be
microfocus | bluage
. - definition
Application
Definition Args - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- description str
- Description of the application.
- kms_
key_ strid - KMS Key to use for the Application.
- name str
Unique identifier of the application.
The following arguments are optional:
- role_
arn str - ARN of role for application to use to access AWS resources.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Application
Timeouts Args
- engine
Type String - Engine type must be
microfocus | bluage
. - definition Property Map
- The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- description String
- Description of the application.
- kms
Key StringId - KMS Key to use for the Application.
- name String
Unique identifier of the application.
The following arguments are optional:
- role
Arn String - ARN of role for application to use to access AWS resources.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
- Application
Id string - Id of the Application.
- Arn string
- ARN of the Application.
- Current
Version int - Current version of the application deployed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Application
Id string - Id of the Application.
- Arn string
- ARN of the Application.
- Current
Version int - Current version of the application deployed.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- application
Id String - Id of the Application.
- arn String
- ARN of the Application.
- current
Version Integer - Current version of the application deployed.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- application
Id string - Id of the Application.
- arn string
- ARN of the Application.
- current
Version number - Current version of the application deployed.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- application_
id str - Id of the Application.
- arn str
- ARN of the Application.
- current_
version int - Current version of the application deployed.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- application
Id String - Id of the Application.
- arn String
- ARN of the Application.
- current
Version Number - Current version of the application deployed.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing Application Resource
Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationState, opts?: CustomResourceOptions): Application
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
arn: Optional[str] = None,
current_version: Optional[int] = None,
definition: Optional[ApplicationDefinitionArgs] = None,
description: Optional[str] = None,
engine_type: Optional[str] = None,
kms_key_id: Optional[str] = None,
name: Optional[str] = None,
role_arn: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[ApplicationTimeoutsArgs] = None) -> Application
func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Application
Id string - Id of the Application.
- Arn string
- ARN of the Application.
- Current
Version int - Current version of the application deployed.
- Definition
Application
Definition - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- Description string
- Description of the application.
- Engine
Type string - Engine type must be
microfocus | bluage
. - Kms
Key stringId - KMS Key to use for the Application.
- Name string
Unique identifier of the application.
The following arguments are optional:
- Role
Arn string - ARN of role for application to use to access AWS resources.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Application
Timeouts
- Application
Id string - Id of the Application.
- Arn string
- ARN of the Application.
- Current
Version int - Current version of the application deployed.
- Definition
Application
Definition Args - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- Description string
- Description of the application.
- Engine
Type string - Engine type must be
microfocus | bluage
. - Kms
Key stringId - KMS Key to use for the Application.
- Name string
Unique identifier of the application.
The following arguments are optional:
- Role
Arn string - ARN of role for application to use to access AWS resources.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Application
Timeouts Args
- application
Id String - Id of the Application.
- arn String
- ARN of the Application.
- current
Version Integer - Current version of the application deployed.
- definition
Application
Definition - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- description String
- Description of the application.
- engine
Type String - Engine type must be
microfocus | bluage
. - kms
Key StringId - KMS Key to use for the Application.
- name String
Unique identifier of the application.
The following arguments are optional:
- role
Arn String - ARN of role for application to use to access AWS resources.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Application
Timeouts
- application
Id string - Id of the Application.
- arn string
- ARN of the Application.
- current
Version number - Current version of the application deployed.
- definition
Application
Definition - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- description string
- Description of the application.
- engine
Type string - Engine type must be
microfocus | bluage
. - kms
Key stringId - KMS Key to use for the Application.
- name string
Unique identifier of the application.
The following arguments are optional:
- role
Arn string - ARN of role for application to use to access AWS resources.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Application
Timeouts
- application_
id str - Id of the Application.
- arn str
- ARN of the Application.
- current_
version int - Current version of the application deployed.
- definition
Application
Definition Args - The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- description str
- Description of the application.
- engine_
type str - Engine type must be
microfocus | bluage
. - kms_
key_ strid - KMS Key to use for the Application.
- name str
Unique identifier of the application.
The following arguments are optional:
- role_
arn str - ARN of role for application to use to access AWS resources.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Application
Timeouts Args
- application
Id String - Id of the Application.
- arn String
- ARN of the Application.
- current
Version Number - Current version of the application deployed.
- definition Property Map
- The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- description String
- Description of the application.
- engine
Type String - Engine type must be
microfocus | bluage
. - kms
Key StringId - KMS Key to use for the Application.
- name String
Unique identifier of the application.
The following arguments are optional:
- role
Arn String - ARN of role for application to use to access AWS resources.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
Supporting Types
ApplicationDefinition, ApplicationDefinitionArgs
- Content string
- JSON application definition. Either this or
s3_location
must be specified. - S3Location string
- Location of the application definition in S3. Either this or
content
must be specified.
- Content string
- JSON application definition. Either this or
s3_location
must be specified. - S3Location string
- Location of the application definition in S3. Either this or
content
must be specified.
- content String
- JSON application definition. Either this or
s3_location
must be specified. - s3Location String
- Location of the application definition in S3. Either this or
content
must be specified.
- content string
- JSON application definition. Either this or
s3_location
must be specified. - s3Location string
- Location of the application definition in S3. Either this or
content
must be specified.
- content str
- JSON application definition. Either this or
s3_location
must be specified. - s3_
location str - Location of the application definition in S3. Either this or
content
must be specified.
- content String
- JSON application definition. Either this or
s3_location
must be specified. - s3Location String
- Location of the application definition in S3. Either this or
content
must be specified.
ApplicationTimeouts, ApplicationTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import
, import Mainframe Modernization Application using the 01234567890abcdef012345678
. For example:
$ pulumi import aws:m2/application:Application example 01234567890abcdef012345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.