@Stability(value=Stable) public static final class CfnDocument.AttachmentsSourceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDocument.AttachmentsSourceProperty>
CfnDocument.AttachmentsSourceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDocument.AttachmentsSourceProperty |
build()
Builds the configured instance.
|
CfnDocument.AttachmentsSourceProperty.Builder |
key(String key)
Sets the value of
CfnDocument.AttachmentsSourceProperty.getKey() |
CfnDocument.AttachmentsSourceProperty.Builder |
name(String name)
Sets the value of
CfnDocument.AttachmentsSourceProperty.getName() |
CfnDocument.AttachmentsSourceProperty.Builder |
values(List<String> values)
Sets the value of
CfnDocument.AttachmentsSourceProperty.getValues() |
@Stability(value=Stable) public CfnDocument.AttachmentsSourceProperty.Builder key(String key)
CfnDocument.AttachmentsSourceProperty.getKey()key - The key of a key-value pair that identifies the location of an attachment to a document.this@Stability(value=Stable) public CfnDocument.AttachmentsSourceProperty.Builder name(String name)
CfnDocument.AttachmentsSourceProperty.getName()name - The name of the document attachment file.this@Stability(value=Stable) public CfnDocument.AttachmentsSourceProperty.Builder values(List<String> values)
CfnDocument.AttachmentsSourceProperty.getValues()values - The value of a key-value pair that identifies the location of an attachment to a document.
The format for Value depends on the type of key you specify.
"Values": [ "s3://doc-example-bucket/my-folder" ]
"Values": [ "s3://doc-example-bucket/my-folder/my-file.py" ]
"Values": [ "MyOtherDocument/3/my-other-file.py" ]
However, if the SSM document is shared with you from another account, the full SSM document ARN must be specified instead of the document name only. For example:
"Values": [ "arn:aws:ssm:us-east-2:111122223333:document/OtherAccountDocument/3/their-file.py" ]
this@Stability(value=Stable) public CfnDocument.AttachmentsSourceProperty build()
build in interface software.amazon.jsii.Builder<CfnDocument.AttachmentsSourceProperty>CfnDocument.AttachmentsSourcePropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.