Skip to content
v2.278.0

CfnApplicationProps Struct ​

Properties for defining a CfnApplication.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const cfnApplicationProps: sam.CfnApplicationProps = {
  location: 'location',

  // the properties below are optional
  notificationArns: ['notificationArns'],
  parameters: {
    parametersKey: 'parameters',
  },
  tags: {
    tagsKey: 'tags',
  },
  timeoutInMinutes: 123,
};
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_sam as sam

cfn_application_props = sam.CfnApplicationProps(
    location="location",

    # the properties below are optional
    notification_arns=["notificationArns"],
    parameters={
        "parameters_key": "parameters"
    },
    tags={
        "tags_key": "tags"
    },
    timeout_in_minutes=123
)
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.sam.*;

CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
        .location("location")

        // the properties below are optional
        .notificationArns(List.of("notificationArns"))
        .parameters(Map.of(
                "parametersKey", "parameters"))
        .tags(Map.of(
                "tagsKey", "tags"))
        .timeoutInMinutes(123)
        .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.SAM;

var cfnApplicationProps = new CfnApplicationProps {
    Location = "location",

    // the properties below are optional
    NotificationArns = new [] { "notificationArns" },
    Parameters = new Dictionary<string, string> {
        { "parametersKey", "parameters" }
    },
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    },
    TimeoutInMinutes = 123
};
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"

cfnApplicationProps := &CfnApplicationProps{
	Location: jsii.String("location"),

	// the properties below are optional
	NotificationArns: []*string{
		jsii.String("notificationArns"),
	},
	Parameters: map[string]*string{
		"parametersKey": jsii.String("parameters"),
	},
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
	TimeoutInMinutes: jsii.Number(123),
}

Properties ​

locationstring | IResolvable | CfnApplication.ApplicationLocationPropertylocationtyping.Union[str, IResolvable, ApplicationLocationProperty]locationStringLocationstringLocationinterface{} required #
notificationArnsoptionalstring[]notification_arnsoptionaltyping.List[str]notificationArnsoptionalList<String>NotificationArnsoptionalstring[]NotificationArnsoptional*[]*string #
parametersoptionalIResolvable | { [key: string]: string }parametersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]parametersoptionalIResolvableParametersoptionalIResolvableParametersoptionalinterface{} #
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #
timeoutInMinutesoptionalnumbertimeout_in_minutesoptionalint | floattimeoutInMinutesoptionalNumberTimeoutInMinutesoptionaldoubleTimeoutInMinutesoptional*float64 #