Class: Aws::SSM::Types::CreateOpsMetadataRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass CreateOpsMetadataRequest data as a hash:

{
  resource_id: "OpsMetadataResourceId", # required
  metadata: {
    "MetadataKey" => {
      value: "MetadataValueString",
    },
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metadataHash<String,Types::MetadataValue>

Metadata for a new Application Manager application.

Returns:


3893
3894
3895
3896
3897
3898
3899
# File 'lib/aws-sdk-ssm/types.rb', line 3893

class CreateOpsMetadataRequest < Struct.new(
  :resource_id,
  :metadata,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

A resource ID for a new Application Manager application.

Returns:

  • (String)

3893
3894
3895
3896
3897
3898
3899
# File 'lib/aws-sdk-ssm/types.rb', line 3893

class CreateOpsMetadataRequest < Struct.new(
  :resource_id,
  :metadata,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:

  • `Key=Environment,Value=Production`

  • `Key=Region,Value=us-east-2`

Returns:


3893
3894
3895
3896
3897
3898
3899
# File 'lib/aws-sdk-ssm/types.rb', line 3893

class CreateOpsMetadataRequest < Struct.new(
  :resource_id,
  :metadata,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end