Skip to content

Commit

Permalink
Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f20…
Browse files Browse the repository at this point in the history
…07d6d268b65b739ffb5ebf8c1e76 (#1708)

Automated SDK generation @ aws-cloudformation-user-guide
19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76

No new resources/functions.
  • Loading branch information
pulumi-bot authored Sep 5, 2024
1 parent 08ce08e commit a1ec338
Show file tree
Hide file tree
Showing 147 changed files with 4,996 additions and 1,617 deletions.
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e5d7e9e735cc0a24ace3e9aa5a22fcab28444734
45ec17445a2f8340a6a9d38eafcc27cf4948330d
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,6 @@
},
"CrlDistributionPointExtensionConfiguration" : {
"$ref" : "#/definitions/CrlDistributionPointExtensionConfiguration"
},
"RetainExpiredCertificates" : {
"type" : "boolean"
},
"PartitioningEnabled" : {
"type" : "boolean"
},
"CustomPath" : {
"type" : "string"
}
},
"required" : [ "Enabled" ]
Expand Down
11 changes: 9 additions & 2 deletions aws-cloudformation-schema/aws-backup-restoretestingplan.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"type" : "string",
"enum" : [ "SNAPSHOT", "CONTINUOUS" ]
},
"RestoreTestingScheduleStatus" : {
"type" : "string",
"enum" : [ "ACTIVE", "SUSPENDED" ]
},
"Tag" : {
"type" : "object",
"additionalProperties" : false,
Expand Down Expand Up @@ -80,6 +84,9 @@
"ScheduleExpressionTimezone" : {
"type" : "string"
},
"ScheduleStatus" : {
"$ref" : "#/definitions/RestoreTestingScheduleStatus"
},
"StartWindowHours" : {
"type" : "integer"
},
Expand All @@ -106,15 +113,15 @@
"primaryIdentifier" : [ "/properties/RestoreTestingPlanName" ],
"handlers" : {
"create" : {
"permissions" : [ "backup:CreateRestoreTestingPlan", "backup:TagResource", "backup:GetRestoreTestingPlan", "backup:ListTags" ],
"permissions" : [ "backup:CreateRestoreTestingPlan", "backup:UpdateRestoreTestingPlanScheduleStatus", "backup:TagResource", "backup:GetRestoreTestingPlan", "backup:ListTags" ],
"timeoutInMinutes" : 5
},
"read" : {
"permissions" : [ "backup:GetRestoreTestingPlan", "backup:ListTags" ],
"timeoutInMinutes" : 5
},
"update" : {
"permissions" : [ "backup:UpdateRestoreTestingPlan", "backup:TagResource", "backup:UntagResource", "backup:GetRestoreTestingPlan", "backup:ListTags" ],
"permissions" : [ "backup:UpdateRestoreTestingPlan", "backup:UpdateRestoreTestingPlanScheduleStatus", "backup:TagResource", "backup:UntagResource", "backup:GetRestoreTestingPlan", "backup:ListTags" ],
"timeoutInMinutes" : 5
},
"delete" : {
Expand Down
8 changes: 4 additions & 4 deletions aws-cloudformation-schema/aws-cloudwatch-alarm.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"Period" : {
"description" : "The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60.\n For an alarm based on a math expression, you can't specify ``Period``, and instead you use the ``Metrics`` parameter.\n *Minimum:* 10",
"description" : "The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60.\n For an alarm based on a math expression, you can't specify ``Period``, and instead you use the ``Metrics`` parameter.\n *Minimum:* 10",
"type" : "integer"
},
"EvaluationPeriods" : {
Expand Down Expand Up @@ -115,7 +115,7 @@
"type" : "number"
},
"Tags" : {
"description" : "",
"description" : "A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission.\n Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.",
"type" : "array",
"maxItems" : 50,
"uniqueItems" : true,
Expand Down Expand Up @@ -226,12 +226,12 @@
"required" : [ "Id" ]
},
"Tag" : {
"description" : "",
"description" : "One of the key-value pairs associated with the alarm. Tags can help you organize and categorize your resources.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"Key" : {
"description" : "A unique identifier for the tag. The combination of tag keys and values can help you organize and categorize your resources.",
"description" : "A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.",
"type" : "string",
"minLength" : 1,
"maxLength" : 128
Expand Down
3 changes: 2 additions & 1 deletion aws-cloudformation-schema/aws-ec2-internetgateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "ec2:CreateTags", "ec2:DeleteTags" ]
},
"readOnlyProperties" : [ "/properties/InternetGatewayId" ],
"primaryIdentifier" : [ "/properties/InternetGatewayId" ],
Expand Down
3 changes: 2 additions & 1 deletion aws-cloudformation-schema/aws-ec2-subnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "ec2:CreateTags", "ec2:DeleteTags" ]
},
"definitions" : {
"Tag" : {
Expand Down
1 change: 1 addition & 0 deletions aws-cloudformation-schema/aws-ec2-vpc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"tagging" : {
"permissions" : [ "ec2:DeleteTags", "ec2:CreateTags" ],
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
Expand Down
168 changes: 96 additions & 72 deletions aws-cloudformation-schema/aws-ec2-vpcendpoint.json
Original file line number Diff line number Diff line change
@@ -1,111 +1,135 @@
{
"tagging" : {
"taggable" : false,
"tagOnCreate" : false,
"tagUpdatable" : false,
"cloudFormationSystemTags" : false
},
"handlers" : {
"read" : {
"permissions" : [ "ec2:DescribeVpcEndpoints" ]
},
"create" : {
"permissions" : [ "ec2:CreateVpcEndpoint", "ec2:DescribeVpcEndpoints" ],
"timeoutInMinutes" : 210
},
"update" : {
"permissions" : [ "ec2:ModifyVpcEndpoint", "ec2:DescribeVpcEndpoints" ],
"timeoutInMinutes" : 210
},
"list" : {
"permissions" : [ "ec2:DescribeVpcEndpoints" ]
},
"delete" : {
"permissions" : [ "ec2:DeleteVpcEndpoints", "ec2:DescribeVpcEndpoints" ],
"timeoutInMinutes" : 210
}
},
"typeName" : "AWS::EC2::VPCEndpoint",
"description" : "Specifies a VPC endpoint. A VPC endpoint provides a private connection between your VPC and an endpoint service. You can use an endpoint service provided by AWS, an MKT Partner, or another AWS accounts in your organization. For more information, see the [User Guide](https://docs.aws.amazon.com/vpc/latest/privatelink/).\n An endpoint of type ``Interface`` establishes connections between the subnets in your VPC and an AWS-service, your own service, or a service hosted by another AWS-account. With an interface VPC endpoint, you specify the subnets in which to create the endpoint and the security groups to associate with the endpoint network interfaces.\n An endpoint of type ``gateway`` serves as a target for a route in your route table for traffic destined for S3 or DDB. You can specify an endpoint policy for the endpoint, which controls access to the service from your VPC. You can also specify the VPC route tables that use the endpoint. For more information about connectivity to S3, see [W",
"readOnlyProperties" : [ "/properties/NetworkInterfaceIds", "/properties/CreationTimestamp", "/properties/DnsEntries", "/properties/Id" ],
"description" : "Specifies a VPC endpoint. A VPC endpoint provides a private connection between your VPC and an endpoint service. You can use an endpoint service provided by AWS, an MKT Partner, or another AWS accounts in your organization. For more information, see the [User Guide](https://docs.aws.amazon.com/vpc/latest/privatelink/).\n An endpoint of type ``Interface`` establishes connections between the subnets in your VPC and an AWS-service, your own service, or a service hosted by another AWS-account. With an interface VPC endpoint, you specify the subnets in which to create the endpoint and the security groups to associate with the endpoint network interfaces.\n An endpoint of type ``gateway`` serves as a target for a route in your route table for traffic destined for S3 or DDB. You can specify an endpoint policy for the endpoint, which controls access to the service from your VPC. You can also specify the VPC route tables that use the endpoint. For more information about connectivity to S3, see [Why can't I connect to an S3 bucket using a gateway VPC endpoint?](https://docs.aws.amazon.com/premiumsupport/knowledge-center/connect-s3-vpc-endpoint) \n An endpoint of type ``GatewayLoadBalancer`` provides private connectivity between your VPC and virtual appliances from a service provider.",
"createOnlyProperties" : [ "/properties/ServiceName", "/properties/VpcEndpointType", "/properties/VpcId" ],
"additionalProperties" : false,
"primaryIdentifier" : [ "/properties/Id" ],
"properties" : {
"Id" : {
"type" : "string",
"description" : ""
"PrivateDnsEnabled" : {
"description" : "Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, ``kinesis.us-east-1.amazonaws.com``), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.\n To use a private hosted zone, you must set the following VPC attributes to ``true``: ``enableDnsHostnames`` and ``enableDnsSupport``.\n This property is supported only for interface endpoints.\n Default: ``false``",
"type" : "boolean"
},
"CreationTimestamp" : {
"type" : "string",
"description" : ""
"description" : "",
"type" : "string"
},
"DnsEntries" : {
"type" : "array",
"uniqueItems" : false,
"VpcId" : {
"description" : "The ID of the VPC.",
"type" : "string"
},
"RouteTableIds" : {
"uniqueItems" : true,
"description" : "The IDs of the route tables. Routing is supported only for gateway endpoints.",
"insertionOrder" : false,
"type" : "array",
"items" : {
"relationshipRef" : {
"typeName" : "AWS::EC2::RouteTable",
"propertyPath" : "/properties/RouteTableId"
},
"type" : "string"
},
"description" : ""
}
},
"ServiceName" : {
"description" : "The name of the endpoint service.",
"type" : "string"
},
"PolicyDocument" : {
"description" : "An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints.\n For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. CFNlong converts YAML policies to JSON format before calling the API to create or modify the VPC endpoint.",
"type" : [ "string", "object" ]
},
"VpcEndpointType" : {
"description" : "The type of endpoint.\n Default: Gateway",
"type" : "string",
"enum" : [ "Interface", "Gateway", "GatewayLoadBalancer" ]
},
"NetworkInterfaceIds" : {
"type" : "array",
"uniqueItems" : false,
"description" : "",
"insertionOrder" : false,
"type" : "array",
"items" : {
"type" : "string"
},
"description" : ""
},
"PolicyDocument" : {
"type" : [ "string", "object" ],
"description" : "An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints.\n For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. CFNlong converts YAML policies to JSON format before calling the API to create or modify the VPC endpoint."
}
},
"PrivateDnsEnabled" : {
"type" : "boolean",
"description" : "Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, ``kinesis.us-east-1.amazonaws.com``), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.\n To use a private hosted zone, you must set the following VPC attributes to ``true``: ``enableDnsHostnames`` and ``enableDnsSupport``.\n This property is supported only for interface endpoints.\n Default: ``false``"
"Id" : {
"description" : "",
"type" : "string"
},
"RouteTableIds" : {
"type" : "array",
"description" : "The IDs of the route tables. Routing is supported only for gateway endpoints.",
"uniqueItems" : true,
"DnsEntries" : {
"uniqueItems" : false,
"description" : "",
"insertionOrder" : false,
"type" : "array",
"items" : {
"type" : "string"
}
},
"SecurityGroupIds" : {
"type" : "array",
"description" : "The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.",
"uniqueItems" : true,
"description" : "The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.",
"insertionOrder" : false,
"type" : "array",
"items" : {
"anyOf" : [ {
"relationshipRef" : {
"typeName" : "AWS::EC2::SecurityGroup",
"propertyPath" : "/properties/GroupId"
}
}, {
"relationshipRef" : {
"typeName" : "AWS::EC2::SecurityGroup",
"propertyPath" : "/properties/Id"
}
}, {
"relationshipRef" : {
"typeName" : "AWS::EC2::VPC",
"propertyPath" : "/properties/DefaultSecurityGroup"
}
} ],
"type" : "string"
}
},
"ServiceName" : {
"type" : "string",
"description" : "The name of the endpoint service."
},
"SubnetIds" : {
"type" : "array",
"description" : "The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.",
"uniqueItems" : true,
"description" : "The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.",
"insertionOrder" : false,
"type" : "array",
"items" : {
"relationshipRef" : {
"typeName" : "AWS::EC2::Subnet",
"propertyPath" : "/properties/SubnetId"
},
"type" : "string"
}
},
"VpcEndpointType" : {
"type" : "string",
"enum" : [ "Interface", "Gateway", "GatewayLoadBalancer" ],
"description" : "The type of endpoint.\n Default: Gateway"
},
"VpcId" : {
"type" : "string",
"description" : "The ID of the VPC."
}
},
"required" : [ "VpcId", "ServiceName" ],
"readOnlyProperties" : [ "/properties/NetworkInterfaceIds", "/properties/CreationTimestamp", "/properties/DnsEntries", "/properties/Id" ],
"createOnlyProperties" : [ "/properties/ServiceName", "/properties/VpcEndpointType", "/properties/VpcId" ],
"primaryIdentifier" : [ "/properties/Id" ],
"tagging" : {
"taggable" : false,
"tagOnCreate" : false,
"tagUpdatable" : false,
"cloudFormationSystemTags" : false
},
"handlers" : {
"create" : {
"permissions" : [ "ec2:CreateVpcEndpoint", "ec2:DescribeVpcEndpoints" ],
"timeoutInMinutes" : 210
},
"read" : {
"permissions" : [ "ec2:DescribeVpcEndpoints" ]
},
"update" : {
"permissions" : [ "ec2:ModifyVpcEndpoint", "ec2:DescribeVpcEndpoints" ],
"timeoutInMinutes" : 210
},
"delete" : {
"permissions" : [ "ec2:DeleteVpcEndpoints", "ec2:DescribeVpcEndpoints" ],
"timeoutInMinutes" : 210
},
"list" : {
"permissions" : [ "ec2:DescribeVpcEndpoints" ]
}
}
"required" : [ "VpcId", "ServiceName" ]
}
Original file line number Diff line number Diff line change
@@ -1,23 +1,44 @@
{
"typeName" : "AWS::EC2::VPNGatewayRoutePropagation",
"description" : "Resource Type definition for AWS::EC2::VPNGatewayRoutePropagation",
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2.git",
"additionalProperties" : false,
"tagging" : {
"taggable" : false,
"tagOnCreate" : false,
"tagUpdatable" : false,
"cloudFormationSystemTags" : false
},
"properties" : {
"Id" : {
"type" : "string"
},
"RouteTableIds" : {
"description" : "The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to",
"type" : "array",
"uniqueItems" : false,
"insertionOrder" : false,
"items" : {
"type" : "string"
}
},
"VpnGatewayId" : {
"description" : "The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with",
"type" : "string"
}
},
"required" : [ "RouteTableIds", "VpnGatewayId" ],
"readOnlyProperties" : [ "/properties/Id" ],
"primaryIdentifier" : [ "/properties/Id" ]
"primaryIdentifier" : [ "/properties/Id" ],
"handlers" : {
"create" : {
"permissions" : [ "ec2:EnableVgwRoutePropagation", "ec2:DescribeRouteTables" ]
},
"update" : {
"permissions" : [ "ec2:EnableVgwRoutePropagation", "ec2:DescribeRouteTables" ]
},
"delete" : {
"permissions" : [ "ec2:DisableVgwRoutePropagation", "ec2:DescribeRouteTables" ]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "eks:TagResource", "sqs:UntagResource" ]
},
"additionalProperties" : false,
"required" : [ "ClusterName", "RoleArn", "Namespace", "ServiceAccount" ],
Expand Down
Loading

0 comments on commit a1ec338

Please sign in to comment.