Sha256: fd8f1cd8eddca0f233be43a81feeebb1554722f5acae38b9d97e91daf8dcea2f

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

AWS::EC2::SecurityGroup:
  Properties:
     GroupDescription: "\"allow something and not allow something\""
     SecurityGroupEgress: |
      [
        {
           "CidrIp"                     => "0.0.0.0/0",
           "FromPort"                   => "80",
           "IpProtocol"                 => "tcp, udp, icmp, -1",
           "SourceSecurityGroupId"      => "sg-xxx, For VPC security groups only.",
           "SourceSecurityGroupName"    => "use in EC2-Classic, default VPC",
           "SourceSecurityGroupOwnerId" => "[EC2-Classic, default VPC] The AWS account number for the source security group.",
           "ToPort"                     => "80"
        }
      ]
     SecurityGroupIngress: |
      [
        {
           "CidrIp"                     => "192.168.0.0/24",
           "FromPort"                   => "80",
           "IpProtocol"                 => "tcp, udp, icmp, -1",
           "DestinationSecurityGroupId" => "Specifies the GroupId of the destination Amazon VPC security group.",
           "ToPort"                     => "80"
        }
      ]
     Tags:  |
      [
        "Key" => "Name",
        "Value" => "allow HTTP Eg and In"
      ]
     VpcId: "\"vpc-xxxxx\""

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cfnlego-0.0.9 lib/cfnlego/resources/EC2/SecurityGroup.yaml