aws_pinpoint_app

package
v0.0.0-...-4deecce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// NamePrefix: string, optional
	NamePrefix terra.StringValue `hcl:"name_prefix,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// CampaignHook: optional
	CampaignHook *CampaignHook `hcl:"campaign_hook,block"`
	// Limits: optional
	Limits *Limits `hcl:"limits,block"`
	// QuietTime: optional
	QuietTime *QuietTime `hcl:"quiet_time,block"`
}

Args contains the configurations for aws_pinpoint_app.

type CampaignHook

type CampaignHook struct {
	// LambdaFunctionName: string, optional
	LambdaFunctionName terra.StringValue `hcl:"lambda_function_name,attr"`
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
	// WebUrl: string, optional
	WebUrl terra.StringValue `hcl:"web_url,attr"`
}

type CampaignHookAttributes

type CampaignHookAttributes struct {
	// contains filtered or unexported fields
}

func (CampaignHookAttributes) InternalRef

func (ch CampaignHookAttributes) InternalRef() (terra.Reference, error)

func (CampaignHookAttributes) InternalTokens

func (ch CampaignHookAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CampaignHookAttributes) InternalWithRef

func (CampaignHookAttributes) LambdaFunctionName

func (ch CampaignHookAttributes) LambdaFunctionName() terra.StringValue

func (CampaignHookAttributes) Mode

func (CampaignHookAttributes) WebUrl

type CampaignHookState

type CampaignHookState struct {
	LambdaFunctionName string `json:"lambda_function_name"`
	Mode               string `json:"mode"`
	WebUrl             string `json:"web_url"`
}

type Limits

type Limits struct {
	// Daily: number, optional
	Daily terra.NumberValue `hcl:"daily,attr"`
	// MaximumDuration: number, optional
	MaximumDuration terra.NumberValue `hcl:"maximum_duration,attr"`
	// MessagesPerSecond: number, optional
	MessagesPerSecond terra.NumberValue `hcl:"messages_per_second,attr"`
	// Total: number, optional
	Total terra.NumberValue `hcl:"total,attr"`
}

type LimitsAttributes

type LimitsAttributes struct {
	// contains filtered or unexported fields
}

func (LimitsAttributes) Daily

func (LimitsAttributes) InternalRef

func (l LimitsAttributes) InternalRef() (terra.Reference, error)

func (LimitsAttributes) InternalTokens

func (l LimitsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LimitsAttributes) InternalWithRef

func (l LimitsAttributes) InternalWithRef(ref terra.Reference) LimitsAttributes

func (LimitsAttributes) MaximumDuration

func (l LimitsAttributes) MaximumDuration() terra.NumberValue

func (LimitsAttributes) MessagesPerSecond

func (l LimitsAttributes) MessagesPerSecond() terra.NumberValue

func (LimitsAttributes) Total

type LimitsState

type LimitsState struct {
	Daily             float64 `json:"daily"`
	MaximumDuration   float64 `json:"maximum_duration"`
	MessagesPerSecond float64 `json:"messages_per_second"`
	Total             float64 `json:"total"`
}

type QuietTime

type QuietTime struct {
	// End: string, optional
	End terra.StringValue `hcl:"end,attr"`
	// Start: string, optional
	Start terra.StringValue `hcl:"start,attr"`
}

type QuietTimeAttributes

type QuietTimeAttributes struct {
	// contains filtered or unexported fields
}

func (QuietTimeAttributes) End

func (QuietTimeAttributes) InternalRef

func (qt QuietTimeAttributes) InternalRef() (terra.Reference, error)

func (QuietTimeAttributes) InternalTokens

func (qt QuietTimeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QuietTimeAttributes) InternalWithRef

func (qt QuietTimeAttributes) InternalWithRef(ref terra.Reference) QuietTimeAttributes

func (QuietTimeAttributes) Start

type QuietTimeState

type QuietTimeState struct {
	End   string `json:"end"`
	Start string `json:"start"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_pinpoint_app.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (apa *Resource) Attributes() awsPinpointAppAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (apa *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (apa *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (apa *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (apa *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (apa *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (apa *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (apa *Resource) State() (*awsPinpointAppState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (apa *Resource) StateMust() *awsPinpointAppState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (apa *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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