Documentation ¶
Index ¶
- type Args
- type CognitoConfig
- type CognitoConfigAttributes
- func (cc CognitoConfigAttributes) ClientId() terra.StringValue
- func (cc CognitoConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc CognitoConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CognitoConfigAttributes) InternalWithRef(ref terra.Reference) CognitoConfigAttributes
- func (cc CognitoConfigAttributes) UserPool() terra.StringValue
- type CognitoConfigState
- type OidcConfig
- type OidcConfigAttributes
- func (oc OidcConfigAttributes) AuthorizationEndpoint() terra.StringValue
- func (oc OidcConfigAttributes) ClientId() terra.StringValue
- func (oc OidcConfigAttributes) ClientSecret() terra.StringValue
- func (oc OidcConfigAttributes) InternalRef() (terra.Reference, error)
- func (oc OidcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (oc OidcConfigAttributes) InternalWithRef(ref terra.Reference) OidcConfigAttributes
- func (oc OidcConfigAttributes) Issuer() terra.StringValue
- func (oc OidcConfigAttributes) JwksUri() terra.StringValue
- func (oc OidcConfigAttributes) LogoutEndpoint() terra.StringValue
- func (oc OidcConfigAttributes) TokenEndpoint() terra.StringValue
- func (oc OidcConfigAttributes) UserInfoEndpoint() terra.StringValue
- type OidcConfigState
- type Resource
- func (asw *Resource) Attributes() awsSagemakerWorkforceAttributes
- func (asw *Resource) Configuration() interface{}
- func (asw *Resource) DependOn() terra.Reference
- func (asw *Resource) Dependencies() terra.Dependencies
- func (asw *Resource) ImportState(state io.Reader) error
- func (asw *Resource) LifecycleManagement() *terra.Lifecycle
- func (asw *Resource) LocalName() string
- func (asw *Resource) State() (*awsSagemakerWorkforceState, bool)
- func (asw *Resource) StateMust() *awsSagemakerWorkforceState
- func (asw *Resource) Type() string
- type SourceIpConfig
- type SourceIpConfigAttributes
- func (sic SourceIpConfigAttributes) Cidrs() terra.SetValue[terra.StringValue]
- func (sic SourceIpConfigAttributes) InternalRef() (terra.Reference, error)
- func (sic SourceIpConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sic SourceIpConfigAttributes) InternalWithRef(ref terra.Reference) SourceIpConfigAttributes
- type SourceIpConfigState
- type WorkforceVpcConfig
- type WorkforceVpcConfigAttributes
- func (wvc WorkforceVpcConfigAttributes) InternalRef() (terra.Reference, error)
- func (wvc WorkforceVpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wvc WorkforceVpcConfigAttributes) InternalWithRef(ref terra.Reference) WorkforceVpcConfigAttributes
- func (wvc WorkforceVpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (wvc WorkforceVpcConfigAttributes) Subnets() terra.SetValue[terra.StringValue]
- func (wvc WorkforceVpcConfigAttributes) VpcEndpointId() terra.StringValue
- func (wvc WorkforceVpcConfigAttributes) VpcId() terra.StringValue
- type WorkforceVpcConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // WorkforceName: string, required WorkforceName terra.StringValue `hcl:"workforce_name,attr" validate:"required"` // CognitoConfig: optional CognitoConfig *CognitoConfig `hcl:"cognito_config,block"` // OidcConfig: optional OidcConfig *OidcConfig `hcl:"oidc_config,block"` // SourceIpConfig: optional SourceIpConfig *SourceIpConfig `hcl:"source_ip_config,block"` // WorkforceVpcConfig: optional WorkforceVpcConfig *WorkforceVpcConfig `hcl:"workforce_vpc_config,block"` }
Args contains the configurations for aws_sagemaker_workforce.
type CognitoConfig ¶
type CognitoConfig struct { // ClientId: string, required ClientId terra.StringValue `hcl:"client_id,attr" validate:"required"` // UserPool: string, required UserPool terra.StringValue `hcl:"user_pool,attr" validate:"required"` }
type CognitoConfigAttributes ¶
type CognitoConfigAttributes struct {
// contains filtered or unexported fields
}
func (CognitoConfigAttributes) ClientId ¶
func (cc CognitoConfigAttributes) ClientId() terra.StringValue
func (CognitoConfigAttributes) InternalRef ¶
func (cc CognitoConfigAttributes) InternalRef() (terra.Reference, error)
func (CognitoConfigAttributes) InternalTokens ¶
func (cc CognitoConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CognitoConfigAttributes) InternalWithRef ¶
func (cc CognitoConfigAttributes) InternalWithRef(ref terra.Reference) CognitoConfigAttributes
func (CognitoConfigAttributes) UserPool ¶
func (cc CognitoConfigAttributes) UserPool() terra.StringValue
type CognitoConfigState ¶
type OidcConfig ¶
type OidcConfig struct { // AuthorizationEndpoint: string, required AuthorizationEndpoint terra.StringValue `hcl:"authorization_endpoint,attr" validate:"required"` // ClientId: string, required ClientId terra.StringValue `hcl:"client_id,attr" validate:"required"` // ClientSecret: string, required ClientSecret terra.StringValue `hcl:"client_secret,attr" validate:"required"` // Issuer: string, required Issuer terra.StringValue `hcl:"issuer,attr" validate:"required"` // JwksUri: string, required JwksUri terra.StringValue `hcl:"jwks_uri,attr" validate:"required"` // LogoutEndpoint: string, required LogoutEndpoint terra.StringValue `hcl:"logout_endpoint,attr" validate:"required"` // TokenEndpoint: string, required TokenEndpoint terra.StringValue `hcl:"token_endpoint,attr" validate:"required"` // UserInfoEndpoint: string, required UserInfoEndpoint terra.StringValue `hcl:"user_info_endpoint,attr" validate:"required"` }
type OidcConfigAttributes ¶
type OidcConfigAttributes struct {
// contains filtered or unexported fields
}
func (OidcConfigAttributes) AuthorizationEndpoint ¶
func (oc OidcConfigAttributes) AuthorizationEndpoint() terra.StringValue
func (OidcConfigAttributes) ClientId ¶
func (oc OidcConfigAttributes) ClientId() terra.StringValue
func (OidcConfigAttributes) ClientSecret ¶
func (oc OidcConfigAttributes) ClientSecret() terra.StringValue
func (OidcConfigAttributes) InternalRef ¶
func (oc OidcConfigAttributes) InternalRef() (terra.Reference, error)
func (OidcConfigAttributes) InternalTokens ¶
func (oc OidcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OidcConfigAttributes) InternalWithRef ¶
func (oc OidcConfigAttributes) InternalWithRef(ref terra.Reference) OidcConfigAttributes
func (OidcConfigAttributes) Issuer ¶
func (oc OidcConfigAttributes) Issuer() terra.StringValue
func (OidcConfigAttributes) JwksUri ¶
func (oc OidcConfigAttributes) JwksUri() terra.StringValue
func (OidcConfigAttributes) LogoutEndpoint ¶
func (oc OidcConfigAttributes) LogoutEndpoint() terra.StringValue
func (OidcConfigAttributes) TokenEndpoint ¶
func (oc OidcConfigAttributes) TokenEndpoint() terra.StringValue
func (OidcConfigAttributes) UserInfoEndpoint ¶
func (oc OidcConfigAttributes) UserInfoEndpoint() terra.StringValue
type OidcConfigState ¶
type OidcConfigState struct { AuthorizationEndpoint string `json:"authorization_endpoint"` ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` Issuer string `json:"issuer"` JwksUri string `json:"jwks_uri"` LogoutEndpoint string `json:"logout_endpoint"` TokenEndpoint string `json:"token_endpoint"` UserInfoEndpoint string `json:"user_info_endpoint"` }
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_sagemaker_workforce.
func (*Resource) Attributes ¶
func (asw *Resource) Attributes() awsSagemakerWorkforceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asw *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asw *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 SourceIpConfig ¶
type SourceIpConfig struct { // Cidrs: set of string, required Cidrs terra.SetValue[terra.StringValue] `hcl:"cidrs,attr" validate:"required"` }
type SourceIpConfigAttributes ¶
type SourceIpConfigAttributes struct {
// contains filtered or unexported fields
}
func (SourceIpConfigAttributes) Cidrs ¶
func (sic SourceIpConfigAttributes) Cidrs() terra.SetValue[terra.StringValue]
func (SourceIpConfigAttributes) InternalRef ¶
func (sic SourceIpConfigAttributes) InternalRef() (terra.Reference, error)
func (SourceIpConfigAttributes) InternalTokens ¶
func (sic SourceIpConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceIpConfigAttributes) InternalWithRef ¶
func (sic SourceIpConfigAttributes) InternalWithRef(ref terra.Reference) SourceIpConfigAttributes
type SourceIpConfigState ¶
type SourceIpConfigState struct {
Cidrs []string `json:"cidrs"`
}
type WorkforceVpcConfig ¶
type WorkforceVpcConfig struct { // SecurityGroupIds: set of string, optional SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"` // Subnets: set of string, optional Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr"` // VpcId: string, optional VpcId terra.StringValue `hcl:"vpc_id,attr"` }
type WorkforceVpcConfigAttributes ¶
type WorkforceVpcConfigAttributes struct {
// contains filtered or unexported fields
}
func (WorkforceVpcConfigAttributes) InternalRef ¶
func (wvc WorkforceVpcConfigAttributes) InternalRef() (terra.Reference, error)
func (WorkforceVpcConfigAttributes) InternalTokens ¶
func (wvc WorkforceVpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WorkforceVpcConfigAttributes) InternalWithRef ¶
func (wvc WorkforceVpcConfigAttributes) InternalWithRef(ref terra.Reference) WorkforceVpcConfigAttributes
func (WorkforceVpcConfigAttributes) SecurityGroupIds ¶
func (wvc WorkforceVpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (WorkforceVpcConfigAttributes) Subnets ¶
func (wvc WorkforceVpcConfigAttributes) Subnets() terra.SetValue[terra.StringValue]
func (WorkforceVpcConfigAttributes) VpcEndpointId ¶
func (wvc WorkforceVpcConfigAttributes) VpcEndpointId() terra.StringValue
func (WorkforceVpcConfigAttributes) VpcId ¶
func (wvc WorkforceVpcConfigAttributes) VpcId() terra.StringValue
Click to show internal directories.
Click to hide internal directories.