aws

package
v1.0.2-develop.3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ApiGateway

type ApiGateway struct {
	pulumi.ResourceState

	Name string
	Api  *apigatewayv2.Api
}

type ApiGatewayArgs

type ApiGatewayArgs struct {
	OpenAPISpec     *openapi3.T
	LambdaFunctions map[string]*Lambda
}

type Lambda

type Lambda struct {
	pulumi.ResourceState

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

type LambdaArgs

type LambdaArgs struct {
	Topics      map[string]*sns.Topic
	DockerImage *docker.Image
	Compute     stack.Compute
}

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
}

type StackResources

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

Jump to

Keyboard shortcuts

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