provider

package
v0.0.0-...-0a377e8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

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)

func Serve

func Serve(version string, pulumiSchema, metadataBytes []byte)

Serve launches the gRPC server for the native Pulumi AWS resource provider.

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.

Jump to

Keyboard shortcuts

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