Skip to content
v2.278.0

CfnDRTAccessProps Struct ​

Properties for defining a CfnDRTAccess.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_shield as shield } from 'aws-cdk-lib';
const cfnDRTAccessProps: shield.CfnDRTAccessProps = {
  roleArn: 'roleArn',

  // the properties below are optional
  logBucketList: ['logBucketList'],
};
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_shield as shield

cfn_drt_access_props = shield.CfnDRTAccessProps(
    role_arn="roleArn",

    # the properties below are optional
    log_bucket_list=["logBucketList"]
)
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.shield.*;

CfnDRTAccessProps cfnDRTAccessProps = CfnDRTAccessProps.builder()
        .roleArn("roleArn")

        // the properties below are optional
        .logBucketList(List.of("logBucketList"))
        .build();
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.Shield;

var cfnDRTAccessProps = new CfnDRTAccessProps {
    RoleArn = "roleArn",

    // the properties below are optional
    LogBucketList = new [] { "logBucketList" }
};
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"

cfnDRTAccessProps := &CfnDRTAccessProps{
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	LogBucketList: []*string{
		jsii.String("logBucketList"),
	},
}

Properties ​

logBucketListoptionalstring[]log_bucket_listoptionaltyping.List[str]logBucketListoptionalList<String>LogBucketListoptionalstring[]LogBucketListoptional*[]*string #
Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources.
notes

You can associate up to 10 Amazon S3 buckets with your subscription.

Use this to share information with the SRT that's not available in AWS WAF logs.

To use the services of the SRT, you must be subscribed to the Business Support plan or the Enterprise Support plan .

roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*string required #
Authorizes the Shield Response Team (SRT) using the specified role, to access your AWS account to assist with DDoS attack mitigation during potential attacks.
notes

This enables the SRT to inspect your AWS WAF configuration and logs and to create or update AWS WAF rules and web ACLs.

You can associate only one RoleArn with your subscription. If you submit this update for an account that already has an associated role, the new RoleArn will replace the existing RoleArn .

This change requires the following:

The SRT will have access only to your AWS WAF and Shield resources. By submitting this request, you provide permissions to the SRT to inspect your AWS WAF and Shield configuration and logs, and to create and update AWS WAF rules and web ACLs on your behalf. The SRT takes these actions only if explicitly authorized by you.