Class CfnPublicTypeVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicTypeVersion>
- Enclosing class:
CfnPublicTypeVersion
CfnPublicTypeVersion
.-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Number (ARN) of the extension.build()
static CfnPublicTypeVersion.Builder
logDeliveryBucket
(String logDeliveryBucket) The S3 bucket to which CloudFormation delivers the contract test execution logs.publicVersionNumber
(String publicVersionNumber) The version number to assign to this version of the extension.The type of the extension to test.The name of the extension to test.
-
Method Details
-
create
@Stability(Stable) public static CfnPublicTypeVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPublicTypeVersion.Builder
.
-
arn
The Amazon Resource Number (ARN) of the extension.Conditional: You must specify
Arn
, orTypeName
andType
.- Parameters:
arn
- The Amazon Resource Number (ARN) of the extension. This parameter is required.- Returns:
this
- See Also:
-
logDeliveryBucket
The S3 bucket to which CloudFormation delivers the contract test execution logs.CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of
PASSED
orFAILED
.The user initiating the stack operation must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:
- GetObject
- PutObject
For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide .
- Parameters:
logDeliveryBucket
- The S3 bucket to which CloudFormation delivers the contract test execution logs. This parameter is required.- Returns:
this
- See Also:
-
publicVersionNumber
@Stability(Stable) public CfnPublicTypeVersion.Builder publicVersionNumber(String publicVersionNumber) The version number to assign to this version of the extension.Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCH
For more information, see Semantic Versioning 2.0.0 .
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be
1.0.0
.- Parameters:
publicVersionNumber
- The version number to assign to this version of the extension. This parameter is required.- Returns:
this
- See Also:
-
type
The type of the extension to test.Conditional: You must specify
Arn
, orTypeName
andType
.- Parameters:
type
- The type of the extension to test. This parameter is required.- Returns:
this
- See Also:
-
typeName
The name of the extension to test.Conditional: You must specify
Arn
, orTypeName
andType
.- Parameters:
typeName
- The name of the extension to test. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPublicTypeVersion>
- Returns:
- a newly built instance of
CfnPublicTypeVersion
.
-