@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:56.154Z") 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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnResolverQueryLoggingConfig.Builder
A fluent builder for
CfnResolverQueryLoggingConfig . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnResolverQueryLoggingConfig(Construct scope,
java.lang.String id)
Create a new `AWS::Route53Resolver::ResolverQueryLoggingConfig`.
|
|
CfnResolverQueryLoggingConfig(Construct scope,
java.lang.String id,
CfnResolverQueryLoggingConfigProps props)
Create a new `AWS::Route53Resolver::ResolverQueryLoggingConfig`.
|
protected |
CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The Amazon Resource Name (ARN) for the query logging configuration.
|
java.lang.Number |
getAttrAssociationCount()
The number of VPCs that are associated with the query logging configuration.
|
java.lang.String |
getAttrCreationTime()
The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).
|
java.lang.String |
getAttrCreatorRequestId()
A unique string that identifies the request that created the query logging configuration.
|
java.lang.String |
getAttrId()
The ID for the query logging configuration.
|
java.lang.String |
getAttrOwnerId()
The AWS account ID for the account that created the query logging configuration.
|
java.lang.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 .
|
java.lang.String |
getAttrStatus()
The status of the specified query logging configuration.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.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.
|
java.lang.String |
getName()
The name of the query logging configuration.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDestinationArn(java.lang.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.
|
void |
setName(java.lang.String value)
The name of the query logging configuration.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResolverQueryLoggingConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnResolverQueryLoggingConfig(Construct scope, java.lang.String id, CfnResolverQueryLoggingConfigProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties.public CfnResolverQueryLoggingConfig(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.Number getAttrAssociationCount()
public java.lang.String getAttrCreationTime()
public java.lang.String getAttrCreatorRequestId()
The CreatorRequestId
allows failed requests to be retried without the risk of running the operation twice.
public java.lang.String getAttrId()
public java.lang.String getAttrOwnerId()
public java.lang.String getAttrShareStatus()
Sharing is configured through AWS Resource Access Manager ( AWS RAM ).
public java.lang.String getAttrStatus()
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:protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getDestinationArn()
public void setDestinationArn(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)