package awsm2 // Properties for defining a `CfnApplication`. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // cfnApplicationProps := &CfnApplicationProps{ // Definition: &DefinitionProperty{ // Content: jsii.String("content"), // S3Location: jsii.String("s3Location"), // }, // EngineType: jsii.String("engineType"), // Name: jsii.String("name"), // // // the properties below are optional // Description: jsii.String("description"), // KmsKeyId: jsii.String("kmsKeyId"), // RoleArn: jsii.String("roleArn"), // Tags: map[string]*string{ // "tagsKey": jsii.String("tags"), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html // type CfnApplicationProps struct { // 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](https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-definition // Definition interface{} `field:"required" json:"definition" yaml:"definition"` // The type of the target platform for this application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-enginetype // EngineType *string `field:"required" json:"engineType" yaml:"engineType"` // The name of the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-name // Name *string `field:"required" json:"name" yaml:"name"` // The description of the application. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-description // Description *string `field:"optional" json:"description" yaml:"description"` // The identifier of a customer managed key. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-kmskeyid // KmsKeyId *string `field:"optional" json:"kmsKeyId" yaml:"kmsKeyId"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-rolearn // RoleArn *string `field:"optional" json:"roleArn" yaml:"roleArn"` // An array of key-value pairs to apply to this resource. // // For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-tags // Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"` }