Class CfnDRTAccessPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
Configure AWS::Shield::DRTAccess for one account
To configure this resource through CloudFormation , you must be subscribed to AWS Shield Advanced . You can subscribe through the Shield Advanced console and through the APIs. For more information, see Subscribe to AWS Shield Advanced .
See example templates for Shield Advanced in CloudFormation at aws-samples/aws-shield-advanced-examples .
Configure Shield Advanced using AWS CloudFormation and AWS Firewall Manager
You might be able to use Firewall Manager with AWS CloudFormation to configure Shield Advanced across multiple accounts and protected resources. To do this, your accounts must be part of an organization in AWS Organizations . You can use Firewall Manager to configure Shield Advanced protections for any resource types except for Amazon RouteĀ 53 or AWS Global Accelerator .
For an example of this, see the one-click configuration guidance published by the AWS technical community at One-click deployment of Shield Advanced .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.shield.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnDRTAccessPropsMixin cfnDRTAccessPropsMixin = CfnDRTAccessPropsMixin.Builder.create(CfnDRTAccessMixinProps.builder()
.logBucketList(List.of("logBucketList"))
.roleArn("roleArn")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Shield::DRTAccess.CfnDRTAccessPropsMixin(CfnDRTAccessMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Shield::DRTAccess.protectedCfnDRTAccessPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDRTAccessPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDRTAccessMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnDRTAccessPropsMixin
protected CfnDRTAccessPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDRTAccessPropsMixin
protected CfnDRTAccessPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDRTAccessPropsMixin
@Stability(Stable) public CfnDRTAccessPropsMixin(@NotNull CfnDRTAccessMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Shield::DRTAccess.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDRTAccessPropsMixin
Create a mixin to apply properties toAWS::Shield::DRTAccess.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-