Skip to content
v2.278.0

DefinitionProperty Struct ​

The application definition for a particular application.

You can specify either inline JSON or an Amazon S3 bucket location.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_m2 as m2 } from 'aws-cdk-lib';
const definitionProperty: m2.CfnApplication.DefinitionProperty = {
  content: 'content',
  s3Location: 's3Location',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_m2 as m2

definition_property = m2.CfnApplication.DefinitionProperty(
    content="content",
    s3_location="s3Location"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.m2.*;

DefinitionProperty definitionProperty = DefinitionProperty.builder()
        .content("content")
        .s3Location("s3Location")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 definitionProperty = new DefinitionProperty {
    Content = "content",
    S3Location = "s3Location"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

definitionProperty := &DefinitionProperty{
	Content: jsii.String("content"),
	S3Location: jsii.String("s3Location"),
}

Properties ​

contentoptionalstringcontentoptionalstrcontentoptionalStringContentoptionalstringContentoptional*string #
The content of the application definition.

This is a JSON object that contains the resource configuration/definitions that identify an application.

s3Locationoptionalstrings3_locationoptionalstrs3LocationoptionalStringS3LocationoptionalstringS3Locationoptional*string #
The S3 bucket that contains the application definition.