Class CfnApplication
Specifies a new application with given parameters. Requires an existing runtime environment and application definition file.
Inherited Members
Namespace: Amazon.CDK.AWS.M2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnApplication : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnApplication
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
For information about application definitions, see the AWS Mainframe Modernization User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html
CloudformationResource: AWS::M2::Application
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(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 |
CfnApplication(Construct, String, ICfnApplicationProps) |
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. |
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 | The Amazon Resource Name (ARN) of the role associated with the application. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | 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(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
CfnApplication(Construct, String, ICfnApplicationProps)
public CfnApplication(Construct scope, string id, ICfnApplicationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnApplicationProps
Resource properties.
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.
public virtual object Definition { get; set; }
Property Value
System.Object
Remarks
You can specify either inline JSON or an Amazon S3 bucket location.
Description
The description of the application.
public virtual string Description { get; set; }
Property Value
System.String
EngineType
The type of the target platform for this application.
public virtual string EngineType { get; set; }
Property Value
System.String
KmsKeyId
The identifier of a customer managed key.
public virtual string KmsKeyId { get; set; }
Property Value
System.String
Name
The name of the application.
public virtual string Name { get; set; }
Property Value
System.String
RoleArn
The Amazon Resource Name (ARN) of the role associated with the application.
public virtual string RoleArn { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual IDictionary<string, string> TagsRaw { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
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>