Class CfnApplication.Builder
java.lang.Object
software.amazon.awscdk.services.m2.CfnApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
- Enclosing class:
CfnApplication
@Stability(Stable)
public static final class CfnApplication.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication>
A fluent builder for
CfnApplication
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnApplication.Builder
definition
(IResolvable definition) The application definition for a particular application.definition
(CfnApplication.DefinitionProperty definition) The application definition for a particular application.description
(String description) The description of the application.engineType
(String engineType) The type of the target platform for this application.The identifier of a customer managed key.The name of the application.AWS::M2::Application.RoleArn
.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnApplication.Builder
.
-
definition
@Stability(Stable) public CfnApplication.Builder definition(CfnApplication.DefinitionProperty definition) The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location.For information about application definitions, see the AWS Mainframe Modernization User Guide .
- Parameters:
definition
- The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. This parameter is required.- Returns:
this
-
definition
The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location.For information about application definitions, see the AWS Mainframe Modernization User Guide .
- Parameters:
definition
- The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. This parameter is required.- Returns:
this
-
engineType
The type of the target platform for this application.- Parameters:
engineType
- The type of the target platform for this application. This parameter is required.- Returns:
this
-
name
The name of the application.- Parameters:
name
- The name of the application. This parameter is required.- Returns:
this
-
description
The description of the application.- Parameters:
description
- The description of the application. This parameter is required.- Returns:
this
-
kmsKeyId
The identifier of a customer managed key.- Parameters:
kmsKeyId
- The identifier of a customer managed key. This parameter is required.- Returns:
this
-
roleArn
AWS::M2::Application.RoleArn
.- Parameters:
roleArn
-AWS::M2::Application.RoleArn
. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication>
- Returns:
- a newly built instance of
CfnApplication
.
-