Documentation ¶
Index ¶
- Variables
- func AwsCredentialsAttrTypes() map[string]attr.Type
- func AwsCredentialsAttrValues(accessKeyId string, expiration string, secretAccessKey string, ...) map[string]attr.Value
- func AwsCredentialsSchema() map[string]dsschema.Attribute
- func CognitoCredentialsAttrTypes() map[string]attr.Type
- func CognitoCredentialsAttrValues(clientId string, password string, userPoolId string, username string) map[string]attr.Value
- func CognitoCredentialsDataSourceSchema() map[string]dataSourceSchema.Attribute
- func CognitoCredentialsResourceSchema() map[string]resourceSchema.Attribute
- type AwsCredentialsModel
- type CognitoCredentialsModel
- type Config
- func (c Config) Equal(other attr.Value) bool
- func (c Config) IsNull() bool
- func (c Config) IsUnknown() bool
- func (c Config) String() string
- func (c Config) ToStringValue(ctx context.Context) (types.String, diag.Diagnostics)
- func (c Config) ToTerraformValue(_ context.Context) (tftypes.Value, error)
- func (c Config) Type(_ context.Context) attr.Type
- func (c Config) ValueConfig() string
- type ConfigType
- func (ct ConfigType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (interface{}, error)
- func (ct ConfigType) Equal(o attr.Type) bool
- func (ct ConfigType) String() string
- func (ct ConfigType) TerraformType(ctx context.Context) tftypes.Type
- func (ct ConfigType) Validate(ctx context.Context, in tftypes.Value, path path.Path) diag.Diagnostics
- func (ct ConfigType) ValueFromString(ctx context.Context, in types.String) (basetypes.StringValuable, diag.Diagnostics)
- func (ct ConfigType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (ct ConfigType) ValueType(ctx context.Context) attr.Value
- type ProviderData
Constants ¶
This section is empty.
Variables ¶
var ( FunctionNodeNameValidators []validator.String = []validator.String{ stringvalidator.LengthBetween(3, 80), stringvalidator.RegexMatches( regexp.MustCompile(`^[A-Za-z0-9\-\_ ]*$`), "value must contain only lowercase/uppercase alphanumeric characters, \"-\", or \"_\"", ), } LogLevelValidator validator.String = stringvalidator.OneOf( string(api.LogLevelDebug), string(api.LogLevelError), string(api.LogLevelInfo), string(api.LogLevelWarning), ) NameValidators []validator.String = []validator.String{ stringvalidator.LengthBetween(3, 80), stringvalidator.RegexMatches( regexp.MustCompile(`^[A-Za-z0-9\-\_\.\: ]*$`), "value must contain only lowercase/uppercase alphanumeric characters, \"-\", \"_\", \":\", or \".\"", ), } PortValidator validator.Int64 = int64validator.Between(1024, 65535) ProtocolValidator validator.String = stringvalidator.OneOf( string(api.ProtocolSctp), string(api.ProtocolTcp), string(api.ProtocolUdp), ) RequirementsValidator validator.Set = setvalidator.ValueStringsAre( stringvalidator.LengthAtLeast(1), ) SystemNameValidator validator.String = stringvalidator.RegexMatches( regexp.MustCompile(`^echo\..*$`), "value must begin with \"echo.\"", ) NotSystemNameValidator validator.String = validators.Not(SystemNameValidator) )
Functions ¶
func AwsCredentialsAttrTypes ¶
func AwsCredentialsSchema ¶
func CognitoCredentialsDataSourceSchema ¶ added in v1.4.0
func CognitoCredentialsDataSourceSchema() map[string]dataSourceSchema.Attribute
func CognitoCredentialsResourceSchema ¶ added in v1.4.0
func CognitoCredentialsResourceSchema() map[string]resourceSchema.Attribute
Types ¶
type AwsCredentialsModel ¶
type CognitoCredentialsModel ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config represents a UTF-8 string value.
func ConfigNull ¶ added in v0.0.4
func ConfigNull() Config
ConfigNull creates a Config with a null value. Determine whether the value is null via the Config type IsNull method.
func ConfigUnknown ¶ added in v0.0.4
func ConfigUnknown() Config
ConfigUnknown creates a Config with an unknown value. Determine whether the value is unknown via the Config type IsUnknown method.
func ConfigValue ¶ added in v0.0.4
ConfigValue creates a Config with a known value. Access the value via the Config type ValueConfig method.
Setting the deprecated String type Null, Unknown, or Value fields after creating a String with this function has no effect.
func (Config) IsUnknown ¶
IsUnknown returns true if the Config represents a currently unknown value.
func (Config) String ¶
String returns a human-readable representation of the Config value. The string returned here is not protected by any compatibility guarantees, and is intended for logging and error reporting.
func (Config) ToStringValue ¶ added in v0.0.7
func (Config) ToTerraformValue ¶
ToTerraformValue returns the data contained in the *Config as a tftypes.Value.
func (Config) ValueConfig ¶ added in v0.0.4
ValueConfig returns the known config value. If Config is null or unknown, returns "".
type ConfigType ¶
type ConfigType struct{}
func (ConfigType) ApplyTerraform5AttributePathStep ¶
func (ct ConfigType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (interface{}, error)
func (ConfigType) String ¶
func (ct ConfigType) String() string
func (ConfigType) TerraformType ¶
func (ct ConfigType) TerraformType(ctx context.Context) tftypes.Type
func (ConfigType) Validate ¶
func (ct ConfigType) Validate(ctx context.Context, in tftypes.Value, path path.Path) diag.Diagnostics
func (ConfigType) ValueFromString ¶ added in v0.0.7
func (ct ConfigType) ValueFromString(ctx context.Context, in types.String) (basetypes.StringValuable, diag.Diagnostics)