WebACLReference Struct
A reference to a WebACL resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as interfaces_wafv2 } from 'aws-cdk-lib/interfaces';
const webACLReference: interfaces_wafv2.WebACLReference = {
scope: 'scope',
webAclArn: 'webAclArn',
webAclId: 'webAclId',
webAclName: 'webAclName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_wafv2 as interfaces_wafv2
web_acl_reference = interfaces_wafv2.WebACLReference(
scope="scope",
web_acl_arn="webAclArn",
web_acl_id="webAclId",
web_acl_name="webAclName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.wafv2.*;
WebACLReference webACLReference = WebACLReference.builder()
.scope("scope")
.webAclArn("webAclArn")
.webAclId("webAclId")
.webAclName("webAclName")
.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.Interfaces.WAFv2;
var webACLReference = new WebACLReference {
Scope = "scope",
WebAclArn = "webAclArn",
WebAclId = "webAclId",
WebAclName = "webAclName"
};
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"
webACLReference := &WebACLReference{
Scope: jsii.String("scope"),
WebAclArn: jsii.String("webAclArn"),
WebAclId: jsii.String("webAclId"),
WebAclName: jsii.String("webAclName"),
}
Properties
The Scope of the WebACL resource.
The ARN of the WebACL resource.
The Id of the WebACL resource.
The Name of the WebACL resource.