Class CfnResolverQueryLoggingConfig

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:32.718Z") @Stability(Stable) public class CfnResolverQueryLoggingConfig extends CfnResource implements IInspectable
The AWS::Route53Resolver::ResolverQueryLoggingConfig resource is a complex type that contains settings for one query logging configuration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53resolver.*;
 CfnResolverQueryLoggingConfig cfnResolverQueryLoggingConfig = CfnResolverQueryLoggingConfig.Builder.create(this, "MyCfnResolverQueryLoggingConfig")
         .destinationArn("destinationArn")
         .name("name")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnResolverQueryLoggingConfig

      protected CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnResolverQueryLoggingConfig

      protected CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnResolverQueryLoggingConfig

      @Stability(Stable) public CfnResolverQueryLoggingConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnResolverQueryLoggingConfigProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnResolverQueryLoggingConfig

      @Stability(Stable) public CfnResolverQueryLoggingConfig(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) for the query logging configuration.
    • getAttrAssociationCount

      @Stability(Stable) @NotNull public Number getAttrAssociationCount()
      The number of VPCs that are associated with the query logging configuration.
    • getAttrCreationTime

      @Stability(Stable) @NotNull public String getAttrCreationTime()
      The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).
    • getAttrCreatorRequestId

      @Stability(Stable) @NotNull public String getAttrCreatorRequestId()
      A unique string that identifies the request that created the query logging configuration.

      The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.

    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The ID for the query logging configuration.
    • getAttrOwnerId

      @Stability(Stable) @NotNull public String getAttrOwnerId()
      The AWS account ID for the account that created the query logging configuration.
    • getAttrShareStatus

      @Stability(Stable) @NotNull public String getAttrShareStatus()
      An indication of whether the query logging configuration is shared with other AWS account s, or was shared with the current account by another AWS account .

      Sharing is configured through AWS Resource Access Manager ( AWS RAM ).

    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the specified query logging configuration. Valid values include the following:.

      • CREATING : Resolver is creating the query logging configuration.
      • CREATED : The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC.
      • DELETING : Resolver is deleting this query logging configuration.
      • FAILED : Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes:
      • The specified destination (for example, an Amazon S3 bucket) was deleted.
      • Permissions don't allow sending logs to the destination.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getDestinationArn

      @Stability(Stable) @Nullable public String getDestinationArn()
      The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.
    • setDestinationArn

      @Stability(Stable) public void setDestinationArn(@Nullable String value)
      The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the query logging configuration.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the query logging configuration.