# SubjectAlternativeNamesMatcherConfig

All Properties for Subject Alternative Names Matcher for both Client Policy and Listener.

Returned by: [SubjectAlternativeNames.bind](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.SubjectAlternativeNames.html#bind)

- Source: [`aws-appmesh/lib/tls-validation.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-appmesh/lib/tls-validation.ts#L174)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const subjectAlternativeNamesMatcherConfig: appmesh.SubjectAlternativeNamesMatcherConfig = {
  subjectAlternativeNamesMatch: {
    exact: ['exact'],
  },
};
```

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_appmesh as appmesh

subject_alternative_names_matcher_config = appmesh.SubjectAlternativeNamesMatcherConfig(
    subject_alternative_names_match=appmesh.CfnVirtualNode.SubjectAlternativeNameMatchersProperty(
        exact=["exact"]
    )
)
```

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

SubjectAlternativeNamesMatcherConfig subjectAlternativeNamesMatcherConfig = SubjectAlternativeNamesMatcherConfig.builder()
        .subjectAlternativeNamesMatch(SubjectAlternativeNameMatchersProperty.builder()
                .exact(List.of("exact"))
                .build())
        .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.AppMesh;

var subjectAlternativeNamesMatcherConfig = new SubjectAlternativeNamesMatcherConfig {
    SubjectAlternativeNamesMatch = new SubjectAlternativeNameMatchersProperty {
        Exact = new [] { "exact" }
    }
};
```

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"

subjectAlternativeNamesMatcherConfig := &SubjectAlternativeNamesMatcherConfig{
	SubjectAlternativeNamesMatch: &SubjectAlternativeNameMatchersProperty{
		Exact: []*string{
			jsii.String("exact"),
		},
	},
}
```

## Properties

- `subjectAlternativeNamesMatch`: [CfnVirtualNode.SubjectAlternativeNameMatchersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualNode.SubjectAlternativeNameMatchersProperty.html) (required) — VirtualNode CFN configuration for subject alternative names secured by the certificate.
