Exemple #1
0
 public MyStack()
 {
     var test = new Aws.CodeCommit.Repository("test", new Aws.CodeCommit.RepositoryArgs
     {
         Description    = "This is the Sample App Repository",
         RepositoryName = "MyTestRepository",
     });
 }
Exemple #2
0
 public MyStack()
 {
     var testRepository = new Aws.CodeCommit.Repository("testRepository", new Aws.CodeCommit.RepositoryArgs
     {
         RepositoryName = "test",
     });
     var testTrigger = new Aws.CodeCommit.Trigger("testTrigger", new Aws.CodeCommit.TriggerArgs
     {
         RepositoryName = testRepository.RepositoryName,
         Triggers       =
         {
             new Aws.CodeCommit.Inputs.TriggerTriggerArgs
             {
                 DestinationArn = aws_sns_topic.Test.Arn,
                 Events         =
                 {
                     "all",
                 },
                 Name = "all",
             },
         },
     });
 }