Documentation ¶
Overview ¶
nolint: gosec
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadMetadata ¶
func LoadMetadata(metadataBytes []byte) (*metadata.CloudAPIMetadata, error)
LoadMetadata deserializes the provided compressed json byte array into a CloudAPIMetadata struct.
func NewAwsNativeProvider ¶
func NewAwsNativeProvider(host *provider.HostClient, name, version string, pulumiSchema, cloudAPIResourcesBytes []byte) (pulumirpc.ResourceProviderServer, error)
Types ¶
type ProviderAssumeRole ¶
type ProviderAssumeRole struct { // Number of seconds to restrict the assume role session duration. DurationSeconds *int `json:"durationSeconds"` // External identifier to use when assuming the role. ExternalId *string `json:"externalId"` // IAM Policy JSON describing further restricting permissions for the IAM Role being assumed. Policy *string `json:"policy"` // Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the role. PolicyArns []string `json:"policyArns"` // Amazon Resource Name (ARN) of the IAM Role to assume. RoleArn *string `json:"roleArn"` // Session name to use when assuming the role. SessionName *string `json:"sessionName"` // Map of assume role session tags. Tags map[string]string `json:"tags"` // A list of keys for session tags that you want to set as transitive. If you set a tag key as transitive, the corresponding key and value passes to subsequent sessions in a role chain. TransitiveTagKeys []string `json:"transitiveTagKeys"` }
The configuration for a Provider to assume a role.
Click to show internal directories.
Click to hide internal directories.