Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextParams ¶
type ContextParams struct {
Description string
Region string
Profile string
AwsID string
AwsSecret string
}
ContextParams options for creating AWS context
type PolicyDocument ¶
type PolicyDocument struct {
Version string `json:",omitempty"`
Statement []PolicyStatement `json:",omitempty"`
}
PolicyDocument describes an IAM policy document could alternatively depend on https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/cmd/clusterawsadm/api/iam/v1alpha1/types.go
type PolicyPrincipal ¶
type PolicyPrincipal struct {
Service string `json:",omitempty"`
}
PolicyPrincipal describes an IAM policy principal
type PolicyStatement ¶
type PolicyStatement struct {
Effect string `json:",omitempty"`
Action []string `json:",omitempty"`
Principal PolicyPrincipal `json:",omitempty"`
Resource []string `json:",omitempty"`
}
PolicyStatement describes an IAM policy statement
Source Files
¶
Click to show internal directories.
Click to hide internal directories.