@Stability(value=Stable) public static final class CfnComponentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnComponentProps>
CfnComponentProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnComponentProps.Builder name(String name)
CfnComponentProps.getName()name - The name of the component. This parameter is required.this@Stability(value=Stable) public CfnComponentProps.Builder platform(String platform)
CfnComponentProps.getPlatform()platform - The platform of the component. This parameter is required.this@Stability(value=Stable) public CfnComponentProps.Builder version(String version)
CfnComponentProps.getVersion()version - The component version. This parameter is required.
For example, 1.0.0 .this@Stability(value=Stable) public CfnComponentProps.Builder changeDescription(String changeDescription)
CfnComponentProps.getChangeDescription()changeDescription - The change description of the component.
Describes what change has been made in this version, or what makes this version different from other versions of this component.this@Stability(value=Stable) public CfnComponentProps.Builder data(String data)
CfnComponentProps.getData()data - Component `data` contains inline YAML document content for the component.
Alternatively, you can specify the uri of a YAML document file stored in Amazon S3. However, you cannot specify both properties.this@Stability(value=Stable) public CfnComponentProps.Builder description(String description)
CfnComponentProps.getDescription()description - The description of the component.
Describes the contents of the component.this@Stability(value=Stable) public CfnComponentProps.Builder kmsKeyId(String kmsKeyId)
CfnComponentProps.getKmsKeyId()kmsKeyId - The ID of the KMS key that should be used to encrypt this component.this@Stability(value=Stable) public CfnComponentProps.Builder supportedOsVersions(List<String> supportedOsVersions)
CfnComponentProps.getSupportedOsVersions()supportedOsVersions - The operating system (OS) version supported by the component.
If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.this@Stability(value=Stable) public CfnComponentProps.Builder tags(Map<String,String> tags)
CfnComponentProps.getTags()tags - The tags of the component.this@Stability(value=Stable) public CfnComponentProps.Builder uri(String uri)
CfnComponentProps.getUri()uri - The `uri` of a YAML component document file.
This must be an S3 URL ( s3://bucket/key ), and the requester must have permission to access the S3 bucket it points to. If you use Amazon S3, you can specify component content up to your service quota.
Alternatively, you can specify the YAML document inline, using the component data property. You cannot specify both properties.
this@Stability(value=Stable) public CfnComponentProps build()
build in interface software.amazon.jsii.Builder<CfnComponentProps>CfnComponentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.