# StorageConnectorProperty

A connector that enables persistent storage for users.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

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

C# / .NET:

```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"
};
```

Golang:

```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

- `connectorType`: string (required) — The type of storage connector.

- `domains`: string[] — The names of the domains for the account.

- `resourceIdentifier`: string — The ARN of the storage connector.
