我在哪里可以找到所有亚马逊云服务的元数据?

时间:2016-01-07 09:25:34

标签: amazon-web-services amazon-s3 cloud

我搜索AWS用于每项服务的元数据。对于AWS实例,它使用ami-id,ami_launch-index,hostname,instance-action等等元数据作为明智的元数据,我可以找到所有服务的元数据,如EBS,VPN ....

参考 从Amazon Elastic Compute Cloud用户指南(适用于Microsoft Windows实例)获取的信息pdf pg no:232 - 242

2 个答案:

答案 0 :(得分:1)

我相信您有兴趣了解每个AWS资源/服务的属性,而不是元数据。我不认为有一个正确的答案。我可以推荐的工作是使用AWS CloudFormation的每个AWS资源的语法定义。

例如:

EC2实例由以下语法表示。并非所有这些都是强制性的。 http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html

查看[ "AvailabilityZone" :字符串]

下面提供的:值对的KEYS
{
   "Type" : "AWS::EC2::Instance",
   "Properties" : {
      "AvailabilityZone" : String,
      "BlockDeviceMappings" : [ EC2 Block Device Mapping, ... ],
      "DisableApiTermination" : Boolean,
      "EbsOptimized" : Boolean,
      "IamInstanceProfile" : String,
      "ImageId" : String,
      "InstanceInitiatedShutdownBehavior" : String,
      "InstanceType" : String,
      "KernelId" : String,
      "KeyName" : String,
      "Monitoring" : Boolean,
      "NetworkInterfaces" : [ EC2 Network Interface, ... ],
      "PlacementGroupName" : String,
      "PrivateIpAddress" : String,
      "RamdiskId" : String,
      "SecurityGroupIds" : [ String, ... ],
      "SecurityGroups" : [ String, ... ],
      "SourceDestCheck" : Boolean,
      "SsmAssociations" : [ SSMAssociation, ... ]
      "SubnetId" : String,
      "Tags" : [ Resource Tag, ... ],
      "Tenancy" : String,
      "UserData" : String,
      "Volumes" : [ EC2 MountPoint, ... ],
      "AdditionalInfo" : String
   }
}

适用于VPC [http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html]

{
   "Type" : "AWS::EC2::VPC",
   "Properties" : {
      "CidrBlock" : String,
      "EnableDnsSupport" : Boolean,
      "EnableDnsHostnames" : Boolean,
      "InstanceTenancy" : String,
      "Tags" : [ Resource Tag, ... ]
   }
}   

对于EBS音量 [http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html]

{
   "Type":"AWS::EC2::Volume",
   "Properties" : {
      "AutoEnableIO" : Boolean,
      "AvailabilityZone" : String,
      "Encrypted" : Boolean,
      "Iops" : Number,
      "KmsKeyId" : String,
      "Size" : String,
      "SnapshotId" : String,
      "Tags" : [ Resource Tag, ... ],
      "VolumeType" : String
   }
}

CloudFormation资源页面包含大多数项目[http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html]的详细信息。以下是截至今日[2016年1月7日]的当前列表

  • AWS ::自动缩放:: AutoScalingGroup
  • AWS ::自动缩放:: LaunchConfiguration
  • AWS ::自动缩放:: LifecycleHook
  • AWS ::自动缩放:: ScalingPolicy
  • AWS ::自动缩放:: ScheduledAction
  • AWS :: CloudFormation ::认证
  • AWS :: CloudFormation :: CustomResource
  • AWS :: CloudFormation ::初始化
  • AWS :: CloudFormation ::接口
  • AWS :: CloudFormation ::堆栈
  • AWS :: CloudFormation :: WaitCondition
  • AWS :: CloudFormation :: WaitConditionHandle
  • AWS :: CloudFront的::分布
  • AWS :: CloudTrail ::径
  • AWS :: CloudWatch的::报警
  • AWS :: CodeDeploy ::应用
  • AWS :: CodeDeploy :: DeploymentConfig
  • AWS :: CodeDeploy :: DeploymentGroup
  • AWS :: CodePipeline :: CustomActionType
  • AWS :: CodePipeline ::管道
  • AWS ::配置:: ConfigRule
  • AWS ::配置:: ConfigurationRecorder
  • AWS ::配置::接口DeliveryChannel
  • AWS :: DataPipeline ::管道
  • AWS :: DirectoryService中:: MicrosoftAD
  • AWS :: DirectoryService中:: SimpleAD
  • AWS :: DynamoDB ::表
  • AWS :: EC2 :: CustomerGateway
  • AWS :: EC2 :: DHCPOptions
  • AWS :: EC2 :: EIP
  • AWS :: EC2 :: EIPAssociation
  • AWS :: EC2 ::实例
  • AWS :: EC2 :: InternetGateway
  • AWS :: EC2 :: NetworkAcl
  • AWS :: EC2 :: NetworkAclEntry
  • AWS :: EC2 ::的NetworkInterface
  • AWS :: EC2 :: NetworkInterfaceAttachment
  • AWS :: EC2 :: PlacementGroup的
  • AWS :: EC2 ::路线
  • AWS :: EC2 :: RouteTable
  • AWS :: EC2 :: SecurityGroup
  • AWS :: EC2 :: SecurityGroupEgress
  • AWS :: EC2 :: SecurityGroupIngress
  • AWS :: EC2 :: SpotFleet
  • AWS :: EC2 ::子网
  • AWS :: EC2 :: SubnetNetworkAclAssociation
  • AWS :: EC2 :: SubnetRouteTableAssociation
  • AWS :: EC2 ::量
  • AWS :: EC2 :: VolumeAttachment
  • AWS :: EC2 :: VPC
  • AWS :: EC2 :: VPCDHCPOptionsAssociation
  • AWS :: EC2 :: VPCEndpoint
  • AWS :: EC2 :: VPCGatewayAttachment
  • AWS :: EC2 :: VPCPeeringConnection
  • AWS :: EC2 :: VPNConnection
  • AWS :: EC2 :: VPNConnectionRoute
  • AWS :: EC2 :: VPNGateway
  • AWS :: EC2 :: VPNGatewayRoutePropagation
  • AWS :: ECS ::群集
  • AWS :: ECS ::服务
  • AWS :: ECS :: TaskDefinition
  • AWS :: EFS ::文件系统
  • AWS :: EFS :: MountTarget
  • AWS :: ElastiCache :: CacheCluster
  • AWS :: ElastiCache :: ParameterGroup
  • AWS :: ElastiCache :: ReplicationGroup
  • AWS :: ElastiCache :: SecurityGroup
  • AWS :: ElastiCache :: SecurityGroupIngress
  • AWS :: ElastiCache :: SubnetGroup
  • AWS :: ElasticBeanstalk ::应用
  • AWS :: ElasticBeanstalk :: ApplicationVersion
  • AWS :: ElasticBeanstalk :: ConfigurationTemplate
  • AWS :: ElasticBeanstalk ::环境
  • AWS :: ElasticLoadBalancing ::负载平衡器
  • AWS :: IAM :: ACCESSKEY
  • AWS :: IAM ::组
  • AWS :: IAM :: InstanceProfile
  • AWS :: IAM :: ManagedPolicy
  • AWS :: IAM ::政策
  • AWS :: IAM ::作用
  • AWS :: IAM ::用户
  • AWS :: IAM :: UserToGroupAddition
  • AWS ::室壁运动::流
  • AWS :: KMS ::密钥
  • AWS :: LAMBDA :: EventSourceMapping
  • AWS :: LAMBDA ::功能
  • AWS :: LAMBDA ::权限
  • AWS ::日志::目标
  • AWS ::日志:: LogGroup
  • AWS ::日志:: LogStream已
  • AWS ::日志:: MetricFilter
  • AWS ::日志:: SubscriptionFilter
  • AWS :: OpsWorks ::应用
  • AWS :: OpsWorks :: ElasticLoadBalancerAttachment
  • AWS :: OpsWorks ::实例
  • AWS :: OpsWorks ::层
  • AWS :: OpsWorks ::堆栈
  • AWS :: RDS :: DBCluster
  • AWS :: RDS :: DBClusterParameterGroup
  • AWS :: RDS :: dbinstance具备
  • AWS :: RDS :: DBParameterGroup
  • AWS :: RDS :: DBSecurityGroup
  • AWS :: RDS :: DBSecurityGroupIngress
  • AWS :: RDS :: DBSubnetGroup
  • AWS :: RDS :: EventSubscription
  • AWS :: RDS ::选项组
  • AWS ::红移::群集
  • AWS ::红移:: ClusterParameterGroup
  • AWS ::红移:: ClusterSecurityGroup
  • AWS ::红移:: ClusterSecurityGroupIngress
  • AWS ::红移:: ClusterSubnetGroup
  • AWS :: Route53 ::健康检查
  • AWS :: Route53 :: HostedZone
  • AWS :: Route53 ::记录集
  • AWS :: Route53 :: RecordSetGroup
  • AWS :: S3 ::铲斗
  • AWS :: S3 :: BucketPolicy
  • AWS :: SDB ::域

答案 1 :(得分:0)

尝试使用AWS CLI。 您可以执行各种服务的describe命令来查看和理解元数据