Documentation ¶
Index ¶
- type Args
- type Resource
- func (alp *Resource) Attributes() awsLambdaPermissionAttributes
- func (alp *Resource) Configuration() interface{}
- func (alp *Resource) DependOn() terra.Reference
- func (alp *Resource) Dependencies() terra.Dependencies
- func (alp *Resource) ImportState(state io.Reader) error
- func (alp *Resource) LifecycleManagement() *terra.Lifecycle
- func (alp *Resource) LocalName() string
- func (alp *Resource) State() (*awsLambdaPermissionState, bool)
- func (alp *Resource) StateMust() *awsLambdaPermissionState
- func (alp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` // EventSourceToken: string, optional EventSourceToken terra.StringValue `hcl:"event_source_token,attr"` // FunctionName: string, required FunctionName terra.StringValue `hcl:"function_name,attr" validate:"required"` // FunctionUrlAuthType: string, optional FunctionUrlAuthType terra.StringValue `hcl:"function_url_auth_type,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Principal: string, required Principal terra.StringValue `hcl:"principal,attr" validate:"required"` // PrincipalOrgId: string, optional PrincipalOrgId terra.StringValue `hcl:"principal_org_id,attr"` // Qualifier: string, optional Qualifier terra.StringValue `hcl:"qualifier,attr"` // SourceAccount: string, optional SourceAccount terra.StringValue `hcl:"source_account,attr"` // SourceArn: string, optional SourceArn terra.StringValue `hcl:"source_arn,attr"` // StatementId: string, optional StatementId terra.StringValue `hcl:"statement_id,attr"` // StatementIdPrefix: string, optional StatementIdPrefix terra.StringValue `hcl:"statement_id_prefix,attr"` }
Args contains the configurations for aws_lambda_permission.
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_lambda_permission.
func (*Resource) Attributes ¶
func (alp *Resource) Attributes() awsLambdaPermissionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (alp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (alp *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.
Click to show internal directories.
Click to hide internal directories.