Class CfnResourceVersionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceVersionPropsMixin>
- Enclosing class:
CfnResourceVersionPropsMixin
CfnResourceVersionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) executionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the resource.loggingConfig(CfnResourceVersionPropsMixin.LoggingConfigProperty loggingConfig) Logging configuration information for a resource.loggingConfig(IResolvable loggingConfig) Logging configuration information for a resource.schemaHandlerPackage(String schemaHandlerPackage) A URL to the S3 bucket for the resource project package that contains the necessary files for the resource you want to register.The name of the resource being registered.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceVersionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnResourceVersionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnResourceVersionPropsMixin.Builder.
-
executionRoleArn
@Stability(Stable) public CfnResourceVersionPropsMixin.Builder executionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the resource.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.
- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the resource. This parameter is required.- Returns:
this- See Also:
-
loggingConfig
@Stability(Stable) public CfnResourceVersionPropsMixin.Builder loggingConfig(IResolvable loggingConfig) Logging configuration information for a resource.- Parameters:
loggingConfig- Logging configuration information for a resource. This parameter is required.- Returns:
this- See Also:
-
loggingConfig
@Stability(Stable) public CfnResourceVersionPropsMixin.Builder loggingConfig(CfnResourceVersionPropsMixin.LoggingConfigProperty loggingConfig) Logging configuration information for a resource.- Parameters:
loggingConfig- Logging configuration information for a resource. This parameter is required.- Returns:
this- See Also:
-
schemaHandlerPackage
@Stability(Stable) public CfnResourceVersionPropsMixin.Builder schemaHandlerPackage(String schemaHandlerPackage) A URL to the S3 bucket for the resource project package that contains the necessary files for the resource you want to register.For information on generating a schema handler package, see Modeling resource types to use with CloudFormation in the CloudFormation Command Line Interface (CLI) User Guide .
To register the resource version, you must have
s3:GetObjectpermissions to access the S3 objects.- Parameters:
schemaHandlerPackage- A URL to the S3 bucket for the resource project package that contains the necessary files for the resource you want to register. This parameter is required.- Returns:
this- See Also:
-
typeName
The name of the resource being registered.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
- Parameters:
typeName- The name of the resource being registered. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceVersionPropsMixin>- Returns:
- a newly built instance of
CfnResourceVersionPropsMixin.
-