# FSxAuthorizationConfigProperty

The authorization configuration details for Amazon FSx for Windows File Server file system.

See [FSxWindowsFileServerVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html) in the *Amazon ECS API Reference* .

For more information and the input format, see [Amazon FSx for Windows File Server Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the *Amazon Elastic Container Service Developer Guide* .

- Source: Generated at build time
- Type last changed: v2.138.0 · 18 Apr 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const fSxAuthorizationConfigProperty: ecs.CfnTaskDefinition.FSxAuthorizationConfigProperty = {
  credentialsParameter: 'credentialsParameter',
  domain: 'domain',
};
```

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_ecs as ecs

f_sx_authorization_config_property = ecs.CfnTaskDefinition.FSxAuthorizationConfigProperty(
    credentials_parameter="credentialsParameter",
    domain="domain"
)
```

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.ecs.*;

FSxAuthorizationConfigProperty fSxAuthorizationConfigProperty = FSxAuthorizationConfigProperty.builder()
        .credentialsParameter("credentialsParameter")
        .domain("domain")
        .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.ECS;

var fSxAuthorizationConfigProperty = new FSxAuthorizationConfigProperty {
    CredentialsParameter = "credentialsParameter",
    Domain = "domain"
};
```

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"

fSxAuthorizationConfigProperty := &FSxAuthorizationConfigProperty{
	CredentialsParameter: jsii.String("credentialsParameter"),
	Domain: jsii.String("domain"),
}
```

## Properties

- `credentialsParameter`: string (required) — The authorization credential option to use.

  The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an AWS Secrets Manager secret or SSM Parameter Store parameter. The ARN refers to the stored credentials.

- `domain`: string (required) — A fully qualified domain name hosted by an [AWS Directory Service](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
