Documentation
¶
Index ¶
- type Args
- type Resource
- func (aspg *Resource) Attributes() awsShieldProtectionGroupAttributes
- func (aspg *Resource) Configuration() interface{}
- func (aspg *Resource) DependOn() terra.Reference
- func (aspg *Resource) Dependencies() terra.Dependencies
- func (aspg *Resource) ImportState(state io.Reader) error
- func (aspg *Resource) LifecycleManagement() *terra.Lifecycle
- func (aspg *Resource) LocalName() string
- func (aspg *Resource) State() (*awsShieldProtectionGroupState, bool)
- func (aspg *Resource) StateMust() *awsShieldProtectionGroupState
- func (aspg *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Aggregation: string, required Aggregation terra.StringValue `hcl:"aggregation,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Members: list of string, optional Members terra.ListValue[terra.StringValue] `hcl:"members,attr"` // Pattern: string, required Pattern terra.StringValue `hcl:"pattern,attr" validate:"required"` // ProtectionGroupId: string, required ProtectionGroupId terra.StringValue `hcl:"protection_group_id,attr" validate:"required"` // ResourceType: string, optional ResourceType terra.StringValue `hcl:"resource_type,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"` }
Args contains the configurations for aws_shield_protection_group.
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_shield_protection_group.
func (*Resource) Attributes ¶
func (aspg *Resource) Attributes() awsShieldProtectionGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aspg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aspg *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.
Click to show internal directories.
Click to hide internal directories.