AWS::DataSync::StorageSystem
The AWS::DataSync::StorageSystem resource creates an Amazon 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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::DataSync::StorageSystem", "Properties" : { "AgentArns" :[ String, ... ], "CloudWatchLogGroupArn" :String, "Name" :String, "ServerConfiguration" :ServerConfiguration, "ServerCredentials" :ServerCredentials, "SystemType" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::DataSync::StorageSystem Properties: AgentArns:- StringCloudWatchLogGroupArn:StringName:StringServerConfiguration:ServerConfigurationServerCredentials:ServerCredentialsSystemType:StringTags:- Tag
Properties
AgentArns-
Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface.
Required: Yes
Type: List of String
Maximum:
1Update requires: No interruption
CloudWatchLogGroupArn-
Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.
Required: No
Type: String
Maximum:
562Pattern:
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\-0-9]+:[0-9]{12}:log-group:([^:\*]*)(:\*)?$Update requires: No interruption
Name-
Specifies a familiar name for your on-premises storage system.
Required: No
Type: String
Minimum:
1Maximum:
256Pattern:
^[\p{L}\p{M}\p{N}\s+=._:@\/-]+$Update requires: No interruption
ServerConfiguration-
Specifies the server name and network port required to connect with the management interface of your on-premises storage system.
Required: Yes
Type: ServerConfiguration
Update requires: No interruption
ServerCredentials-
Specifies the user name and password for accessing your on-premises storage system's management interface.
Required: No
Type: ServerCredentials
Update requires: No interruption
SystemType-
Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.
Note
DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later.
Required: Yes
Type: String
Allowed values:
NetAppONTAPUpdate requires: No interruption
Tags-
Specifies labels that help you categorize, filter, and search for your Amazon resources. We recommend creating at least a name tag for your on-premises storage system.
Required: No
Type: List of Tag
Maximum:
50Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the ARN of the on-premises storage system that you created. For example:
arn:aws:datasync:us-east-1:111222333444:system/storage-system-abcdef01234567890
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.
ConnectivityStatus-
Indicates whether your DataSync agent can connect to your on-premises storage system.
SecretsManagerArn-
The ARN of the secret that stores your on-premises storage system's credentials. DataSync Discovery stores these credentials in Amazon Secrets Manager.
StorageSystemArn-
The ARN of the on-premises storage system that you're using with DataSync Discovery.
Examples
Adding an on on-premises storage system to use with DataSync Discovery
The following example adds an on-premises storage system that you want to collect information about.
JSON
{ "Type": "AWS::DataSync::StorageSystem", "Properties": { "AgentArns": [ "arn:aws:datasync:us-east-1:111222333444:agent/agent-012345abcde012345" ], "CloudWatchLogGroupArn": "arn:aws:logs:us-east-1:111222333444:log-group:/aws/datasync/discovery:*", "Name": "MyOnPremStorage", "ServerConfiguration": { "ServerHostname": "172.16.0.0", "ServerPort": 443 }, "ServerCredentials": { "Username": "admin", "Password": "1234" }, "SystemType": "NetAppONTAP", "Tags": [ { "Key": "Migration Plan", "Value": "1" } ] } }
YAML
Type: 'AWS::DataSync::StorageSystem' Properties: AgentArns: - 'arn:aws:datasync:us-east-1:111222333444:agent/agent-012345abcde012345' CloudWatchLogGroupArn: 'arn:aws:logs:us-east-1:111222333444:log-group:/aws/datasync/discovery:*' Name: MyOnPremStorage ServerConfiguration: ServerHostname: 172.16.0.0 ServerPort: 443 ServerCredentials: Username: admin Password: '1234' SystemType: NetAppONTAP Tags: - Key: Migration Plan Value: '1'