Class CfnDocument.AttachmentsSourceProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ssm.CfnDocument.AttachmentsSourceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDocument.AttachmentsSourceProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDocument.AttachmentsSourceProperty
@Stability(Stable)
@Internal
public static final class CfnDocument.AttachmentsSourceProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnDocument.AttachmentsSourceProperty
An implementation for
CfnDocument.AttachmentsSourceProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ssm.CfnDocument.AttachmentsSourceProperty
CfnDocument.AttachmentsSourceProperty.Builder, CfnDocument.AttachmentsSourceProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnDocument.AttachmentsSourceProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
getKey()
The key of a key-value pair that identifies the location of an attachment to a document.final String
getName()
The name of the document attachment file.The value of a key-value pair that identifies the location of an attachment to a document.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnDocument.AttachmentsSourceProperty.Builder
.
-
-
Method Details
-
getKey
Description copied from interface:CfnDocument.AttachmentsSourceProperty
The key of a key-value pair that identifies the location of an attachment to a document.- Specified by:
getKey
in interfaceCfnDocument.AttachmentsSourceProperty
- See Also:
-
getName
Description copied from interface:CfnDocument.AttachmentsSourceProperty
The name of the document attachment file.- Specified by:
getName
in interfaceCfnDocument.AttachmentsSourceProperty
- See Also:
-
getValues
Description copied from interface:CfnDocument.AttachmentsSourceProperty
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.
- For the key SourceUrl , the value is an S3 bucket location. For example:
"Values": [ "s3://amzn-s3-demo-bucket/my-prefix" ]
- For the key S3FileUrl , the value is a file in an S3 bucket. For example:
"Values": [ "s3://amzn-s3-demo-bucket/my-prefix/my-file.py" ]
- For the key AttachmentReference , the value is constructed from the name of another SSM document in your account, a version number of that document, and a file attached to that document version that you want to reuse. For example:
"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" ]
- Specified by:
getValues
in interfaceCfnDocument.AttachmentsSourceProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-