Exemple #1
0
 public MyStack()
 {
     var foo = new Aws.Efs.FileSystem("foo", new Aws.Efs.FileSystemArgs
     {
         Tags =
         {
             { "Name", "MyProduct" },
         },
     });
 }
Exemple #2
0
 public MyStack()
 {
     var fooWithLifecylePolicy = new Aws.Efs.FileSystem("fooWithLifecylePolicy", new Aws.Efs.FileSystemArgs
     {
         LifecyclePolicy = new Aws.Efs.Inputs.FileSystemLifecyclePolicyArgs
         {
             TransitionToIa = "AFTER_30_DAYS",
         },
     });
 }
Exemple #3
0
 public MyStack()
 {
     var fs = new Aws.Efs.FileSystem("fs", new Aws.Efs.FileSystemArgs
     {
     });
     var policy = new Aws.Efs.FileSystemPolicy("policy", new Aws.Efs.FileSystemPolicyArgs
     {
         FileSystemId = fs.Id,
         Policy       = @$ "{{
 " "Version" ": " "2012-10-17" ",
 " "Id" ": " "ExamplePolicy01" ",
 " "Statement" ": [