Class CfnStorageSystem
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.datasync.CfnStorageSystem
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.212Z")
@Stability(Stable)
public class CfnStorageSystem
extends CfnResource
implements IInspectable
A CloudFormation
AWS::DataSync::StorageSystem.
The AWS::DataSync::StorageSystem resource creates an AWS resource for an on-premises storage system that you want DataSync Discovery to collect information about. For more information, see discovering your storage with DataSync Discovery.
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.*;
CfnStorageSystem cfnStorageSystem = CfnStorageSystem.Builder.create(this, "MyCfnStorageSystem")
.agentArns(List.of("agentArns"))
.serverConfiguration(ServerConfigurationProperty.builder()
.serverHostname("serverHostname")
// the properties below are optional
.serverPort(123)
.build())
.systemType("systemType")
// the properties below are optional
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.name("name")
.serverCredentials(ServerCredentialsProperty.builder()
.password("password")
.username("username")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnStorageSystem.static interfaceThe network settings that DataSync Discovery uses to connect with your on-premises storage system's management interface.static interfaceThe credentials that provide DataSync Discovery read access to your on-premises storage system's management interface.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnStorageSystem(Construct scope, String id, CfnStorageSystemProps props) Create a newAWS::DataSync::StorageSystem.protectedCfnStorageSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnStorageSystem(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface.Indicates whether your DataSync agent can connect to your on-premises storage system.The ARN of the secret that stores your on-premises storage system's credentials.The ARN of the on-premises storage system that you're using with DataSync Discovery.Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.getName()Specifies a familiar name for your on-premises storage system.Specifies the server name and network port required to connect with the management interface of your on-premises storage system.Specifies the user name and password for accessing your on-premises storage system's management interface.Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.getTags()Specifies labels that help you categorize, filter, and search for your AWS resources.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAgentArns(List<String> value) Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface.voidsetCloudWatchLogGroupArn(String value) Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.voidSpecifies a familiar name for your on-premises storage system.voidSpecifies the server name and network port required to connect with the management interface of your on-premises storage system.voidSpecifies the server name and network port required to connect with the management interface of your on-premises storage system.voidsetServerCredentials(IResolvable value) Specifies the user name and password for accessing your on-premises storage system's management interface.voidSpecifies the user name and password for accessing your on-premises storage system's management interface.voidsetSystemType(String value) Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnStorageSystem
protected CfnStorageSystem(software.amazon.jsii.JsiiObjectRef objRef) -
CfnStorageSystem
protected CfnStorageSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnStorageSystem
@Stability(Stable) public CfnStorageSystem(@NotNull Construct scope, @NotNull String id, @NotNull CfnStorageSystemProps props) Create a newAWS::DataSync::StorageSystem.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrConnectivityStatus
Indicates whether your DataSync agent can connect to your on-premises storage system. -
getAttrSecretsManagerArn
The ARN of the secret that stores your on-premises storage system's credentials.DataSync Discovery stores these credentials in AWS Secrets Manager .
-
getAttrStorageSystemArn
The ARN of the on-premises storage system that you're using with DataSync Discovery. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Specifies labels that help you categorize, filter, and search for your AWS resources.We recommend creating at least a name tag for your on-premises storage system.
-
getAgentArns
Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface. -
setAgentArns
Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface. -
getServerConfiguration
Specifies the server name and network port required to connect with the management interface of your on-premises storage system. -
setServerConfiguration
Specifies the server name and network port required to connect with the management interface of your on-premises storage system. -
setServerConfiguration
@Stability(Stable) public void setServerConfiguration(@NotNull CfnStorageSystem.ServerConfigurationProperty value) Specifies the server name and network port required to connect with the management interface of your on-premises storage system. -
getSystemType
Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later.
-
setSystemType
Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later.
-
getCloudWatchLogGroupArn
Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events. -
setCloudWatchLogGroupArn
Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events. -
getName
Specifies a familiar name for your on-premises storage system. -
setName
Specifies a familiar name for your on-premises storage system. -
getServerCredentials
Specifies the user name and password for accessing your on-premises storage system's management interface. -
setServerCredentials
Specifies the user name and password for accessing your on-premises storage system's management interface. -
setServerCredentials
@Stability(Stable) public void setServerCredentials(@Nullable CfnStorageSystem.ServerCredentialsProperty value) Specifies the user name and password for accessing your on-premises storage system's management interface.
-