Sha256: 99c3643df2e413ca855beadb5e965593fe8f61c55940a4308201f996a91f9758

Contents?: true

Size: 1013 Bytes

Versions: 28

Compression:

Stored size: 1013 Bytes

Contents

AWS::IAM::ManagedPolicy:
  Properties:
    Description: "\"Managed Policy\""
    Path: "\"/path/\""
    Groups: |
      [ "GroupName" ]
    Roles: |
      [ "role name" ]
    Users: |
      [ "user name" ]
    PolicyDocument: |
      {
        "Version"   => "2012-10-17",
        "Statement" => [
          {
            "Effect" => "Allow",           
            "Action" => "rds:CreateDBInstance",
            "Resource" => FnJoin("", [ "arn:aws:rds:", Ref("AWS::Region"), ":", Ref("AWS::AccountId") , ":db:test*" ]), 
            "Condition" => {
              "StringEquals" => { "rds:DatabaseEngine" => "mysql" }
            }
          },
          {
            "Effect" => "Allow",           
            "Action" => "rds:CreateDBInstance",
            "Resource" => FnJoin("", ["arn:aws:rds:", Ref("AWS::Region"), ":", Ref("AWS::Region"), ":db:test*"]), 
            "Condition" => {
              "StringEquals" => { "rds:DatabaseClass" => "db.t2.micro" }
            }
          }
        ]
      }

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
cfnlego-0.6.3 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.6.2 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.6.1 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.6.0 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.5.1 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.5.0 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.4.0 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.3.6 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.3.5 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.3.4 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.3.3 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.3.2 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.3.1 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.3.0 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.2.9 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.2.8 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.2.7 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.2.6 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.2.5 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml
cfnlego-0.2.4 lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml