Class CfnStorageSystem

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-05-20T23:52:53.136Z") @Stability(Stable) public class CfnStorageSystem extends CfnResource implements IInspectable, ITaggable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-storagesystem.html.

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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnStorageSystemProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrConnectivityStatus

      @Stability(Stable) @NotNull public String getAttrConnectivityStatus()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getAttrSecretsManagerArn

      @Stability(Stable) @NotNull public String getAttrSecretsManagerArn()
    • getAttrStorageSystemArn

      @Stability(Stable) @NotNull public String getAttrStorageSystemArn()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getAgentArns

      @Stability(Stable) @NotNull public List<String> getAgentArns()
    • setAgentArns

      @Stability(Stable) public void setAgentArns(@NotNull List<String> value)
    • getServerConfiguration

      @Stability(Stable) @NotNull public Object getServerConfiguration()
    • setServerConfiguration

      @Stability(Stable) public void setServerConfiguration(@NotNull IResolvable value)
    • setServerConfiguration

      @Stability(Stable) public void setServerConfiguration(@NotNull CfnStorageSystem.ServerConfigurationProperty value)
    • getSystemType

      @Stability(Stable) @NotNull public String getSystemType()
    • setSystemType

      @Stability(Stable) public void setSystemType(@NotNull String value)
    • getCloudWatchLogGroupArn

      @Stability(Stable) @Nullable public String getCloudWatchLogGroupArn()
    • setCloudWatchLogGroupArn

      @Stability(Stable) public void setCloudWatchLogGroupArn(@Nullable String value)
    • getName

      @Stability(Stable) @Nullable public String getName()
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
    • getServerCredentials

      @Stability(Stable) @Nullable public Object getServerCredentials()
    • setServerCredentials

      @Stability(Stable) public void setServerCredentials(@Nullable IResolvable value)
    • setServerCredentials

      @Stability(Stable) public void setServerCredentials(@Nullable CfnStorageSystem.ServerCredentialsProperty value)
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)