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 classA builder forCfnLocationObjectStoragePropsstatic final classAn implementation forCfnLocationObjectStorageProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecifies 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 StringSpecifies the name of the object storage bucket involved in the transfer.default StringSpecifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.default StringSpecifies 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 StringSpecifies the domain name or IP address of the object storage server.default NumberSpecifies the port that your object storage server accepts inbound network traffic on (for example, port 443).default StringSpecifies the protocol that your object storage server uses to communicate.default StringSpecifies 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
.pemextension
The file can be up to 32768 bytes (before base64 encoding).
To use this parameter, configure
ServerProtocoltoHTTPS. -
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
-