by shigemk2

当面は技術的なことしか書かない

2022-08-09から1日間の記事一覧

awscli describe-security-groups

AWS

The IDs of the security groups. Required for security groups in a nondefault VPC. グループIDを指定するときはVPCをフィルタリングしないとダメらしい。 あとregionも指定しないといけない。 aws ec2 describe-security-groups --filters "Name=vpc-id,…

CloudFormation SecurityGroup Ingress

AWS

SecurityGroupで指定できるソースの一覧。 CidrIp: String CidrIpv6: String Description: String FromPort: Integer IpProtocol: String SourcePrefixListId: String SourceSecurityGroupId: String SourceSecurityGroupName: String SourceSecurityGroupOw…

マネージドプレフィックスリスト

AWS

CloudFrontのIPのリストがマネージドで用意されており、SecurityGroupのインバウンドルールなどで、SourcePrefixListIdでマネージドプレフィックスリストを指定できる。 SecurityGroupIngress: - Description: Allow HTTPS from com.amazonaws.global.cloudf…