Documentation ¶
Index ¶
- type Args
- type RegistrationConfig
- type RegistrationConfigAttributes
- func (rc RegistrationConfigAttributes) InternalRef() (terra.Reference, error)
- func (rc RegistrationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc RegistrationConfigAttributes) InternalWithRef(ref terra.Reference) RegistrationConfigAttributes
- func (rc RegistrationConfigAttributes) RoleArn() terra.StringValue
- func (rc RegistrationConfigAttributes) TemplateBody() terra.StringValue
- func (rc RegistrationConfigAttributes) TemplateName() terra.StringValue
- type RegistrationConfigState
- type Resource
- func (aicc *Resource) Attributes() awsIotCaCertificateAttributes
- func (aicc *Resource) Configuration() interface{}
- func (aicc *Resource) DependOn() terra.Reference
- func (aicc *Resource) Dependencies() terra.Dependencies
- func (aicc *Resource) ImportState(state io.Reader) error
- func (aicc *Resource) LifecycleManagement() *terra.Lifecycle
- func (aicc *Resource) LocalName() string
- func (aicc *Resource) State() (*awsIotCaCertificateState, bool)
- func (aicc *Resource) StateMust() *awsIotCaCertificateState
- func (aicc *Resource) Type() string
- type ValidityAttributes
- func (v ValidityAttributes) InternalRef() (terra.Reference, error)
- func (v ValidityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v ValidityAttributes) InternalWithRef(ref terra.Reference) ValidityAttributes
- func (v ValidityAttributes) NotAfter() terra.StringValue
- func (v ValidityAttributes) NotBefore() terra.StringValue
- type ValidityState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Active: bool, required Active terra.BoolValue `hcl:"active,attr" validate:"required"` // AllowAutoRegistration: bool, required AllowAutoRegistration terra.BoolValue `hcl:"allow_auto_registration,attr" validate:"required"` // CaCertificatePem: string, required CaCertificatePem terra.StringValue `hcl:"ca_certificate_pem,attr" validate:"required"` // CertificateMode: string, optional CertificateMode terra.StringValue `hcl:"certificate_mode,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,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"` // VerificationCertificatePem: string, optional VerificationCertificatePem terra.StringValue `hcl:"verification_certificate_pem,attr"` // RegistrationConfig: optional RegistrationConfig *RegistrationConfig `hcl:"registration_config,block"` }
Args contains the configurations for aws_iot_ca_certificate.
type RegistrationConfig ¶
type RegistrationConfig struct { // RoleArn: string, optional RoleArn terra.StringValue `hcl:"role_arn,attr"` // TemplateBody: string, optional TemplateBody terra.StringValue `hcl:"template_body,attr"` // TemplateName: string, optional TemplateName terra.StringValue `hcl:"template_name,attr"` }
type RegistrationConfigAttributes ¶
type RegistrationConfigAttributes struct {
// contains filtered or unexported fields
}
func (RegistrationConfigAttributes) InternalRef ¶
func (rc RegistrationConfigAttributes) InternalRef() (terra.Reference, error)
func (RegistrationConfigAttributes) InternalTokens ¶
func (rc RegistrationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RegistrationConfigAttributes) InternalWithRef ¶
func (rc RegistrationConfigAttributes) InternalWithRef(ref terra.Reference) RegistrationConfigAttributes
func (RegistrationConfigAttributes) RoleArn ¶
func (rc RegistrationConfigAttributes) RoleArn() terra.StringValue
func (RegistrationConfigAttributes) TemplateBody ¶
func (rc RegistrationConfigAttributes) TemplateBody() terra.StringValue
func (RegistrationConfigAttributes) TemplateName ¶
func (rc RegistrationConfigAttributes) TemplateName() terra.StringValue
type RegistrationConfigState ¶
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_iot_ca_certificate.
func (*Resource) Attributes ¶
func (aicc *Resource) Attributes() awsIotCaCertificateAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aicc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aicc *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 ValidityAttributes ¶
type ValidityAttributes struct {
// contains filtered or unexported fields
}
func (ValidityAttributes) InternalRef ¶
func (v ValidityAttributes) InternalRef() (terra.Reference, error)
func (ValidityAttributes) InternalTokens ¶
func (v ValidityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ValidityAttributes) InternalWithRef ¶
func (v ValidityAttributes) InternalWithRef(ref terra.Reference) ValidityAttributes
func (ValidityAttributes) NotAfter ¶
func (v ValidityAttributes) NotAfter() terra.StringValue
func (ValidityAttributes) NotBefore ¶
func (v ValidityAttributes) NotBefore() terra.StringValue
type ValidityState ¶
Click to show internal directories.
Click to hide internal directories.