Interface CfnLocationObjectStorageProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationObjectStorageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.204Z")
@Stability(Stable)
public interface CfnLocationObjectStorageProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLocationObjectStorage
.
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.datasync.*; CfnLocationObjectStorageProps cfnLocationObjectStorageProps = CfnLocationObjectStorageProps.builder() .agentArns(List.of("agentArns")) // the properties below are optional .accessKey("accessKey") .bucketName("bucketName") .secretKey("secretKey") .serverCertificate("serverCertificate") .serverHostname("serverHostname") .serverPort(123) .serverProtocol("serverProtocol") .subdirectory("subdirectory") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLocationObjectStorageProps
static final class
An implementation forCfnLocationObjectStorageProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.default String
Specifies the name of the object storage bucket involved in the transfer.default String
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.default String
Specifies a file with the certificates that are used to sign the object storage server's certificate (for example,file:///home/user/.ssh/storage_sys_certificate.pem
).default String
Specifies the domain name or IP address of the object storage server.default Number
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).default String
Specifies the protocol that your object storage server uses to communicate.default String
Specifies the object prefix for your object storage server.getTags()
Specifies the key-value pair that represents a tag that you want to add to the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAgentArns
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location. -
getAccessKey
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server. -
getBucketName
Specifies the name of the object storage bucket involved in the transfer. -
getSecretKey
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server. -
getServerCertificate
Specifies a file with the certificates that are used to sign the object storage server's certificate (for example,file:///home/user/.ssh/storage_sys_certificate.pem
). The file you specify must include the following:.- The certificate of the signing certificate authority (CA)
- Any intermediate certificates
- base64 encoding
- A
.pem
extension
The file can be up to 32768 bytes (before base64 encoding).
To use this parameter, configure
ServerProtocol
toHTTPS
. -
getServerHostname
Specifies the domain name or IP address of the object storage server.A DataSync agent uses this hostname to mount the object storage server in a network.
-
getServerPort
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443). -
getServerProtocol
Specifies the protocol that your object storage server uses to communicate. -
getSubdirectory
Specifies the object prefix for your object storage server.If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
-
getTags
Specifies the key-value pair that represents a tag that you want to add to the resource.Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
-
builder
-