@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:53.574Z") @Stability(value=Stable) public class CfnCanary extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnCanary.Builder
A fluent builder for
CfnCanary. |
static interface |
CfnCanary.CodeProperty |
static interface |
CfnCanary.RunConfigProperty |
static interface |
CfnCanary.ScheduleProperty |
static interface |
CfnCanary.VPCConfigProperty |
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 |
|---|---|
|
CfnCanary(software.constructs.Construct scope,
String id,
CfnCanaryProps props)
Create a new `AWS::Synthetics::Canary`.
|
protected |
CfnCanary(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCanary(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactS3Location()
`AWS::Synthetics::Canary.ArtifactS3Location`.
|
String |
getAttrId() |
String |
getAttrState() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getCode()
`AWS::Synthetics::Canary.Code`.
|
String |
getExecutionRoleArn()
`AWS::Synthetics::Canary.ExecutionRoleArn`.
|
Number |
getFailureRetentionPeriod()
`AWS::Synthetics::Canary.FailureRetentionPeriod`.
|
String |
getName()
`AWS::Synthetics::Canary.Name`.
|
Object |
getRunConfig()
`AWS::Synthetics::Canary.RunConfig`.
|
String |
getRuntimeVersion()
`AWS::Synthetics::Canary.RuntimeVersion`.
|
Object |
getSchedule()
`AWS::Synthetics::Canary.Schedule`.
|
Object |
getStartCanaryAfterCreation()
`AWS::Synthetics::Canary.StartCanaryAfterCreation`.
|
Number |
getSuccessRetentionPeriod()
`AWS::Synthetics::Canary.SuccessRetentionPeriod`.
|
TagManager |
getTags()
`AWS::Synthetics::Canary.Tags`.
|
Object |
getVpcConfig()
`AWS::Synthetics::Canary.VPCConfig`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setArtifactS3Location(String value)
`AWS::Synthetics::Canary.ArtifactS3Location`.
|
void |
setCode(CfnCanary.CodeProperty value)
`AWS::Synthetics::Canary.Code`.
|
void |
setCode(IResolvable value)
`AWS::Synthetics::Canary.Code`.
|
void |
setExecutionRoleArn(String value)
`AWS::Synthetics::Canary.ExecutionRoleArn`.
|
void |
setFailureRetentionPeriod(Number value)
`AWS::Synthetics::Canary.FailureRetentionPeriod`.
|
void |
setName(String value)
`AWS::Synthetics::Canary.Name`.
|
void |
setRunConfig(CfnCanary.RunConfigProperty value)
`AWS::Synthetics::Canary.RunConfig`.
|
void |
setRunConfig(IResolvable value)
`AWS::Synthetics::Canary.RunConfig`.
|
void |
setRuntimeVersion(String value)
`AWS::Synthetics::Canary.RuntimeVersion`.
|
void |
setSchedule(CfnCanary.ScheduleProperty value)
`AWS::Synthetics::Canary.Schedule`.
|
void |
setSchedule(IResolvable value)
`AWS::Synthetics::Canary.Schedule`.
|
void |
setStartCanaryAfterCreation(Boolean value)
`AWS::Synthetics::Canary.StartCanaryAfterCreation`.
|
void |
setStartCanaryAfterCreation(IResolvable value)
`AWS::Synthetics::Canary.StartCanaryAfterCreation`.
|
void |
setSuccessRetentionPeriod(Number value)
`AWS::Synthetics::Canary.SuccessRetentionPeriod`.
|
void |
setVpcConfig(CfnCanary.VPCConfigProperty value)
`AWS::Synthetics::Canary.VPCConfig`.
|
void |
setVpcConfig(IResolvable value)
`AWS::Synthetics::Canary.VPCConfig`.
|
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 CfnCanary(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCanary(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCanary(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnCanaryProps 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 getAttrId()
@Stability(value=Stable) @NotNull public String getAttrState()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getArtifactS3Location()
@Stability(value=Stable)
public void setArtifactS3Location(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getCode()
@Stability(value=Stable)
public void setCode(@NotNull
CfnCanary.CodeProperty value)
@Stability(value=Stable)
public void setCode(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getExecutionRoleArn()
@Stability(value=Stable)
public void setExecutionRoleArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getRuntimeVersion()
@Stability(value=Stable)
public void setRuntimeVersion(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getSchedule()
@Stability(value=Stable)
public void setSchedule(@NotNull
CfnCanary.ScheduleProperty value)
@Stability(value=Stable)
public void setSchedule(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public Object getStartCanaryAfterCreation()
@Stability(value=Stable)
public void setStartCanaryAfterCreation(@NotNull
Boolean value)
@Stability(value=Stable)
public void setStartCanaryAfterCreation(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public Number getFailureRetentionPeriod()
@Stability(value=Stable)
public void setFailureRetentionPeriod(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getRunConfig()
@Stability(value=Stable)
public void setRunConfig(@Nullable
CfnCanary.RunConfigProperty value)
@Stability(value=Stable)
public void setRunConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Number getSuccessRetentionPeriod()
@Stability(value=Stable)
public void setSuccessRetentionPeriod(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getVpcConfig()
@Stability(value=Stable)
public void setVpcConfig(@Nullable
CfnCanary.VPCConfigProperty value)
@Stability(value=Stable)
public void setVpcConfig(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.