@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:02.114Z") @Stability(value=Experimental) public class AcceleratorSecurityGroup extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
AcceleratorSecurityGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AcceleratorSecurityGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static ISecurityGroup |
fromVpc(Construct scope,
String id,
IVpc vpc,
EndpointGroup endpointGroup)
(experimental) Lookup the Global Accelerator security group at CloudFormation deployment time.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AcceleratorSecurityGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected AcceleratorSecurityGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static ISecurityGroup fromVpc(@NotNull Construct scope, @NotNull String id, @NotNull IVpc vpc, @NotNull EndpointGroup endpointGroup)
As of this writing, Global Accelerators (AGA) create a single security group per VPC. AGA security groups are shared by all AGAs in an account. Additionally, there is no CloudFormation mechanism to reference the AGA security groups.
This makes creating security group rules which allow traffic from an AGA complicated in CDK. This lookup will identify the AGA security group for a given VPC at CloudFormation deployment time, and lets you create rules for traffic from AGA to other resources created by CDK.
scope - This parameter is required.id - This parameter is required.vpc - This parameter is required.endpointGroup - This parameter is required.Copyright © 2021. All rights reserved.