@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:10.066Z") @Stability(value=Stable) public interface CfnComponentProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.imagebuilder.*;
CfnComponentProps cfnComponentProps = CfnComponentProps.builder()
.name("name")
.platform("platform")
.version("version")
// the properties below are optional
.changeDescription("changeDescription")
.data("data")
.description("description")
.kmsKeyId("kmsKeyId")
.supportedOsVersions(List.of("supportedOsVersions"))
.tags(Map.of(
"tagsKey", "tags"))
.uri("uri")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentProps.Builder
A builder for
CfnComponentProps |
static class |
CfnComponentProps.Jsii$Proxy
An implementation for
CfnComponentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentProps.Builder |
builder() |
default String |
getChangeDescription()
A change description of the component.
|
default String |
getData()
The data of the component.
|
default String |
getDescription()
The description of the component.
|
default String |
getKmsKeyId()
The KMS key identifier used to encrypt the component.
|
String |
getName()
The name of the component.
|
String |
getPlatform()
The platform of the component.
|
default List<String> |
getSupportedOsVersions()
The operating system (OS) version supported by the component.
|
default Map<String,String> |
getTags()
The tags associated with the component.
|
default String |
getUri()
The uri of the component.
|
String |
getVersion()
The component version.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getPlatform()
For example, Windows .
@Stability(value=Stable) @NotNull String getVersion()
For example, 1.0.0 .
@Stability(value=Stable) @Nullable default String getChangeDescription()
For example initial version .
@Stability(value=Stable) @Nullable default String getData()
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.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getKmsKeyId()
@Stability(value=Stable) @Nullable default List<String> getSupportedOsVersions()
If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
@Stability(value=Stable) @Nullable default String getUri()
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.
@Stability(value=Stable) static CfnComponentProps.Builder builder()
CfnComponentProps.Builder of CfnComponentPropsCopyright © 2022. All rights reserved.