Skip to content
v2.277.0

StorageConnectorProperty Struct ​

A connector that enables persistent storage for users.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const storageConnectorProperty: appstream.CfnStack.StorageConnectorProperty = {
  connectorType: 'connectorType',

  // the properties below are optional
  domains: ['domains'],
  resourceIdentifier: 'resourceIdentifier',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appstream as appstream

storage_connector_property = appstream.CfnStack.StorageConnectorProperty(
    connector_type="connectorType",

    # the properties below are optional
    domains=["domains"],
    resource_identifier="resourceIdentifier"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;

StorageConnectorProperty storageConnectorProperty = StorageConnectorProperty.builder()
        .connectorType("connectorType")

        // the properties below are optional
        .domains(List.of("domains"))
        .resourceIdentifier("resourceIdentifier")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;

var storageConnectorProperty = new StorageConnectorProperty {
    ConnectorType = "connectorType",

    // the properties below are optional
    Domains = new [] { "domains" },
    ResourceIdentifier = "resourceIdentifier"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

storageConnectorProperty := &StorageConnectorProperty{
	ConnectorType: jsii.String("connectorType"),

	// the properties below are optional
	Domains: []*string{
		jsii.String("domains"),
	},
	ResourceIdentifier: jsii.String("resourceIdentifier"),
}

Properties ​

connectorTypestringconnector_typestrconnectorTypeStringConnectorTypestringConnectorType*string required #
The type of storage connector.
domainsoptionalstring[]domainsoptionaltyping.List[str]domainsoptionalList<String>Domainsoptionalstring[]Domainsoptional*[]*string #
The names of the domains for the account.
resourceIdentifieroptionalstringresource_identifieroptionalstrresourceIdentifieroptionalStringResourceIdentifieroptionalstringResourceIdentifieroptional*string #
The ARN of the storage connector.