Class CfnDRTAccess.Builder

java.lang.Object
software.amazon.awscdk.services.shield.CfnDRTAccess.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDRTAccess>
Enclosing class:
CfnDRTAccess

@Stability(Stable) public static final class CfnDRTAccess.Builder extends Object implements software.amazon.jsii.Builder<CfnDRTAccess>
A fluent builder for CfnDRTAccess.
  • Method Details

    • create

      @Stability(Stable) public static CfnDRTAccess.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      Returns:
      a new instance of CfnDRTAccess.Builder.
    • roleArn

      @Stability(Stable) public CfnDRTAccess.Builder roleArn(String roleArn)
      Authorizes the Shield Response Team (SRT) using the specified role, to access your AWS account to assist with DDoS attack mitigation during potential attacks.

      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.

      Parameters:
      roleArn - Authorizes the Shield Response Team (SRT) using the specified role, to access your AWS account to assist with DDoS attack mitigation during potential attacks. This parameter is required.
      Returns:
      this
      See Also:
    • logBucketList

      @Stability(Stable) public CfnDRTAccess.Builder logBucketList(List<String> logBucketList)
      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.

      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 .

      Parameters:
      logBucketList - 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. This parameter is required.
      Returns:
      this
      See Also:
    • build

      @Stability(Stable) public CfnDRTAccess build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDRTAccess>
      Returns:
      a newly built instance of CfnDRTAccess.