@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.007Z") @Stability(value=Stable) public interface CfnResourceVersionProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnResourceVersionProps cfnResourceVersionProps = CfnResourceVersionProps.builder()
.schemaHandlerPackage("schemaHandlerPackage")
.typeName("typeName")
// the properties below are optional
.executionRoleArn("executionRoleArn")
.loggingConfig(LoggingConfigProperty.builder()
.logGroupName("logGroupName")
.logRoleArn("logRoleArn")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceVersionProps.Builder
A builder for
CfnResourceVersionProps |
static class |
CfnResourceVersionProps.Jsii$Proxy
An implementation for
CfnResourceVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceVersionProps.Builder |
builder() |
default String |
getExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the resource.
|
default Object |
getLoggingConfig()
Logging configuration information for a resource.
|
String |
getSchemaHandlerPackage()
A URL to the S3 bucket containing the resource project package that contains the necessary files for the resource you want to register.
|
String |
getTypeName()
The name of the resource being registered.
|
@Stability(value=Stable) @NotNull String getSchemaHandlerPackage()
For information on generating a schema handler package for the resource you want to register, see submit in the CloudFormation CLI User Guide .
The user registering the resource must be able to access the package in the S3 bucket. That is, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide .
@Stability(value=Stable) @NotNull String getTypeName()
We recommend that resource names adhere to the following pattern: company_or_organization :: service :: type .
The following organization namespaces are reserved and can't be used in your resource names:
AlexaAMZNAmazonAWSCustomDev
@Stability(value=Stable) @Nullable default String getExecutionRoleArn()
If your resource calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the resource type handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the resource type handler, thereby supplying your resource type with the appropriate credentials.
@Stability(value=Stable) @Nullable default Object getLoggingConfig()
@Stability(value=Stable) static CfnResourceVersionProps.Builder builder()
CfnResourceVersionProps.Builder of CfnResourceVersionPropsCopyright © 2022. All rights reserved.