@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.
For example, Windows .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 - A change description of the component.
For example initial version .this@Stability(value=Stable) public CfnComponentProps.Builder data(String data)
CfnComponentProps.getData()data - The data of the component.
For example, name: HelloWorldTestingDocument\ndescription: This is hello world testing document.\nschemaVersion: 1.0\n\nphases:\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n . See Examples below for the schema for creating a component using Data.this@Stability(value=Stable) public CfnComponentProps.Builder description(String description)
CfnComponentProps.getDescription()description - The description of the component.this@Stability(value=Stable) public CfnComponentProps.Builder kmsKeyId(String kmsKeyId)
CfnComponentProps.getKmsKeyId()kmsKeyId - The KMS key identifier used to encrypt the 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 associated with the component.this@Stability(value=Stable) public CfnComponentProps.Builder uri(String uri)
CfnComponentProps.getUri()uri - The uri of the component.
Must be an Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon S3, you can specify component content up to your service quota. Either data or uri can be used to specify the data within the component.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.