Пример #1
0
 public MyStack()
 {
     var example = new Aws.SecurityHub.Account("example", new Aws.SecurityHub.AccountArgs
     {
     });
     var cis = new Aws.SecurityHub.StandardsSubscription("cis", new Aws.SecurityHub.StandardsSubscriptionArgs
     {
         StandardsArn = "arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
     }, new CustomResourceOptions
     {
         DependsOn =
         {
             "aws_securityhub_account.example",
         },
     });
     var pci321 = new Aws.SecurityHub.StandardsSubscription("pci321", new Aws.SecurityHub.StandardsSubscriptionArgs
     {
         StandardsArn = "arn:aws:securityhub:us-east-1::standards/pci-dss/v/3.2.1",
     }, new CustomResourceOptions
     {
         DependsOn =
         {
             "aws_securityhub_account.example",
         },
     });
 }
Пример #2
0
 public MyStack()
 {
     var exampleAccount = new Aws.SecurityHub.Account("exampleAccount", new Aws.SecurityHub.AccountArgs
     {
     });
     var current = Output.Create(Aws.GetRegion.InvokeAsync());
     var exampleProductSubscription = new Aws.SecurityHub.ProductSubscription("exampleProductSubscription", new Aws.SecurityHub.ProductSubscriptionArgs
     {
         ProductArn = current.Apply(current => $"arn:aws:securityhub:{current.Name}:733251395267:product/alertlogic/althreatmanagement"),
     }, new CustomResourceOptions
     {
         DependsOn =
         {
             "aws_securityhub_account.example",
         },
     });
 }
Пример #3
0
 public MyStack()
 {
     var exampleAccount = new Aws.SecurityHub.Account("exampleAccount", new Aws.SecurityHub.AccountArgs
     {
     });
     var exampleMember = new Aws.SecurityHub.Member("exampleMember", new Aws.SecurityHub.MemberArgs
     {
         AccountId = "123456789012",
         Email     = "*****@*****.**",
         Invite    = true,
     }, new CustomResourceOptions
     {
         DependsOn =
         {
             "aws_securityhub_account.example",
         },
     });
 }
Пример #4
0
 public MyStack()
 {
     var example = new Aws.SecurityHub.Account("example", new Aws.SecurityHub.AccountArgs
     {
     });
 }