Table of Contents

Class Tag

Namespace
Amazon.SecurityToken.Model
Assembly
AWSSDK.SecurityToken.dll

You can pass custom key-value pair attributes when you assume a role or federate a user. These are called session tags. You can then use the session tags to control access to resources. For more information, see Tagging Amazon Web Services STS Sessions in the IAM User Guide.

public class Tag
Inheritance
Tag
Inherited Members

Constructors

Tag()

public Tag()

Properties

Key

Gets and sets the property Key.

The key for a session tag.

You can pass up to 50 session tags. The plain text session tag keys can’t exceed 128 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.

public string Key { get; set; }

Property Value

string

Value

Gets and sets the property Value.

The value for a session tag.

You can pass up to 50 session tags. The plain text session tag values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.

public string Value { get; set; }

Property Value

string