CfnAccountProps

class aws_cdk.aws_apigateway.CfnAccountProps(*, cloud_watch_role_arn=None)

Bases: object

Properties for defining a CfnAccount.

Parameters

cloud_watch_role_arn (Optional[str]) – The Amazon Resource Name (ARN) of an IAM role that has write access to CloudWatch Logs in your account.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-account.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigateway as apigateway

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

Attributes

cloud_watch_role_arn

The Amazon Resource Name (ARN) of an IAM role that has write access to CloudWatch Logs in your account.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-account.html#cfn-apigateway-account-cloudwatchrolearn

Return type

Optional[str]