Skip to content
v2.278.0

LoggingConfigurationReference Struct ​

A reference to a LoggingConfiguration resource.

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 loggingConfigurationReference: interfaces_wafv2.LoggingConfigurationReference = {
  resourceArn: 'resourceArn',
};
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

logging_configuration_reference = interfaces_wafv2.LoggingConfigurationReference(
    resource_arn="resourceArn"
)
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.*;

LoggingConfigurationReference loggingConfigurationReference = LoggingConfigurationReference.builder()
        .resourceArn("resourceArn")
        .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 loggingConfigurationReference = new LoggingConfigurationReference {
    ResourceArn = "resourceArn"
};
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"

loggingConfigurationReference := &LoggingConfigurationReference{
	ResourceArn: jsii.String("resourceArn"),
}

Properties ​

resourceArnstringresource_arnstrresourceArnStringResourceArnstringResourceArn*string required #
The ResourceArn of the LoggingConfiguration resource.