# CfnOutpostResolverProps

Properties for defining a `CfnOutpostResolver`.

Used as props by: [CfnOutpostResolver](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53resolver.CfnOutpostResolver.html)

- Source: Generated at build time
- Type last changed: v2.97.0 · 22 Sep 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_route53resolver as route53resolver } from 'aws-cdk-lib';
const cfnOutpostResolverProps: route53resolver.CfnOutpostResolverProps = {
  name: 'name',
  outpostArn: 'outpostArn',
  preferredInstanceType: 'preferredInstanceType',

  // the properties below are optional
  instanceCount: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53resolver as route53resolver

cfn_outpost_resolver_props = route53resolver.CfnOutpostResolverProps(
    name="name",
    outpost_arn="outpostArn",
    preferred_instance_type="preferredInstanceType",

    # the properties below are optional
    instance_count=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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

CfnOutpostResolverProps cfnOutpostResolverProps = CfnOutpostResolverProps.builder()
        .name("name")
        .outpostArn("outpostArn")
        .preferredInstanceType("preferredInstanceType")

        // the properties below are optional
        .instanceCount(123)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .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.Route53Resolver;

var cfnOutpostResolverProps = new CfnOutpostResolverProps {
    Name = "name",
    OutpostArn = "outpostArn",
    PreferredInstanceType = "preferredInstanceType",

    // the properties below are optional
    InstanceCount = 123,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnOutpostResolverProps := &CfnOutpostResolverProps{
	Name: jsii.String("name"),
	OutpostArn: jsii.String("outpostArn"),
	PreferredInstanceType: jsii.String("preferredInstanceType"),

	// the properties below are optional
	InstanceCount: jsii.Number(123),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `instanceCount`: number — Amazon EC2 instance count for the Resolver on the Outpost.

- `name`: string (required) — Name of the Resolver.

- `outpostArn`: string (required) — The ARN (Amazon Resource Name) for the Outpost.

- `preferredInstanceType`: string (required) — The Amazon EC2 instance type.

  If you specify this, you must also specify a value for the `OutpostArn` .

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A key value pair that helps you identify a Route 53 Resolver .
