@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 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.