aws.sagemaker resources

aws.sagemaker-endpoint

Actions

delete

Delete a SageMaker endpoint

example

policies:
  - name: delete-sagemaker-endpoint
    resource: sagemaker-endpoint
    filters:
      - EndpointName: sagemaker-ep--2018-01-01-00-00-00
    actions:
      - type: delete
properties:
  type:
    enum:
    - delete
required:
- type

aws.sagemaker-endpoint-config

Actions

delete

Delete a SageMaker endpoint

example

policies:
  - name: delete-sagemaker-endpoint-config
    resource: sagemaker-endpoint-config
    filters:
      - EndpointConfigName: sagemaker-2018-01-01-00-00-00-T00
    actions:
      - delete
properties:
  type:
    enum:
    - delete
required:
- type

aws.sagemaker-job

Actions

stop

Stops a SageMaker job

example

policies:
  - name: stop-ml-job
    resource: sagemaker-job
    filters:
      - TrainingJobName: ml-job-10
    actions:
      - stop
properties:
  type:
    enum:
    - stop
required:
- type

aws.sagemaker-model

Actions

delete

Deletes sagemaker-model(s)

example

policies:
  - name: delete-sagemaker-model
    resource: sagemaker-model
    filters:
      - "tag:DeleteMe": present
    actions:
      - delete
properties:
  type:
    enum:
    - delete
required:
- type

aws.sagemaker-notebook

Actions

delete

Deletes sagemaker-notebook(s)

example

policies:
  - name: delete-sagemaker-notebook
    resource: sagemaker-notebook
    filters:
      - "tag:DeleteMe": present
    actions:
      - delete
properties:
  type:
    enum:
    - delete
required:
- type

start

Start sagemaker-notebook(s)

example

policies:
  - name: start-sagemaker-notebook
    resource: sagemaker-notebook
    actions:
      - start
properties:
  type:
    enum:
    - start
required:
- type

stop

Stop sagemaker-notebook(s)

example

policies:
  - name: stop-sagemaker-notebook
    resource: sagemaker-notebook
    filters:
      - "tag:DeleteMe": present
    actions:
      - stop
properties:
  type:
    enum:
    - stop
required:
- type

aws.sagemaker-transform-job

Actions

stop

Stops a SageMaker Transform job

example

policies:
  - name: stop-tranform-job
    resource: sagemaker-transform-job
    filters:
      - TransformJobName: ml-job-10
    actions:
      - stop
properties:
  type:
    enum:
    - stop
required:
- type