@Stability(value=Stable) public static final class CfnPublicTypeVersion.Builder extends Object implements software.amazon.jsii.Builder<CfnPublicTypeVersion>
CfnPublicTypeVersion.| Modifier and Type | Method and Description |
|---|---|
CfnPublicTypeVersion.Builder |
arn(String arn)
The Amazon Resource Number (ARN) of the extension.
|
CfnPublicTypeVersion |
build() |
static CfnPublicTypeVersion.Builder |
create(software.constructs.Construct scope,
String id) |
CfnPublicTypeVersion.Builder |
logDeliveryBucket(String logDeliveryBucket)
The S3 bucket to which CloudFormation delivers the contract test execution logs.
|
CfnPublicTypeVersion.Builder |
publicVersionNumber(String publicVersionNumber)
The version number to assign to this version of the extension.
|
CfnPublicTypeVersion.Builder |
type(String type)
The type of the extension to test.
|
CfnPublicTypeVersion.Builder |
typeName(String typeName)
The name of the extension to test.
|
@Stability(value=Stable) public static CfnPublicTypeVersion.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnPublicTypeVersion.Builder.@Stability(value=Stable) public CfnPublicTypeVersion.Builder arn(String arn)
Conditional: You must specify Arn , or TypeName and Type .
arn - The Amazon Resource Number (ARN) of the extension. This parameter is required.this@Stability(value=Stable) public CfnPublicTypeVersion.Builder logDeliveryBucket(String logDeliveryBucket)
CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED .
The user initiating the stack operation must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:
For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide .
logDeliveryBucket - The S3 bucket to which CloudFormation delivers the contract test execution logs. This parameter is required.this@Stability(value=Stable) public CfnPublicTypeVersion.Builder publicVersionNumber(String publicVersionNumber)
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. AWS CloudFormation automatically sets the first version number to be 1.0.0 .
publicVersionNumber - The version number to assign to this version of the extension. This parameter is required.this@Stability(value=Stable) public CfnPublicTypeVersion.Builder type(String type)
Conditional: You must specify Arn , or TypeName and Type .
type - The type of the extension to test. This parameter is required.this@Stability(value=Stable) public CfnPublicTypeVersion.Builder typeName(String typeName)
Conditional: You must specify Arn , or TypeName and Type .
typeName - The name of the extension to test. This parameter is required.this@Stability(value=Stable) public CfnPublicTypeVersion build()
build in interface software.amazon.jsii.Builder<CfnPublicTypeVersion>Copyright © 2022. All rights reserved.