Class CfnPublicTypeVersionProps
Properties for defining a CfnPublicTypeVersion
.
public class CfnPublicTypeVersionProps : ICfnPublicTypeVersionProps
- Inheritance
-
CfnPublicTypeVersionProps
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var cfnPublicTypeVersionProps = new CfnPublicTypeVersionProps {
Arn = "arn",
LogDeliveryBucket = "logDeliveryBucket",
PublicVersionNumber = "publicVersionNumber",
Type = "type",
TypeName = "typeName"
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
CfnPublicTypeVersionProps()
public CfnPublicTypeVersionProps()
Properties
Arn
The Amazon Resource Number (ARN) of the extension.
public string? Arn { get; set; }
Property Value
Remarks
Conditional: You must specify Arn
, or TypeName
and Type
.
LogDeliveryBucket
The S3 bucket to which CloudFormation delivers the contract test execution logs.
public string? LogDeliveryBucket { get; set; }
Property Value
Remarks
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 .
PublicVersionNumber
The version number to assign to this version of the extension.
public string? PublicVersionNumber { get; set; }
Property Value
Remarks
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
.
Type
The type of the extension to test.
public string? Type { get; set; }
Property Value
Remarks
Conditional: You must specify Arn
, or TypeName
and Type
.
TypeName
The name of the extension to test.
public string? TypeName { get; set; }
Property Value
Remarks
Conditional: You must specify Arn
, or TypeName
and Type
.