@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.553Z") @Stability(value=Stable) public class CfnScheduledQuery extends CfnResource implements IInspectable
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.timestream.*;
CfnScheduledQuery cfnScheduledQuery = CfnScheduledQuery.Builder.create(this, "MyCfnScheduledQuery")
.errorReportConfiguration(ErrorReportConfigurationProperty.builder()
.s3Configuration(S3ConfigurationProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.encryptionOption("encryptionOption")
.objectKeyPrefix("objectKeyPrefix")
.build())
.build())
.notificationConfiguration(NotificationConfigurationProperty.builder()
.snsConfiguration(SnsConfigurationProperty.builder()
.topicArn("topicArn")
.build())
.build())
.queryString("queryString")
.scheduleConfiguration(ScheduleConfigurationProperty.builder()
.scheduleExpression("scheduleExpression")
.build())
.scheduledQueryExecutionRoleArn("scheduledQueryExecutionRoleArn")
// the properties below are optional
.clientToken("clientToken")
.kmsKeyId("kmsKeyId")
.scheduledQueryName("scheduledQueryName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetConfiguration(TargetConfigurationProperty.builder()
.timestreamConfiguration(TimestreamConfigurationProperty.builder()
.databaseName("databaseName")
.dimensionMappings(List.of(DimensionMappingProperty.builder()
.dimensionValueType("dimensionValueType")
.name("name")
.build()))
.tableName("tableName")
.timeColumn("timeColumn")
// the properties below are optional
.measureNameColumn("measureNameColumn")
.mixedMeasureMappings(List.of(MixedMeasureMappingProperty.builder()
.measureValueType("measureValueType")
// the properties below are optional
.measureName("measureName")
.multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder()
.measureValueType("measureValueType")
.sourceColumn("sourceColumn")
// the properties below are optional
.targetMultiMeasureAttributeName("targetMultiMeasureAttributeName")
.build()))
.sourceColumn("sourceColumn")
.targetMeasureName("targetMeasureName")
.build()))
.multiMeasureMappings(MultiMeasureMappingsProperty.builder()
.multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder()
.measureValueType("measureValueType")
.sourceColumn("sourceColumn")
// the properties below are optional
.targetMultiMeasureAttributeName("targetMultiMeasureAttributeName")
.build()))
// the properties below are optional
.targetMultiMeasureName("targetMultiMeasureName")
.build())
.build())
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnScheduledQuery.Builder
A fluent builder for
CfnScheduledQuery. |
static interface |
CfnScheduledQuery.DimensionMappingProperty
Example:
|
static interface |
CfnScheduledQuery.ErrorReportConfigurationProperty
Example:
|
static interface |
CfnScheduledQuery.MixedMeasureMappingProperty
Example:
|
static interface |
CfnScheduledQuery.MultiMeasureAttributeMappingProperty
Example:
|
static interface |
CfnScheduledQuery.MultiMeasureMappingsProperty
Example:
|
static interface |
CfnScheduledQuery.NotificationConfigurationProperty
Example:
|
static interface |
CfnScheduledQuery.S3ConfigurationProperty
Example:
|
static interface |
CfnScheduledQuery.ScheduleConfigurationProperty
Example:
|
static interface |
CfnScheduledQuery.SnsConfigurationProperty
Example:
|
static interface |
CfnScheduledQuery.TargetConfigurationProperty
Example:
|
static interface |
CfnScheduledQuery.TimestreamConfigurationProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnScheduledQuery(software.constructs.Construct scope,
String id,
CfnScheduledQueryProps props)
Create a new `AWS::Timestream::ScheduledQuery`.
|
protected |
CfnScheduledQuery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnScheduledQuery(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrSqErrorReportConfiguration() |
String |
getAttrSqKmsKeyId() |
String |
getAttrSqName() |
String |
getAttrSqNotificationConfiguration() |
String |
getAttrSqQueryString() |
String |
getAttrSqScheduleConfiguration() |
String |
getAttrSqScheduledQueryExecutionRoleArn() |
String |
getAttrSqTargetConfiguration() |
protected Map<String,Object> |
getCfnProperties() |
String |
getClientToken()
`AWS::Timestream::ScheduledQuery.ClientToken`.
|
Object |
getErrorReportConfiguration()
`AWS::Timestream::ScheduledQuery.ErrorReportConfiguration`.
|
String |
getKmsKeyId()
`AWS::Timestream::ScheduledQuery.KmsKeyId`.
|
Object |
getNotificationConfiguration()
`AWS::Timestream::ScheduledQuery.NotificationConfiguration`.
|
String |
getQueryString()
`AWS::Timestream::ScheduledQuery.QueryString`.
|
Object |
getScheduleConfiguration()
`AWS::Timestream::ScheduledQuery.ScheduleConfiguration`.
|
String |
getScheduledQueryExecutionRoleArn()
`AWS::Timestream::ScheduledQuery.ScheduledQueryExecutionRoleArn`.
|
String |
getScheduledQueryName()
`AWS::Timestream::ScheduledQuery.ScheduledQueryName`.
|
TagManager |
getTags()
`AWS::Timestream::ScheduledQuery.Tags`.
|
Object |
getTargetConfiguration()
`AWS::Timestream::ScheduledQuery.TargetConfiguration`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setClientToken(String value)
`AWS::Timestream::ScheduledQuery.ClientToken`.
|
void |
setErrorReportConfiguration(CfnScheduledQuery.ErrorReportConfigurationProperty value)
`AWS::Timestream::ScheduledQuery.ErrorReportConfiguration`.
|
void |
setErrorReportConfiguration(IResolvable value)
`AWS::Timestream::ScheduledQuery.ErrorReportConfiguration`.
|
void |
setKmsKeyId(String value)
`AWS::Timestream::ScheduledQuery.KmsKeyId`.
|
void |
setNotificationConfiguration(CfnScheduledQuery.NotificationConfigurationProperty value)
`AWS::Timestream::ScheduledQuery.NotificationConfiguration`.
|
void |
setNotificationConfiguration(IResolvable value)
`AWS::Timestream::ScheduledQuery.NotificationConfiguration`.
|
void |
setQueryString(String value)
`AWS::Timestream::ScheduledQuery.QueryString`.
|
void |
setScheduleConfiguration(CfnScheduledQuery.ScheduleConfigurationProperty value)
`AWS::Timestream::ScheduledQuery.ScheduleConfiguration`.
|
void |
setScheduleConfiguration(IResolvable value)
`AWS::Timestream::ScheduledQuery.ScheduleConfiguration`.
|
void |
setScheduledQueryExecutionRoleArn(String value)
`AWS::Timestream::ScheduledQuery.ScheduledQueryExecutionRoleArn`.
|
void |
setScheduledQueryName(String value)
`AWS::Timestream::ScheduledQuery.ScheduledQueryName`.
|
void |
setTargetConfiguration(CfnScheduledQuery.TargetConfigurationProperty value)
`AWS::Timestream::ScheduledQuery.TargetConfiguration`.
|
void |
setTargetConfiguration(IResolvable value)
`AWS::Timestream::ScheduledQuery.TargetConfiguration`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnScheduledQuery(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnScheduledQuery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnScheduledQuery(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnScheduledQueryProps 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. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrSqErrorReportConfiguration()
@Stability(value=Stable) @NotNull public String getAttrSqKmsKeyId()
@Stability(value=Stable) @NotNull public String getAttrSqName()
@Stability(value=Stable) @NotNull public String getAttrSqNotificationConfiguration()
@Stability(value=Stable) @NotNull public String getAttrSqQueryString()
@Stability(value=Stable) @NotNull public String getAttrSqScheduleConfiguration()
@Stability(value=Stable) @NotNull public String getAttrSqScheduledQueryExecutionRoleArn()
@Stability(value=Stable) @NotNull public String getAttrSqTargetConfiguration()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getClientToken()
@Stability(value=Stable)
public void setClientToken(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getErrorReportConfiguration()
@Stability(value=Stable)
public void setErrorReportConfiguration(@NotNull
CfnScheduledQuery.ErrorReportConfigurationProperty value)
@Stability(value=Stable)
public void setErrorReportConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public String getKmsKeyId()
@Stability(value=Stable)
public void setKmsKeyId(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getNotificationConfiguration()
@Stability(value=Stable)
public void setNotificationConfiguration(@NotNull
CfnScheduledQuery.NotificationConfigurationProperty value)
@Stability(value=Stable)
public void setNotificationConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getQueryString()
@Stability(value=Stable)
public void setQueryString(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getScheduleConfiguration()
@Stability(value=Stable)
public void setScheduleConfiguration(@NotNull
CfnScheduledQuery.ScheduleConfigurationProperty value)
@Stability(value=Stable)
public void setScheduleConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getScheduledQueryExecutionRoleArn()
@Stability(value=Stable)
public void setScheduledQueryExecutionRoleArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getScheduledQueryName()
@Stability(value=Stable)
public void setScheduledQueryName(@Nullable
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getTargetConfiguration()
@Stability(value=Stable)
public void setTargetConfiguration(@Nullable
CfnScheduledQuery.TargetConfigurationProperty value)
@Stability(value=Stable)
public void setTargetConfiguration(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.