google_access_context_manager_service_perimeter

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
	// PerimeterType: string, optional
	PerimeterType terra.StringValue `hcl:"perimeter_type,attr"`
	// Title: string, required
	Title terra.StringValue `hcl:"title,attr" validate:"required"`
	// UseExplicitDryRunSpec: bool, optional
	UseExplicitDryRunSpec terra.BoolValue `hcl:"use_explicit_dry_run_spec,attr"`
	// Spec: optional
	Spec *Spec `hcl:"spec,block"`
	// Status: optional
	Status *Status `hcl:"status,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_access_context_manager_service_perimeter.

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 google_access_context_manager_service_perimeter.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gacmsp *Resource) Attributes() googleAccessContextManagerServicePerimeterAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gacmsp *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gacmsp *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gacmsp *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gacmsp *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gacmsp *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gacmsp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gacmsp *Resource) State() (*googleAccessContextManagerServicePerimeterState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gacmsp *Resource) StateMust() *googleAccessContextManagerServicePerimeterState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gacmsp *Resource) Type() string

Type returns the Terraform object type for Resource.

type Spec

type Spec struct {
	// AccessLevels: set of string, optional
	AccessLevels terra.SetValue[terra.StringValue] `hcl:"access_levels,attr"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// RestrictedServices: set of string, optional
	RestrictedServices terra.SetValue[terra.StringValue] `hcl:"restricted_services,attr"`
	// SpecEgressPolicies: min=0
	EgressPolicies []SpecEgressPolicies `hcl:"egress_policies,block" validate:"min=0"`
	// SpecIngressPolicies: min=0
	IngressPolicies []SpecIngressPolicies `hcl:"ingress_policies,block" validate:"min=0"`
	// SpecVpcAccessibleServices: optional
	VpcAccessibleServices *SpecVpcAccessibleServices `hcl:"vpc_accessible_services,block"`
}

type SpecAttributes

type SpecAttributes struct {
	// contains filtered or unexported fields
}

func (SpecAttributes) AccessLevels

func (s SpecAttributes) AccessLevels() terra.SetValue[terra.StringValue]

func (SpecAttributes) EgressPolicies

func (SpecAttributes) IngressPolicies

func (SpecAttributes) InternalRef

func (s SpecAttributes) InternalRef() (terra.Reference, error)

func (SpecAttributes) InternalTokens

func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecAttributes) InternalWithRef

func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes

func (SpecAttributes) Resources

func (SpecAttributes) RestrictedServices

func (s SpecAttributes) RestrictedServices() terra.SetValue[terra.StringValue]

func (SpecAttributes) VpcAccessibleServices

type SpecEgressPolicies

type SpecEgressPolicies struct {
	// SpecEgressPoliciesEgressFrom: optional
	EgressFrom *SpecEgressPoliciesEgressFrom `hcl:"egress_from,block"`
	// SpecEgressPoliciesEgressTo: optional
	EgressTo *SpecEgressPoliciesEgressTo `hcl:"egress_to,block"`
}

type SpecEgressPolicies111Fe15C

type SpecEgressPolicies111Fe15C struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Permission: string, optional
	Permission terra.StringValue `hcl:"permission,attr"`
}

type SpecEgressPolicies111Fe15CAttributes

type SpecEgressPolicies111Fe15CAttributes struct {
	// contains filtered or unexported fields
}

func (SpecEgressPolicies111Fe15CAttributes) InternalRef

func (SpecEgressPolicies111Fe15CAttributes) InternalTokens

func (SpecEgressPolicies111Fe15CAttributes) InternalWithRef

func (SpecEgressPolicies111Fe15CAttributes) Method

func (SpecEgressPolicies111Fe15CAttributes) Permission

type SpecEgressPolicies111Fe15CState

type SpecEgressPolicies111Fe15CState struct {
	Method     string `json:"method"`
	Permission string `json:"permission"`
}

type SpecEgressPoliciesAttributes

type SpecEgressPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (SpecEgressPoliciesAttributes) EgressFrom

func (SpecEgressPoliciesAttributes) EgressTo

func (SpecEgressPoliciesAttributes) InternalRef

func (ep SpecEgressPoliciesAttributes) InternalRef() (terra.Reference, error)

func (SpecEgressPoliciesAttributes) InternalTokens

func (ep SpecEgressPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecEgressPoliciesAttributes) InternalWithRef

type SpecEgressPoliciesEgressFrom

type SpecEgressPoliciesEgressFrom struct {
	// Identities: set of string, optional
	Identities terra.SetValue[terra.StringValue] `hcl:"identities,attr"`
	// IdentityType: string, optional
	IdentityType terra.StringValue `hcl:"identity_type,attr"`
	// SourceRestriction: string, optional
	SourceRestriction terra.StringValue `hcl:"source_restriction,attr"`
	// SpecEgressPoliciesEgressFromSources: min=0
	Sources []SpecEgressPoliciesEgressFromSources `hcl:"sources,block" validate:"min=0"`
}

type SpecEgressPoliciesEgressFromAttributes

type SpecEgressPoliciesEgressFromAttributes struct {
	// contains filtered or unexported fields
}

func (SpecEgressPoliciesEgressFromAttributes) Identities

func (SpecEgressPoliciesEgressFromAttributes) IdentityType

func (SpecEgressPoliciesEgressFromAttributes) InternalRef

func (SpecEgressPoliciesEgressFromAttributes) InternalTokens

func (SpecEgressPoliciesEgressFromAttributes) InternalWithRef

func (SpecEgressPoliciesEgressFromAttributes) SourceRestriction

func (SpecEgressPoliciesEgressFromAttributes) Sources

type SpecEgressPoliciesEgressFromSources

type SpecEgressPoliciesEgressFromSources struct {
	// AccessLevel: string, optional
	AccessLevel terra.StringValue `hcl:"access_level,attr"`
}

type SpecEgressPoliciesEgressFromSourcesAttributes

type SpecEgressPoliciesEgressFromSourcesAttributes struct {
	// contains filtered or unexported fields
}

func (SpecEgressPoliciesEgressFromSourcesAttributes) AccessLevel

func (SpecEgressPoliciesEgressFromSourcesAttributes) InternalRef

func (SpecEgressPoliciesEgressFromSourcesAttributes) InternalTokens

func (SpecEgressPoliciesEgressFromSourcesAttributes) InternalWithRef

type SpecEgressPoliciesEgressFromSourcesState

type SpecEgressPoliciesEgressFromSourcesState struct {
	AccessLevel string `json:"access_level"`
}

type SpecEgressPoliciesEgressFromState

type SpecEgressPoliciesEgressFromState struct {
	Identities        []string                                   `json:"identities"`
	IdentityType      string                                     `json:"identity_type"`
	SourceRestriction string                                     `json:"source_restriction"`
	Sources           []SpecEgressPoliciesEgressFromSourcesState `json:"sources"`
}

type SpecEgressPoliciesEgressTo

type SpecEgressPoliciesEgressTo struct {
	// ExternalResources: set of string, optional
	ExternalResources terra.SetValue[terra.StringValue] `hcl:"external_resources,attr"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// SpecEgressPoliciesEgressToOperations: min=0
	Operations []SpecEgressPoliciesEgressToOperations `hcl:"operations,block" validate:"min=0"`
}

type SpecEgressPoliciesEgressToAttributes

type SpecEgressPoliciesEgressToAttributes struct {
	// contains filtered or unexported fields
}

func (SpecEgressPoliciesEgressToAttributes) ExternalResources

func (SpecEgressPoliciesEgressToAttributes) InternalRef

func (SpecEgressPoliciesEgressToAttributes) InternalTokens

func (SpecEgressPoliciesEgressToAttributes) InternalWithRef

func (SpecEgressPoliciesEgressToAttributes) Operations

func (SpecEgressPoliciesEgressToAttributes) Resources

type SpecEgressPoliciesEgressToOperations

type SpecEgressPoliciesEgressToOperations struct {
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// SpecEgressPolicies111Fe15C: min=0
	MethodSelectors []SpecEgressPolicies111Fe15C `hcl:"method_selectors,block" validate:"min=0"`
}

type SpecEgressPoliciesEgressToOperationsAttributes

type SpecEgressPoliciesEgressToOperationsAttributes struct {
	// contains filtered or unexported fields
}

func (SpecEgressPoliciesEgressToOperationsAttributes) InternalRef

func (SpecEgressPoliciesEgressToOperationsAttributes) InternalTokens

func (SpecEgressPoliciesEgressToOperationsAttributes) InternalWithRef

func (SpecEgressPoliciesEgressToOperationsAttributes) MethodSelectors

func (SpecEgressPoliciesEgressToOperationsAttributes) ServiceName

type SpecEgressPoliciesEgressToOperationsState

type SpecEgressPoliciesEgressToOperationsState struct {
	ServiceName     string                            `json:"service_name"`
	MethodSelectors []SpecEgressPolicies111Fe15CState `json:"method_selectors"`
}

type SpecEgressPoliciesEgressToState

type SpecEgressPoliciesEgressToState struct {
	ExternalResources []string                                    `json:"external_resources"`
	Resources         []string                                    `json:"resources"`
	Operations        []SpecEgressPoliciesEgressToOperationsState `json:"operations"`
}

type SpecEgressPoliciesState

type SpecEgressPoliciesState struct {
	EgressFrom []SpecEgressPoliciesEgressFromState `json:"egress_from"`
	EgressTo   []SpecEgressPoliciesEgressToState   `json:"egress_to"`
}

type SpecIngressPolicies

type SpecIngressPolicies struct {
	// SpecIngressPoliciesIngressFrom: optional
	IngressFrom *SpecIngressPoliciesIngressFrom `hcl:"ingress_from,block"`
	// SpecIngressPoliciesIngressTo: optional
	IngressTo *SpecIngressPoliciesIngressTo `hcl:"ingress_to,block"`
}

type SpecIngressPolicies389F31Ac

type SpecIngressPolicies389F31Ac struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Permission: string, optional
	Permission terra.StringValue `hcl:"permission,attr"`
}

type SpecIngressPolicies389F31AcAttributes

type SpecIngressPolicies389F31AcAttributes struct {
	// contains filtered or unexported fields
}

func (SpecIngressPolicies389F31AcAttributes) InternalRef

func (SpecIngressPolicies389F31AcAttributes) InternalTokens

func (SpecIngressPolicies389F31AcAttributes) InternalWithRef

func (SpecIngressPolicies389F31AcAttributes) Method

func (SpecIngressPolicies389F31AcAttributes) Permission

type SpecIngressPolicies389F31AcState

type SpecIngressPolicies389F31AcState struct {
	Method     string `json:"method"`
	Permission string `json:"permission"`
}

type SpecIngressPoliciesAttributes

type SpecIngressPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (SpecIngressPoliciesAttributes) IngressFrom

func (SpecIngressPoliciesAttributes) IngressTo

func (SpecIngressPoliciesAttributes) InternalRef

func (ip SpecIngressPoliciesAttributes) InternalRef() (terra.Reference, error)

func (SpecIngressPoliciesAttributes) InternalTokens

func (ip SpecIngressPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecIngressPoliciesAttributes) InternalWithRef

type SpecIngressPoliciesIngressFrom

type SpecIngressPoliciesIngressFrom struct {
	// Identities: set of string, optional
	Identities terra.SetValue[terra.StringValue] `hcl:"identities,attr"`
	// IdentityType: string, optional
	IdentityType terra.StringValue `hcl:"identity_type,attr"`
	// SpecIngressPoliciesIngressFromSources: min=0
	Sources []SpecIngressPoliciesIngressFromSources `hcl:"sources,block" validate:"min=0"`
}

type SpecIngressPoliciesIngressFromAttributes

type SpecIngressPoliciesIngressFromAttributes struct {
	// contains filtered or unexported fields
}

func (SpecIngressPoliciesIngressFromAttributes) Identities

func (SpecIngressPoliciesIngressFromAttributes) IdentityType

func (SpecIngressPoliciesIngressFromAttributes) InternalRef

func (SpecIngressPoliciesIngressFromAttributes) InternalTokens

func (SpecIngressPoliciesIngressFromAttributes) InternalWithRef

func (SpecIngressPoliciesIngressFromAttributes) Sources

type SpecIngressPoliciesIngressFromSources

type SpecIngressPoliciesIngressFromSources struct {
	// AccessLevel: string, optional
	AccessLevel terra.StringValue `hcl:"access_level,attr"`
	// Resource: string, optional
	Resource terra.StringValue `hcl:"resource,attr"`
}

type SpecIngressPoliciesIngressFromSourcesAttributes

type SpecIngressPoliciesIngressFromSourcesAttributes struct {
	// contains filtered or unexported fields
}

func (SpecIngressPoliciesIngressFromSourcesAttributes) AccessLevel

func (SpecIngressPoliciesIngressFromSourcesAttributes) InternalRef

func (SpecIngressPoliciesIngressFromSourcesAttributes) InternalTokens

func (SpecIngressPoliciesIngressFromSourcesAttributes) InternalWithRef

func (SpecIngressPoliciesIngressFromSourcesAttributes) Resource

type SpecIngressPoliciesIngressFromSourcesState

type SpecIngressPoliciesIngressFromSourcesState struct {
	AccessLevel string `json:"access_level"`
	Resource    string `json:"resource"`
}

type SpecIngressPoliciesIngressFromState

type SpecIngressPoliciesIngressFromState struct {
	Identities   []string                                     `json:"identities"`
	IdentityType string                                       `json:"identity_type"`
	Sources      []SpecIngressPoliciesIngressFromSourcesState `json:"sources"`
}

type SpecIngressPoliciesIngressTo

type SpecIngressPoliciesIngressTo struct {
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// SpecIngressPoliciesIngressToOperations: min=0
	Operations []SpecIngressPoliciesIngressToOperations `hcl:"operations,block" validate:"min=0"`
}

type SpecIngressPoliciesIngressToAttributes

type SpecIngressPoliciesIngressToAttributes struct {
	// contains filtered or unexported fields
}

func (SpecIngressPoliciesIngressToAttributes) InternalRef

func (SpecIngressPoliciesIngressToAttributes) InternalTokens

func (SpecIngressPoliciesIngressToAttributes) InternalWithRef

func (SpecIngressPoliciesIngressToAttributes) Operations

func (SpecIngressPoliciesIngressToAttributes) Resources

type SpecIngressPoliciesIngressToOperations

type SpecIngressPoliciesIngressToOperations struct {
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// SpecIngressPolicies389F31Ac: min=0
	MethodSelectors []SpecIngressPolicies389F31Ac `hcl:"method_selectors,block" validate:"min=0"`
}

type SpecIngressPoliciesIngressToOperationsAttributes

type SpecIngressPoliciesIngressToOperationsAttributes struct {
	// contains filtered or unexported fields
}

func (SpecIngressPoliciesIngressToOperationsAttributes) InternalRef

func (SpecIngressPoliciesIngressToOperationsAttributes) InternalTokens

func (SpecIngressPoliciesIngressToOperationsAttributes) InternalWithRef

func (SpecIngressPoliciesIngressToOperationsAttributes) MethodSelectors

func (SpecIngressPoliciesIngressToOperationsAttributes) ServiceName

type SpecIngressPoliciesIngressToOperationsState

type SpecIngressPoliciesIngressToOperationsState struct {
	ServiceName     string                             `json:"service_name"`
	MethodSelectors []SpecIngressPolicies389F31AcState `json:"method_selectors"`
}

type SpecIngressPoliciesIngressToState

type SpecIngressPoliciesIngressToState struct {
	Resources  []string                                      `json:"resources"`
	Operations []SpecIngressPoliciesIngressToOperationsState `json:"operations"`
}

type SpecIngressPoliciesState

type SpecIngressPoliciesState struct {
	IngressFrom []SpecIngressPoliciesIngressFromState `json:"ingress_from"`
	IngressTo   []SpecIngressPoliciesIngressToState   `json:"ingress_to"`
}

type SpecState

type SpecState struct {
	AccessLevels          []string                         `json:"access_levels"`
	Resources             []string                         `json:"resources"`
	RestrictedServices    []string                         `json:"restricted_services"`
	EgressPolicies        []SpecEgressPoliciesState        `json:"egress_policies"`
	IngressPolicies       []SpecIngressPoliciesState       `json:"ingress_policies"`
	VpcAccessibleServices []SpecVpcAccessibleServicesState `json:"vpc_accessible_services"`
}

type SpecVpcAccessibleServices

type SpecVpcAccessibleServices struct {
	// AllowedServices: set of string, optional
	AllowedServices terra.SetValue[terra.StringValue] `hcl:"allowed_services,attr"`
	// EnableRestriction: bool, optional
	EnableRestriction terra.BoolValue `hcl:"enable_restriction,attr"`
}

type SpecVpcAccessibleServicesAttributes

type SpecVpcAccessibleServicesAttributes struct {
	// contains filtered or unexported fields
}

func (SpecVpcAccessibleServicesAttributes) AllowedServices

func (SpecVpcAccessibleServicesAttributes) EnableRestriction

func (vas SpecVpcAccessibleServicesAttributes) EnableRestriction() terra.BoolValue

func (SpecVpcAccessibleServicesAttributes) InternalRef

func (SpecVpcAccessibleServicesAttributes) InternalTokens

func (vas SpecVpcAccessibleServicesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecVpcAccessibleServicesAttributes) InternalWithRef

type SpecVpcAccessibleServicesState

type SpecVpcAccessibleServicesState struct {
	AllowedServices   []string `json:"allowed_services"`
	EnableRestriction bool     `json:"enable_restriction"`
}

type Status

type Status struct {
	// AccessLevels: set of string, optional
	AccessLevels terra.SetValue[terra.StringValue] `hcl:"access_levels,attr"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// RestrictedServices: set of string, optional
	RestrictedServices terra.SetValue[terra.StringValue] `hcl:"restricted_services,attr"`
	// StatusEgressPolicies: min=0
	EgressPolicies []StatusEgressPolicies `hcl:"egress_policies,block" validate:"min=0"`
	// StatusIngressPolicies: min=0
	IngressPolicies []StatusIngressPolicies `hcl:"ingress_policies,block" validate:"min=0"`
	// StatusVpcAccessibleServices: optional
	VpcAccessibleServices *StatusVpcAccessibleServices `hcl:"vpc_accessible_services,block"`
}

type StatusAttributes

type StatusAttributes struct {
	// contains filtered or unexported fields
}

func (StatusAttributes) AccessLevels

func (s StatusAttributes) AccessLevels() terra.SetValue[terra.StringValue]

func (StatusAttributes) EgressPolicies

func (StatusAttributes) IngressPolicies

func (StatusAttributes) InternalRef

func (s StatusAttributes) InternalRef() (terra.Reference, error)

func (StatusAttributes) InternalTokens

func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StatusAttributes) InternalWithRef

func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes

func (StatusAttributes) Resources

func (StatusAttributes) RestrictedServices

func (s StatusAttributes) RestrictedServices() terra.SetValue[terra.StringValue]

func (StatusAttributes) VpcAccessibleServices

type StatusEgressPolicies

type StatusEgressPolicies struct {
	// StatusEgressPoliciesEgressFrom: optional
	EgressFrom *StatusEgressPoliciesEgressFrom `hcl:"egress_from,block"`
	// StatusEgressPoliciesEgressTo: optional
	EgressTo *StatusEgressPoliciesEgressTo `hcl:"egress_to,block"`
}

type StatusEgressPolicies111Fe15C

type StatusEgressPolicies111Fe15C struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Permission: string, optional
	Permission terra.StringValue `hcl:"permission,attr"`
}

type StatusEgressPolicies111Fe15CAttributes

type StatusEgressPolicies111Fe15CAttributes struct {
	// contains filtered or unexported fields
}

func (StatusEgressPolicies111Fe15CAttributes) InternalRef

func (StatusEgressPolicies111Fe15CAttributes) InternalTokens

func (StatusEgressPolicies111Fe15CAttributes) InternalWithRef

func (StatusEgressPolicies111Fe15CAttributes) Method

func (StatusEgressPolicies111Fe15CAttributes) Permission

type StatusEgressPolicies111Fe15CState

type StatusEgressPolicies111Fe15CState struct {
	Method     string `json:"method"`
	Permission string `json:"permission"`
}

type StatusEgressPoliciesAttributes

type StatusEgressPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (StatusEgressPoliciesAttributes) EgressFrom

func (StatusEgressPoliciesAttributes) EgressTo

func (StatusEgressPoliciesAttributes) InternalRef

func (StatusEgressPoliciesAttributes) InternalTokens

func (ep StatusEgressPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StatusEgressPoliciesAttributes) InternalWithRef

type StatusEgressPoliciesEgressFrom

type StatusEgressPoliciesEgressFrom struct {
	// Identities: set of string, optional
	Identities terra.SetValue[terra.StringValue] `hcl:"identities,attr"`
	// IdentityType: string, optional
	IdentityType terra.StringValue `hcl:"identity_type,attr"`
	// SourceRestriction: string, optional
	SourceRestriction terra.StringValue `hcl:"source_restriction,attr"`
	// StatusEgressPoliciesEgressFromSources: min=0
	Sources []StatusEgressPoliciesEgressFromSources `hcl:"sources,block" validate:"min=0"`
}

type StatusEgressPoliciesEgressFromAttributes

type StatusEgressPoliciesEgressFromAttributes struct {
	// contains filtered or unexported fields
}

func (StatusEgressPoliciesEgressFromAttributes) Identities

func (StatusEgressPoliciesEgressFromAttributes) IdentityType

func (StatusEgressPoliciesEgressFromAttributes) InternalRef

func (StatusEgressPoliciesEgressFromAttributes) InternalTokens

func (StatusEgressPoliciesEgressFromAttributes) InternalWithRef

func (StatusEgressPoliciesEgressFromAttributes) SourceRestriction

func (StatusEgressPoliciesEgressFromAttributes) Sources

type StatusEgressPoliciesEgressFromSources

type StatusEgressPoliciesEgressFromSources struct {
	// AccessLevel: string, optional
	AccessLevel terra.StringValue `hcl:"access_level,attr"`
}

type StatusEgressPoliciesEgressFromSourcesAttributes

type StatusEgressPoliciesEgressFromSourcesAttributes struct {
	// contains filtered or unexported fields
}

func (StatusEgressPoliciesEgressFromSourcesAttributes) AccessLevel

func (StatusEgressPoliciesEgressFromSourcesAttributes) InternalRef

func (StatusEgressPoliciesEgressFromSourcesAttributes) InternalTokens

func (StatusEgressPoliciesEgressFromSourcesAttributes) InternalWithRef

type StatusEgressPoliciesEgressFromSourcesState

type StatusEgressPoliciesEgressFromSourcesState struct {
	AccessLevel string `json:"access_level"`
}

type StatusEgressPoliciesEgressFromState

type StatusEgressPoliciesEgressFromState struct {
	Identities        []string                                     `json:"identities"`
	IdentityType      string                                       `json:"identity_type"`
	SourceRestriction string                                       `json:"source_restriction"`
	Sources           []StatusEgressPoliciesEgressFromSourcesState `json:"sources"`
}

type StatusEgressPoliciesEgressTo

type StatusEgressPoliciesEgressTo struct {
	// ExternalResources: set of string, optional
	ExternalResources terra.SetValue[terra.StringValue] `hcl:"external_resources,attr"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// StatusEgressPoliciesEgressToOperations: min=0
	Operations []StatusEgressPoliciesEgressToOperations `hcl:"operations,block" validate:"min=0"`
}

type StatusEgressPoliciesEgressToAttributes

type StatusEgressPoliciesEgressToAttributes struct {
	// contains filtered or unexported fields
}

func (StatusEgressPoliciesEgressToAttributes) ExternalResources

func (StatusEgressPoliciesEgressToAttributes) InternalRef

func (StatusEgressPoliciesEgressToAttributes) InternalTokens

func (StatusEgressPoliciesEgressToAttributes) InternalWithRef

func (StatusEgressPoliciesEgressToAttributes) Operations

func (StatusEgressPoliciesEgressToAttributes) Resources

type StatusEgressPoliciesEgressToOperations

type StatusEgressPoliciesEgressToOperations struct {
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// StatusEgressPolicies111Fe15C: min=0
	MethodSelectors []StatusEgressPolicies111Fe15C `hcl:"method_selectors,block" validate:"min=0"`
}

type StatusEgressPoliciesEgressToOperationsAttributes

type StatusEgressPoliciesEgressToOperationsAttributes struct {
	// contains filtered or unexported fields
}

func (StatusEgressPoliciesEgressToOperationsAttributes) InternalRef

func (StatusEgressPoliciesEgressToOperationsAttributes) InternalTokens

func (StatusEgressPoliciesEgressToOperationsAttributes) InternalWithRef

func (StatusEgressPoliciesEgressToOperationsAttributes) MethodSelectors

func (StatusEgressPoliciesEgressToOperationsAttributes) ServiceName

type StatusEgressPoliciesEgressToOperationsState

type StatusEgressPoliciesEgressToOperationsState struct {
	ServiceName     string                              `json:"service_name"`
	MethodSelectors []StatusEgressPolicies111Fe15CState `json:"method_selectors"`
}

type StatusEgressPoliciesEgressToState

type StatusEgressPoliciesEgressToState struct {
	ExternalResources []string                                      `json:"external_resources"`
	Resources         []string                                      `json:"resources"`
	Operations        []StatusEgressPoliciesEgressToOperationsState `json:"operations"`
}

type StatusEgressPoliciesState

type StatusEgressPoliciesState struct {
	EgressFrom []StatusEgressPoliciesEgressFromState `json:"egress_from"`
	EgressTo   []StatusEgressPoliciesEgressToState   `json:"egress_to"`
}

type StatusIngressPolicies

type StatusIngressPolicies struct {
	// StatusIngressPoliciesIngressFrom: optional
	IngressFrom *StatusIngressPoliciesIngressFrom `hcl:"ingress_from,block"`
	// StatusIngressPoliciesIngressTo: optional
	IngressTo *StatusIngressPoliciesIngressTo `hcl:"ingress_to,block"`
}

type StatusIngressPolicies389F31Ac

type StatusIngressPolicies389F31Ac struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Permission: string, optional
	Permission terra.StringValue `hcl:"permission,attr"`
}

type StatusIngressPolicies389F31AcAttributes

type StatusIngressPolicies389F31AcAttributes struct {
	// contains filtered or unexported fields
}

func (StatusIngressPolicies389F31AcAttributes) InternalRef

func (StatusIngressPolicies389F31AcAttributes) InternalTokens

func (StatusIngressPolicies389F31AcAttributes) InternalWithRef

func (StatusIngressPolicies389F31AcAttributes) Method

func (StatusIngressPolicies389F31AcAttributes) Permission

type StatusIngressPolicies389F31AcState

type StatusIngressPolicies389F31AcState struct {
	Method     string `json:"method"`
	Permission string `json:"permission"`
}

type StatusIngressPoliciesAttributes

type StatusIngressPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (StatusIngressPoliciesAttributes) IngressFrom

func (StatusIngressPoliciesAttributes) IngressTo

func (StatusIngressPoliciesAttributes) InternalRef

func (StatusIngressPoliciesAttributes) InternalTokens

func (ip StatusIngressPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StatusIngressPoliciesAttributes) InternalWithRef

type StatusIngressPoliciesIngressFrom

type StatusIngressPoliciesIngressFrom struct {
	// Identities: set of string, optional
	Identities terra.SetValue[terra.StringValue] `hcl:"identities,attr"`
	// IdentityType: string, optional
	IdentityType terra.StringValue `hcl:"identity_type,attr"`
	// StatusIngressPoliciesIngressFromSources: min=0
	Sources []StatusIngressPoliciesIngressFromSources `hcl:"sources,block" validate:"min=0"`
}

type StatusIngressPoliciesIngressFromAttributes

type StatusIngressPoliciesIngressFromAttributes struct {
	// contains filtered or unexported fields
}

func (StatusIngressPoliciesIngressFromAttributes) Identities

func (StatusIngressPoliciesIngressFromAttributes) IdentityType

func (StatusIngressPoliciesIngressFromAttributes) InternalRef

func (StatusIngressPoliciesIngressFromAttributes) InternalTokens

func (StatusIngressPoliciesIngressFromAttributes) InternalWithRef

func (StatusIngressPoliciesIngressFromAttributes) Sources

type StatusIngressPoliciesIngressFromSources

type StatusIngressPoliciesIngressFromSources struct {
	// AccessLevel: string, optional
	AccessLevel terra.StringValue `hcl:"access_level,attr"`
	// Resource: string, optional
	Resource terra.StringValue `hcl:"resource,attr"`
}

type StatusIngressPoliciesIngressFromSourcesAttributes

type StatusIngressPoliciesIngressFromSourcesAttributes struct {
	// contains filtered or unexported fields
}

func (StatusIngressPoliciesIngressFromSourcesAttributes) AccessLevel

func (StatusIngressPoliciesIngressFromSourcesAttributes) InternalRef

func (StatusIngressPoliciesIngressFromSourcesAttributes) InternalTokens

func (StatusIngressPoliciesIngressFromSourcesAttributes) InternalWithRef

func (StatusIngressPoliciesIngressFromSourcesAttributes) Resource

type StatusIngressPoliciesIngressFromSourcesState

type StatusIngressPoliciesIngressFromSourcesState struct {
	AccessLevel string `json:"access_level"`
	Resource    string `json:"resource"`
}

type StatusIngressPoliciesIngressFromState

type StatusIngressPoliciesIngressFromState struct {
	Identities   []string                                       `json:"identities"`
	IdentityType string                                         `json:"identity_type"`
	Sources      []StatusIngressPoliciesIngressFromSourcesState `json:"sources"`
}

type StatusIngressPoliciesIngressTo

type StatusIngressPoliciesIngressTo struct {
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// StatusIngressPoliciesIngressToOperations: min=0
	Operations []StatusIngressPoliciesIngressToOperations `hcl:"operations,block" validate:"min=0"`
}

type StatusIngressPoliciesIngressToAttributes

type StatusIngressPoliciesIngressToAttributes struct {
	// contains filtered or unexported fields
}

func (StatusIngressPoliciesIngressToAttributes) InternalRef

func (StatusIngressPoliciesIngressToAttributes) InternalTokens

func (StatusIngressPoliciesIngressToAttributes) InternalWithRef

func (StatusIngressPoliciesIngressToAttributes) Operations

func (StatusIngressPoliciesIngressToAttributes) Resources

type StatusIngressPoliciesIngressToOperations

type StatusIngressPoliciesIngressToOperations struct {
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// StatusIngressPolicies389F31Ac: min=0
	MethodSelectors []StatusIngressPolicies389F31Ac `hcl:"method_selectors,block" validate:"min=0"`
}

type StatusIngressPoliciesIngressToOperationsAttributes

type StatusIngressPoliciesIngressToOperationsAttributes struct {
	// contains filtered or unexported fields
}

func (StatusIngressPoliciesIngressToOperationsAttributes) InternalRef

func (StatusIngressPoliciesIngressToOperationsAttributes) InternalTokens

func (StatusIngressPoliciesIngressToOperationsAttributes) InternalWithRef

func (StatusIngressPoliciesIngressToOperationsAttributes) MethodSelectors

func (StatusIngressPoliciesIngressToOperationsAttributes) ServiceName

type StatusIngressPoliciesIngressToOperationsState

type StatusIngressPoliciesIngressToOperationsState struct {
	ServiceName     string                               `json:"service_name"`
	MethodSelectors []StatusIngressPolicies389F31AcState `json:"method_selectors"`
}

type StatusIngressPoliciesIngressToState

type StatusIngressPoliciesIngressToState struct {
	Resources  []string                                        `json:"resources"`
	Operations []StatusIngressPoliciesIngressToOperationsState `json:"operations"`
}

type StatusIngressPoliciesState

type StatusIngressPoliciesState struct {
	IngressFrom []StatusIngressPoliciesIngressFromState `json:"ingress_from"`
	IngressTo   []StatusIngressPoliciesIngressToState   `json:"ingress_to"`
}

type StatusState

type StatusState struct {
	AccessLevels          []string                           `json:"access_levels"`
	Resources             []string                           `json:"resources"`
	RestrictedServices    []string                           `json:"restricted_services"`
	EgressPolicies        []StatusEgressPoliciesState        `json:"egress_policies"`
	IngressPolicies       []StatusIngressPoliciesState       `json:"ingress_policies"`
	VpcAccessibleServices []StatusVpcAccessibleServicesState `json:"vpc_accessible_services"`
}

type StatusVpcAccessibleServices

type StatusVpcAccessibleServices struct {
	// AllowedServices: set of string, optional
	AllowedServices terra.SetValue[terra.StringValue] `hcl:"allowed_services,attr"`
	// EnableRestriction: bool, optional
	EnableRestriction terra.BoolValue `hcl:"enable_restriction,attr"`
}

type StatusVpcAccessibleServicesAttributes

type StatusVpcAccessibleServicesAttributes struct {
	// contains filtered or unexported fields
}

func (StatusVpcAccessibleServicesAttributes) AllowedServices

func (StatusVpcAccessibleServicesAttributes) EnableRestriction

func (vas StatusVpcAccessibleServicesAttributes) EnableRestriction() terra.BoolValue

func (StatusVpcAccessibleServicesAttributes) InternalRef

func (StatusVpcAccessibleServicesAttributes) InternalTokens

func (StatusVpcAccessibleServicesAttributes) InternalWithRef

type StatusVpcAccessibleServicesState

type StatusVpcAccessibleServicesState struct {
	AllowedServices   []string `json:"allowed_services"`
	EnableRestriction bool     `json:"enable_restriction"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL