Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type NetworkAccessControl
- type NetworkAccessControlAttributes
- func (nac NetworkAccessControlAttributes) InternalRef() (terra.Reference, error)
- func (nac NetworkAccessControlAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nac NetworkAccessControlAttributes) InternalWithRef(ref terra.Reference) NetworkAccessControlAttributes
- func (nac NetworkAccessControlAttributes) PrefixListIds() terra.SetValue[terra.StringValue]
- func (nac NetworkAccessControlAttributes) VpceIds() terra.SetValue[terra.StringValue]
- type NetworkAccessControlState
- type Resource
- func (agw *Resource) Attributes() awsGrafanaWorkspaceAttributes
- func (agw *Resource) Configuration() interface{}
- func (agw *Resource) DependOn() terra.Reference
- func (agw *Resource) Dependencies() terra.Dependencies
- func (agw *Resource) ImportState(state io.Reader) error
- func (agw *Resource) LifecycleManagement() *terra.Lifecycle
- func (agw *Resource) LocalName() string
- func (agw *Resource) State() (*awsGrafanaWorkspaceState, bool)
- func (agw *Resource) StateMust() *awsGrafanaWorkspaceState
- func (agw *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type VpcConfiguration
- type VpcConfigurationAttributes
- func (vc VpcConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (vc VpcConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vc VpcConfigurationAttributes) InternalWithRef(ref terra.Reference) VpcConfigurationAttributes
- func (vc VpcConfigurationAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (vc VpcConfigurationAttributes) SubnetIds() terra.SetValue[terra.StringValue]
- type VpcConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AccountAccessType: string, required AccountAccessType terra.StringValue `hcl:"account_access_type,attr" validate:"required"` // AuthenticationProviders: list of string, required AuthenticationProviders terra.ListValue[terra.StringValue] `hcl:"authentication_providers,attr" validate:"required"` // Configuration: string, optional Configuration terra.StringValue `hcl:"configuration,attr"` // DataSources: list of string, optional DataSources terra.ListValue[terra.StringValue] `hcl:"data_sources,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // GrafanaVersion: string, optional GrafanaVersion terra.StringValue `hcl:"grafana_version,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NotificationDestinations: list of string, optional NotificationDestinations terra.ListValue[terra.StringValue] `hcl:"notification_destinations,attr"` // OrganizationRoleName: string, optional OrganizationRoleName terra.StringValue `hcl:"organization_role_name,attr"` // OrganizationalUnits: list of string, optional OrganizationalUnits terra.ListValue[terra.StringValue] `hcl:"organizational_units,attr"` // PermissionType: string, required PermissionType terra.StringValue `hcl:"permission_type,attr" validate:"required"` // RoleArn: string, optional RoleArn terra.StringValue `hcl:"role_arn,attr"` // StackSetName: string, optional StackSetName terra.StringValue `hcl:"stack_set_name,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"` // NetworkAccessControl: optional NetworkAccessControl *NetworkAccessControl `hcl:"network_access_control,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // VpcConfiguration: optional VpcConfiguration *VpcConfiguration `hcl:"vpc_configuration,block"` }
Args contains the configurations for aws_grafana_workspace.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // WorkspaceId: string, required WorkspaceId terra.StringValue `hcl:"workspace_id,attr" validate:"required"` }
DataArgs contains the configurations for aws_grafana_workspace.
type DataSource ¶
DataSource represents the Terraform data resource aws_grafana_workspace.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (agw *DataSource) Attributes() dataAwsGrafanaWorkspaceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (agw *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (agw *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (agw *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type NetworkAccessControl ¶
type NetworkAccessControl struct { // PrefixListIds: set of string, required PrefixListIds terra.SetValue[terra.StringValue] `hcl:"prefix_list_ids,attr" validate:"required"` // VpceIds: set of string, required VpceIds terra.SetValue[terra.StringValue] `hcl:"vpce_ids,attr" validate:"required"` }
type NetworkAccessControlAttributes ¶
type NetworkAccessControlAttributes struct {
// contains filtered or unexported fields
}
func (NetworkAccessControlAttributes) InternalRef ¶
func (nac NetworkAccessControlAttributes) InternalRef() (terra.Reference, error)
func (NetworkAccessControlAttributes) InternalTokens ¶
func (nac NetworkAccessControlAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkAccessControlAttributes) InternalWithRef ¶
func (nac NetworkAccessControlAttributes) InternalWithRef(ref terra.Reference) NetworkAccessControlAttributes
func (NetworkAccessControlAttributes) PrefixListIds ¶
func (nac NetworkAccessControlAttributes) PrefixListIds() terra.SetValue[terra.StringValue]
func (NetworkAccessControlAttributes) VpceIds ¶
func (nac NetworkAccessControlAttributes) VpceIds() terra.SetValue[terra.StringValue]
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_grafana_workspace.
func (*Resource) Attributes ¶
func (agw *Resource) Attributes() awsGrafanaWorkspaceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agw *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agw *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 Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type VpcConfiguration ¶
type VpcConfiguration struct { // SecurityGroupIds: set of string, required SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"` // SubnetIds: set of string, required SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"` }
type VpcConfigurationAttributes ¶
type VpcConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (VpcConfigurationAttributes) InternalRef ¶
func (vc VpcConfigurationAttributes) InternalRef() (terra.Reference, error)
func (VpcConfigurationAttributes) InternalTokens ¶
func (vc VpcConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VpcConfigurationAttributes) InternalWithRef ¶
func (vc VpcConfigurationAttributes) InternalWithRef(ref terra.Reference) VpcConfigurationAttributes
func (VpcConfigurationAttributes) SecurityGroupIds ¶
func (vc VpcConfigurationAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (VpcConfigurationAttributes) SubnetIds ¶
func (vc VpcConfigurationAttributes) SubnetIds() terra.SetValue[terra.StringValue]