aws

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p *project.Project, name string, envMap map[string]string) (common.PulumiProvider, error)

Types

type ApiGateway

type ApiGateway struct {
	pulumi.ResourceState

	Name string
	Api  *apigatewayv2.Api
}

type ApiGatewayArgs

type ApiGatewayArgs struct {
	SecurityDefintions map[string]*v1.ApiSecurityDefinition
	OpenAPISpec        *openapi3.T
	LambdaFunctions    map[string]*Lambda
	StackID            pulumi.StringInput
}

type Lambda

type Lambda struct {
	pulumi.ResourceState

	Name     string
	Function *awslambda.Function
	Role     *iam.Role
}

type LambdaArgs

type LambdaArgs struct {
	Client      lambdaiface.LambdaAPI
	StackID     pulumi.StringInput
	Topics      map[string]*Topic
	DockerImage *common.Image
	Compute     project.Compute
	EnvMap      map[string]string
}

type Policy

type Policy struct {
	pulumi.ResourceState

	Name         string
	RolePolicies []*iam.RolePolicy
}

type PolicyArgs

type PolicyArgs struct {
	Policy *v1.PolicyResource
	// Resources in the stack that must be protected
	Resources *StackResources
	// Resources in the stack that may act as actors
	Principals PrincipalMap
}

type PrincipalMap

type PrincipalMap = map[v1.ResourceType]map[string]*iam.Role

type Schedule

type Schedule struct {
	pulumi.ResourceState

	Name        string
	EventRule   *cloudwatch.EventRule
	EventTarget *cloudwatch.EventTarget
}

type ScheduleArgs

type ScheduleArgs struct {
	Expression string
	TopicArn   pulumi.StringOutput
	TopicName  pulumi.StringInput
	StackID    pulumi.StringInput
}

type StackResources

type StackResources struct {
	Topics      map[string]*Topic
	Queues      map[string]*sqs.Queue
	Buckets     map[string]*s3.Bucket
	Collections map[string]*dynamodb.Table
	Secrets     map[string]*secretsmanager.Secret
}

type Topic added in v1.12.0

type Topic struct {
	pulumi.ResourceState
	Name string
	Sns  *sns.Topic
	Sfn  *sfn.StateMachine
}

type TopicArgs added in v1.12.0

type TopicArgs struct {
	StackID pulumi.StringInput
	Topic   project.Topic
}

Jump to

Keyboard shortcuts

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