Documentation ¶
Index ¶
- type Args
- type OutputLocation
- type OutputLocationAttributes
- func (ol OutputLocationAttributes) InternalRef() (terra.Reference, error)
- func (ol OutputLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ol OutputLocationAttributes) InternalWithRef(ref terra.Reference) OutputLocationAttributes
- func (ol OutputLocationAttributes) S3BucketName() terra.StringValue
- func (ol OutputLocationAttributes) S3KeyPrefix() terra.StringValue
- func (ol OutputLocationAttributes) S3Region() terra.StringValue
- type OutputLocationState
- type Resource
- func (asa *Resource) Attributes() awsSsmAssociationAttributes
- func (asa *Resource) Configuration() interface{}
- func (asa *Resource) DependOn() terra.Reference
- func (asa *Resource) Dependencies() terra.Dependencies
- func (asa *Resource) ImportState(state io.Reader) error
- func (asa *Resource) LifecycleManagement() *terra.Lifecycle
- func (asa *Resource) LocalName() string
- func (asa *Resource) State() (*awsSsmAssociationState, bool)
- func (asa *Resource) StateMust() *awsSsmAssociationState
- func (asa *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 { // ApplyOnlyAtCronInterval: bool, optional ApplyOnlyAtCronInterval terra.BoolValue `hcl:"apply_only_at_cron_interval,attr"` // AssociationName: string, optional AssociationName terra.StringValue `hcl:"association_name,attr"` // AutomationTargetParameterName: string, optional AutomationTargetParameterName terra.StringValue `hcl:"automation_target_parameter_name,attr"` // ComplianceSeverity: string, optional ComplianceSeverity terra.StringValue `hcl:"compliance_severity,attr"` // DocumentVersion: string, optional DocumentVersion terra.StringValue `hcl:"document_version,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceId: string, optional InstanceId terra.StringValue `hcl:"instance_id,attr"` // MaxConcurrency: string, optional MaxConcurrency terra.StringValue `hcl:"max_concurrency,attr"` // MaxErrors: string, optional MaxErrors terra.StringValue `hcl:"max_errors,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Parameters: map of string, optional Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"` // ScheduleExpression: string, optional ScheduleExpression terra.StringValue `hcl:"schedule_expression,attr"` // WaitForSuccessTimeoutSeconds: number, optional WaitForSuccessTimeoutSeconds terra.NumberValue `hcl:"wait_for_success_timeout_seconds,attr"` // OutputLocation: optional OutputLocation *OutputLocation `hcl:"output_location,block"` // Targets: min=0,max=5 Targets []Targets `hcl:"targets,block" validate:"min=0,max=5"` }
Args contains the configurations for aws_ssm_association.
type OutputLocation ¶
type OutputLocation struct { // S3BucketName: string, required S3BucketName terra.StringValue `hcl:"s3_bucket_name,attr" validate:"required"` // S3KeyPrefix: string, optional S3KeyPrefix terra.StringValue `hcl:"s3_key_prefix,attr"` // S3Region: string, optional S3Region terra.StringValue `hcl:"s3_region,attr"` }
type OutputLocationAttributes ¶
type OutputLocationAttributes struct {
// contains filtered or unexported fields
}
func (OutputLocationAttributes) InternalRef ¶
func (ol OutputLocationAttributes) InternalRef() (terra.Reference, error)
func (OutputLocationAttributes) InternalTokens ¶
func (ol OutputLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OutputLocationAttributes) InternalWithRef ¶
func (ol OutputLocationAttributes) InternalWithRef(ref terra.Reference) OutputLocationAttributes
func (OutputLocationAttributes) S3BucketName ¶
func (ol OutputLocationAttributes) S3BucketName() terra.StringValue
func (OutputLocationAttributes) S3KeyPrefix ¶
func (ol OutputLocationAttributes) S3KeyPrefix() terra.StringValue
func (OutputLocationAttributes) S3Region ¶
func (ol OutputLocationAttributes) S3Region() terra.StringValue
type OutputLocationState ¶
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_association.
func (*Resource) Attributes ¶
func (asa *Resource) Attributes() awsSsmAssociationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asa *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.