iam

package
v0.0.393 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_universe_aws_iam_op_proto protoreflect.FileDescriptor

Functions

func RegisterGraphHandlers

func RegisterGraphHandlers()

Types

type Condition

type Condition struct {
	StringEquals []Condition_KeyValue
}

func (Condition) MarshalJSON

func (c Condition) MarshalJSON() ([]byte, error)

type Condition_KeyValue

type Condition_KeyValue struct {
	Key   string
	Value string
}

type OpAssociatePolicy

type OpAssociatePolicy struct {
	RoleName   string `protobuf:"bytes,1,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	PolicyName string `protobuf:"bytes,2,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
	PolicyJson string `protobuf:"bytes,3,opt,name=policy_json,json=policyJson,proto3" json:"policy_json,omitempty"` // Serialized iam.PolicyDocument.
	// contains filtered or unexported fields
}

func (*OpAssociatePolicy) Descriptor deprecated

func (*OpAssociatePolicy) Descriptor() ([]byte, []int)

Deprecated: Use OpAssociatePolicy.ProtoReflect.Descriptor instead.

func (*OpAssociatePolicy) GetPolicyJson

func (x *OpAssociatePolicy) GetPolicyJson() string

func (*OpAssociatePolicy) GetPolicyName

func (x *OpAssociatePolicy) GetPolicyName() string

func (*OpAssociatePolicy) GetRoleName

func (x *OpAssociatePolicy) GetRoleName() string

func (*OpAssociatePolicy) ProtoMessage

func (*OpAssociatePolicy) ProtoMessage()

func (*OpAssociatePolicy) ProtoReflect

func (x *OpAssociatePolicy) ProtoReflect() protoreflect.Message

func (*OpAssociatePolicy) Reset

func (x *OpAssociatePolicy) Reset()

func (*OpAssociatePolicy) String

func (x *OpAssociatePolicy) String() string

type OpEnsureRole

type OpEnsureRole struct {
	RoleName             string         `protobuf:"bytes,1,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
	Description          string         `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	AssumeRolePolicyJson string         `protobuf:"bytes,3,opt,name=assume_role_policy_json,json=assumeRolePolicyJson,proto3" json:"assume_role_policy_json,omitempty"` // Serialized iam.PolicyDocument.
	Tag                  []*Tag         `protobuf:"bytes,4,rep,name=tag,proto3" json:"tag,omitempty"`
	ForServer            *schema.Server `protobuf:"bytes,5,opt,name=for_server,json=forServer,proto3" json:"for_server,omitempty"` // If specified, will generate tags that associate the role with the server.
	// contains filtered or unexported fields
}

func (*OpEnsureRole) Descriptor deprecated

func (*OpEnsureRole) Descriptor() ([]byte, []int)

Deprecated: Use OpEnsureRole.ProtoReflect.Descriptor instead.

func (*OpEnsureRole) GetAssumeRolePolicyJson

func (x *OpEnsureRole) GetAssumeRolePolicyJson() string

func (*OpEnsureRole) GetDescription

func (x *OpEnsureRole) GetDescription() string

func (*OpEnsureRole) GetForServer

func (x *OpEnsureRole) GetForServer() *schema.Server

func (*OpEnsureRole) GetRoleName

func (x *OpEnsureRole) GetRoleName() string

func (*OpEnsureRole) GetTag

func (x *OpEnsureRole) GetTag() []*Tag

func (*OpEnsureRole) ProtoMessage

func (*OpEnsureRole) ProtoMessage()

func (*OpEnsureRole) ProtoReflect

func (x *OpEnsureRole) ProtoReflect() protoreflect.Message

func (*OpEnsureRole) Reset

func (x *OpEnsureRole) Reset()

func (*OpEnsureRole) String

func (x *OpEnsureRole) String() string

type PolicyDocument

type PolicyDocument struct {
	Version   string
	Statement []StatementEntry
}

type Principal

type Principal struct {
	Federated string `json:"Federated,omitempty"`
	AWS       string `json:"AWS,omitempty"`
}

type StatementEntry

type StatementEntry struct {
	Effect    string
	Principal *Principal `json:"Principal,omitempty"`
	Action    []string   `json:"Action,omitempty"`
	Resource  []string   `json:"Resource,omitempty"`
	Condition *Condition `json:"Condition,omitempty"`
}

type Tag

type Tag struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

func (*Tag) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetKey

func (x *Tag) GetKey() string

func (*Tag) GetValue

func (x *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL