1. Packages
  2. AWS
  3. API Docs
  4. m2
  5. Application
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.m2.Application

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    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.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:

    EngineType string
    Engine type must be microfocus | bluage.
    Definition ApplicationDefinition
    The application definition for this application. You can specify either inline JSON or an S3 bucket location.
    Description string
    Description of the application.
    KmsKeyId string
    KMS Key to use for the Application.
    Name string

    Unique identifier of the application.

    The following arguments are optional:

    RoleArn string
    ARN of role for application to use to access AWS resources.
    Tags 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 ApplicationTimeouts
    EngineType string
    Engine type must be microfocus | bluage.
    Definition ApplicationDefinitionArgs
    The application definition for this application. You can specify either inline JSON or an S3 bucket location.
    Description string
    Description of the application.
    KmsKeyId string
    KMS Key to use for the Application.
    Name string

    Unique identifier of the application.

    The following arguments are optional:

    RoleArn string
    ARN of role for application to use to access AWS resources.
    Tags 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 ApplicationTimeoutsArgs
    engineType String
    Engine type must be microfocus | bluage.
    definition ApplicationDefinition
    The application definition for this application. You can specify either inline JSON or an S3 bucket location.
    description String
    Description of the application.
    kmsKeyId String
    KMS Key to use for the Application.
    name String

    Unique identifier of the application.

    The following arguments are optional:

    roleArn String
    ARN of role for application to use to access AWS resources.
    tags 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 ApplicationTimeouts
    engineType string
    Engine type must be microfocus | bluage.
    definition ApplicationDefinition
    The application definition for this application. You can specify either inline JSON or an S3 bucket location.
    description string
    Description of the application.
    kmsKeyId string
    KMS Key to use for the Application.
    name string

    Unique identifier of the application.

    The following arguments are optional:

    roleArn string
    ARN of role for application to use to access AWS resources.
    tags {[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 ApplicationTimeouts
    engine_type str
    Engine type must be microfocus | bluage.
    definition ApplicationDefinitionArgs
    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_id str
    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.
    tags 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 ApplicationTimeoutsArgs
    engineType 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.
    kmsKeyId String
    KMS Key to use for the Application.
    name String

    Unique identifier of the application.

    The following arguments are optional:

    roleArn String
    ARN of role for application to use to access AWS resources.
    tags 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:

    ApplicationId string
    Id of the Application.
    Arn string
    ARN of the Application.
    CurrentVersion int
    Current version of the application deployed.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    ApplicationId string
    Id of the Application.
    Arn string
    ARN of the Application.
    CurrentVersion int
    Current version of the application deployed.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    applicationId String
    Id of the Application.
    arn String
    ARN of the Application.
    currentVersion Integer
    Current version of the application deployed.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    applicationId string
    Id of the Application.
    arn string
    ARN of the Application.
    currentVersion number
    Current version of the application deployed.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    applicationId String
    Id of the Application.
    arn String
    ARN of the Application.
    currentVersion Number
    Current version of the application deployed.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    The following state arguments are supported:
    ApplicationId string
    Id of the Application.
    Arn string
    ARN of the Application.
    CurrentVersion int
    Current version of the application deployed.
    Definition ApplicationDefinition
    The application definition for this application. You can specify either inline JSON or an S3 bucket location.
    Description string
    Description of the application.
    EngineType string
    Engine type must be microfocus | bluage.
    KmsKeyId string
    KMS Key to use for the Application.
    Name string

    Unique identifier of the application.

    The following arguments are optional:

    RoleArn string
    ARN of role for application to use to access AWS resources.
    Tags 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.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Timeouts ApplicationTimeouts
    ApplicationId string
    Id of the Application.
    Arn string
    ARN of the Application.
    CurrentVersion int
    Current version of the application deployed.
    Definition ApplicationDefinitionArgs
    The application definition for this application. You can specify either inline JSON or an S3 bucket location.
    Description string
    Description of the application.
    EngineType string
    Engine type must be microfocus | bluage.
    KmsKeyId string
    KMS Key to use for the Application.
    Name string

    Unique identifier of the application.

    The following arguments are optional:

    RoleArn string
    ARN of role for application to use to access AWS resources.
    Tags 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.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Timeouts ApplicationTimeoutsArgs
    applicationId String
    Id of the Application.
    arn String
    ARN of the Application.
    currentVersion Integer
    Current version of the application deployed.
    definition ApplicationDefinition
    The application definition for this application. You can specify either inline JSON or an S3 bucket location.
    description String
    Description of the application.
    engineType String
    Engine type must be microfocus | bluage.
    kmsKeyId String
    KMS Key to use for the Application.
    name String

    Unique identifier of the application.

    The following arguments are optional:

    roleArn String
    ARN of role for application to use to access AWS resources.
    tags 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.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts ApplicationTimeouts
    applicationId string
    Id of the Application.
    arn string
    ARN of the Application.
    currentVersion number
    Current version of the application deployed.
    definition ApplicationDefinition
    The application definition for this application. You can specify either inline JSON or an S3 bucket location.
    description string
    Description of the application.
    engineType string
    Engine type must be microfocus | bluage.
    kmsKeyId string
    KMS Key to use for the Application.
    name string

    Unique identifier of the application.

    The following arguments are optional:

    roleArn string
    ARN of role for application to use to access AWS resources.
    tags {[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.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts ApplicationTimeouts
    application_id str
    Id of the Application.
    arn str
    ARN of the Application.
    current_version int
    Current version of the application deployed.
    definition ApplicationDefinitionArgs
    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_id str
    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.
    tags 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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts ApplicationTimeoutsArgs
    applicationId String
    Id of the Application.
    arn String
    ARN of the Application.
    currentVersion 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.
    engineType String
    Engine type must be microfocus | bluage.
    kmsKeyId String
    KMS Key to use for the Application.
    name String

    Unique identifier of the application.

    The following arguments are optional:

    roleArn String
    ARN of role for application to use to access AWS resources.
    tags 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.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi