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 (#1564)

*Automated PR*

New resources:

    securityhub.ConfigurationPolicy
    securityhub.FindingAggregator
    securityhub.OrganizationConfiguration
    securityhub.PolicyAssociation

New functions:

    securityhub.getConfigurationPolicy
    securityhub.getFindingAggregator
    securityhub.getOrganizationConfiguration
    securityhub.getPolicyAssociation
  • Loading branch information
pulumi-bot authored May 31, 2024
1 parent 1e76705 commit 846e52f
Show file tree
Hide file tree
Showing 118 changed files with 13,634 additions and 126 deletions.
9 changes: 8 additions & 1 deletion aws-cloudformation-schema/aws-ec2-customergateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"typeName" : "AWS::EC2::CustomerGateway",
"readOnlyProperties" : [ "/properties/CustomerGatewayId" ],
"description" : "Specifies a customer gateway.",
"createOnlyProperties" : [ "/properties/CertificateArn", "/properties/BgpAsn", "/properties/Type", "/properties/IpAddress", "/properties/DeviceName" ],
"createOnlyProperties" : [ "/properties/CertificateArn", "/properties/BgpAsn", "/properties/BgpAsnExtended", "/properties/Type", "/properties/IpAddress", "/properties/DeviceName" ],
"additionalProperties" : false,
"primaryIdentifier" : [ "/properties/CustomerGatewayId" ],
"definitions" : {
Expand Down Expand Up @@ -60,6 +60,13 @@
"description" : "IPv4 address for the customer gateway device's outside interface. The address must be static.",
"type" : "string"
},
"BgpAsnExtended" : {
"multipleOf" : 1,
"maximum" : 4294967294,
"description" : "",
"type" : "number",
"minimum" : 2147483648
},
"BgpAsn" : {
"default" : 65000,
"description" : "For devices that support BGP, the customer gateway's BGP ASN.\n Default: 65000",
Expand Down
168 changes: 97 additions & 71 deletions aws-cloudformation-schema/aws-eks-addon.json
Original file line number Diff line number Diff line change
@@ -1,115 +1,141 @@
{
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"tagProperty" : "/properties/Tags",
"cloudFormationSystemTags" : false
},
"typeName" : "AWS::EKS::Addon",
"readOnlyProperties" : [ "/properties/Arn" ],
"description" : "Resource Schema for AWS::EKS::Addon",
"createOnlyProperties" : [ "/properties/ClusterName", "/properties/AddonName" ],
"primaryIdentifier" : [ "/properties/ClusterName", "/properties/AddonName" ],
"required" : [ "ClusterName", "AddonName" ],
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-eks.git",
"handlers" : {
"read" : {
"permissions" : [ "eks:DescribeAddon" ]
},
"create" : {
"permissions" : [ "eks:CreateAddon", "eks:DescribeAddon", "eks:TagResource", "iam:PassRole", "iam:GetRole", "eks:CreatePodIdentityAssociation" ]
},
"update" : {
"permissions" : [ "iam:PassRole", "iam:GetRole", "eks:UpdateAddon", "eks:DescribeAddon", "eks:DescribeUpdate", "eks:ListTagsForResource", "eks:TagResource", "eks:UntagResource", "eks:CreatePodIdentityAssociation", "eks:DeletePodIdentityAssociation" ]
},
"list" : {
"permissions" : [ "eks:ListAddons" ],
"handlerSchema" : {
"properties" : {
"ClusterName" : {
"$ref" : "resource-schema.json#/properties/ClusterName"
}
},
"required" : [ "ClusterName" ]
}
},
"delete" : {
"permissions" : [ "eks:DeleteAddon", "eks:DescribeAddon", "eks:DeletePodIdentityAssociation" ]
}
},
"writeOnlyProperties" : [ "/properties/ResolveConflicts", "/properties/PreserveOnDelete" ],
"additionalProperties" : false,
"definitions" : {
"Tag" : {
"description" : "A key-value pair to associate with a resource.",
"additionalProperties" : false,
"type" : "object",
"additionalProperties" : false,
"properties" : {
"Value" : {
"Key" : {
"type" : "string",
"description" : "The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. ",
"minLength" : 1,
"description" : "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. ",
"maxLength" : 127
},
"Value" : {
"type" : "string",
"description" : "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. ",
"minLength" : 1,
"maxLength" : 255
}
},
"required" : [ "Key", "Value" ]
},
"PodIdentityAssociation" : {
"description" : "A pod identity to associate with an add-on.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"ServiceAccount" : {
"type" : "string",
"description" : "The Kubernetes service account that the pod identity association is created for."
},
"Key" : {
"minLength" : 1,
"description" : "The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. ",
"RoleArn" : {
"type" : "string",
"maxLength" : 127
"pattern" : "^arn:aws(-cn|-us-gov|-iso(-[a-z])?)?:iam::\\d{12}:(role)\\/*",
"description" : "The IAM role ARN that the pod identity association is created for."
}
},
"required" : [ "Key", "Value" ]
"required" : [ "ServiceAccount", "RoleArn" ]
}
},
"properties" : {
"ClusterName" : {
"description" : "Name of Cluster",
"type" : "string",
"minLength" : 1
},
"AddonName" : {
"description" : "Name of Addon",
"type" : "string",
"minLength" : 1
},
"AddonVersion" : {
"description" : "Version of Addon",
"type" : "string",
"minLength" : 1
},
"PreserveOnDelete" : {
"description" : "PreserveOnDelete parameter value",
"type" : "boolean"
},
"AddonVersion" : {
"ResolveConflicts" : {
"description" : "Resolve parameter value conflicts",
"type" : "string",
"minLength" : 1,
"description" : "Version of Addon",
"type" : "string"
"enum" : [ "NONE", "OVERWRITE", "PRESERVE" ]
},
"ServiceAccountRoleArn" : {
"minLength" : 1,
"description" : "IAM role to bind to the add-on's service account",
"type" : "string"
"type" : "string",
"minLength" : 1
},
"ClusterName" : {
"minLength" : 1,
"description" : "Name of Cluster",
"type" : "string"
"PodIdentityAssociations" : {
"description" : "An array of pod identities to apply to this add-on.",
"type" : "array",
"uniqueItems" : true,
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/PodIdentityAssociation"
}
},
"AddonName" : {
"minLength" : 1,
"description" : "Name of Addon",
"type" : "string"
"ConfigurationValues" : {
"description" : "The configuration values to use with the add-on",
"type" : "string",
"minLength" : 1
},
"Arn" : {
"description" : "Amazon Resource Name (ARN) of the add-on",
"type" : "string"
},
"ResolveConflicts" : {
"minLength" : 1,
"description" : "Resolve parameter value conflicts",
"type" : "string",
"enum" : [ "NONE", "OVERWRITE", "PRESERVE" ]
},
"Tags" : {
"uniqueItems" : true,
"description" : "An array of key-value pairs to apply to this resource.",
"insertionOrder" : false,
"type" : "array",
"uniqueItems" : true,
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/Tag"
}
}
},
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : false,
"tagProperty" : "/properties/Tags"
},
"additionalProperties" : false,
"required" : [ "ClusterName", "AddonName" ],
"primaryIdentifier" : [ "/properties/ClusterName", "/properties/AddonName" ],
"createOnlyProperties" : [ "/properties/ClusterName", "/properties/AddonName" ],
"readOnlyProperties" : [ "/properties/Arn" ],
"writeOnlyProperties" : [ "/properties/ResolveConflicts", "/properties/PreserveOnDelete", "/properties/PodIdentityAssociations" ],
"handlers" : {
"create" : {
"permissions" : [ "eks:CreateAddon", "eks:DescribeAddon", "eks:TagResource", "iam:PassRole", "iam:GetRole", "eks:CreatePodIdentityAssociation" ]
},
"ConfigurationValues" : {
"minLength" : 1,
"description" : "The configuration values to use with the add-on",
"type" : "string"
"read" : {
"permissions" : [ "eks:DescribeAddon" ]
},
"delete" : {
"permissions" : [ "eks:DeleteAddon", "eks:DescribeAddon", "eks:DeletePodIdentityAssociation" ]
},
"list" : {
"handlerSchema" : {
"properties" : {
"ClusterName" : {
"$ref" : "resource-schema.json#/properties/ClusterName"
}
},
"required" : [ "ClusterName" ]
},
"permissions" : [ "eks:ListAddons" ]
},
"update" : {
"permissions" : [ "iam:PassRole", "iam:GetRole", "eks:UpdateAddon", "eks:DescribeAddon", "eks:DescribeUpdate", "eks:ListTagsForResource", "eks:TagResource", "eks:UntagResource", "eks:CreatePodIdentityAssociation", "eks:DeletePodIdentityAssociation" ]
}
}
}
108 changes: 108 additions & 0 deletions aws-cloudformation-schema/aws-mediapackagev2-originendpoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"typeName" : "AWS::MediaPackageV2::OriginEndpoint",
"description" : "<p>Represents an origin endpoint that is associated with a channel, offering a dynamically repackaged version of its content through various streaming media protocols. The content can be efficiently disseminated to end-users via a Content Delivery Network (CDN), like Amazon CloudFront.</p>",
"definitions" : {
"AdMarkerDash" : {
"type" : "string",
"enum" : [ "BINARY", "XML" ]
},
"AdMarkerHls" : {
"type" : "string",
"enum" : [ "DATERANGE" ]
Expand All @@ -14,6 +18,38 @@
"type" : "string",
"enum" : [ "TS", "CMAF" ]
},
"DashDrmSignaling" : {
"type" : "string",
"enum" : [ "INDIVIDUAL", "REFERENCED" ]
},
"DashPeriodTrigger" : {
"type" : "string",
"enum" : [ "AVAILS", "DRM_KEY_ROTATION", "SOURCE_CHANGES", "SOURCE_DISRUPTIONS", "NONE" ]
},
"DashSegmentTemplateFormat" : {
"type" : "string",
"enum" : [ "NUMBER_WITH_TIMELINE" ]
},
"DashUtcTiming" : {
"type" : "object",
"description" : "<p>Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).</p>",
"properties" : {
"TimingMode" : {
"$ref" : "#/definitions/DashUtcTimingMode"
},
"TimingSource" : {
"type" : "string",
"maxLength" : 1024,
"minLength" : 1,
"description" : "<p>The the method that the player uses to synchronize to coordinated universal time (UTC) wall clock time.</p>"
}
},
"additionalProperties" : false
},
"DashUtcTimingMode" : {
"type" : "string",
"enum" : [ "HTTP_HEAD", "HTTP_ISO", "HTTP_XSDATE", "UTC_DIRECT" ]
},
"DrmSystem" : {
"type" : "string",
"enum" : [ "CLEAR_KEY_AES_128", "FAIRPLAY", "PLAYREADY", "WIDEVINE" ]
Expand Down Expand Up @@ -101,6 +137,61 @@
},
"additionalProperties" : false
},
"DashManifestConfiguration" : {
"type" : "object",
"description" : "<p>Retrieve the DASH manifest configuration.</p>",
"properties" : {
"ManifestName" : {
"type" : "string",
"maxLength" : 256,
"minLength" : 1,
"pattern" : "^[a-zA-Z0-9_-]+$",
"description" : "<p>A short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. </p>"
},
"ManifestWindowSeconds" : {
"type" : "integer",
"description" : "<p>The total duration (in seconds) of the manifest's content.</p>"
},
"FilterConfiguration" : {
"$ref" : "#/definitions/FilterConfiguration"
},
"MinUpdatePeriodSeconds" : {
"type" : "integer",
"description" : "<p>Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.</p>"
},
"MinBufferTimeSeconds" : {
"type" : "integer",
"description" : "<p>Minimum amount of content (in seconds) that a player must keep available in the buffer.</p>"
},
"SuggestedPresentationDelaySeconds" : {
"type" : "integer",
"description" : "<p>The amount of time (in seconds) that the player should be from the end of the manifest.</p>"
},
"SegmentTemplateFormat" : {
"$ref" : "#/definitions/DashSegmentTemplateFormat"
},
"PeriodTriggers" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/DashPeriodTrigger"
},
"maxItems" : 100,
"minItems" : 0,
"description" : "<p>A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Leave this value empty to indicate that the manifest is contained all in one period.\n For more information about periods in the DASH manifest, see <a href=\"https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html\">Multi-period DASH in AWS Elemental MediaPackage</a>.</p>"
},
"ScteDash" : {
"$ref" : "#/definitions/ScteDash"
},
"DrmSignaling" : {
"$ref" : "#/definitions/DashDrmSignaling"
},
"UtcTiming" : {
"$ref" : "#/definitions/DashUtcTiming"
}
},
"required" : [ "ManifestName" ],
"additionalProperties" : false
},
"HlsManifestConfiguration" : {
"type" : "object",
"description" : "<p>Retrieve the HTTP live streaming (HLS) manifest configuration.</p>",
Expand Down Expand Up @@ -205,6 +296,16 @@
},
"additionalProperties" : false
},
"ScteDash" : {
"type" : "object",
"description" : "<p>The SCTE configuration.</p>",
"properties" : {
"AdMarkerDash" : {
"$ref" : "#/definitions/AdMarkerDash"
}
},
"additionalProperties" : false
},
"ScteFilter" : {
"type" : "string",
"enum" : [ "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY", "PROGRAM" ]
Expand Down Expand Up @@ -338,6 +439,13 @@
"description" : "<p>The date and time the origin endpoint was created.</p>",
"format" : "date-time"
},
"DashManifests" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/DashManifestConfiguration"
},
"description" : "<p>A DASH manifest configuration.</p>"
},
"Description" : {
"type" : "string",
"maxLength" : 1024,
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-rds-dbcluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"permissions" : [ "rds:DescribeDBClusters" ]
},
"create" : {
"permissions" : [ "iam:CreateServiceLinkedRole", "iam:PassRole", "rds:AddRoleToDBCluster", "rds:AddTagsToResource", "rds:CreateDBCluster", "rds:CreateDBInstance", "rds:DescribeDBClusters", "rds:DescribeEvents", "rds:EnableHttpEndpoint", "rds:ModifyDBCluster", "rds:RestoreDBClusterFromSnapshot", "rds:RestoreDBClusterToPointInTime", "secretsmanager:CreateSecret", "secretsmanager:TagResource" ],
"permissions" : [ "iam:CreateServiceLinkedRole", "iam:PassRole", "rds:AddRoleToDBCluster", "rds:AddTagsToResource", "rds:CreateDBCluster", "rds:CreateDBInstance", "rds:DescribeDBClusters", "rds:DescribeDBClusterSnapshots", "rds:DescribeDBSnapshots", "rds:DescribeEvents", "rds:EnableHttpEndpoint", "rds:ModifyDBCluster", "rds:RestoreDBClusterFromSnapshot", "rds:RestoreDBClusterToPointInTime", "secretsmanager:CreateSecret", "secretsmanager:TagResource" ],
"timeoutInMinutes" : 2160
},
"update" : {
Expand Down
Loading

0 comments on commit 846e52f

Please sign in to comment.