Interface CfnMacroProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMacroProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:55.835Z")
@Stability(Stable)
public interface CfnMacroProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMacro
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudformation.*; CfnMacroProps cfnMacroProps = CfnMacroProps.builder() .functionName("functionName") .name("name") // the properties below are optional .description("description") .logGroupName("logGroupName") .logRoleArn("logRoleArn") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMacroProps
static final class
An implementation forCfnMacroProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMacroProps.Builder
builder()
default String
A description of the macro.The Amazon Resource Name (ARN) of the underlying AWS Lambda function that you want AWS CloudFormation to invoke when the macro is run.default String
The CloudWatch Logs group to which AWS CloudFormation sends error logging information when invoking the macro's underlying AWS Lambda function.default String
The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs .getName()
The name of the macro.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionName
The Amazon Resource Name (ARN) of the underlying AWS Lambda function that you want AWS CloudFormation to invoke when the macro is run.- See Also:
-
getName
The name of the macro.The name of the macro must be unique across all macros in the account.
- See Also:
-
getDescription
A description of the macro.- See Also:
-
getLogGroupName
The CloudWatch Logs group to which AWS CloudFormation sends error logging information when invoking the macro's underlying AWS Lambda function.- See Also:
-
getLogRoleArn
The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs .- See Also:
-
builder
- Returns:
- a
CfnMacroProps.Builder
ofCfnMacroProps
-