File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (95 lines) | stat: -rw-r--r-- 2,662 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
	"time"
)

// An object with the permanent IAM role identity and the temporary session name.
type AssumedRoleUser struct {

	// The ARN of the IAM role that the temporary credentials authenticate to.
	//
	// This member is required.
	Arn *string

	// The session name of the temporary session requested to STS. The value is a
	// unique identifier that contains the role ID, a colon ( : ), and the role session
	// name of the role that is being assumed. The role ID is generated by IAM when the
	// role is created. The role session name part of the value follows this format:
	// eks-clustername-podname-random UUID
	//
	// This member is required.
	AssumeRoleId *string

	noSmithyDocumentSerde
}

// The Amazon Web Services Signature Version 4 type of temporary credentials.
type Credentials struct {

	// The access key ID that identifies the temporary security credentials.
	//
	// This member is required.
	AccessKeyId *string

	// The Unix epoch timestamp in seconds when the current credentials expire.
	//
	// This member is required.
	Expiration *time.Time

	// The secret access key that applications inside the pods use to sign requests.
	//
	// This member is required.
	SecretAccessKey *string

	// The token that applications inside the pods must pass to any service API to use
	// the temporary credentials.
	//
	// This member is required.
	SessionToken *string

	noSmithyDocumentSerde
}

// Amazon EKS Pod Identity associations provide the ability to manage credentials
// for your applications, similar to the way that Amazon EC2 instance profiles
// provide credentials to Amazon EC2 instances.
type PodIdentityAssociation struct {

	// The Amazon Resource Name (ARN) of the EKS Pod Identity association.
	//
	// This member is required.
	AssociationArn *string

	// The ID of the association.
	//
	// This member is required.
	AssociationId *string

	noSmithyDocumentSerde
}

// An object containing the name of the Kubernetes service account inside the
// cluster to associate the IAM credentials with.
type Subject struct {

	// The name of the Kubernetes namespace inside the cluster to create the
	// association in. The service account and the pods that use the service account
	// must be in this namespace.
	//
	// This member is required.
	Namespace *string

	// The name of the Kubernetes service account inside the cluster to associate the
	// IAM credentials with.
	//
	// This member is required.
	ServiceAccount *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde