# CfnAccountProps

Properties for defining a `CfnAccount`.

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

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as apigateway } from 'aws-cdk-lib';
const cfnAccountProps: apigateway.CfnAccountProps = {
  cloudWatchRoleArn: 'cloudWatchRoleArn',
};
```

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_apigateway as apigateway

cfn_account_props = apigateway.CfnAccountProps(
    cloud_watch_role_arn="cloudWatchRoleArn"
)
```

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

CfnAccountProps cfnAccountProps = CfnAccountProps.builder()
        .cloudWatchRoleArn("cloudWatchRoleArn")
        .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.APIGateway;

var cfnAccountProps = new CfnAccountProps {
    CloudWatchRoleArn = "cloudWatchRoleArn"
};
```

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"

cfnAccountProps := &CfnAccountProps{
	CloudWatchRoleArn: jsii.String("cloudWatchRoleArn"),
}
```

## Properties

- `cloudWatchRoleArn`: string | [IRoleRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_iam.IRoleRef.html) — The ARN of an Amazon CloudWatch role for the current Account.
