Package software.amazon.awscdk.core
Interface CfnMacroProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMacroProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.860Z")
@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.core.*; CfnMacroProps cfnMacroProps = CfnMacroProps.builder() .functionName("functionName") .name("name") // the properties below are optional .description("description") .logGroupName("logGroupName") .logRoleArn("logRoleArn") .build();
-
Nested Class Summary
Nested ClassesModifier 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. -
getName
The name of the macro.The name of the macro must be unique across all macros in the account.
-
getDescription
A description of the macro. -
getLogGroupName
The CloudWatch Logs group to which AWS CloudFormation sends error logging information when invoking the macro's underlying AWS Lambda function. -
getLogRoleArn
The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs . -
builder
- Returns:
- a
CfnMacroProps.Builder
ofCfnMacroProps
-