Skip to content
v2.277.0

ApplicationAttributeProperty Struct ​

Application details defined during the web ACL creation process.

Application attributes help AWS WAF give recommendations for protection packs.

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 wafv2 } from 'aws-cdk-lib';
const applicationAttributeProperty: wafv2.CfnWebACL.ApplicationAttributeProperty = {
  name: 'name',
  values: ['values'],
};
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_wafv2 as wafv2

application_attribute_property = wafv2.CfnWebACL.ApplicationAttributeProperty(
    name="name",
    values=["values"]
)
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.wafv2.*;

ApplicationAttributeProperty applicationAttributeProperty = ApplicationAttributeProperty.builder()
        .name("name")
        .values(List.of("values"))
        .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.WAFv2;

var applicationAttributeProperty = new ApplicationAttributeProperty {
    Name = "name",
    Values = new [] { "values" }
};
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"

applicationAttributeProperty := &ApplicationAttributeProperty{
	Name: jsii.String("name"),
	Values: []*string{
		jsii.String("values"),
	},
}

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
Specifies the attribute name.
valuesstring[]valuestyping.List[str]valuesList<String>Valuesstring[]Values*[]*stringrequired#
Specifies the attribute value.