@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.837Z") @Stability(value=Stable) public class CfnMonitoringSchedule 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.sagemaker.*;
CfnMonitoringSchedule cfnMonitoringSchedule = CfnMonitoringSchedule.Builder.create(this, "MyCfnMonitoringSchedule")
.monitoringScheduleConfig(MonitoringScheduleConfigProperty.builder()
.monitoringJobDefinition(MonitoringJobDefinitionProperty.builder()
.monitoringAppSpecification(MonitoringAppSpecificationProperty.builder()
.imageUri("imageUri")
// the properties below are optional
.containerArguments(List.of("containerArguments"))
.containerEntrypoint(List.of("containerEntrypoint"))
.postAnalyticsProcessorSourceUri("postAnalyticsProcessorSourceUri")
.recordPreprocessorSourceUri("recordPreprocessorSourceUri")
.build())
.monitoringInputs(List.of(MonitoringInputProperty.builder()
.endpointInput(EndpointInputProperty.builder()
.endpointName("endpointName")
.localPath("localPath")
// the properties below are optional
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.build()))
.monitoringOutputConfig(MonitoringOutputConfigProperty.builder()
.monitoringOutputs(List.of(MonitoringOutputProperty.builder()
.s3Output(S3OutputProperty.builder()
.localPath("localPath")
.s3Uri("s3Uri")
// the properties below are optional
.s3UploadMode("s3UploadMode")
.build())
.build()))
// the properties below are optional
.kmsKeyId("kmsKeyId")
.build())
.monitoringResources(MonitoringResourcesProperty.builder()
.clusterConfig(ClusterConfigProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
.volumeSizeInGb(123)
// the properties below are optional
.volumeKmsKeyId("volumeKmsKeyId")
.build())
.build())
.roleArn("roleArn")
// the properties below are optional
.baselineConfig(BaselineConfigProperty.builder()
.constraintsResource(ConstraintsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.statisticsResource(StatisticsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.build())
.environment(Map.of(
"environmentKey", "environment"))
.networkConfig(NetworkConfigProperty.builder()
.enableInterContainerTrafficEncryption(false)
.enableNetworkIsolation(false)
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build())
.build())
.stoppingCondition(StoppingConditionProperty.builder()
.maxRuntimeInSeconds(123)
.build())
.build())
.monitoringJobDefinitionName("monitoringJobDefinitionName")
.monitoringType("monitoringType")
.scheduleConfig(ScheduleConfigProperty.builder()
.scheduleExpression("scheduleExpression")
.build())
.build())
.monitoringScheduleName("monitoringScheduleName")
// the properties below are optional
.endpointName("endpointName")
.failureReason("failureReason")
.lastMonitoringExecutionSummary(MonitoringExecutionSummaryProperty.builder()
.creationTime("creationTime")
.lastModifiedTime("lastModifiedTime")
.monitoringExecutionStatus("monitoringExecutionStatus")
.monitoringScheduleName("monitoringScheduleName")
.scheduledTime("scheduledTime")
// the properties below are optional
.endpointName("endpointName")
.failureReason("failureReason")
.processingJobArn("processingJobArn")
.build())
.monitoringScheduleStatus("monitoringScheduleStatus")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
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 |
|---|---|
|
CfnMonitoringSchedule(software.constructs.Construct scope,
String id,
CfnMonitoringScheduleProps props)
Create a new `AWS::SageMaker::MonitoringSchedule`.
|
protected |
CfnMonitoringSchedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnMonitoringSchedule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrCreationTime() |
String |
getAttrLastModifiedTime() |
String |
getAttrMonitoringScheduleArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getEndpointName()
`AWS::SageMaker::MonitoringSchedule.EndpointName`.
|
String |
getFailureReason()
`AWS::SageMaker::MonitoringSchedule.FailureReason`.
|
Object |
getLastMonitoringExecutionSummary()
`AWS::SageMaker::MonitoringSchedule.LastMonitoringExecutionSummary`.
|
Object |
getMonitoringScheduleConfig()
`AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig`.
|
String |
getMonitoringScheduleName()
`AWS::SageMaker::MonitoringSchedule.MonitoringScheduleName`.
|
String |
getMonitoringScheduleStatus()
`AWS::SageMaker::MonitoringSchedule.MonitoringScheduleStatus`.
|
TagManager |
getTags()
`AWS::SageMaker::MonitoringSchedule.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setEndpointName(String value)
`AWS::SageMaker::MonitoringSchedule.EndpointName`.
|
void |
setFailureReason(String value)
`AWS::SageMaker::MonitoringSchedule.FailureReason`.
|
void |
setLastMonitoringExecutionSummary(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty value)
`AWS::SageMaker::MonitoringSchedule.LastMonitoringExecutionSummary`.
|
void |
setLastMonitoringExecutionSummary(IResolvable value)
`AWS::SageMaker::MonitoringSchedule.LastMonitoringExecutionSummary`.
|
void |
setMonitoringScheduleConfig(CfnMonitoringSchedule.MonitoringScheduleConfigProperty value)
`AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig`.
|
void |
setMonitoringScheduleConfig(IResolvable value)
`AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig`.
|
void |
setMonitoringScheduleName(String value)
`AWS::SageMaker::MonitoringSchedule.MonitoringScheduleName`.
|
void |
setMonitoringScheduleStatus(String value)
`AWS::SageMaker::MonitoringSchedule.MonitoringScheduleStatus`.
|
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 CfnMonitoringSchedule(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMonitoringSchedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnMonitoringSchedule(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnMonitoringScheduleProps 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 getAttrCreationTime()
@Stability(value=Stable) @NotNull public String getAttrLastModifiedTime()
@Stability(value=Stable) @NotNull public String getAttrMonitoringScheduleArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getEndpointName()
@Stability(value=Stable)
public void setEndpointName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getFailureReason()
@Stability(value=Stable)
public void setFailureReason(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getLastMonitoringExecutionSummary()
@Stability(value=Stable)
public void setLastMonitoringExecutionSummary(@Nullable
CfnMonitoringSchedule.MonitoringExecutionSummaryProperty value)
@Stability(value=Stable)
public void setLastMonitoringExecutionSummary(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public Object getMonitoringScheduleConfig()
@Stability(value=Stable)
public void setMonitoringScheduleConfig(@NotNull
CfnMonitoringSchedule.MonitoringScheduleConfigProperty value)
@Stability(value=Stable)
public void setMonitoringScheduleConfig(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getMonitoringScheduleName()
@Stability(value=Stable)
public void setMonitoringScheduleName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getMonitoringScheduleStatus()
@Stability(value=Stable)
public void setMonitoringScheduleStatus(@Nullable
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.