CfnApplicationProps

class aws_cdk.aws_sam.CfnApplicationProps(*, location, notification_arns=None, parameters=None, tags=None, timeout_in_minutes=None)

Bases: object

Properties for defining a CfnApplication.

Parameters
  • location (Union[str, IResolvable, ApplicationLocationProperty]) – AWS::Serverless::Application.Location.

  • notification_arns (Optional[Sequence[str]]) – AWS::Serverless::Application.NotificationArns.

  • parameters (Union[IResolvable, Mapping[str, str], None]) – AWS::Serverless::Application.Parameters.

  • tags (Optional[Mapping[str, str]]) – AWS::Serverless::Application.Tags.

  • timeout_in_minutes (Union[int, float, None]) – AWS::Serverless::Application.TimeoutInMinutes.

Link

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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
)

Attributes

location

AWS::Serverless::Application.Location.

Link

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication

Return type

Union[str, IResolvable, ApplicationLocationProperty]

notification_arns

AWS::Serverless::Application.NotificationArns.

Link

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication

Return type

Optional[List[str]]

parameters

AWS::Serverless::Application.Parameters.

Link

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication

Return type

Union[IResolvable, Mapping[str, str], None]

tags

AWS::Serverless::Application.Tags.

Link

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication

Return type

Optional[Mapping[str, str]]

timeout_in_minutes

AWS::Serverless::Application.TimeoutInMinutes.

Link

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication

Return type

Union[int, float, None]