Documentation
¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataStageAttributes
- func (s DataStageAttributes) DurationInMinutes() terra.NumberValue
- func (s DataStageAttributes) InternalRef() (terra.Reference, error)
- func (s DataStageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataStageAttributes) InternalWithRef(ref terra.Reference) DataStageAttributes
- func (s DataStageAttributes) Target() terra.ListValue[DataStageTargetAttributes]
- type DataStageState
- type DataStageTargetAttributes
- func (t DataStageTargetAttributes) ChannelTargetInfo() terra.ListValue[DataStageTargetChannelTargetInfoAttributes]
- func (t DataStageTargetAttributes) ContactTargetInfo() terra.ListValue[DataStageTargetContactTargetInfoAttributes]
- func (t DataStageTargetAttributes) InternalRef() (terra.Reference, error)
- func (t DataStageTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t DataStageTargetAttributes) InternalWithRef(ref terra.Reference) DataStageTargetAttributes
- type DataStageTargetChannelTargetInfoAttributes
- func (cti DataStageTargetChannelTargetInfoAttributes) ContactChannelId() terra.StringValue
- func (cti DataStageTargetChannelTargetInfoAttributes) InternalRef() (terra.Reference, error)
- func (cti DataStageTargetChannelTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cti DataStageTargetChannelTargetInfoAttributes) InternalWithRef(ref terra.Reference) DataStageTargetChannelTargetInfoAttributes
- func (cti DataStageTargetChannelTargetInfoAttributes) RetryIntervalInMinutes() terra.NumberValue
- type DataStageTargetChannelTargetInfoState
- type DataStageTargetContactTargetInfoAttributes
- func (cti DataStageTargetContactTargetInfoAttributes) ContactId() terra.StringValue
- func (cti DataStageTargetContactTargetInfoAttributes) InternalRef() (terra.Reference, error)
- func (cti DataStageTargetContactTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cti DataStageTargetContactTargetInfoAttributes) InternalWithRef(ref terra.Reference) DataStageTargetContactTargetInfoAttributes
- func (cti DataStageTargetContactTargetInfoAttributes) IsEssential() terra.BoolValue
- type DataStageTargetContactTargetInfoState
- type DataStageTargetState
- type Resource
- func (asp *Resource) Attributes() awsSsmcontactsPlanAttributes
- func (asp *Resource) Configuration() interface{}
- func (asp *Resource) DependOn() terra.Reference
- func (asp *Resource) Dependencies() terra.Dependencies
- func (asp *Resource) ImportState(state io.Reader) error
- func (asp *Resource) LifecycleManagement() *terra.Lifecycle
- func (asp *Resource) LocalName() string
- func (asp *Resource) State() (*awsSsmcontactsPlanState, bool)
- func (asp *Resource) StateMust() *awsSsmcontactsPlanState
- func (asp *Resource) Type() string
- type Stage
- type StageAttributes
- func (s StageAttributes) DurationInMinutes() terra.NumberValue
- func (s StageAttributes) InternalRef() (terra.Reference, error)
- func (s StageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StageAttributes) InternalWithRef(ref terra.Reference) StageAttributes
- func (s StageAttributes) Target() terra.ListValue[StageTargetAttributes]
- type StageState
- type StageTarget
- type StageTargetAttributes
- func (t StageTargetAttributes) ChannelTargetInfo() terra.ListValue[StageTargetChannelTargetInfoAttributes]
- func (t StageTargetAttributes) ContactTargetInfo() terra.ListValue[StageTargetContactTargetInfoAttributes]
- func (t StageTargetAttributes) InternalRef() (terra.Reference, error)
- func (t StageTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t StageTargetAttributes) InternalWithRef(ref terra.Reference) StageTargetAttributes
- type StageTargetChannelTargetInfo
- type StageTargetChannelTargetInfoAttributes
- func (cti StageTargetChannelTargetInfoAttributes) ContactChannelId() terra.StringValue
- func (cti StageTargetChannelTargetInfoAttributes) InternalRef() (terra.Reference, error)
- func (cti StageTargetChannelTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cti StageTargetChannelTargetInfoAttributes) InternalWithRef(ref terra.Reference) StageTargetChannelTargetInfoAttributes
- func (cti StageTargetChannelTargetInfoAttributes) RetryIntervalInMinutes() terra.NumberValue
- type StageTargetChannelTargetInfoState
- type StageTargetContactTargetInfo
- type StageTargetContactTargetInfoAttributes
- func (cti StageTargetContactTargetInfoAttributes) ContactId() terra.StringValue
- func (cti StageTargetContactTargetInfoAttributes) InternalRef() (terra.Reference, error)
- func (cti StageTargetContactTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cti StageTargetContactTargetInfoAttributes) InternalWithRef(ref terra.Reference) StageTargetContactTargetInfoAttributes
- func (cti StageTargetContactTargetInfoAttributes) IsEssential() terra.BoolValue
- type StageTargetContactTargetInfoState
- type StageTargetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ContactId: string, required ContactId terra.StringValue `hcl:"contact_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Stage: min=1 Stage []Stage `hcl:"stage,block" validate:"min=1"` }
Args contains the configurations for aws_ssmcontacts_plan.
type DataArgs ¶
type DataArgs struct { // ContactId: string, required ContactId terra.StringValue `hcl:"contact_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` }
DataArgs contains the configurations for aws_ssmcontacts_plan.
type DataSource ¶
DataSource represents the Terraform data resource aws_ssmcontacts_plan.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (asp *DataSource) Attributes() dataAwsSsmcontactsPlanAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (asp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (asp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (asp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataStageAttributes ¶
type DataStageAttributes struct {
// contains filtered or unexported fields
}
func (DataStageAttributes) DurationInMinutes ¶
func (s DataStageAttributes) DurationInMinutes() terra.NumberValue
func (DataStageAttributes) InternalRef ¶
func (s DataStageAttributes) InternalRef() (terra.Reference, error)
func (DataStageAttributes) InternalTokens ¶
func (s DataStageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStageAttributes) InternalWithRef ¶
func (s DataStageAttributes) InternalWithRef(ref terra.Reference) DataStageAttributes
func (DataStageAttributes) Target ¶
func (s DataStageAttributes) Target() terra.ListValue[DataStageTargetAttributes]
type DataStageState ¶
type DataStageState struct { DurationInMinutes float64 `json:"duration_in_minutes"` Target []DataStageTargetState `json:"target"` }
type DataStageTargetAttributes ¶
type DataStageTargetAttributes struct {
// contains filtered or unexported fields
}
func (DataStageTargetAttributes) ChannelTargetInfo ¶
func (t DataStageTargetAttributes) ChannelTargetInfo() terra.ListValue[DataStageTargetChannelTargetInfoAttributes]
func (DataStageTargetAttributes) ContactTargetInfo ¶
func (t DataStageTargetAttributes) ContactTargetInfo() terra.ListValue[DataStageTargetContactTargetInfoAttributes]
func (DataStageTargetAttributes) InternalRef ¶
func (t DataStageTargetAttributes) InternalRef() (terra.Reference, error)
func (DataStageTargetAttributes) InternalTokens ¶
func (t DataStageTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStageTargetAttributes) InternalWithRef ¶
func (t DataStageTargetAttributes) InternalWithRef(ref terra.Reference) DataStageTargetAttributes
type DataStageTargetChannelTargetInfoAttributes ¶
type DataStageTargetChannelTargetInfoAttributes struct {
// contains filtered or unexported fields
}
func (DataStageTargetChannelTargetInfoAttributes) ContactChannelId ¶
func (cti DataStageTargetChannelTargetInfoAttributes) ContactChannelId() terra.StringValue
func (DataStageTargetChannelTargetInfoAttributes) InternalRef ¶
func (cti DataStageTargetChannelTargetInfoAttributes) InternalRef() (terra.Reference, error)
func (DataStageTargetChannelTargetInfoAttributes) InternalTokens ¶
func (cti DataStageTargetChannelTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStageTargetChannelTargetInfoAttributes) InternalWithRef ¶
func (cti DataStageTargetChannelTargetInfoAttributes) InternalWithRef(ref terra.Reference) DataStageTargetChannelTargetInfoAttributes
func (DataStageTargetChannelTargetInfoAttributes) RetryIntervalInMinutes ¶
func (cti DataStageTargetChannelTargetInfoAttributes) RetryIntervalInMinutes() terra.NumberValue
type DataStageTargetContactTargetInfoAttributes ¶
type DataStageTargetContactTargetInfoAttributes struct {
// contains filtered or unexported fields
}
func (DataStageTargetContactTargetInfoAttributes) ContactId ¶
func (cti DataStageTargetContactTargetInfoAttributes) ContactId() terra.StringValue
func (DataStageTargetContactTargetInfoAttributes) InternalRef ¶
func (cti DataStageTargetContactTargetInfoAttributes) InternalRef() (terra.Reference, error)
func (DataStageTargetContactTargetInfoAttributes) InternalTokens ¶
func (cti DataStageTargetContactTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStageTargetContactTargetInfoAttributes) InternalWithRef ¶
func (cti DataStageTargetContactTargetInfoAttributes) InternalWithRef(ref terra.Reference) DataStageTargetContactTargetInfoAttributes
func (DataStageTargetContactTargetInfoAttributes) IsEssential ¶
func (cti DataStageTargetContactTargetInfoAttributes) IsEssential() terra.BoolValue
type DataStageTargetState ¶
type DataStageTargetState struct { ChannelTargetInfo []DataStageTargetChannelTargetInfoState `json:"channel_target_info"` ContactTargetInfo []DataStageTargetContactTargetInfoState `json:"contact_target_info"` }
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_ssmcontacts_plan.
func (*Resource) Attributes ¶
func (asp *Resource) Attributes() awsSsmcontactsPlanAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Stage ¶
type Stage struct { // DurationInMinutes: number, required DurationInMinutes terra.NumberValue `hcl:"duration_in_minutes,attr" validate:"required"` // StageTarget: min=0 Target []StageTarget `hcl:"target,block" validate:"min=0"` }
type StageAttributes ¶
type StageAttributes struct {
// contains filtered or unexported fields
}
func (StageAttributes) DurationInMinutes ¶
func (s StageAttributes) DurationInMinutes() terra.NumberValue
func (StageAttributes) InternalRef ¶
func (s StageAttributes) InternalRef() (terra.Reference, error)
func (StageAttributes) InternalTokens ¶
func (s StageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StageAttributes) InternalWithRef ¶
func (s StageAttributes) InternalWithRef(ref terra.Reference) StageAttributes
func (StageAttributes) Target ¶
func (s StageAttributes) Target() terra.ListValue[StageTargetAttributes]
type StageState ¶
type StageState struct { DurationInMinutes float64 `json:"duration_in_minutes"` Target []StageTargetState `json:"target"` }
type StageTarget ¶
type StageTarget struct { // StageTargetChannelTargetInfo: optional ChannelTargetInfo *StageTargetChannelTargetInfo `hcl:"channel_target_info,block"` // StageTargetContactTargetInfo: optional ContactTargetInfo *StageTargetContactTargetInfo `hcl:"contact_target_info,block"` }
type StageTargetAttributes ¶
type StageTargetAttributes struct {
// contains filtered or unexported fields
}
func (StageTargetAttributes) ChannelTargetInfo ¶
func (t StageTargetAttributes) ChannelTargetInfo() terra.ListValue[StageTargetChannelTargetInfoAttributes]
func (StageTargetAttributes) ContactTargetInfo ¶
func (t StageTargetAttributes) ContactTargetInfo() terra.ListValue[StageTargetContactTargetInfoAttributes]
func (StageTargetAttributes) InternalRef ¶
func (t StageTargetAttributes) InternalRef() (terra.Reference, error)
func (StageTargetAttributes) InternalTokens ¶
func (t StageTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StageTargetAttributes) InternalWithRef ¶
func (t StageTargetAttributes) InternalWithRef(ref terra.Reference) StageTargetAttributes
type StageTargetChannelTargetInfo ¶
type StageTargetChannelTargetInfo struct { // ContactChannelId: string, required ContactChannelId terra.StringValue `hcl:"contact_channel_id,attr" validate:"required"` // RetryIntervalInMinutes: number, optional RetryIntervalInMinutes terra.NumberValue `hcl:"retry_interval_in_minutes,attr"` }
type StageTargetChannelTargetInfoAttributes ¶
type StageTargetChannelTargetInfoAttributes struct {
// contains filtered or unexported fields
}
func (StageTargetChannelTargetInfoAttributes) ContactChannelId ¶
func (cti StageTargetChannelTargetInfoAttributes) ContactChannelId() terra.StringValue
func (StageTargetChannelTargetInfoAttributes) InternalRef ¶
func (cti StageTargetChannelTargetInfoAttributes) InternalRef() (terra.Reference, error)
func (StageTargetChannelTargetInfoAttributes) InternalTokens ¶
func (cti StageTargetChannelTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StageTargetChannelTargetInfoAttributes) InternalWithRef ¶
func (cti StageTargetChannelTargetInfoAttributes) InternalWithRef(ref terra.Reference) StageTargetChannelTargetInfoAttributes
func (StageTargetChannelTargetInfoAttributes) RetryIntervalInMinutes ¶
func (cti StageTargetChannelTargetInfoAttributes) RetryIntervalInMinutes() terra.NumberValue
type StageTargetContactTargetInfo ¶
type StageTargetContactTargetInfo struct { // ContactId: string, optional ContactId terra.StringValue `hcl:"contact_id,attr"` // IsEssential: bool, required IsEssential terra.BoolValue `hcl:"is_essential,attr" validate:"required"` }
type StageTargetContactTargetInfoAttributes ¶
type StageTargetContactTargetInfoAttributes struct {
// contains filtered or unexported fields
}
func (StageTargetContactTargetInfoAttributes) ContactId ¶
func (cti StageTargetContactTargetInfoAttributes) ContactId() terra.StringValue
func (StageTargetContactTargetInfoAttributes) InternalRef ¶
func (cti StageTargetContactTargetInfoAttributes) InternalRef() (terra.Reference, error)
func (StageTargetContactTargetInfoAttributes) InternalTokens ¶
func (cti StageTargetContactTargetInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StageTargetContactTargetInfoAttributes) InternalWithRef ¶
func (cti StageTargetContactTargetInfoAttributes) InternalWithRef(ref terra.Reference) StageTargetContactTargetInfoAttributes
func (StageTargetContactTargetInfoAttributes) IsEssential ¶
func (cti StageTargetContactTargetInfoAttributes) IsEssential() terra.BoolValue
type StageTargetState ¶
type StageTargetState struct { ChannelTargetInfo []StageTargetChannelTargetInfoState `json:"channel_target_info"` ContactTargetInfo []StageTargetContactTargetInfoState `json:"contact_target_info"` }