Documentation ¶
Index ¶
- type Args
- type Resource
- func (asmwt *Resource) Attributes() awsSsmMaintenanceWindowTargetAttributes
- func (asmwt *Resource) Configuration() interface{}
- func (asmwt *Resource) DependOn() terra.Reference
- func (asmwt *Resource) Dependencies() terra.Dependencies
- func (asmwt *Resource) ImportState(state io.Reader) error
- func (asmwt *Resource) LifecycleManagement() *terra.Lifecycle
- func (asmwt *Resource) LocalName() string
- func (asmwt *Resource) State() (*awsSsmMaintenanceWindowTargetState, bool)
- func (asmwt *Resource) StateMust() *awsSsmMaintenanceWindowTargetState
- func (asmwt *Resource) Type() string
- type Targets
- type TargetsAttributes
- func (t TargetsAttributes) InternalRef() (terra.Reference, error)
- func (t TargetsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TargetsAttributes) InternalWithRef(ref terra.Reference) TargetsAttributes
- func (t TargetsAttributes) Key() terra.StringValue
- func (t TargetsAttributes) Values() terra.ListValue[terra.StringValue]
- type TargetsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // OwnerInformation: string, optional OwnerInformation terra.StringValue `hcl:"owner_information,attr"` // ResourceType: string, required ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"` // WindowId: string, required WindowId terra.StringValue `hcl:"window_id,attr" validate:"required"` // Targets: min=1,max=5 Targets []Targets `hcl:"targets,block" validate:"min=1,max=5"` }
Args contains the configurations for aws_ssm_maintenance_window_target.
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_ssm_maintenance_window_target.
func (*Resource) Attributes ¶
func (asmwt *Resource) Attributes() awsSsmMaintenanceWindowTargetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asmwt *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asmwt *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 Targets ¶
type Targets struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type TargetsAttributes ¶
type TargetsAttributes struct {
// contains filtered or unexported fields
}
func (TargetsAttributes) InternalRef ¶
func (t TargetsAttributes) InternalRef() (terra.Reference, error)
func (TargetsAttributes) InternalTokens ¶
func (t TargetsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetsAttributes) InternalWithRef ¶
func (t TargetsAttributes) InternalWithRef(ref terra.Reference) TargetsAttributes
func (TargetsAttributes) Key ¶
func (t TargetsAttributes) Key() terra.StringValue
func (TargetsAttributes) Values ¶
func (t TargetsAttributes) Values() terra.ListValue[terra.StringValue]
type TargetsState ¶
Click to show internal directories.
Click to hide internal directories.