Class CfnResolverQueryLoggingConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.392Z")
@Stability(Stable)
public class CfnResolverQueryLoggingConfig
extends CfnResource
implements IInspectable
A CloudFormation
AWS::Route53Resolver::ResolverQueryLoggingConfig.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnResolverQueryLoggingConfig.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnResolverQueryLoggingConfig(Construct scope, String id) Create a newAWS::Route53Resolver::ResolverQueryLoggingConfig.CfnResolverQueryLoggingConfig(Construct scope, String id, CfnResolverQueryLoggingConfigProps props) Create a newAWS::Route53Resolver::ResolverQueryLoggingConfig.protectedCfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for the query logging configuration.The number of VPCs that are associated with the query logging configuration.The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).A unique string that identifies the request that created the query logging configuration.The ID for the query logging configuration.The AWS account ID for the account that created the query logging configuration.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 .The status of the specified query logging configuration.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()The name of the query logging configuration.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDestinationArn(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.voidThe name of the query logging configuration.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 Construct scope, @NotNull String id, @Nullable CfnResolverQueryLoggingConfigProps props) Create a newAWS::Route53Resolver::ResolverQueryLoggingConfig.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
CfnResolverQueryLoggingConfig
@Stability(Stable) public CfnResolverQueryLoggingConfig(@NotNull Construct scope, @NotNull String id) Create a newAWS::Route53Resolver::ResolverQueryLoggingConfig.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) for the query logging configuration. -
getAttrAssociationCount
The number of VPCs that are associated with the query logging configuration. -
getAttrCreationTime
The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC). -
getAttrCreatorRequestId
A unique string that identifies the request that created the query logging configuration.The
CreatorRequestIdallows failed requests to be retried without the risk of running the operation twice. -
getAttrId
The ID for the query logging configuration. -
getAttrOwnerId
The AWS account ID for the account that created the query logging configuration. -
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
- Overrides:
getCfnPropertiesin classCfnResource
-
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
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
The name of the query logging configuration. -
setName
The name of the query logging configuration.
-