Class CfnApplication
A CloudFormation AWS::M2::Application
.
Inherited Members
Namespace: Amazon.CDK.AWS.M2
Assembly: Amazon.CDK.AWS.M2.dll
Syntax (csharp)
public class CfnApplication : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnApplication
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a new application with given parameters. Requires an existing runtime environment and application definition file.
For information about application definitions, see the AWS Mainframe Modernization User Guide .
CloudformationResource: AWS::M2::Application
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.M2;
var cfnApplication = new CfnApplication(this, "MyCfnApplication", new CfnApplicationProps {
Definition = new DefinitionProperty {
Content = "content",
S3Location = "s3Location"
},
EngineType = "engineType",
Name = "name",
// the properties below are optional
Description = "description",
KmsKeyId = "kmsKeyId",
RoleArn = "roleArn",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
CfnApplication(Construct, String, ICfnApplicationProps) | Create a new |
CfnApplication(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnApplication(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrApplicationArn | The Amazon Resource Name (ARN) of the application. |
AttrApplicationId | The identifier of the application. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Definition | The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. |
Description | The description of the application. |
EngineType | The type of the target platform for this application. |
KmsKeyId | The identifier of a customer managed key. |
Name | The name of the application. |
RoleArn |
|
Tags | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnApplication(Construct, String, ICfnApplicationProps)
Create a new AWS::M2::Application
.
public CfnApplication(Construct scope, string id, ICfnApplicationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnApplicationProps
- resource properties.
CfnApplication(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnApplication(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnApplication(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnApplication(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrApplicationArn
The Amazon Resource Name (ARN) of the application.
public virtual string AttrApplicationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ApplicationArn
AttrApplicationId
The identifier of the application.
public virtual string AttrApplicationId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ApplicationId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Definition
The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location.
public virtual object Definition { get; set; }
Property Value
System.Object
Remarks
For information about application definitions, see the AWS Mainframe Modernization User Guide .
Description
The description of the application.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
EngineType
The type of the target platform for this application.
public virtual string EngineType { get; set; }
Property Value
System.String
Remarks
KmsKeyId
The identifier of a customer managed key.
public virtual string KmsKeyId { get; set; }
Property Value
System.String
Remarks
Name
The name of the application.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
RoleArn
AWS::M2::Application.RoleArn
.
public virtual string RoleArn { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
For more information, see Tag .
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>