CfnMacroProps

class aws_cdk.aws_cloudformation.CfnMacroProps(*, function_name, name, description=None, log_group_name=None, log_role_arn=None)

Bases: object

__init__(*, function_name, name, description=None, log_group_name=None, log_role_arn=None)

Properties for defining a AWS::CloudFormation::Macro.

Parameters
  • function_name (str) – AWS::CloudFormation::Macro.FunctionName.

  • name (str) – AWS::CloudFormation::Macro.Name.

  • description (Optional[str]) – AWS::CloudFormation::Macro.Description.

  • log_group_name (Optional[str]) – AWS::CloudFormation::Macro.LogGroupName.

  • log_role_arn (Optional[str]) – AWS::CloudFormation::Macro.LogRoleARN.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html

Attributes

description

AWS::CloudFormation::Macro.Description.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-description

Return type

Optional[str]

function_name

AWS::CloudFormation::Macro.FunctionName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-functionname

Return type

str

log_group_name

AWS::CloudFormation::Macro.LogGroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-loggroupname

Return type

Optional[str]

log_role_arn

AWS::CloudFormation::Macro.LogRoleARN.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-logrolearn

Return type

Optional[str]

name

AWS::CloudFormation::Macro.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-macro.html#cfn-cloudformation-macro-name

Return type

str