provider

package
v0.0.0-...-f379ba5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(providerName, version string, schema []byte)

Serve launches the gRPC server for the resource provider.

Types

type ApiLambda

type ApiLambda struct {
	pulumi.ResourceState
	// The name of the lambda resource
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of the lambda resource
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The role of the lambda resource
	Role iam.RoleOutput `pulumi:"role"`
	// The role of the lambda resource
	Function lambda.FunctionOutput `pulumi:"function"`
	// The role of the lambda resource
	Route apigatewayv2.Route `pulumi:"route"`
}

The ApiLambda component resource.

func NewApiLambda

func NewApiLambda(ctx *pulumi.Context,
	name string, args *ApiLambdaArgs, opts ...pulumi.ResourceOption) (*ApiLambda, error)

NewApiLambda creates a new Lambda component resource.

type ApiLambdaArgs

type ApiLambdaArgs struct {
	// The APIs execution ARN
	UserPoolId pulumi.IDInput `pulumi:"userPoolId"`
	// The the path to the .zip for the lambda code
	CodePath pulumi.StringInput `pulumi:"codePath"`
	// The handler for the lambda function
	HandlerPath pulumi.StringInput `pulumi:"handlerPath"`
	// The API ID for the API route
	ApiId pulumi.StringInput `pulumi:"apiId"`
	// The APIs execution ARN
	ExecutionArn pulumi.StringInput `pulumi:"executionArn"`
	// The api route path
	Method pulumi.StringInput `pulumi:"method"`
	// The api route path
	RoutePath pulumi.StringInput `pulumi:"routePath"`
	// The ID of the authorizer
	AuthorizerId pulumi.StringInput `pulumi:"authorizerId"`
	// The memory size for the lambda function
	MemorySize *pulumi.Int `pulumi:"memorySize"`
	// The lambda runtime
	Runtime pulumi.StringInput `pulumi:"runtime"`
	// The array of policy arns that should be attachen to the lambda function role
	PolicyArns pulumi.StringArrayInput `pulumi:"policyArns"`
}

The set of arguments for creating a Lambda component resource.

type FileHosting

type FileHosting struct {
	pulumi.ResourceState

	// Bucket     *s3.Bucket          `pulumi:"bucket"`
	Url                     pulumi.StringOutput `pulumi:"url"`
	PrivateKeyParameterName pulumi.StringOutput `pulumi:"privateKeyParameterName"`
	PrivateKeyId            pulumi.StringOutput `pulumi:"privateKeyId"`
}

The FileHosting component resource.

func NewFileHosting

func NewFileHosting(ctx *pulumi.Context,
	name string, args *FileHostingArgs, opts ...pulumi.ResourceOption) (*FileHosting, error)

NewFileHosting creates a new FileHosting component resource.

type FileHostingArgs

type FileHostingArgs struct {
	// The file hosting domain.
	Domain pulumi.StringInput `pulumi:"domain"`
	// The name of existing s3 Bucket to link as origin. If not provided, a new bucket
	// will be created.
	BucketName *pulumi.StringInput `pulumi:"bucketName"`
}

The set of arguments for creating a FileHosting component resource.

type Lambda

type Lambda struct {
	pulumi.ResourceState
	// The name of the lambda resource
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of the lambda resource
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The role of the lambda resource
	Role iam.RoleOutput `pulumi:"role"`
	// The role of the lambda resource
	Function lambda.FunctionOutput `pulumi:"function"`
}

The Lambda component resource.

func NewLambda

func NewLambda(ctx *pulumi.Context,
	name string, args *LambdaArgs, opts ...pulumi.ResourceOption) (*Lambda, error)

NewLambda creates a new Lambda component resource.

type LambdaArgs

type LambdaArgs struct {
	// The the path to the .zip for the lambda code
	CodePath pulumi.StringInput `pulumi:"codePath"`
	// The handler for the lambda function
	HandlerPath pulumi.StringInput `pulumi:"handlerPath"`
	// The memory size for the lambda function
	MemorySize *pulumi.Int `pulumi:"memorySize"`
	// The lambda runtime
	Runtime pulumi.StringInput `pulumi:"runtime"`
	// The array of policy arns that should be attachen to the lambda function role
	PolicyArns pulumi.StringArrayInput `pulumi:"policyArns"`
}

The set of arguments for creating a Lambda component resource.

type MailDomain

type MailDomain struct {
	pulumi.ResourceState

	// The ID of the organization that can be used to create mailboxes
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
}

The MailDomain component resource.

func NewMailDomain

func NewMailDomain(ctx *pulumi.Context,
	name string, args *MailDomainArgs, opts ...pulumi.ResourceOption) (*MailDomain, error)

NewMailDomain creates a new MailDomain component resource.

type MailDomainArgs

type MailDomainArgs struct {
	// The domain to be used for the mailboxes
	Domain pulumi.StringInput `pulumi:"domain"`
	// The region to create the mail domain in
	Region pulumi.StringInput `pulumi:"region"`
}

The set of arguments for creating a MailDomain component resource.

type MailUser

type MailUser struct {
	pulumi.ResourceState

	// The ID of the organization that can be used to create mailboxes
	UserId pulumi.StringOutput `pulumi:"userId"`

	// Password
	Password pulumi.StringOutput `pulumi:"password"`
}

The MailUser component resource.

func NewMailUser

func NewMailUser(ctx *pulumi.Context,
	name string, args *MailUserArgs, opts ...pulumi.ResourceOption) (*MailUser, error)

NewMailUser creates a new MailUser component resource.

type MailUserArgs

type MailUserArgs struct {
	// The region to create the mail domain in
	Region pulumi.StringInput `pulumi:"region"`
	// The display name for the new user.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// The name for the new user. WorkMail directory user names have a maximum length
	// of 64. All others have a maximum length of 20.
	Name pulumi.StringInput `pulumi:"name"`
	// The email prefix for the new user. (prefix@domain.com).
	// The default domain of the organization will be appended automatically.
	EmailPrefix pulumi.StringInput `pulumi:"emailPrefix"`
	// Whether the mailbox for the user is enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// The identifier of the organization for which the user is created. Either
	// organizationId or domain must be specified.
	OrganizationId *pulumi.StringInput `pulumi:"organizationId,optional"`
	// The mail domain of the organization for which the user is created. Either
	// organizationId or domain must be specified.
	Domain *pulumi.StringInput `pulumi:"domain,optional"`
	// The first name of the new user.
	FirstName *pulumi.StringInput `pulumi:"firstName,optional"`
	// The last name of the new user.
	LastName *pulumi.StringInput `pulumi:"lastName,optional"`
}

The set of arguments for creating a MailUser component resource.

type TestUser

type TestUser struct {
	pulumi.ResourceState

	// The temporary password of the test  user. Make sure to destroy the test  user after each
	// test run.
	Password pulumi.StringOutput `pulumi:"password"`
}

The TestUser component resource.

func NewTestUser

func NewTestUser(ctx *pulumi.Context,
	name string, args *TestUserArgs, opts ...pulumi.ResourceOption) (*TestUser, error)

NewTestUser creates a new TestUser component resource.

type TestUserArgs

type TestUserArgs struct {
	// The ID of the user pool where the test  user is created. UserPool must exist.
	UserPoolId pulumi.StringInput `pulumi:"userPoolId"`
	// The email of the test  user. Throws an error if the user already exists.
	Email pulumi.StringInput `pulumi:"email"`
}

The set of arguments for creating a TestUser component resource.

Jump to

Keyboard shortcuts

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