Documentation ¶
Index ¶
- type ApprovalRuleTemplate
- func (*ApprovalRuleTemplate) ElementType() reflect.Type
- func (i *ApprovalRuleTemplate) ToApprovalRuleTemplateOutput() ApprovalRuleTemplateOutput
- func (i *ApprovalRuleTemplate) ToApprovalRuleTemplateOutputWithContext(ctx context.Context) ApprovalRuleTemplateOutput
- func (i *ApprovalRuleTemplate) ToApprovalRuleTemplatePtrOutput() ApprovalRuleTemplatePtrOutput
- func (i *ApprovalRuleTemplate) ToApprovalRuleTemplatePtrOutputWithContext(ctx context.Context) ApprovalRuleTemplatePtrOutput
- type ApprovalRuleTemplateArgs
- type ApprovalRuleTemplateArray
- type ApprovalRuleTemplateArrayInput
- type ApprovalRuleTemplateArrayOutput
- func (ApprovalRuleTemplateArrayOutput) ElementType() reflect.Type
- func (o ApprovalRuleTemplateArrayOutput) Index(i pulumi.IntInput) ApprovalRuleTemplateOutput
- func (o ApprovalRuleTemplateArrayOutput) ToApprovalRuleTemplateArrayOutput() ApprovalRuleTemplateArrayOutput
- func (o ApprovalRuleTemplateArrayOutput) ToApprovalRuleTemplateArrayOutputWithContext(ctx context.Context) ApprovalRuleTemplateArrayOutput
- type ApprovalRuleTemplateAssociation
- func GetApprovalRuleTemplateAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ApprovalRuleTemplateAssociation, error)
- func NewApprovalRuleTemplateAssociation(ctx *pulumi.Context, name string, args *ApprovalRuleTemplateAssociationArgs, ...) (*ApprovalRuleTemplateAssociation, error)
- func (*ApprovalRuleTemplateAssociation) ElementType() reflect.Type
- func (i *ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationOutput() ApprovalRuleTemplateAssociationOutput
- func (i *ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationOutput
- func (i *ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationPtrOutput() ApprovalRuleTemplateAssociationPtrOutput
- func (i *ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationPtrOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationPtrOutput
- type ApprovalRuleTemplateAssociationArgs
- type ApprovalRuleTemplateAssociationArray
- func (ApprovalRuleTemplateAssociationArray) ElementType() reflect.Type
- func (i ApprovalRuleTemplateAssociationArray) ToApprovalRuleTemplateAssociationArrayOutput() ApprovalRuleTemplateAssociationArrayOutput
- func (i ApprovalRuleTemplateAssociationArray) ToApprovalRuleTemplateAssociationArrayOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationArrayOutput
- type ApprovalRuleTemplateAssociationArrayInput
- type ApprovalRuleTemplateAssociationArrayOutput
- func (ApprovalRuleTemplateAssociationArrayOutput) ElementType() reflect.Type
- func (o ApprovalRuleTemplateAssociationArrayOutput) Index(i pulumi.IntInput) ApprovalRuleTemplateAssociationOutput
- func (o ApprovalRuleTemplateAssociationArrayOutput) ToApprovalRuleTemplateAssociationArrayOutput() ApprovalRuleTemplateAssociationArrayOutput
- func (o ApprovalRuleTemplateAssociationArrayOutput) ToApprovalRuleTemplateAssociationArrayOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationArrayOutput
- type ApprovalRuleTemplateAssociationInput
- type ApprovalRuleTemplateAssociationMap
- func (ApprovalRuleTemplateAssociationMap) ElementType() reflect.Type
- func (i ApprovalRuleTemplateAssociationMap) ToApprovalRuleTemplateAssociationMapOutput() ApprovalRuleTemplateAssociationMapOutput
- func (i ApprovalRuleTemplateAssociationMap) ToApprovalRuleTemplateAssociationMapOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationMapOutput
- type ApprovalRuleTemplateAssociationMapInput
- type ApprovalRuleTemplateAssociationMapOutput
- func (ApprovalRuleTemplateAssociationMapOutput) ElementType() reflect.Type
- func (o ApprovalRuleTemplateAssociationMapOutput) MapIndex(k pulumi.StringInput) ApprovalRuleTemplateAssociationOutput
- func (o ApprovalRuleTemplateAssociationMapOutput) ToApprovalRuleTemplateAssociationMapOutput() ApprovalRuleTemplateAssociationMapOutput
- func (o ApprovalRuleTemplateAssociationMapOutput) ToApprovalRuleTemplateAssociationMapOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationMapOutput
- type ApprovalRuleTemplateAssociationOutput
- func (ApprovalRuleTemplateAssociationOutput) ElementType() reflect.Type
- func (o ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationOutput() ApprovalRuleTemplateAssociationOutput
- func (o ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationOutput
- func (o ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationPtrOutput() ApprovalRuleTemplateAssociationPtrOutput
- func (o ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationPtrOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationPtrOutput
- type ApprovalRuleTemplateAssociationPtrInput
- type ApprovalRuleTemplateAssociationPtrOutput
- func (o ApprovalRuleTemplateAssociationPtrOutput) Elem() ApprovalRuleTemplateAssociationOutput
- func (ApprovalRuleTemplateAssociationPtrOutput) ElementType() reflect.Type
- func (o ApprovalRuleTemplateAssociationPtrOutput) ToApprovalRuleTemplateAssociationPtrOutput() ApprovalRuleTemplateAssociationPtrOutput
- func (o ApprovalRuleTemplateAssociationPtrOutput) ToApprovalRuleTemplateAssociationPtrOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationPtrOutput
- type ApprovalRuleTemplateAssociationState
- type ApprovalRuleTemplateInput
- type ApprovalRuleTemplateMap
- type ApprovalRuleTemplateMapInput
- type ApprovalRuleTemplateMapOutput
- func (ApprovalRuleTemplateMapOutput) ElementType() reflect.Type
- func (o ApprovalRuleTemplateMapOutput) MapIndex(k pulumi.StringInput) ApprovalRuleTemplateOutput
- func (o ApprovalRuleTemplateMapOutput) ToApprovalRuleTemplateMapOutput() ApprovalRuleTemplateMapOutput
- func (o ApprovalRuleTemplateMapOutput) ToApprovalRuleTemplateMapOutputWithContext(ctx context.Context) ApprovalRuleTemplateMapOutput
- type ApprovalRuleTemplateOutput
- func (ApprovalRuleTemplateOutput) ElementType() reflect.Type
- func (o ApprovalRuleTemplateOutput) ToApprovalRuleTemplateOutput() ApprovalRuleTemplateOutput
- func (o ApprovalRuleTemplateOutput) ToApprovalRuleTemplateOutputWithContext(ctx context.Context) ApprovalRuleTemplateOutput
- func (o ApprovalRuleTemplateOutput) ToApprovalRuleTemplatePtrOutput() ApprovalRuleTemplatePtrOutput
- func (o ApprovalRuleTemplateOutput) ToApprovalRuleTemplatePtrOutputWithContext(ctx context.Context) ApprovalRuleTemplatePtrOutput
- type ApprovalRuleTemplatePtrInput
- type ApprovalRuleTemplatePtrOutput
- func (o ApprovalRuleTemplatePtrOutput) Elem() ApprovalRuleTemplateOutput
- func (ApprovalRuleTemplatePtrOutput) ElementType() reflect.Type
- func (o ApprovalRuleTemplatePtrOutput) ToApprovalRuleTemplatePtrOutput() ApprovalRuleTemplatePtrOutput
- func (o ApprovalRuleTemplatePtrOutput) ToApprovalRuleTemplatePtrOutputWithContext(ctx context.Context) ApprovalRuleTemplatePtrOutput
- type ApprovalRuleTemplateState
- type LookupApprovalRuleTemplateArgs
- type LookupApprovalRuleTemplateOutputArgs
- type LookupApprovalRuleTemplateResult
- type LookupApprovalRuleTemplateResultOutput
- func (o LookupApprovalRuleTemplateResultOutput) ApprovalRuleTemplateId() pulumi.StringOutput
- func (o LookupApprovalRuleTemplateResultOutput) Content() pulumi.StringOutput
- func (o LookupApprovalRuleTemplateResultOutput) CreationDate() pulumi.StringOutput
- func (o LookupApprovalRuleTemplateResultOutput) Description() pulumi.StringOutput
- func (LookupApprovalRuleTemplateResultOutput) ElementType() reflect.Type
- func (o LookupApprovalRuleTemplateResultOutput) Id() pulumi.StringOutput
- func (o LookupApprovalRuleTemplateResultOutput) LastModifiedDate() pulumi.StringOutput
- func (o LookupApprovalRuleTemplateResultOutput) LastModifiedUser() pulumi.StringOutput
- func (o LookupApprovalRuleTemplateResultOutput) Name() pulumi.StringOutput
- func (o LookupApprovalRuleTemplateResultOutput) RuleContentSha256() pulumi.StringOutput
- func (o LookupApprovalRuleTemplateResultOutput) ToLookupApprovalRuleTemplateResultOutput() LookupApprovalRuleTemplateResultOutput
- func (o LookupApprovalRuleTemplateResultOutput) ToLookupApprovalRuleTemplateResultOutputWithContext(ctx context.Context) LookupApprovalRuleTemplateResultOutput
- type LookupRepositoryArgs
- type LookupRepositoryOutputArgs
- type LookupRepositoryResult
- type LookupRepositoryResultOutput
- func (o LookupRepositoryResultOutput) Arn() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) CloneUrlHttp() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) CloneUrlSsh() pulumi.StringOutput
- func (LookupRepositoryResultOutput) ElementType() reflect.Type
- func (o LookupRepositoryResultOutput) Id() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) RepositoryId() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) RepositoryName() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutput() LookupRepositoryResultOutput
- func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext(ctx context.Context) LookupRepositoryResultOutput
- type Repository
- func (*Repository) ElementType() reflect.Type
- func (i *Repository) ToRepositoryOutput() RepositoryOutput
- func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
- func (i *Repository) ToRepositoryPtrOutput() RepositoryPtrOutput
- func (i *Repository) ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput
- type RepositoryArgs
- type RepositoryArray
- type RepositoryArrayInput
- type RepositoryArrayOutput
- func (RepositoryArrayOutput) ElementType() reflect.Type
- func (o RepositoryArrayOutput) Index(i pulumi.IntInput) RepositoryOutput
- func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput
- func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
- type RepositoryInput
- type RepositoryMap
- type RepositoryMapInput
- type RepositoryMapOutput
- func (RepositoryMapOutput) ElementType() reflect.Type
- func (o RepositoryMapOutput) MapIndex(k pulumi.StringInput) RepositoryOutput
- func (o RepositoryMapOutput) ToRepositoryMapOutput() RepositoryMapOutput
- func (o RepositoryMapOutput) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
- type RepositoryOutput
- func (RepositoryOutput) ElementType() reflect.Type
- func (o RepositoryOutput) ToRepositoryOutput() RepositoryOutput
- func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
- func (o RepositoryOutput) ToRepositoryPtrOutput() RepositoryPtrOutput
- func (o RepositoryOutput) ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput
- type RepositoryPtrInput
- type RepositoryPtrOutput
- type RepositoryState
- type Trigger
- func (*Trigger) ElementType() reflect.Type
- func (i *Trigger) ToTriggerOutput() TriggerOutput
- func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- func (i *Trigger) ToTriggerPtrOutput() TriggerPtrOutput
- func (i *Trigger) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
- type TriggerArgs
- type TriggerArray
- type TriggerArrayInput
- type TriggerArrayOutput
- type TriggerInput
- type TriggerMap
- type TriggerMapInput
- type TriggerMapOutput
- type TriggerOutput
- func (TriggerOutput) ElementType() reflect.Type
- func (o TriggerOutput) ToTriggerOutput() TriggerOutput
- func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- func (o TriggerOutput) ToTriggerPtrOutput() TriggerPtrOutput
- func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
- type TriggerPtrInput
- type TriggerPtrOutput
- type TriggerState
- type TriggerTrigger
- type TriggerTriggerArgs
- type TriggerTriggerArray
- type TriggerTriggerArrayInput
- type TriggerTriggerArrayOutput
- func (TriggerTriggerArrayOutput) ElementType() reflect.Type
- func (o TriggerTriggerArrayOutput) Index(i pulumi.IntInput) TriggerTriggerOutput
- func (o TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput
- func (o TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutputWithContext(ctx context.Context) TriggerTriggerArrayOutput
- type TriggerTriggerInput
- type TriggerTriggerOutput
- func (o TriggerTriggerOutput) Branches() pulumi.StringArrayOutput
- func (o TriggerTriggerOutput) CustomData() pulumi.StringPtrOutput
- func (o TriggerTriggerOutput) DestinationArn() pulumi.StringOutput
- func (TriggerTriggerOutput) ElementType() reflect.Type
- func (o TriggerTriggerOutput) Events() pulumi.StringArrayOutput
- func (o TriggerTriggerOutput) Name() pulumi.StringOutput
- func (o TriggerTriggerOutput) ToTriggerTriggerOutput() TriggerTriggerOutput
- func (o TriggerTriggerOutput) ToTriggerTriggerOutputWithContext(ctx context.Context) TriggerTriggerOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApprovalRuleTemplate ¶ added in v4.31.0
type ApprovalRuleTemplate struct { pulumi.CustomResourceState // The ID of the approval rule template ApprovalRuleTemplateId pulumi.StringOutput `pulumi:"approvalRuleTemplateId"` // The content of the approval rule template. Maximum of 3000 characters. Content pulumi.StringOutput `pulumi:"content"` // The date the approval rule template was created, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). CreationDate pulumi.StringOutput `pulumi:"creationDate"` // The description of the approval rule template. Maximum of 1000 characters. Description pulumi.StringPtrOutput `pulumi:"description"` // The date the approval rule template was most recently changed, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). LastModifiedDate pulumi.StringOutput `pulumi:"lastModifiedDate"` // The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template. LastModifiedUser pulumi.StringOutput `pulumi:"lastModifiedUser"` // The name for the approval rule template. Maximum of 100 characters. Name pulumi.StringOutput `pulumi:"name"` // The SHA-256 hash signature for the content of the approval rule template. RuleContentSha256 pulumi.StringOutput `pulumi:"ruleContentSha256"` }
Provides a CodeCommit Approval Rule Template Resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codecommit" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codecommit.NewApprovalRuleTemplate(ctx, "example", &codecommit.ApprovalRuleTemplateArgs{ Content: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2018-11-08\",\n", " \"DestinationReferences\": [\"refs/heads/master\"],\n", " \"Statements\": [{\n", " \"Type\": \"Approvers\",\n", " \"NumberOfApprovalsNeeded\": 2,\n", " \"ApprovalPoolMembers\": [\"arn:aws:sts::123456789012:assumed-role/CodeCommitReview/*\"]\n", " }]\n", "}\n", "\n")), Description: pulumi.String("This is an example approval rule template"), }) if err != nil { return err } return nil }) }
```
## Import
CodeCommit approval rule templates can be imported using the `name`, e.g.
```sh
$ pulumi import aws:codecommit/approvalRuleTemplate:ApprovalRuleTemplate imported ExistingApprovalRuleTemplateName
```
func GetApprovalRuleTemplate ¶ added in v4.31.0
func GetApprovalRuleTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApprovalRuleTemplateState, opts ...pulumi.ResourceOption) (*ApprovalRuleTemplate, error)
GetApprovalRuleTemplate gets an existing ApprovalRuleTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewApprovalRuleTemplate ¶ added in v4.31.0
func NewApprovalRuleTemplate(ctx *pulumi.Context, name string, args *ApprovalRuleTemplateArgs, opts ...pulumi.ResourceOption) (*ApprovalRuleTemplate, error)
NewApprovalRuleTemplate registers a new resource with the given unique name, arguments, and options.
func (*ApprovalRuleTemplate) ElementType ¶ added in v4.31.0
func (*ApprovalRuleTemplate) ElementType() reflect.Type
func (*ApprovalRuleTemplate) ToApprovalRuleTemplateOutput ¶ added in v4.31.0
func (i *ApprovalRuleTemplate) ToApprovalRuleTemplateOutput() ApprovalRuleTemplateOutput
func (*ApprovalRuleTemplate) ToApprovalRuleTemplateOutputWithContext ¶ added in v4.31.0
func (i *ApprovalRuleTemplate) ToApprovalRuleTemplateOutputWithContext(ctx context.Context) ApprovalRuleTemplateOutput
func (*ApprovalRuleTemplate) ToApprovalRuleTemplatePtrOutput ¶ added in v4.31.0
func (i *ApprovalRuleTemplate) ToApprovalRuleTemplatePtrOutput() ApprovalRuleTemplatePtrOutput
func (*ApprovalRuleTemplate) ToApprovalRuleTemplatePtrOutputWithContext ¶ added in v4.31.0
func (i *ApprovalRuleTemplate) ToApprovalRuleTemplatePtrOutputWithContext(ctx context.Context) ApprovalRuleTemplatePtrOutput
type ApprovalRuleTemplateArgs ¶ added in v4.31.0
type ApprovalRuleTemplateArgs struct { // The content of the approval rule template. Maximum of 3000 characters. Content pulumi.StringInput // The description of the approval rule template. Maximum of 1000 characters. Description pulumi.StringPtrInput // The name for the approval rule template. Maximum of 100 characters. Name pulumi.StringPtrInput }
The set of arguments for constructing a ApprovalRuleTemplate resource.
func (ApprovalRuleTemplateArgs) ElementType ¶ added in v4.31.0
func (ApprovalRuleTemplateArgs) ElementType() reflect.Type
type ApprovalRuleTemplateArray ¶ added in v4.31.0
type ApprovalRuleTemplateArray []ApprovalRuleTemplateInput
func (ApprovalRuleTemplateArray) ElementType ¶ added in v4.31.0
func (ApprovalRuleTemplateArray) ElementType() reflect.Type
func (ApprovalRuleTemplateArray) ToApprovalRuleTemplateArrayOutput ¶ added in v4.31.0
func (i ApprovalRuleTemplateArray) ToApprovalRuleTemplateArrayOutput() ApprovalRuleTemplateArrayOutput
func (ApprovalRuleTemplateArray) ToApprovalRuleTemplateArrayOutputWithContext ¶ added in v4.31.0
func (i ApprovalRuleTemplateArray) ToApprovalRuleTemplateArrayOutputWithContext(ctx context.Context) ApprovalRuleTemplateArrayOutput
type ApprovalRuleTemplateArrayInput ¶ added in v4.31.0
type ApprovalRuleTemplateArrayInput interface { pulumi.Input ToApprovalRuleTemplateArrayOutput() ApprovalRuleTemplateArrayOutput ToApprovalRuleTemplateArrayOutputWithContext(context.Context) ApprovalRuleTemplateArrayOutput }
ApprovalRuleTemplateArrayInput is an input type that accepts ApprovalRuleTemplateArray and ApprovalRuleTemplateArrayOutput values. You can construct a concrete instance of `ApprovalRuleTemplateArrayInput` via:
ApprovalRuleTemplateArray{ ApprovalRuleTemplateArgs{...} }
type ApprovalRuleTemplateArrayOutput ¶ added in v4.31.0
type ApprovalRuleTemplateArrayOutput struct{ *pulumi.OutputState }
func (ApprovalRuleTemplateArrayOutput) ElementType ¶ added in v4.31.0
func (ApprovalRuleTemplateArrayOutput) ElementType() reflect.Type
func (ApprovalRuleTemplateArrayOutput) Index ¶ added in v4.31.0
func (o ApprovalRuleTemplateArrayOutput) Index(i pulumi.IntInput) ApprovalRuleTemplateOutput
func (ApprovalRuleTemplateArrayOutput) ToApprovalRuleTemplateArrayOutput ¶ added in v4.31.0
func (o ApprovalRuleTemplateArrayOutput) ToApprovalRuleTemplateArrayOutput() ApprovalRuleTemplateArrayOutput
func (ApprovalRuleTemplateArrayOutput) ToApprovalRuleTemplateArrayOutputWithContext ¶ added in v4.31.0
func (o ApprovalRuleTemplateArrayOutput) ToApprovalRuleTemplateArrayOutputWithContext(ctx context.Context) ApprovalRuleTemplateArrayOutput
type ApprovalRuleTemplateAssociation ¶ added in v4.32.0
type ApprovalRuleTemplateAssociation struct { pulumi.CustomResourceState // The name for the approval rule template. ApprovalRuleTemplateName pulumi.StringOutput `pulumi:"approvalRuleTemplateName"` // The name of the repository that you want to associate with the template. RepositoryName pulumi.StringOutput `pulumi:"repositoryName"` }
Associates a CodeCommit Approval Rule Template with a Repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codecommit" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codecommit.NewApprovalRuleTemplateAssociation(ctx, "example", &codecommit.ApprovalRuleTemplateAssociationArgs{ ApprovalRuleTemplateName: pulumi.Any(aws_codecommit_approval_rule_template.Example.Name), RepositoryName: pulumi.Any(aws_codecommit_repository.Example.Repository_name), }) if err != nil { return err } return nil }) }
```
## Import
CodeCommit approval rule template associations can be imported using the `approval_rule_template_name` and `repository_name` separated by a comma (`,`), e.g.
```sh
$ pulumi import aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation example approver-rule-for-example,MyExampleRepo
```
func GetApprovalRuleTemplateAssociation ¶ added in v4.32.0
func GetApprovalRuleTemplateAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApprovalRuleTemplateAssociationState, opts ...pulumi.ResourceOption) (*ApprovalRuleTemplateAssociation, error)
GetApprovalRuleTemplateAssociation gets an existing ApprovalRuleTemplateAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewApprovalRuleTemplateAssociation ¶ added in v4.32.0
func NewApprovalRuleTemplateAssociation(ctx *pulumi.Context, name string, args *ApprovalRuleTemplateAssociationArgs, opts ...pulumi.ResourceOption) (*ApprovalRuleTemplateAssociation, error)
NewApprovalRuleTemplateAssociation registers a new resource with the given unique name, arguments, and options.
func (*ApprovalRuleTemplateAssociation) ElementType ¶ added in v4.32.0
func (*ApprovalRuleTemplateAssociation) ElementType() reflect.Type
func (*ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationOutput ¶ added in v4.32.0
func (i *ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationOutput() ApprovalRuleTemplateAssociationOutput
func (*ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationOutputWithContext ¶ added in v4.32.0
func (i *ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationOutput
func (*ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationPtrOutput ¶ added in v4.32.0
func (i *ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationPtrOutput() ApprovalRuleTemplateAssociationPtrOutput
func (*ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationPtrOutputWithContext ¶ added in v4.32.0
func (i *ApprovalRuleTemplateAssociation) ToApprovalRuleTemplateAssociationPtrOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationPtrOutput
type ApprovalRuleTemplateAssociationArgs ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationArgs struct { // The name for the approval rule template. ApprovalRuleTemplateName pulumi.StringInput // The name of the repository that you want to associate with the template. RepositoryName pulumi.StringInput }
The set of arguments for constructing a ApprovalRuleTemplateAssociation resource.
func (ApprovalRuleTemplateAssociationArgs) ElementType ¶ added in v4.32.0
func (ApprovalRuleTemplateAssociationArgs) ElementType() reflect.Type
type ApprovalRuleTemplateAssociationArray ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationArray []ApprovalRuleTemplateAssociationInput
func (ApprovalRuleTemplateAssociationArray) ElementType ¶ added in v4.32.0
func (ApprovalRuleTemplateAssociationArray) ElementType() reflect.Type
func (ApprovalRuleTemplateAssociationArray) ToApprovalRuleTemplateAssociationArrayOutput ¶ added in v4.32.0
func (i ApprovalRuleTemplateAssociationArray) ToApprovalRuleTemplateAssociationArrayOutput() ApprovalRuleTemplateAssociationArrayOutput
func (ApprovalRuleTemplateAssociationArray) ToApprovalRuleTemplateAssociationArrayOutputWithContext ¶ added in v4.32.0
func (i ApprovalRuleTemplateAssociationArray) ToApprovalRuleTemplateAssociationArrayOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationArrayOutput
type ApprovalRuleTemplateAssociationArrayInput ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationArrayInput interface { pulumi.Input ToApprovalRuleTemplateAssociationArrayOutput() ApprovalRuleTemplateAssociationArrayOutput ToApprovalRuleTemplateAssociationArrayOutputWithContext(context.Context) ApprovalRuleTemplateAssociationArrayOutput }
ApprovalRuleTemplateAssociationArrayInput is an input type that accepts ApprovalRuleTemplateAssociationArray and ApprovalRuleTemplateAssociationArrayOutput values. You can construct a concrete instance of `ApprovalRuleTemplateAssociationArrayInput` via:
ApprovalRuleTemplateAssociationArray{ ApprovalRuleTemplateAssociationArgs{...} }
type ApprovalRuleTemplateAssociationArrayOutput ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationArrayOutput struct{ *pulumi.OutputState }
func (ApprovalRuleTemplateAssociationArrayOutput) ElementType ¶ added in v4.32.0
func (ApprovalRuleTemplateAssociationArrayOutput) ElementType() reflect.Type
func (ApprovalRuleTemplateAssociationArrayOutput) ToApprovalRuleTemplateAssociationArrayOutput ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationArrayOutput) ToApprovalRuleTemplateAssociationArrayOutput() ApprovalRuleTemplateAssociationArrayOutput
func (ApprovalRuleTemplateAssociationArrayOutput) ToApprovalRuleTemplateAssociationArrayOutputWithContext ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationArrayOutput) ToApprovalRuleTemplateAssociationArrayOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationArrayOutput
type ApprovalRuleTemplateAssociationInput ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationInput interface { pulumi.Input ToApprovalRuleTemplateAssociationOutput() ApprovalRuleTemplateAssociationOutput ToApprovalRuleTemplateAssociationOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationOutput }
type ApprovalRuleTemplateAssociationMap ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationMap map[string]ApprovalRuleTemplateAssociationInput
func (ApprovalRuleTemplateAssociationMap) ElementType ¶ added in v4.32.0
func (ApprovalRuleTemplateAssociationMap) ElementType() reflect.Type
func (ApprovalRuleTemplateAssociationMap) ToApprovalRuleTemplateAssociationMapOutput ¶ added in v4.32.0
func (i ApprovalRuleTemplateAssociationMap) ToApprovalRuleTemplateAssociationMapOutput() ApprovalRuleTemplateAssociationMapOutput
func (ApprovalRuleTemplateAssociationMap) ToApprovalRuleTemplateAssociationMapOutputWithContext ¶ added in v4.32.0
func (i ApprovalRuleTemplateAssociationMap) ToApprovalRuleTemplateAssociationMapOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationMapOutput
type ApprovalRuleTemplateAssociationMapInput ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationMapInput interface { pulumi.Input ToApprovalRuleTemplateAssociationMapOutput() ApprovalRuleTemplateAssociationMapOutput ToApprovalRuleTemplateAssociationMapOutputWithContext(context.Context) ApprovalRuleTemplateAssociationMapOutput }
ApprovalRuleTemplateAssociationMapInput is an input type that accepts ApprovalRuleTemplateAssociationMap and ApprovalRuleTemplateAssociationMapOutput values. You can construct a concrete instance of `ApprovalRuleTemplateAssociationMapInput` via:
ApprovalRuleTemplateAssociationMap{ "key": ApprovalRuleTemplateAssociationArgs{...} }
type ApprovalRuleTemplateAssociationMapOutput ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationMapOutput struct{ *pulumi.OutputState }
func (ApprovalRuleTemplateAssociationMapOutput) ElementType ¶ added in v4.32.0
func (ApprovalRuleTemplateAssociationMapOutput) ElementType() reflect.Type
func (ApprovalRuleTemplateAssociationMapOutput) MapIndex ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationMapOutput) MapIndex(k pulumi.StringInput) ApprovalRuleTemplateAssociationOutput
func (ApprovalRuleTemplateAssociationMapOutput) ToApprovalRuleTemplateAssociationMapOutput ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationMapOutput) ToApprovalRuleTemplateAssociationMapOutput() ApprovalRuleTemplateAssociationMapOutput
func (ApprovalRuleTemplateAssociationMapOutput) ToApprovalRuleTemplateAssociationMapOutputWithContext ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationMapOutput) ToApprovalRuleTemplateAssociationMapOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationMapOutput
type ApprovalRuleTemplateAssociationOutput ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationOutput struct{ *pulumi.OutputState }
func (ApprovalRuleTemplateAssociationOutput) ElementType ¶ added in v4.32.0
func (ApprovalRuleTemplateAssociationOutput) ElementType() reflect.Type
func (ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationOutput ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationOutput() ApprovalRuleTemplateAssociationOutput
func (ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationOutputWithContext ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationOutput
func (ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationPtrOutput ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationPtrOutput() ApprovalRuleTemplateAssociationPtrOutput
func (ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationPtrOutputWithContext ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationOutput) ToApprovalRuleTemplateAssociationPtrOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationPtrOutput
type ApprovalRuleTemplateAssociationPtrInput ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationPtrInput interface { pulumi.Input ToApprovalRuleTemplateAssociationPtrOutput() ApprovalRuleTemplateAssociationPtrOutput ToApprovalRuleTemplateAssociationPtrOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationPtrOutput }
type ApprovalRuleTemplateAssociationPtrOutput ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationPtrOutput struct{ *pulumi.OutputState }
func (ApprovalRuleTemplateAssociationPtrOutput) ElementType ¶ added in v4.32.0
func (ApprovalRuleTemplateAssociationPtrOutput) ElementType() reflect.Type
func (ApprovalRuleTemplateAssociationPtrOutput) ToApprovalRuleTemplateAssociationPtrOutput ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationPtrOutput) ToApprovalRuleTemplateAssociationPtrOutput() ApprovalRuleTemplateAssociationPtrOutput
func (ApprovalRuleTemplateAssociationPtrOutput) ToApprovalRuleTemplateAssociationPtrOutputWithContext ¶ added in v4.32.0
func (o ApprovalRuleTemplateAssociationPtrOutput) ToApprovalRuleTemplateAssociationPtrOutputWithContext(ctx context.Context) ApprovalRuleTemplateAssociationPtrOutput
type ApprovalRuleTemplateAssociationState ¶ added in v4.32.0
type ApprovalRuleTemplateAssociationState struct { // The name for the approval rule template. ApprovalRuleTemplateName pulumi.StringPtrInput // The name of the repository that you want to associate with the template. RepositoryName pulumi.StringPtrInput }
func (ApprovalRuleTemplateAssociationState) ElementType ¶ added in v4.32.0
func (ApprovalRuleTemplateAssociationState) ElementType() reflect.Type
type ApprovalRuleTemplateInput ¶ added in v4.31.0
type ApprovalRuleTemplateInput interface { pulumi.Input ToApprovalRuleTemplateOutput() ApprovalRuleTemplateOutput ToApprovalRuleTemplateOutputWithContext(ctx context.Context) ApprovalRuleTemplateOutput }
type ApprovalRuleTemplateMap ¶ added in v4.31.0
type ApprovalRuleTemplateMap map[string]ApprovalRuleTemplateInput
func (ApprovalRuleTemplateMap) ElementType ¶ added in v4.31.0
func (ApprovalRuleTemplateMap) ElementType() reflect.Type
func (ApprovalRuleTemplateMap) ToApprovalRuleTemplateMapOutput ¶ added in v4.31.0
func (i ApprovalRuleTemplateMap) ToApprovalRuleTemplateMapOutput() ApprovalRuleTemplateMapOutput
func (ApprovalRuleTemplateMap) ToApprovalRuleTemplateMapOutputWithContext ¶ added in v4.31.0
func (i ApprovalRuleTemplateMap) ToApprovalRuleTemplateMapOutputWithContext(ctx context.Context) ApprovalRuleTemplateMapOutput
type ApprovalRuleTemplateMapInput ¶ added in v4.31.0
type ApprovalRuleTemplateMapInput interface { pulumi.Input ToApprovalRuleTemplateMapOutput() ApprovalRuleTemplateMapOutput ToApprovalRuleTemplateMapOutputWithContext(context.Context) ApprovalRuleTemplateMapOutput }
ApprovalRuleTemplateMapInput is an input type that accepts ApprovalRuleTemplateMap and ApprovalRuleTemplateMapOutput values. You can construct a concrete instance of `ApprovalRuleTemplateMapInput` via:
ApprovalRuleTemplateMap{ "key": ApprovalRuleTemplateArgs{...} }
type ApprovalRuleTemplateMapOutput ¶ added in v4.31.0
type ApprovalRuleTemplateMapOutput struct{ *pulumi.OutputState }
func (ApprovalRuleTemplateMapOutput) ElementType ¶ added in v4.31.0
func (ApprovalRuleTemplateMapOutput) ElementType() reflect.Type
func (ApprovalRuleTemplateMapOutput) MapIndex ¶ added in v4.31.0
func (o ApprovalRuleTemplateMapOutput) MapIndex(k pulumi.StringInput) ApprovalRuleTemplateOutput
func (ApprovalRuleTemplateMapOutput) ToApprovalRuleTemplateMapOutput ¶ added in v4.31.0
func (o ApprovalRuleTemplateMapOutput) ToApprovalRuleTemplateMapOutput() ApprovalRuleTemplateMapOutput
func (ApprovalRuleTemplateMapOutput) ToApprovalRuleTemplateMapOutputWithContext ¶ added in v4.31.0
func (o ApprovalRuleTemplateMapOutput) ToApprovalRuleTemplateMapOutputWithContext(ctx context.Context) ApprovalRuleTemplateMapOutput
type ApprovalRuleTemplateOutput ¶ added in v4.31.0
type ApprovalRuleTemplateOutput struct{ *pulumi.OutputState }
func (ApprovalRuleTemplateOutput) ElementType ¶ added in v4.31.0
func (ApprovalRuleTemplateOutput) ElementType() reflect.Type
func (ApprovalRuleTemplateOutput) ToApprovalRuleTemplateOutput ¶ added in v4.31.0
func (o ApprovalRuleTemplateOutput) ToApprovalRuleTemplateOutput() ApprovalRuleTemplateOutput
func (ApprovalRuleTemplateOutput) ToApprovalRuleTemplateOutputWithContext ¶ added in v4.31.0
func (o ApprovalRuleTemplateOutput) ToApprovalRuleTemplateOutputWithContext(ctx context.Context) ApprovalRuleTemplateOutput
func (ApprovalRuleTemplateOutput) ToApprovalRuleTemplatePtrOutput ¶ added in v4.31.0
func (o ApprovalRuleTemplateOutput) ToApprovalRuleTemplatePtrOutput() ApprovalRuleTemplatePtrOutput
func (ApprovalRuleTemplateOutput) ToApprovalRuleTemplatePtrOutputWithContext ¶ added in v4.31.0
func (o ApprovalRuleTemplateOutput) ToApprovalRuleTemplatePtrOutputWithContext(ctx context.Context) ApprovalRuleTemplatePtrOutput
type ApprovalRuleTemplatePtrInput ¶ added in v4.31.0
type ApprovalRuleTemplatePtrInput interface { pulumi.Input ToApprovalRuleTemplatePtrOutput() ApprovalRuleTemplatePtrOutput ToApprovalRuleTemplatePtrOutputWithContext(ctx context.Context) ApprovalRuleTemplatePtrOutput }
type ApprovalRuleTemplatePtrOutput ¶ added in v4.31.0
type ApprovalRuleTemplatePtrOutput struct{ *pulumi.OutputState }
func (ApprovalRuleTemplatePtrOutput) Elem ¶ added in v4.31.0
func (o ApprovalRuleTemplatePtrOutput) Elem() ApprovalRuleTemplateOutput
func (ApprovalRuleTemplatePtrOutput) ElementType ¶ added in v4.31.0
func (ApprovalRuleTemplatePtrOutput) ElementType() reflect.Type
func (ApprovalRuleTemplatePtrOutput) ToApprovalRuleTemplatePtrOutput ¶ added in v4.31.0
func (o ApprovalRuleTemplatePtrOutput) ToApprovalRuleTemplatePtrOutput() ApprovalRuleTemplatePtrOutput
func (ApprovalRuleTemplatePtrOutput) ToApprovalRuleTemplatePtrOutputWithContext ¶ added in v4.31.0
func (o ApprovalRuleTemplatePtrOutput) ToApprovalRuleTemplatePtrOutputWithContext(ctx context.Context) ApprovalRuleTemplatePtrOutput
type ApprovalRuleTemplateState ¶ added in v4.31.0
type ApprovalRuleTemplateState struct { // The ID of the approval rule template ApprovalRuleTemplateId pulumi.StringPtrInput // The content of the approval rule template. Maximum of 3000 characters. Content pulumi.StringPtrInput // The date the approval rule template was created, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). CreationDate pulumi.StringPtrInput // The description of the approval rule template. Maximum of 1000 characters. Description pulumi.StringPtrInput // The date the approval rule template was most recently changed, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). LastModifiedDate pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template. LastModifiedUser pulumi.StringPtrInput // The name for the approval rule template. Maximum of 100 characters. Name pulumi.StringPtrInput // The SHA-256 hash signature for the content of the approval rule template. RuleContentSha256 pulumi.StringPtrInput }
func (ApprovalRuleTemplateState) ElementType ¶ added in v4.31.0
func (ApprovalRuleTemplateState) ElementType() reflect.Type
type LookupApprovalRuleTemplateArgs ¶ added in v4.31.0
type LookupApprovalRuleTemplateArgs struct { // The name for the approval rule template. This needs to be less than 100 characters. Name string `pulumi:"name"` }
A collection of arguments for invoking getApprovalRuleTemplate.
type LookupApprovalRuleTemplateOutputArgs ¶ added in v4.31.0
type LookupApprovalRuleTemplateOutputArgs struct { // The name for the approval rule template. This needs to be less than 100 characters. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getApprovalRuleTemplate.
func (LookupApprovalRuleTemplateOutputArgs) ElementType ¶ added in v4.31.0
func (LookupApprovalRuleTemplateOutputArgs) ElementType() reflect.Type
type LookupApprovalRuleTemplateResult ¶ added in v4.31.0
type LookupApprovalRuleTemplateResult struct { // The ID of the approval rule template. ApprovalRuleTemplateId string `pulumi:"approvalRuleTemplateId"` // The content of the approval rule template. Content string `pulumi:"content"` // The date the approval rule template was created, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). CreationDate string `pulumi:"creationDate"` // The description of the approval rule template. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The date the approval rule template was most recently changed, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). LastModifiedDate string `pulumi:"lastModifiedDate"` // The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template. LastModifiedUser string `pulumi:"lastModifiedUser"` Name string `pulumi:"name"` // The SHA-256 hash signature for the content of the approval rule template. RuleContentSha256 string `pulumi:"ruleContentSha256"` }
A collection of values returned by getApprovalRuleTemplate.
func LookupApprovalRuleTemplate ¶ added in v4.31.0
func LookupApprovalRuleTemplate(ctx *pulumi.Context, args *LookupApprovalRuleTemplateArgs, opts ...pulumi.InvokeOption) (*LookupApprovalRuleTemplateResult, error)
Provides details about a specific CodeCommit Approval Rule Template.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codecommit" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codecommit.LookupApprovalRuleTemplate(ctx, &codecommit.LookupApprovalRuleTemplateArgs{ Name: "MyExampleApprovalRuleTemplate", }, nil) if err != nil { return err } return nil }) }
```
type LookupApprovalRuleTemplateResultOutput ¶ added in v4.31.0
type LookupApprovalRuleTemplateResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getApprovalRuleTemplate.
func LookupApprovalRuleTemplateOutput ¶ added in v4.31.0
func LookupApprovalRuleTemplateOutput(ctx *pulumi.Context, args LookupApprovalRuleTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupApprovalRuleTemplateResultOutput
func (LookupApprovalRuleTemplateResultOutput) ApprovalRuleTemplateId ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) ApprovalRuleTemplateId() pulumi.StringOutput
The ID of the approval rule template.
func (LookupApprovalRuleTemplateResultOutput) Content ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) Content() pulumi.StringOutput
The content of the approval rule template.
func (LookupApprovalRuleTemplateResultOutput) CreationDate ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) CreationDate() pulumi.StringOutput
The date the approval rule template was created, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
func (LookupApprovalRuleTemplateResultOutput) Description ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) Description() pulumi.StringOutput
The description of the approval rule template.
func (LookupApprovalRuleTemplateResultOutput) ElementType ¶ added in v4.31.0
func (LookupApprovalRuleTemplateResultOutput) ElementType() reflect.Type
func (LookupApprovalRuleTemplateResultOutput) Id ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupApprovalRuleTemplateResultOutput) LastModifiedDate ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) LastModifiedDate() pulumi.StringOutput
The date the approval rule template was most recently changed, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
func (LookupApprovalRuleTemplateResultOutput) LastModifiedUser ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) LastModifiedUser() pulumi.StringOutput
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
func (LookupApprovalRuleTemplateResultOutput) Name ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) Name() pulumi.StringOutput
func (LookupApprovalRuleTemplateResultOutput) RuleContentSha256 ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) RuleContentSha256() pulumi.StringOutput
The SHA-256 hash signature for the content of the approval rule template.
func (LookupApprovalRuleTemplateResultOutput) ToLookupApprovalRuleTemplateResultOutput ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) ToLookupApprovalRuleTemplateResultOutput() LookupApprovalRuleTemplateResultOutput
func (LookupApprovalRuleTemplateResultOutput) ToLookupApprovalRuleTemplateResultOutputWithContext ¶ added in v4.31.0
func (o LookupApprovalRuleTemplateResultOutput) ToLookupApprovalRuleTemplateResultOutputWithContext(ctx context.Context) LookupApprovalRuleTemplateResultOutput
type LookupRepositoryArgs ¶
type LookupRepositoryArgs struct { // The name for the repository. This needs to be less than 100 characters. RepositoryName string `pulumi:"repositoryName"` }
A collection of arguments for invoking getRepository.
type LookupRepositoryOutputArgs ¶ added in v4.21.0
type LookupRepositoryOutputArgs struct { // The name for the repository. This needs to be less than 100 characters. RepositoryName pulumi.StringInput `pulumi:"repositoryName"` }
A collection of arguments for invoking getRepository.
func (LookupRepositoryOutputArgs) ElementType ¶ added in v4.21.0
func (LookupRepositoryOutputArgs) ElementType() reflect.Type
type LookupRepositoryResult ¶
type LookupRepositoryResult struct { // The ARN of the repository Arn string `pulumi:"arn"` // The URL to use for cloning the repository over HTTPS. CloneUrlHttp string `pulumi:"cloneUrlHttp"` // The URL to use for cloning the repository over SSH. CloneUrlSsh string `pulumi:"cloneUrlSsh"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ID of the repository RepositoryId string `pulumi:"repositoryId"` RepositoryName string `pulumi:"repositoryName"` }
A collection of values returned by getRepository.
func LookupRepository ¶
func LookupRepository(ctx *pulumi.Context, args *LookupRepositoryArgs, opts ...pulumi.InvokeOption) (*LookupRepositoryResult, error)
The CodeCommit Repository data source allows the ARN, Repository ID, Repository URL for HTTP and Repository URL for SSH to be retrieved for an CodeCommit repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codecommit" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codecommit.LookupRepository(ctx, &codecommit.LookupRepositoryArgs{ RepositoryName: "MyTestRepository", }, nil) if err != nil { return err } return nil }) }
```
type LookupRepositoryResultOutput ¶ added in v4.21.0
type LookupRepositoryResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRepository.
func LookupRepositoryOutput ¶ added in v4.21.0
func LookupRepositoryOutput(ctx *pulumi.Context, args LookupRepositoryOutputArgs, opts ...pulumi.InvokeOption) LookupRepositoryResultOutput
func (LookupRepositoryResultOutput) Arn ¶ added in v4.21.0
func (o LookupRepositoryResultOutput) Arn() pulumi.StringOutput
The ARN of the repository
func (LookupRepositoryResultOutput) CloneUrlHttp ¶ added in v4.21.0
func (o LookupRepositoryResultOutput) CloneUrlHttp() pulumi.StringOutput
The URL to use for cloning the repository over HTTPS.
func (LookupRepositoryResultOutput) CloneUrlSsh ¶ added in v4.21.0
func (o LookupRepositoryResultOutput) CloneUrlSsh() pulumi.StringOutput
The URL to use for cloning the repository over SSH.
func (LookupRepositoryResultOutput) ElementType ¶ added in v4.21.0
func (LookupRepositoryResultOutput) ElementType() reflect.Type
func (LookupRepositoryResultOutput) Id ¶ added in v4.21.0
func (o LookupRepositoryResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRepositoryResultOutput) RepositoryId ¶ added in v4.21.0
func (o LookupRepositoryResultOutput) RepositoryId() pulumi.StringOutput
The ID of the repository
func (LookupRepositoryResultOutput) RepositoryName ¶ added in v4.21.0
func (o LookupRepositoryResultOutput) RepositoryName() pulumi.StringOutput
func (LookupRepositoryResultOutput) ToLookupRepositoryResultOutput ¶ added in v4.21.0
func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutput() LookupRepositoryResultOutput
func (LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext ¶ added in v4.21.0
func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext(ctx context.Context) LookupRepositoryResultOutput
type Repository ¶
type Repository struct { pulumi.CustomResourceState // The ARN of the repository Arn pulumi.StringOutput `pulumi:"arn"` // The URL to use for cloning the repository over HTTPS. CloneUrlHttp pulumi.StringOutput `pulumi:"cloneUrlHttp"` // The URL to use for cloning the repository over SSH. CloneUrlSsh pulumi.StringOutput `pulumi:"cloneUrlSsh"` // The default branch of the repository. The branch specified here needs to exist. DefaultBranch pulumi.StringPtrOutput `pulumi:"defaultBranch"` // The description of the repository. This needs to be less than 1000 characters Description pulumi.StringPtrOutput `pulumi:"description"` // The ID of the repository RepositoryId pulumi.StringOutput `pulumi:"repositoryId"` // The name for the repository. This needs to be less than 100 characters. RepositoryName pulumi.StringOutput `pulumi:"repositoryName"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CodeCommit Repository Resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codecommit" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := codecommit.NewRepository(ctx, "test", &codecommit.RepositoryArgs{ Description: pulumi.String("This is the Sample App Repository"), RepositoryName: pulumi.String("MyTestRepository"), }) if err != nil { return err } return nil }) }
```
## Import
Codecommit repository can be imported using repository name, e.g.,
```sh
$ pulumi import aws:codecommit/repository:Repository imported ExistingRepo
```
func GetRepository ¶
func GetRepository(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryState, opts ...pulumi.ResourceOption) (*Repository, error)
GetRepository gets an existing Repository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepository ¶
func NewRepository(ctx *pulumi.Context, name string, args *RepositoryArgs, opts ...pulumi.ResourceOption) (*Repository, error)
NewRepository registers a new resource with the given unique name, arguments, and options.
func (*Repository) ElementType ¶
func (*Repository) ElementType() reflect.Type
func (*Repository) ToRepositoryOutput ¶
func (i *Repository) ToRepositoryOutput() RepositoryOutput
func (*Repository) ToRepositoryOutputWithContext ¶
func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
func (*Repository) ToRepositoryPtrOutput ¶
func (i *Repository) ToRepositoryPtrOutput() RepositoryPtrOutput
func (*Repository) ToRepositoryPtrOutputWithContext ¶
func (i *Repository) ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput
type RepositoryArgs ¶
type RepositoryArgs struct { // The default branch of the repository. The branch specified here needs to exist. DefaultBranch pulumi.StringPtrInput // The description of the repository. This needs to be less than 1000 characters Description pulumi.StringPtrInput // The name for the repository. This needs to be less than 100 characters. RepositoryName pulumi.StringInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Repository resource.
func (RepositoryArgs) ElementType ¶
func (RepositoryArgs) ElementType() reflect.Type
type RepositoryArray ¶
type RepositoryArray []RepositoryInput
func (RepositoryArray) ElementType ¶
func (RepositoryArray) ElementType() reflect.Type
func (RepositoryArray) ToRepositoryArrayOutput ¶
func (i RepositoryArray) ToRepositoryArrayOutput() RepositoryArrayOutput
func (RepositoryArray) ToRepositoryArrayOutputWithContext ¶
func (i RepositoryArray) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
type RepositoryArrayInput ¶
type RepositoryArrayInput interface { pulumi.Input ToRepositoryArrayOutput() RepositoryArrayOutput ToRepositoryArrayOutputWithContext(context.Context) RepositoryArrayOutput }
RepositoryArrayInput is an input type that accepts RepositoryArray and RepositoryArrayOutput values. You can construct a concrete instance of `RepositoryArrayInput` via:
RepositoryArray{ RepositoryArgs{...} }
type RepositoryArrayOutput ¶
type RepositoryArrayOutput struct{ *pulumi.OutputState }
func (RepositoryArrayOutput) ElementType ¶
func (RepositoryArrayOutput) ElementType() reflect.Type
func (RepositoryArrayOutput) Index ¶
func (o RepositoryArrayOutput) Index(i pulumi.IntInput) RepositoryOutput
func (RepositoryArrayOutput) ToRepositoryArrayOutput ¶
func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput
func (RepositoryArrayOutput) ToRepositoryArrayOutputWithContext ¶
func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
type RepositoryInput ¶
type RepositoryInput interface { pulumi.Input ToRepositoryOutput() RepositoryOutput ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput }
type RepositoryMap ¶
type RepositoryMap map[string]RepositoryInput
func (RepositoryMap) ElementType ¶
func (RepositoryMap) ElementType() reflect.Type
func (RepositoryMap) ToRepositoryMapOutput ¶
func (i RepositoryMap) ToRepositoryMapOutput() RepositoryMapOutput
func (RepositoryMap) ToRepositoryMapOutputWithContext ¶
func (i RepositoryMap) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
type RepositoryMapInput ¶
type RepositoryMapInput interface { pulumi.Input ToRepositoryMapOutput() RepositoryMapOutput ToRepositoryMapOutputWithContext(context.Context) RepositoryMapOutput }
RepositoryMapInput is an input type that accepts RepositoryMap and RepositoryMapOutput values. You can construct a concrete instance of `RepositoryMapInput` via:
RepositoryMap{ "key": RepositoryArgs{...} }
type RepositoryMapOutput ¶
type RepositoryMapOutput struct{ *pulumi.OutputState }
func (RepositoryMapOutput) ElementType ¶
func (RepositoryMapOutput) ElementType() reflect.Type
func (RepositoryMapOutput) MapIndex ¶
func (o RepositoryMapOutput) MapIndex(k pulumi.StringInput) RepositoryOutput
func (RepositoryMapOutput) ToRepositoryMapOutput ¶
func (o RepositoryMapOutput) ToRepositoryMapOutput() RepositoryMapOutput
func (RepositoryMapOutput) ToRepositoryMapOutputWithContext ¶
func (o RepositoryMapOutput) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
type RepositoryOutput ¶
type RepositoryOutput struct{ *pulumi.OutputState }
func (RepositoryOutput) ElementType ¶
func (RepositoryOutput) ElementType() reflect.Type
func (RepositoryOutput) ToRepositoryOutput ¶
func (o RepositoryOutput) ToRepositoryOutput() RepositoryOutput
func (RepositoryOutput) ToRepositoryOutputWithContext ¶
func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
func (RepositoryOutput) ToRepositoryPtrOutput ¶
func (o RepositoryOutput) ToRepositoryPtrOutput() RepositoryPtrOutput
func (RepositoryOutput) ToRepositoryPtrOutputWithContext ¶
func (o RepositoryOutput) ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput
type RepositoryPtrInput ¶
type RepositoryPtrInput interface { pulumi.Input ToRepositoryPtrOutput() RepositoryPtrOutput ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput }
type RepositoryPtrOutput ¶
type RepositoryPtrOutput struct{ *pulumi.OutputState }
func (RepositoryPtrOutput) Elem ¶ added in v4.15.0
func (o RepositoryPtrOutput) Elem() RepositoryOutput
func (RepositoryPtrOutput) ElementType ¶
func (RepositoryPtrOutput) ElementType() reflect.Type
func (RepositoryPtrOutput) ToRepositoryPtrOutput ¶
func (o RepositoryPtrOutput) ToRepositoryPtrOutput() RepositoryPtrOutput
func (RepositoryPtrOutput) ToRepositoryPtrOutputWithContext ¶
func (o RepositoryPtrOutput) ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput
type RepositoryState ¶
type RepositoryState struct { // The ARN of the repository Arn pulumi.StringPtrInput // The URL to use for cloning the repository over HTTPS. CloneUrlHttp pulumi.StringPtrInput // The URL to use for cloning the repository over SSH. CloneUrlSsh pulumi.StringPtrInput // The default branch of the repository. The branch specified here needs to exist. DefaultBranch pulumi.StringPtrInput // The description of the repository. This needs to be less than 1000 characters Description pulumi.StringPtrInput // The ID of the repository RepositoryId pulumi.StringPtrInput // The name for the repository. This needs to be less than 100 characters. RepositoryName pulumi.StringPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (RepositoryState) ElementType ¶
func (RepositoryState) ElementType() reflect.Type
type Trigger ¶
type Trigger struct { pulumi.CustomResourceState // System-generated unique identifier. ConfigurationId pulumi.StringOutput `pulumi:"configurationId"` // The name for the repository. This needs to be less than 100 characters. RepositoryName pulumi.StringOutput `pulumi:"repositoryName"` Triggers TriggerTriggerArrayOutput `pulumi:"triggers"` }
func GetTrigger ¶
func GetTrigger(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)
GetTrigger gets an existing Trigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTrigger ¶
func NewTrigger(ctx *pulumi.Context, name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)
NewTrigger registers a new resource with the given unique name, arguments, and options.
func (*Trigger) ElementType ¶
func (*Trigger) ToTriggerOutput ¶
func (i *Trigger) ToTriggerOutput() TriggerOutput
func (*Trigger) ToTriggerOutputWithContext ¶
func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
func (*Trigger) ToTriggerPtrOutput ¶
func (i *Trigger) ToTriggerPtrOutput() TriggerPtrOutput
func (*Trigger) ToTriggerPtrOutputWithContext ¶
func (i *Trigger) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
type TriggerArgs ¶
type TriggerArgs struct { // The name for the repository. This needs to be less than 100 characters. RepositoryName pulumi.StringInput Triggers TriggerTriggerArrayInput }
The set of arguments for constructing a Trigger resource.
func (TriggerArgs) ElementType ¶
func (TriggerArgs) ElementType() reflect.Type
type TriggerArray ¶
type TriggerArray []TriggerInput
func (TriggerArray) ElementType ¶
func (TriggerArray) ElementType() reflect.Type
func (TriggerArray) ToTriggerArrayOutput ¶
func (i TriggerArray) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArray) ToTriggerArrayOutputWithContext ¶
func (i TriggerArray) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerArrayInput ¶
type TriggerArrayInput interface { pulumi.Input ToTriggerArrayOutput() TriggerArrayOutput ToTriggerArrayOutputWithContext(context.Context) TriggerArrayOutput }
TriggerArrayInput is an input type that accepts TriggerArray and TriggerArrayOutput values. You can construct a concrete instance of `TriggerArrayInput` via:
TriggerArray{ TriggerArgs{...} }
type TriggerArrayOutput ¶
type TriggerArrayOutput struct{ *pulumi.OutputState }
func (TriggerArrayOutput) ElementType ¶
func (TriggerArrayOutput) ElementType() reflect.Type
func (TriggerArrayOutput) Index ¶
func (o TriggerArrayOutput) Index(i pulumi.IntInput) TriggerOutput
func (TriggerArrayOutput) ToTriggerArrayOutput ¶
func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArrayOutput) ToTriggerArrayOutputWithContext ¶
func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerInput ¶
type TriggerInput interface { pulumi.Input ToTriggerOutput() TriggerOutput ToTriggerOutputWithContext(ctx context.Context) TriggerOutput }
type TriggerMap ¶
type TriggerMap map[string]TriggerInput
func (TriggerMap) ElementType ¶
func (TriggerMap) ElementType() reflect.Type
func (TriggerMap) ToTriggerMapOutput ¶
func (i TriggerMap) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMap) ToTriggerMapOutputWithContext ¶
func (i TriggerMap) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerMapInput ¶
type TriggerMapInput interface { pulumi.Input ToTriggerMapOutput() TriggerMapOutput ToTriggerMapOutputWithContext(context.Context) TriggerMapOutput }
TriggerMapInput is an input type that accepts TriggerMap and TriggerMapOutput values. You can construct a concrete instance of `TriggerMapInput` via:
TriggerMap{ "key": TriggerArgs{...} }
type TriggerMapOutput ¶
type TriggerMapOutput struct{ *pulumi.OutputState }
func (TriggerMapOutput) ElementType ¶
func (TriggerMapOutput) ElementType() reflect.Type
func (TriggerMapOutput) MapIndex ¶
func (o TriggerMapOutput) MapIndex(k pulumi.StringInput) TriggerOutput
func (TriggerMapOutput) ToTriggerMapOutput ¶
func (o TriggerMapOutput) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMapOutput) ToTriggerMapOutputWithContext ¶
func (o TriggerMapOutput) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerOutput ¶
type TriggerOutput struct{ *pulumi.OutputState }
func (TriggerOutput) ElementType ¶
func (TriggerOutput) ElementType() reflect.Type
func (TriggerOutput) ToTriggerOutput ¶
func (o TriggerOutput) ToTriggerOutput() TriggerOutput
func (TriggerOutput) ToTriggerOutputWithContext ¶
func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
func (TriggerOutput) ToTriggerPtrOutput ¶
func (o TriggerOutput) ToTriggerPtrOutput() TriggerPtrOutput
func (TriggerOutput) ToTriggerPtrOutputWithContext ¶
func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
type TriggerPtrInput ¶
type TriggerPtrInput interface { pulumi.Input ToTriggerPtrOutput() TriggerPtrOutput ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput }
type TriggerPtrOutput ¶
type TriggerPtrOutput struct{ *pulumi.OutputState }
func (TriggerPtrOutput) Elem ¶ added in v4.15.0
func (o TriggerPtrOutput) Elem() TriggerOutput
func (TriggerPtrOutput) ElementType ¶
func (TriggerPtrOutput) ElementType() reflect.Type
func (TriggerPtrOutput) ToTriggerPtrOutput ¶
func (o TriggerPtrOutput) ToTriggerPtrOutput() TriggerPtrOutput
func (TriggerPtrOutput) ToTriggerPtrOutputWithContext ¶
func (o TriggerPtrOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
type TriggerState ¶
type TriggerState struct { // System-generated unique identifier. ConfigurationId pulumi.StringPtrInput // The name for the repository. This needs to be less than 100 characters. RepositoryName pulumi.StringPtrInput Triggers TriggerTriggerArrayInput }
func (TriggerState) ElementType ¶
func (TriggerState) ElementType() reflect.Type
type TriggerTrigger ¶
type TriggerTrigger struct { // The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches. Branches []string `pulumi:"branches"` // Any custom data associated with the trigger that will be included in the information sent to the target of the trigger. CustomData *string `pulumi:"customData"` // The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS). DestinationArn string `pulumi:"destinationArn"` // The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`. Events []string `pulumi:"events"` // The name of the trigger. Name string `pulumi:"name"` }
type TriggerTriggerArgs ¶
type TriggerTriggerArgs struct { // The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches. Branches pulumi.StringArrayInput `pulumi:"branches"` // Any custom data associated with the trigger that will be included in the information sent to the target of the trigger. CustomData pulumi.StringPtrInput `pulumi:"customData"` // The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS). DestinationArn pulumi.StringInput `pulumi:"destinationArn"` // The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`. Events pulumi.StringArrayInput `pulumi:"events"` // The name of the trigger. Name pulumi.StringInput `pulumi:"name"` }
func (TriggerTriggerArgs) ElementType ¶
func (TriggerTriggerArgs) ElementType() reflect.Type
func (TriggerTriggerArgs) ToTriggerTriggerOutput ¶
func (i TriggerTriggerArgs) ToTriggerTriggerOutput() TriggerTriggerOutput
func (TriggerTriggerArgs) ToTriggerTriggerOutputWithContext ¶
func (i TriggerTriggerArgs) ToTriggerTriggerOutputWithContext(ctx context.Context) TriggerTriggerOutput
type TriggerTriggerArray ¶
type TriggerTriggerArray []TriggerTriggerInput
func (TriggerTriggerArray) ElementType ¶
func (TriggerTriggerArray) ElementType() reflect.Type
func (TriggerTriggerArray) ToTriggerTriggerArrayOutput ¶
func (i TriggerTriggerArray) ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput
func (TriggerTriggerArray) ToTriggerTriggerArrayOutputWithContext ¶
func (i TriggerTriggerArray) ToTriggerTriggerArrayOutputWithContext(ctx context.Context) TriggerTriggerArrayOutput
type TriggerTriggerArrayInput ¶
type TriggerTriggerArrayInput interface { pulumi.Input ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput ToTriggerTriggerArrayOutputWithContext(context.Context) TriggerTriggerArrayOutput }
TriggerTriggerArrayInput is an input type that accepts TriggerTriggerArray and TriggerTriggerArrayOutput values. You can construct a concrete instance of `TriggerTriggerArrayInput` via:
TriggerTriggerArray{ TriggerTriggerArgs{...} }
type TriggerTriggerArrayOutput ¶
type TriggerTriggerArrayOutput struct{ *pulumi.OutputState }
func (TriggerTriggerArrayOutput) ElementType ¶
func (TriggerTriggerArrayOutput) ElementType() reflect.Type
func (TriggerTriggerArrayOutput) Index ¶
func (o TriggerTriggerArrayOutput) Index(i pulumi.IntInput) TriggerTriggerOutput
func (TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutput ¶
func (o TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput
func (TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutputWithContext ¶
func (o TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutputWithContext(ctx context.Context) TriggerTriggerArrayOutput
type TriggerTriggerInput ¶
type TriggerTriggerInput interface { pulumi.Input ToTriggerTriggerOutput() TriggerTriggerOutput ToTriggerTriggerOutputWithContext(context.Context) TriggerTriggerOutput }
TriggerTriggerInput is an input type that accepts TriggerTriggerArgs and TriggerTriggerOutput values. You can construct a concrete instance of `TriggerTriggerInput` via:
TriggerTriggerArgs{...}
type TriggerTriggerOutput ¶
type TriggerTriggerOutput struct{ *pulumi.OutputState }
func (TriggerTriggerOutput) Branches ¶
func (o TriggerTriggerOutput) Branches() pulumi.StringArrayOutput
The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
func (TriggerTriggerOutput) CustomData ¶
func (o TriggerTriggerOutput) CustomData() pulumi.StringPtrOutput
Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
func (TriggerTriggerOutput) DestinationArn ¶
func (o TriggerTriggerOutput) DestinationArn() pulumi.StringOutput
The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
func (TriggerTriggerOutput) ElementType ¶
func (TriggerTriggerOutput) ElementType() reflect.Type
func (TriggerTriggerOutput) Events ¶
func (o TriggerTriggerOutput) Events() pulumi.StringArrayOutput
The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`.
func (TriggerTriggerOutput) Name ¶
func (o TriggerTriggerOutput) Name() pulumi.StringOutput
The name of the trigger.
func (TriggerTriggerOutput) ToTriggerTriggerOutput ¶
func (o TriggerTriggerOutput) ToTriggerTriggerOutput() TriggerTriggerOutput
func (TriggerTriggerOutput) ToTriggerTriggerOutputWithContext ¶
func (o TriggerTriggerOutput) ToTriggerTriggerOutputWithContext(ctx context.Context) TriggerTriggerOutput